Changeset 567
- Timestamp:
- Apr 19, 2009, 1:45:20 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 11 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mmadmin/stat.php
r374 r567 72 72 $total_chars = $sql->result($query,0); 73 73 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']); 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); -
trunk/pages/online.php
r525 r567 21 21 return $arrow."<a href=\"?page=online&order=".$sort."&dir=".$dir."\">".$show."</a>"; 22 22 } 23 echo " 23 echo " 24 24 Ve hře se právě nachází ".$server -> MangosOnline()." hráčů. 25 25 <center> -
trunk/pages/register.php
r553 r567 30 30 mysql_connect($db_server, $db_user, $db_pass) or die ("Spojení nebylo uspěšné"); 31 31 $p = mysql_num_rows(mysql_query("SELECT * FROM `realm1_realmd`.`account`")); 32 if($p >= 1 5000) {33 echo "<h10>Registrace jsou uzavřeny</h10> ";32 if($p >= 13000) { 33 echo "<h10>Registrace jsou uzavřeny</h10><p>"; 34 34 echo "<h11>Limit vyčerpán</h11>"; 35 35 } else {
Note:
See TracChangeset
for help on using the changeset viewer.