Changeset 504 for trunk/userlist.php
- Timestamp:
- Feb 14, 2013, 7:51:59 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 aowow 3 3 nbproject 4 .settings 5 .project 6 .buildpath
-
- Property svn:ignore
-
trunk/userlist.php
r455 r504 4 4 include_once('img_level.php'); 5 5 6 ShowPage();7 6 ImgLevelUpdate(); 8 7 9 echo('<h3>Seznam uživatelů</h3>');10 8 11 9 if(array_key_exists('search', $_GET)) … … 15 13 if(array_key_exists('team', $_GET)) 16 14 { 15 $Output = '<h3>Seznam uživatelů v týmu</h3>'; 17 16 $_SESSION['Where'] = ' WHERE `Team`='.$_GET['team']; 18 17 if($_GET['team'] == '') $_SESSION['Where'] = ''; 18 } else 19 { 20 $Output = '<h3>Seznam uživatelů</h3>'; 21 if(!array_key_exists('Where', $_SESSION)) $_SESSION['Where'] = ''; 19 22 } 20 else if(!array_key_exists('Where', $_SESSION)) $_SESSION['Where'] = '';21 23 22 24 if(array_key_exists('action', $_GET)) … … 24 26 if($_GET['action'] == 'nofilter') $_SESSION['Where'] = ''; 25 27 } 26 //if($_SESSION['Where'] <> '') echo(' <a href="?action=nofilter">Zrušit filtr uživatelů</a><br />');28 //if($_SESSION['Where'] <> '') $Output .= ' <a href="?action=nofilter">Zrušit filtr uživatelů</a><br />'; 27 29 28 30 $DbResult = $System->Database->query('SELECT COUNT(*) FROM `User`'.$_SESSION['Where']); … … 30 32 $PageList = GetPageList($DbRow[0]); 31 33 32 echo($PageList['Output']); 33 echo('<table class="BaseTable">');34 $Output .= $PageList['Output']. 35 '<table class="BaseTable">'; 34 36 35 37 $TableColumns = array( … … 43 45 ); 44 46 $Order = GetOrderTableHeader($TableColumns, 'TranslatedCount', 1); 45 echo($Order['Output']);47 $Output .= $Order['Output']; 46 48 47 49 … … 56 58 57 59 $XP = GetLevelMinMax($Line['XP']); 58 echo('<tr><td>'.$Name.'</td>60 $Output .= '<tr><td>'.$Name.'</td> 59 61 <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>'. 60 62 '<td>'.$XP['Level'].'</td>'. … … 62 64 //<td>'.$Moderators[$Line['GM']].'</td> 63 65 '<td>'.HumanDate($Line['LastLogin']).'</td>'. 64 '<td>'.HumanDate($Line['RegistrationTime']).'</td></tr>' );66 '<td>'.HumanDate($Line['RegistrationTime']).'</td></tr>'; 65 67 } 66 echo('</table>'); 67 echo($PageList['Output']);68 $Output .= '</table>'. 69 $PageList['Output']; 68 70 69 Show Footer();71 ShowPage($Output); 70 72 71 73 ?>
Note:
See TracChangeset
for help on using the changeset viewer.