PHP-Fusion Mods
Navigacija
Apsauga
Apsauga Neleista registracija: 20236
┼áiandien: 49
Prisijung─Ö nariai
» Sve─Źi┼│: 4
» Nari┼│: 0

» Viso nari┼│: 10,227
» Naujausias: N1nt3nd

Prisijungim┼│ istorija:
tabuxnepamenu
N1nt3ndnepamenu
Matze1987nepamenu
Piter_NSnepamenu
MariukasRnepamenu
CepelinasXnepamenu
demeexnepamenu
sanpernepamenu
DvBnepamenu
Rasmitasnepamenu
mindagasssnepamenu
kajanasnepamenu
Pask. modai
Prisijungti
Vardas

Slapta┼żodis



Dar ne narys?
Registruotis.

Pamir┼íai slapta┼żod─»?
Prašyk naujo!.
´╗┐
Naujausi prašymai
[L] testas
Nari┼│ apklausa
Ar dar kuriate tinklalapius?

Ne
Ne
0% [0 Balsai]

Taip
Taip
100% [4 Balsai]

Naudojuosi socialiniais tinklais
Naudojuosi socialiniais tinklais
0% [0 Balsai]

Balsai: 4
Kad gal─Śtum balsuoti, turi prisijungti.
Prad─Śta: 2022-05-29 19:54
Shoutbox
You must login to post a message.

2024-03-07 22:13
Oj TabuxÔÇŽ apkabin─Źiau u┼ż t─ů moderatori┼│ ­čśü

2024-02-22 17:40
Šypsosi2 jo buvo laikai.. Senukai jau mes. Bega laikas greiciau nei noretusi. Smagu matyti kad uzsuka seni nariai, ne as vienas Šypsosi

2024-02-20 22:18
Zodziu.. Nostalgija. Sorry Tabux uz spamÔÇÖa, netelpa viskas i viena shoutÔÇÖa. ­čśü

2024-02-20 22:14
Aisku dabar tokie laikai, kai turinio valdymo sistemas valdome one-click principu. Ne kaip seniau kode ieskodavom klaidu, norint moda pasileist.. :D paciam reikdavo susidiegt viska i ftp..

2024-02-20 22:03
Sveiki kolegos ­čĹî kazkada rasiau greit 11 metu bet ziuriu greit 14 metu. ­čśä baisuu, reik ta proga kazka sugalvot su php-f kaip jaunima itraukt.

Shoutbox Archive
Per┼żi┼źr─Śti tem─ů
 Spausdinti tem─ů
v7 ßspŰjim° sistema v3b
snapsas
#1 Spausdinti prane┼íim─ů
parašyta 2008-11-30 17:22
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 534
─«stojo: 2007-04-09

Taigi sukűriau dar vienÓ, jau treŔiÓjÓ ßspŰjim° sistemos versijÓ :)

?ioje versijoje:
Suderinamumas su PHP-Fusion v7.
GalimybŰ nurodyti ßspŰjimo prie?astß.
GalimybŰ nurodyti ßspŰjimo galiojimo laikÓ. (praŰjus tam laikui ßspŰjimas pasinaikins)

Siuntimas: http://phpfusion....stema,m627

Kolkas tai dar beta versija, nes ne?inau ar viskas tikrai veiks taip kaip turŰt°. Bet ki9ek testavau tai viskas veikia. Nesu tikras tik dŰl ßspŰjim° nuŰmimo po tam tikro laiko. Nors tai tikrai turi veikti :)

I?vaizda ir administratoriaus pasirinkimai:

img396.imageshack.us/img396/9749/21650851ne6.png

ATNAUJINIMAS


I?taisytas admino, davusio ßspŰjimÓ rodymas.
PridŰta funkcija, su kuria pamatysime nario turimus ßspŰjimus.

Kodas atitinkantis W3 reikalavimus :)
Redagavo tabux 2011-02-12 11:57
 
PM
tabux
#2 Spausdinti prane┼íim─ů
parašyta 2008-11-30 17:30
Vartotojo avataras

S.Administratorius



Reputacija: 0

Pranešimai: 1009
─«stojo: 2008-10-16

?aunuolis snapsas. Taip ir toliau :ohyes: Jau parsisiunŔiau, tuoj i?bandysiu.
 
