Changeset 613 for trunk/pages
- Timestamp:
- Aug 7, 2009, 11:16:13 PM (15 years ago)
- Location:
- trunk/pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/commands.php
r612 r613 6 6 7 7 $Output .= '<ul>'; 8 $DbResult = $db->query('SELECT * FROM `command` WHERE security=0 ');8 $DbResult = $db->query('SELECT * FROM `command` WHERE security=0 ORDER BY name'); 9 9 while($DbRow = $DbResult->fetch_assoc()) 10 10 { 11 $Output .= '<li><strong> .'.$DbRow['name'].'</strong> - '.$DbRow['help'].'</li>';11 $Output .= '<li><strong>'.$DbRow['name'].'</strong> - '.$DbRow['help'].'</li>'; 12 12 } 13 13 $Output .= '</ul>'; -
trunk/pages/realmlist.php
r611 r613 19 19 { 20 20 $DbRow = $DbResult->fetch_assoc(); 21 $Output .= '<tr><td> '.$RealmConfig['Name'].'</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&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>'; 22 22 $Output .= '<tr><td colspan="5">'.$RealmConfig['Description'].'</td></tr>'; 23 23 if(array_key_exists($Index + 1, $Config['Mangos']['RealmList'])) $Output .= '<tr><td colspan="5"> </td></tr>';
Note:
See TracChangeset
for help on using the changeset viewer.