Changeset 570 for trunk/mmadmin/stat.php
- Timestamp:
- Apr 20, 2009, 9:51:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mmadmin/stat.php
r567 r570 72 72 $total_chars = $sql->result($query,0); 73 73 74 $sql->connect($realm_db[ $realm_id]['addr'], $realm_db[$realm_id]['user'], $realm_db[$realm_id]['pass'], $realm_db[$realm_id]['name']);74 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']); 75 75 $query = $sql->query("SELECT AVG(uptime)/60,MAX(uptime)/60,(100*SUM(uptime)/(UNIX_TIMESTAMP()-MIN(starttime))) FROM uptime"); 76 76 $uptime = $sql->fetch_row($query);
Note:
See TracChangeset
for help on using the changeset viewer.