Changeset 684 for trunk/pages
- Timestamp:
- Jan 23, 2010, 5:34:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/realmlist.php
r683 r684 15 15 $Output = '<h2 align="center">Seznam světů</h2>'; 16 16 17 $DbResult = $System->Database->query('SELECT Logon. Name, Logon.Id, Host.Address, Logon.Port FROM Logon JOIN Host ON Host.Id=Logon.Host WHERE Logon.Enabled=1');17 $DbResult = $System->Database->query('SELECT Logon.ClientVersion, Logon.Name, Logon.Id, Host.Address, Logon.Port FROM Logon JOIN Host ON Host.Id=Logon.Host WHERE Logon.Enabled=1'); 18 18 while($DbRow = $DbResult->fetch_assoc()) 19 19 { 20 20 $Server = new Server($System, $DbRow['Id']); 21 $Output .= '<div style="text-align: center">'.$DbRow['Name'].' <a href="?page=realmlist&Server='.$DbRow['Id'].'">'.$DbRow['Address'];21 $Output .= '<div style="text-align: center">'.$DbRow['Name'].' '.$DbRow['ClientVersion'].' - realmlist: <a href="?page=realmlist&Server='.$DbRow['Id'].'">'.$DbRow['Address']; 22 22 if($DbRow['Port'] != 3724) $Output .= ':'.$DbRow['Port']; 23 23 $Output .= '</a></div>';
Note:
See TracChangeset
for help on using the changeset viewer.