Changeset 567


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

Oprava minimanageru + úprava pages/registrace.php

Location:
trunk
Files:
11 added
3 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);
  • trunk/pages/online.php

    r525 r567  
    2121  return $arrow."<a href=\"?page=online&amp;order=".$sort."&amp;dir=".$dir."\">".$show."</a>";
    2222}
    23 echo "
     23echo " 
    2424Ve hře se právě nachází ".$server -> MangosOnline()." hráčů.
    2525<center>
  • trunk/pages/register.php

    r553 r567  
    3030mysql_connect($db_server, $db_user, $db_pass)  or die ("Spojení nebylo uspěšné");
    3131$p = mysql_num_rows(mysql_query("SELECT * FROM `realm1_realmd`.`account`"));
    32 if($p >= 15000) {
    33 echo "<h10>Registrace jsou uzavřeny</h10>";
     32if($p >= 13000) {
     33echo "<h10>Registrace jsou uzavřeny</h10><p>";
    3434echo "<h11>Limit vyčerpán</h11>";
    3535} else {
Note: See TracChangeset for help on using the changeset viewer.