PM
Famizlt
#3 Spausdinti prane┼íim─ů
parašyta 2008-11-30 17:32
Naujokas



Reputacija: 0

Pranešimai: 14
─«stojo: 2008-10-04

?aunuolis :)
 
PM
snapsas
#4 Spausdinti prane┼íim─ů
parašyta 2008-12-01 15:49
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 534
─«stojo: 2007-04-09

PridŰjau paveiksliukus kaip atrodo modas.
 
PM
RuleXas
#5 Spausdinti prane┼íim─ů
parašyta 2008-12-01 17:04
Naujokas



Reputacija: 0

Pranešimai: 7
─«stojo: 2008-11-27

na veikia? nes man nelabai
 
PM
snapsas
#6 Spausdinti prane┼íim─ů
parašyta 2008-12-01 17:06
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 534
─«stojo: 2007-04-09

kas tau neveikia?
 
PM
RuleXas
#7 Spausdinti prane┼íim─ů
parašyta 2008-12-01 17:10
Naujokas



Reputacija: 0

Pranešimai: 7
─«stojo: 2008-11-27

as nezinau supranti man kazkodel nerodo to modo
gal tu nori imest ir instaliuot?
 
PM
snapsas
#8 Spausdinti prane┼íim─ů
parašyta 2008-12-01 17:12
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 534
─«stojo: 2007-04-09

jo instaliuot per administracijÓ nereikia. Reikia sukelti failus i? archyvo ir palesti kodÓ readme faile, kuris sukurs mysql lentelŠ modui :)
 
PM
RuleXas
#9 Spausdinti prane┼íim─ů
parašyta 2008-12-01 17:15
Naujokas



Reputacija: 0

Pranešimai: 7
─«stojo: 2008-11-27

aaaaaaa
ok padarysiu lengva
 
PM
snapsas
#10 Spausdinti prane┼íim─ů
parašyta 2008-12-01 17:22
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 534
─«stojo: 2007-04-09

kaikÓ prisiminiau :DD Padariau collumÓ warning_admin, kuriame ßra?o ßspŰjimÓ skyrusß adminÓ, bet pamir?au padaryt, kad atvaizduot° kas skyrŰ tÓ ßspŰjimÓ:D
 
PM
mDonz
#11 Spausdinti prane┼íim─ů
parašyta 2008-12-02 06:46
Pradinukas



Reputacija: 0

Pranešimai: 30
─«stojo: 2009-06-10

O kur reikia irasyti getWarnings(NARIO ID) i kuri faila ir krioj vieto?
 
PM
zDon
#12 Spausdinti prane┼íim─ů
parašyta 2008-12-02 07:18
Vartotojo avataras

Moderatorius



Reputacija: 0

Pranešimai: 598
─«stojo: 2008-08-11

Maldiec ?napsiuk :o
 
PM
stygiux
#13 Spausdinti prane┼íim─ů
parašyta 2008-12-02 11:31
Vartotojo avataras

Naujokas



Reputacija: 0

Pranešimai: 18
─«stojo: 2008-01-01

buŔiuoju batus del sito modo
 
PM
snapsas
#14 Spausdinti prane┼íim─ů
parašyta 2008-12-02 14:25
Vartotojo avataras

Geradarys



Reputacija: 0

Pranešimai: 534
─«stojo: 2007-04-09

Rekomenduoju per naujÓ atsisi°sti ir ßkelti includes/users_warnings_include.php nes buvau padarŠs klaidÓ u?klausoje. Bűt° atbaninŠ visus narius, kurie turi ma?iau nei 5 ßspŰjimus. I?taisiau klaidÓ :)
 
PM
mDonz
#15 Spausdinti prane┼íim─ů
parašyta 2008-12-03 07:24
Pradinukas



Reputacija: 0

Pranešimai: 30
─«stojo: 2009-06-10

Kuri atsisiusti kur su sio modu ar orginalu? Ir gal ma galetu kas pasakyt kur ta getWarnings(NARIO ID) irasyti reikia?
 
PM
velnioadvokatas
#16 Spausdinti prane┼íim─ů
parašyta 2009-07-11 19:02
Naujokas



Reputacija: 0

Pranešimai: 21
─«stojo: 2009-06-24

getWarnings(NARIO ID) - kur irasyti, kad forume rodytu ispejimus?
 
