Changeset 290 for trunk/user.php
- Timestamp:
- Dec 27, 2009, 1:08:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user.php
r127 r290 25 25 26 26 if(array_key_exists('user', $_GET) and Licence(LICENCE_MODERATOR)) 27 { 28 27 { 29 28 $Query = 'SELECT *, ('; 30 29 foreach($TranslationTree as $Group) 31 30 if($Group['TablePrefix'] != '') 32 31 $Query .= '(SELECT count(*) FROM `'.$Group['TablePrefix'].'` WHERE User = '.$_GET['user'].' AND User <> 0 AND Complete = 1) + '; 33 32 $Query .= '0) as NumberTranslate FROM `user` WHERE ID = '.$_GET['user']; 34 33 $LineUser = mysql_fetch_array($Database->SQLCommand($Query)); … … 36 35 echo('ID: <strong>'.$_GET['user'].'</strong><br />'); 37 36 echo('Jméno: <strong>'.$LineUser['user'].'</strong><br />'); 38 echo('Výchozí jazyk: <strong>'.$L ineUser['Language'].'</strong><br />');37 echo('Výchozí jazyk: <strong>'.$LanguageList[$LineUser['Language']]['Name'].'</strong><br />'); 39 38 echo('Poslední připojení: <strong>'.$LineUser['LastLogin'].'</strong><br />'); 40 39 echo('Poslední IP: <strong>'.$LineUser['LastIP'].'</strong><br />');
Note:
See TracChangeset
for help on using the changeset viewer.