- Timestamp:
- Jan 23, 2010, 5:34:23 PM (15 years ago)
- Location:
- trunk/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/html.php
r682 r684 265 265 266 266 // Check servers online state. 267 $DbResult = $System->Database->query('SELECT COUNT(*) FROM Logon WHERE Online = 1 ');267 $DbResult = $System->Database->query('SELECT COUNT(*) FROM Logon WHERE Online = 1 AND Enabled=1'); 268 268 $DbRow = $DbResult->fetch_row(); 269 269 $OnlineState = $DbRow[0] > 0; // Report online state if one of all servers is online. -
trunk/inc/server.php
r683 r684 383 383 '<div>Výběr světa <select name="RealmIndex" onchange="document.getElementById(\'RealmSelection'.$FormNameSufix.'\').submit()">'; 384 384 385 $DbResult = $this->Database->query('SELECT * FROM Realm ');385 $DbResult = $this->Database->query('SELECT * FROM Realm WHERE Enabled=1'); 386 386 while($Realm = $DbResult->fetch_assoc()) 387 387 {
Note:
See TracChangeset
for help on using the changeset viewer.