Changeset 506 for trunk/user.php
- Timestamp:
- Feb 14, 2013, 9:02:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user.php
r504 r506 22 22 if(array_key_exists('user', $_GET) and $User->Licence(LICENCE_MODERATOR)) 23 23 { 24 $Query = 'SELECT * FROM `User` WHERE `ID` = '.$_GET['user']; 24 $Query = 'SELECT `User`.*, `Language`.`Name` AS `LanguageName` FROM `User` '. 25 'LEFT JOIN `Language` ON `Language`.`Id` = `User`.`Language` WHERE `User`.`Id` = '.$_GET['user']; 25 26 $DbResult = $System->Database->query($Query); 26 27 $UserLine = $DbResult->fetch_array(); … … 28 29 $Output .= 'ID: <strong>'.$UserLine['ID'].'</strong><br />'. 29 30 'Jméno: <strong>'.$UserLine['Name'].'</strong><br />'. 30 'Výchozí jazyk: <strong>'.$ LanguageList[$UserLine['Language']]['Name'].'</strong><br />'.31 'Výchozí jazyk: <strong>'.$UserLine['LanguageName'].'</strong><br />'. 31 32 'Poslední připojení: <strong>'.$UserLine['LastLogin'].'</strong><br />'. 32 33 'Poslední IP: <strong>'.$UserLine['LastIP'].'</strong><br />'.
Note:
See TracChangeset
for help on using the changeset viewer.