Changeset 609 for trunk/pages/online.php
- Timestamp:
- Aug 7, 2009, 10:03:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/online.php
r595 r609 22 22 23 23 echo('<h3 class="PageTitle">Online hráči</h3>'); 24 echo('<div style="text-align: center">Celkem '.$server->MangosOnline( ).' hráčů.</div>'.24 echo('<div style="text-align: center">Celkem '.$server->MangosOnline($_COOKIE['RealmIndex']).' hráčů.</div>'. 25 25 '<table class="BaseTable"> 26 26 <tr> … … 34 34 MakeLink('Aréna body', 'arena_points').'</th></tr>'); 35 35 36 $db->select_db($Config['Mangos'][' DatabaseCharacters']);36 $db->select_db($Config['Mangos']['RealmList'][$_COOKIE['RealmIndex']]['DatabaseCharacters']); 37 37 $sql = $db->query('SELECT guid, name, race, class, zone, map, '. 38 38 'CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, " ", '.$Config['Mangos']['CharacterDataOffset']['HonorPoints'].'+1), " ", -1) AS UNSIGNED) AS highest_rank, '.
Note:
See TracChangeset
for help on using the changeset viewer.