Ignore:
Timestamp:
Mar 24, 2009, 8:32:29 PM (16 years ago)
Author:
barny
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/register.php

    r442 r533  
    1 <?php
     1<?php
    22
    33
     
    55
    66include('pages/reg_config.php');
    7 $MaxOnlinePlayers = 300;
    8 $RequiredOnlinePlayers = 250;
    97
    108
    119
    12 $db->select_db($db_realmd);
    13 $DbResult = $db->query('SELECT COUNT(*) FROM account');
    14 $Row = $DbResult->fetch_array();
    15 $AccountCount = $Row[0];
    1610
    17 
    18 echo('Max. povolený počet online hráčů: '.$MaxOnlinePlayers.'<br/>');
    19 echo('Požadovaný počet online hráčů: '.$RequiredOnlinePlayers.'<br/>');
    20 echo('Včera nejvíce hráčů online: '.$YesterdayMaxPlayers.'<br/>');
    21 
    22 
    23 echo('Počet povolených registrací na dnešní den: <strong>'.$AllowedRegistrationCountPerDay.'</strong><br/>');
    24 $Remain = $MaximumAccountCount - $AccountCount;
    25 if($Remain < 0) $Remain = 0;
    26 echo('Dnes zbývá ještě› '.$Remain.' registrací.<br/><br/>');
    2711 
    2812if($Remain > 0)
Note: See TracChangeset for help on using the changeset viewer.