Changeset 630 for trunk/pages/tophraci.php
- Timestamp:
- Aug 26, 2009, 3:07:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/tophraci.php
r614 r630 21 21 } 22 22 23 $db->select_db($Config['Mangos']['RealmList'][$_COOKIE['RealmIndex']]['DatabaseCharacters']); 23 $Realm = new Realm($System, $_COOKIE['RealmIndex']); 24 $db = $Realm->Database; 25 $db->select_db($Config['Mangos']['RealmList'][$Realm->Id]['DatabaseCharacters']); 26 24 27 $sql = 'SELECT name, totaltime, online FROM characters ORDER BY totaltime DESC LIMIT '.$top; 25 28 $result = $db->query($sql);
Note:
See TracChangeset
for help on using the changeset viewer.