Changeset 455 for trunk/version.php
- Timestamp:
- Apr 13, 2010, 10:03:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/version.php
r366 r455 5 5 ShowPage(); 6 6 7 $DbResult = $ Database->SQLCommand('SELECT COUNT(*) FROM `ClientVersion`');8 $DbRow = mysql_fetch_row($DbResult);7 $DbResult = $System->Database->query('SELECT COUNT(*) FROM `ClientVersion`'); 8 $DbRow = $DbResult->fetch_row(); 9 9 $PageList = GetPageList($DbRow[0]); 10 10 … … 22 22 echo($Order['Output']); 23 23 24 $DbResult = $ Database->SQLCommand('SELECT * FROM ClientVersion '.$Order['SQL'].$PageList['SQLLimit']);25 while($Version = mysql_fetch_assoc($DbResult))24 $DbResult = $System->Database->query('SELECT * FROM ClientVersion '.$Order['SQL'].$PageList['SQLLimit']); 25 while($Version = $DbResult->fetch_assoc()) 26 26 { 27 27 echo('<tr><td><a href="http://www.wowwiki.com/Patch_'.$Version['Version'].'">'.$Version['Version'].'</a></td><td>'.$Version['BuildNumber'].'</td><td>'.HumanDate($Version['ReleaseDate']).'</td><td>'.$Version['Title'].'</td></tr>');
Note:
See TracChangeset
for help on using the changeset viewer.