Changeset 650 for trunk/inc/server.php
- Timestamp:
- Nov 27, 2009, 9:10:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/server.php
r635 r650 26 26 else $human_date = date('d.m.Y', $time); 27 27 return($human_date); 28 }29 30 function OnlineAccountCount()31 {32 $this->Database->select_db($this->Config['Mangos']['DatabaseRealmd']);33 $DbResult = $this->Database->query('SELECT COUNT(*) FROM `account` WHERE `online` = 1');34 $DbRow = $DbResult->fetch_row();35 return($DbRow[0]);36 28 } 37 29
Note:
See TracChangeset
for help on using the changeset viewer.