File size: 912B
<?
$online = count($game['players']);
$year = date('d.m.y');
$times = date('H:m');
$version = "v.<b>0.8</b>";
$vremya = "$year $times";
$brouzer=$_SERVER["HTTP_USER_AGENT"];
$logo = "<br/><img src=\"/logotip.gif\" alt=\"logo\"></a><br/>";
$index = "<br/><a href=\"index.php\">На главную</a>";
$dir = opendir ("./users");
while ($file = readdir ($dir))
{if (($file !="index.php") &&($file !="zip.php") &&($file !=".htaccess"))
{$a[]=$file;}}
closedir ($dir);
$total = count($a);
$ccc=count($game["players"]);
$s1="всего: ".$total."";
$subt = file_get_contents("./data/max_on.dat");
$max = explode("|", $subt);
$max_onl = $max[0];
$max_on_time = $max[1];
if ($online >= $max_onl)
{
$fp55 = fopen("data/max_on.dat", 'w');
fwrite($fp55, "$online|$vremya|");
fclose($fp55);
}
$file=@file('data/news.dat');
$file = array_reverse($file);
$newsdate=explode('||',$file[0]);
?>