Changeset 455 for trunk/userlist.php
- Timestamp:
- Apr 13, 2010, 10:03:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/userlist.php
r436 r455 26 26 //if($_SESSION['Where'] <> '') echo(' <a href="?action=nofilter">Zrušit filtr uživatelů</a><br />'); 27 27 28 $DbResult = $ Database->SQLCommand('SELECT COUNT(*) FROM `User`'.$_SESSION['Where']);29 $DbRow = mysql_fetch_row($DbResult);28 $DbResult = $System->Database->query('SELECT COUNT(*) FROM `User`'.$_SESSION['Where']); 29 $DbRow = $DbResult->fetch_row(); 30 30 $PageList = GetPageList($DbRow[0]); 31 31 … … 48 48 $Query = 'SELECT `ID`, `User`.`Name`, `LastLogin`, `GM`, `XP`, `TranslatedCount`, `RegistrationTime` FROM `User` '.$_SESSION['Where'].$Order['SQL'].$PageList['SQLLimit']; 49 49 50 $ ID = $Database->SQLCommand($Query);51 while($Line = mysql_fetch_assoc($ID))50 $DbResult = $System->Database->query($Query); 51 while($Line = $DbResult->fetch_assoc()) 52 52 { 53 53 if($User->Licence(LICENCE_MODERATOR))
Note:
See TracChangeset
for help on using the changeset viewer.