Changeset 567 for trunk/mmadmin/stat.php


Ignore:
Timestamp:
Apr 19, 2009, 1:45:20 AM (16 years ago)
Author:
barny
Message:

Oprava minimanageru + úprava pages/registrace.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mmadmin/stat.php

    r374 r567  
    7272 $total_chars = $sql->result($query,0);
    7373
    74  $sql->connect($mangos_db[$realm_id]['addr'], $mangos_db[$realm_id]['user'], $mangos_db[$realm_id]['pass'], $mangos_db[$realm_id]['name']);
     74 $sql->connect($realm_db[$realm_id]['addr'], $realm_db[$realm_id]['user'], $realm_db[$realm_id]['pass'], $realm_db[$realm_id]['name']);
    7575 $query = $sql->query("SELECT AVG(uptime)/60,MAX(uptime)/60,(100*SUM(uptime)/(UNIX_TIMESTAMP()-MIN(starttime))) FROM uptime");
    7676 $uptime = $sql->fetch_row($query);
Note: See TracChangeset for help on using the changeset viewer.