PM
tabux
#17 Spausdinti prane┼íim─ů
parašyta 2009-07-11 19:05
Vartotojo avataras

S.Administratorius



Reputacija: 0

Pranešimai: 1009
─«stojo: 2008-10-16

Ten kur nori kad i?vest° ßspŰjimus.
 
PM
em1SsS
#18 Spausdinti prane┼íim─ů
parašyta 2010-03-13 12:42
Vartotojo avataras

Apšylantis



Reputacija: 0

Pranešimai: 65
─«stojo: 2010-03-12

Ieinu i profile.php ir raso dokumentas ikeltas balta.

Bent ?ito
Download source  Code
//Ispejimu nustatymai
$i_tema = 1;//Forumo temos ID, kurioje bus prane?ama apie duotus ßspŰjimus
$i_forumas = 1;//Forumo ID, kuriame yra ßspŰjim° tema
//Nustatymai baigti


pavizdß parodyk
Redagavo em1SsS 2010-03-13 12:47
 
PM
Rinas
#19 Spausdinti prane┼íim─ů
parašyta 2010-03-13 13:18
Administratorius



Reputacija: 0

Pranešimai: 204
─«stojo: 2009-06-10

Jei norite, kad apie ßspŰjimus prane?t° forumo temoje, savo profile.php pakeiskite ?emiau esanŔiu. Nepamir?kite nustatyti nustatym°.
Download source  Code
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: profile.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

//Ispejimu nustatymai
$i_tema = 1;//Forumo temos ID, kurioje bus pranešama apie duotus ispejimus
$i_forumas = 1;//Forumo ID, kuriame yra ispejimu tema
//Nustatymai baigti


require_once \"maincore.php\";
require_once THEMES.\"templates/header.php\";
include LOCALE.LOCALESET.\"view_profile.php\";
include LOCALE.LOCALESET.\"user_fields.php\";

