Changeset 825 for trunk/Modules/User/UserList.php
- Timestamp:
- Mar 1, 2015, 1:27:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserList.php
r816 r825 50 50 array('Name' => 'XP', 'Title' => T('Level')), 51 51 array('Name' => 'XP', 'Title' => T('Experience')), 52 //array('Name' => 'GM', 'Title' => T('GM')),53 52 array('Name' => 'LastLogin', 'Title' => T('Last logged in')), 54 53 array('Name' => 'RegistrationTime', 'Title' => T('Registration time')), … … 58 57 59 58 $Query = 'SELECT `User`.`ID`, `User`.`Name`, `LastLogin`, `GM`, `XP`, `TranslatedCount`, `RegistrationTime` '. 60 61 62 59 'FROM `User` '. 60 'LEFT JOIN `UserTrace` ON `UserTrace`.`User` = `User`.`Id` '. 61 'WHERE 1'.$SearchQuery.$TeamFilter.$Order['SQL'].$PageList['SQLLimit']; 63 62 64 63 $DbResult = $this->Database->query($Query); … … 67 66 $XP = GetLevelMinMax($Line['XP']); 68 67 $Output .= '<tr><td><a href="user.php?user='.$Line['ID'].'">'.$Line['Name'].'</a></td>'. 69 '<td style="text-align: center;"><a href="TranslationList.php?user='.$Line['ID'].'&group=0&state=2" title="Zobrazit Všechny jeho přeložené texty">'.$Line['TranslatedCount'].'</a></td>'. 70 '<td>'.$XP['Level'].'</td>'. 71 '<td>'.ProgressBar(150, round($XP['XP'] / $XP['MaxXP'] * 100, 2), $XP['XP'].' / '.$XP['MaxXP']).'</td>'. 72 //<td>'.$Moderators[$Line['GM']].'</td> 73 '<td>'.HumanDate($Line['LastLogin']).'</td>'. 74 '<td>'.HumanDate($Line['RegistrationTime']).'</td></tr>'; 68 '<td style="text-align: center;"><a href="TranslationList.php?user='.$Line['ID'].'&group=0&state=2" title="Zobrazit Všechny jeho přeložené texty">'.$Line['TranslatedCount'].'</a></td>'. 69 '<td>'.$XP['Level'].'</td>'. 70 '<td>'.ProgressBar(150, round($XP['XP'] / $XP['MaxXP'] * 100, 2), $XP['XP'].' / '.$XP['MaxXP']).'</td>'. 71 '<td>'.HumanDate($Line['LastLogin']).'</td>'. 72 '<td>'.HumanDate($Line['RegistrationTime']).'</td></tr>'; 75 73 } 76 74 $Output .= '</table>'.
Note:
See TracChangeset
for help on using the changeset viewer.