Changeset 616 for trunk/pages


Ignore:
Timestamp:
Aug 8, 2009, 3:48:51 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Zobrazení seznamu světů dle odlišného číslování.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/realmlist.php

    r613 r616  
    1515{
    1616  $db->select_db($Config['Mangos']['DatabaseRealmd']);
    17   $DbResult = $db->query('SELECT * FROM `realmlist` WHERE id='.$Index); 
     17  $DbResult = $db->query('SELECT * FROM `realmlist` WHERE id='.$RealmConfig['Id']); 
    1818  if($DbResult->num_rows > 0)
    1919  {
    2020    $DbRow = $DbResult->fetch_assoc();
    21     $Output .= '<tr><td><a href="?page=online&amp;RealmIndex='.$Index.'">'.$RealmConfig['Name'].'</a></td><td>'.$RealmConfig['XPRate'].'x</td><td>'.$RealmConfig['Type'].'</td><td>'.$server->ServerImg($server->ServerOnline($DbRow['address'], $DbRow['port'])).'</td><td>'.$server->MangosOnline($DbRow['id']).' / '.$RealmConfig['MaxOnlinePlayers'].' / '.$server->CharacterCount($Index).'</td></tr>';
     21    $Output .= '<tr><td><a href="?page=online&amp;RealmIndex='.$Index.'">'.$RealmConfig['Name'].'</a></td><td>'.$RealmConfig['XPRate'].'x</td><td>'.$RealmConfig['Type'].'</td><td>'.$server->ServerImg($server->ServerOnline($DbRow['address'], $DbRow['port'])).'</td><td>'.$server->MangosOnline($Index).' / '.$RealmConfig['MaxOnlinePlayers'].' / '.$server->CharacterCount($Index).'</td></tr>';
    2222    $Output .= '<tr><td colspan="5">'.$RealmConfig['Description'].'</td></tr>';
    2323    if(array_key_exists($Index + 1, $Config['Mangos']['RealmList'])) $Output .= '<tr><td colspan="5">&nbsp;</td></tr>';
Note: See TracChangeset for help on using the changeset viewer.