if (file_exists(LOCALE.LOCALESET.\"warnings.php\"))
include LOCALE.LOCALESET.\"warnings.php\";
else
include LOCALE.\"English/warnings.php\";

if (!isset($_GET['group_id']) || !isnum($_GET['group_id'])) {

   if (!isset($_GET['lookup']) || !isnum($_GET['lookup'])) { redirect(\"index.php\"); }

   $result = dbquery(\"SELECT * FROM \".DB_USERS.\" WHERE user_id='\".$_GET['lookup'].\"'\");

   if (dbrows($result)) { $user_data = dbarray($result); } else { redirect(\"index.php\"); }

//   if ($user_data['user_status'] > \"0\") { redirect(\"index.php\"); } //disabled, because when he will be banned for the warnings, we wont see this user

      $warnings_count = dbcount(\"(*)\", $db_prefix.\"warnings\", \"warning_user=\".$_GET['lookup']);//counting user warnings


   if (iADMIN && checkrights(\"UG\") && $user_data['user_id'] != $userdata['user_id']) {
      if ((isset($_POST['add_to_group'])) && (isset($_POST['user_group']) && isnum($_POST['user_group']))) {
          if (!preg_match(\"(^\.{$_POST['user_group']}$|\.{$_POST['user_group']}\.|\.{$_POST['user_group']}$)\", $user_data['user_groups'])) {
            $result = dbquery(\"UPDATE \".DB_USERS.\" SET user_groups='\".$user_data['user_groups'].\".\".$_POST['user_group'].\"' WHERE user_id='\".$user_data['user_id'].\"'\");
         }
         redirect(FUSION_SELF.\"?lookup=\".$user_data['user_id']);
      }
   }

   add_to_title($locale['global_200'].$locale['400'].$locale['global_201'].$user_data['user_name']);
   opentable($locale['400']);
   echo \"\n\n\";
   if ($user_data['user_avatar'] && file_exists(IMAGES.\"avatars/\".$user_data['user_avatar'])) {
      echo \"\n\";
   }
   echo \"\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   if ($user_data['user_hide_email'] != \"1\" || iADMIN) {
      echo \"\n\";
      echo \"\n\";
      echo \"\n\";
      echo \"\n\";
   }
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\n\";
   echo \"\n\";
   echo \"\n\";
   echo \"\n\";
   if (iMEMBER && $userdata['user_id'] != $user_data['user_id']) {
      echo \"\n\";
      echo \"\n\";
   }
   echo \"
''\".$locale['u001'].\"\".$user_data['user_name'].\"
\".getuserlevel($user_data['user_level']).\"
\".$locale['u005'].\"\".hide_email($user_data['user_email']).\"
\".$locale['u040'].\"\".showdate(\"longdate\", $user_data['user_joined']).\"
\".$locale['u041'].\"\".($user_data['user_lastvisit'] ? showdate(\"longdate\", $user_data['user_lastvisit']) : $locale['u042']).\"
\".$locale['u043'].\"
\n\";

   echo \"
\n\";

   $profile_method = \"display\"; $i = 0; $user_fields_output = array(\"\", \"\", \"\", \"\"); $ob_active = false;

   $result2 = dbquery(\"SELECT * FROM \".DB_USER_FIELDS.\" ORDER BY field_group, field_order\");
   if (dbrows($result2)) {
      while($data2 = dbarray($result2)) {
         if ($i != $data2['field_group']) {
            if ($ob_active) {
               $user_fields_output[$i] = ob_get_contents();
               ob_end_clean();
               $ob_active = false;
            }
            $i = $data2['field_group'];
         }
         if (!$ob_active) {
            ob_start();
            $ob_active = true;
         }
         if (file_exists(LOCALE.LOCALESET.\"user_fields/\".$data2['field_name'].\".php\")) {
            include LOCALE.LOCALESET.\"user_fields/\".$data2['field_name'].\".php\";
         }
         if (file_exists(INCLUDES.\"user_fields/\".$data2['field_name'].\"_include.php\")) {
            include INCLUDES.\"user_fields/\".$data2['field_name'].\"_include.php\";
         }
      }
   }

   if ($ob_active) {
      $user_fields_output[$i] = ob_get_contents();
      ob_end_clean();
   }

   if (array_key_exists(1, $user_fields_output) && $user_fields_output[1]) {
      echo \"
\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\".$user_fields_output[1];
      echo \"
\".$locale['u044'].\"
\n\";
   }

   if (array_key_exists(2, $user_fields_output) && $user_fields_output[2]) {
      echo \"
\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\".$user_fields_output[2];
      echo \"
\".$locale['u045'].\"
\n\";
   }

   if (array_key_exists(4, $user_fields_output) && $user_fields_output[4]) {
      echo \"
\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\".$user_fields_output[4];
      echo \"
\".$locale['u047'].\"
\n\";
   }

   if (iADMIN && checkrights(\"M\")) {
      echo \"
\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\";
      echo \"\n
\".$locale['u048'].\"
\".$locale['u049'].\"\".$user_data['user_ip'].\"
\n\";
     
      //delete warn
      if (isset($_GET['action']) && $_GET['action'] == \"delete_warn\" && isset($_GET['warning_id']) && isnum($_GET['warning_id'])) {
      $result = dbquery(\"DELETE FROM \".$db_prefix.\"warnings WHERE warning_user=\".$_GET['lookup'].\" AND warning_id=\".$_GET['warning_id']);

      $isp = $warnings_count-1;
      if ($isp == 0) {
         $txt = \"ispejimu\";
      } elseif ($isp == 1) {
         $txt = \"ispejima\";
      } else {
         $txt = \"ispejimus\";
      }
      $zin = stripinput(\"\".$userdata['user_name'].\" nueme ispejima nariui \".$user_data['user_id'].\"
\".$user_data['user_name'].\" dabar turi \".$isp.\" $txt\");//Forumo zinute
      $result = dbquery(\"INSERT INTO \".DB_POSTS.\" (forum_id, thread_id, post_message, post_showsig, post_smileys, post_author, post_datestamp, post_ip, post_edituser, post_edittime) VALUES
      ($i_forumas, $i_tema, '$zin', 0, 1, \".$userdata['user_id'].\", \".time().\", '\".USER_IP.\"', 0, 0)\");
      $result = dbquery(\"SELECT post_id FROM \".DB_POSTS.\" WHERE post_author = \".$userdata['user_id'].\" && thread_id = $i_tema ORDER BY post_datestamp DESC LIMIT 1\");
      $data = dbarray($result);
      $result = dbquery(\"UPDATE \".DB_THREADS.\" SET thread_lastpost='\".time().\"', thread_lastpostid='\".$data['post_id'].\"', thread_postcount=thread_postcount+1, thread_lastuser='\".$userdata['user_id'].\"' WHERE thread_id='\".$i_tema.\"'\");

      if ($warnings_count >= 5) $result = dbquery(\"UPDATE \".DB_USERS.\" SET user_status=0 WHERE user_id=\".$_GET['lookup']);
     
      redirect(FUSION_SELF.\"?lookup=\".$_GET['lookup']);
      }
     
      //warnings query
      if ($user_data['user_level'] == 101 && isset($_POST['give_warning']) && !empty($_POST['warning_couse']) && (isset($_POST['warning_forever']) || isnum($_POST['warning_time']))) {
      $couse = stripinput($_POST['warning_couse']);
     
      if (!isset($_POST['warning_forever'])) {
      $end = time()+($_POST['warning_time']*86400);
      } else {
      $end = \"forever\";
      }
     
      if ($warnings_count == 4) {
      $result = dbquery(\"UPDATE \".DB_USERS.\" SET user_status=1 WHERE user_id=\".$_GET['lookup']);
      }
      if ($warnings_count < 5)
      $result = dbquery(\"INSERT INTO \".$db_prefix.\"warnings (warning_user, warning_admin, warning_end, warning_couse) VALUES ('\".$_GET['lookup'].\"', '\".$userdata['user_id'].\"', '\".$end.\"', '\".$couse.\"')\");

      $isp = $warnings_count+1;
      $zin = stripinput(\"\".$userdata['user_name'].\" ispejo nari \".$user_data['user_name'].\", nurodes priezasti: \".$couse.\"
\".$user_data['user_name'].\" dabar turi \".$isp.\" \".($isp != 1 ? \"ispejimus\" : \"ispejima\"));//Forumo zinute
      $result = dbquery(\"INSERT INTO \".DB_POSTS.\" (forum_id, thread_id, post_message, post_showsig, post_smileys, post_author, post_datestamp, post_ip, post_edituser, post_edittime) VALUES
      ($i_forumas, $i_tema, '$zin', 0, 1, \".$userdata['user_id'].\", \".time().\", '\".USER_IP.\"', 0, 0)\");
      $result = dbquery(\"SELECT post_id FROM \".DB_POSTS.\" WHERE post_author = \".$userdata['user_id'].\" && thread_id = $i_tema ORDER BY post_datestamp DESC LIMIT 1\");
      $data = dbarray($result);
      $result = dbquery(\"UPDATE \".DB_THREADS.\" SET thread_lastpost='\".time().\"', thread_lastpostid='\".$data['post_id'].\"', thread_postcount=thread_postcount+1, thread_lastuser='\".$userdata['user_id'].\"' WHERE thread_id='\".$i_tema.\"'\");
      redirect(FUSION_SELF.\"?lookup=\".$_GET['lookup']);
      }
     
      //warnings form
      if ($user_data['user_level'] == 101 && isset($_GET['action']) && $_GET['action'] == \"give_warn\" && $warnings_count < 5) {
      echo \"
\n\";
      echo \"

      \n\n\";
      echo \"\n\";
      echo \"\n\n\";
      echo \"
     
     
     
     
     
     
     
      \";
      echo \"\n
\".$locale['war_00'].\"
\".$locale['war_01'].\"
     
     
\".$locale['war_02'].\"
      \".$locale['war_03'].\" :: \".$locale['war_04'].\"
     
\n
\";
      }
     
     
   }
   //display warnings
   if ($user_data['user_level'] == 101) {
   $result = dbquery(\"SELECT tw.*, tu.user_id AS warning_admin_id, tu.user_name AS warning_admin_name FROM \".$db_prefix.\"warnings tw
   LEFT JOIN \".DB_USERS.\" tu ON tw.warning_admin=tu.user_id WHERE warning_user=\".$_GET['lookup'].\" ORDER BY warning_id ASC LIMIT 5\");
   
   if (dbrows($result) > 0) {
   echo \"
\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\";
      echo \"\n\";
      echo \"\n\";
      $w=1;
      while ($data = dbarray($result)) {
      $warning_end = $data['warning_end'] == \"forever\" ? \"\".$locale['war_04'].\"\" : date(\"Y-m-d\", $data['warning_end']);
      echo \"
      \n\";
      echo \"\n
      \n
      \";
      $w++;
      }
      echo \"
\".$locale['war_06'].\"\".$locale['war_01'].\"\".$locale['war_07'].\"
''(\".$data['warning_admin_name'].\") \".$data['warning_couse'].\"\".(iADMIN && checkrights(\"M\") ? \"\".$warning_end.\"\" : $warning_end).\"
\n\";
      }
      }
   
   

   if ($user_data['user_groups']) {
      echo \"
\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\n\";
      echo \"\n\n
\".$locale['401'].\"
\n\";
      $user_groups = (strpos($user_data['user_groups'], \".\") == 0 ? explode(\".\", substr($user_data['user_groups'], 1)) : explode(\".\", $user_data['user_groups']));
      for ($i = 0; $i < count($user_groups); $i++) {
         echo \"
\".getgroupname($user_groups[$i], true).\"
\n\";
      }
      echo \"
\n\";
   }
   if (iADMIN && checkrights(\"M\") && $user_data['user_id'] != $userdata['user_id']) {
      $user_groups_opts = \"\";
      if ($user_data['user_level'] < 102) {
         echo \"
\n\";
         echo \"
\n\";
         echo \"\n\n\";
         echo \"\n\";
         echo \"\n\n\";
         echo \"\n\";
         $result = dbquery(\"SELECT * FROM \".DB_USER_GROUPS.\" ORDER BY group_id ASC\");
         if (dbrows($result)) {
            while ($data2 = dbarray($result)) {
               if (!preg_match(\"(^\.{$data2['group_id']}|\.{$data2['group_id']}\.|\.{$data2['group_id']}$)\", $user_data['user_groups'])) {
                  $user_groups_opts .= \"\n\";
               }
            }
            if (iADMIN && checkrights(\"UG\") && $user_groups_opts) {
               echo \"\n\";
            }
         }
         echo \"\n
\".$locale['402'].\"
\n\";
         
         //admin links for warnings
         if ($warnings_count < 5) echo \"\".$locale['war_09'].\" ::\n\";
         //
         
         echo \"\".$locale['410'].\" ::\n\";
         
         if ($user_data['user_status'] == 0)
         echo \">\".$locale['411'].\" ::\n\";
         else
         echo \">\".$locale['war_11'].\" ::\n\";
         
         echo \">\".$locale['412'].\"
\".$locale['415'].\"\n\";
               echo \"\n\";
               echo \">
\n
\n\";
      }
   }
} else {
   $result = dbquery(\"SELECT * FROM \".DB_USER_GROUPS.\" WHERE group_id='\".$_GET['group_id'].\"'\");
   if (dbrows($result)) {
      $data = dbarray($result);
      $result = dbquery(\"SELECT * FROM \".DB_USERS.\" WHERE user_groups REGEXP('^\\\.{$_GET['group_id']}$|\\\.{$_GET['group_id']}\\\.|\\\.{$_GET['group_id']}$') ORDER BY user_level DESC, user_name\");
      opentable($locale['420']);
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\n\";
      echo \"\n\";
      echo \"\n\";
      echo \"\n\";
      while ($data = dbarray($result)) {
         $cell_color = ($i % 2 == 0 ? \"tbl1\" : \"tbl2\"); $i++;
         echo \"\n\n\";
         echo \"\n\";
      }
      echo \"
\".$data['group_name'].\" (\".sprintf((dbrows($result) == 1 ? $locale['421'] : $locale['422']), dbrows($result)).\")
\".$locale['423'].\"\".$locale['424'].\"
\n\".$data['user_name'].\"\".getuserlevel($data['user_level']).\"
\n\";
   } else {
      redirect(\"index.php\");
   }
}
closetable();

require_once THEMES.\"templates/footer.php\";
?>





Redagavo Rinas 2010-04-29 20:10
 
PM
Logix
#20 Spausdinti prane┼íim─ů
parašyta 2010-03-13 17:03
Savekas



Reputacija: 0

Pranešimai: 111
─«stojo: 2009-07-20

Mldc geras mdoas ir po laiko po 1min. nustaciau ir apsisalino ;D
 
PM
Per┼íokti ─» forum─ů: