View file darkworld/index.php

File size: 2.31Kb
<?
list($msec,$sec)=explode(chr(32),microtime());
$HeadTime=$sec+$msec;

/////////////////////
$file="data/online.dat";
$lines=file("$file");
$online=count($lines);
/////////////////////
$online=round($online*1);


echo'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta forua="true" http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"/><title>Темный мир</title></head>
<body bgcolor="#0" link="#5" vlink="#5" text="#0">
<table align="center" border="0" cellspacing="1" cellpadding="3" width="115">
<tr><td bgcolor="#2" align="center"><font color="#f"><b>Темный мир<br/>Бесплатная онлайн игра</b><br/><img src=\"logo.jpg\" alt=\"logo\"/><br/></font></td></tr>';

if (isset($error))
{ echo'Пароль или логин неверен.<br/>'; }
echo'<tr><td bgcolor="#7" align="center">';
echo "Сейчас в игре: $online человек<br/>";
include_once("files/reg.php");
echo'<form method="post" action="enter.php">';
echo "<b>Ник:</b><br/>";
echo "<input name=\"log\" maxlength=\"10\" title=\"nick\" emptyok=\"true\"/><br/>";
echo "<b>Пароль:</b><br/>";
echo "<input name=\"pas\" maxlength=\"10\" title=\"password\" emptyok=\"true\"/><br/><br/>";
echo '<input class="button" type="submit" value="Войти"/></form><br/>';

echo "<a href=\"rules.php\">Регистрация</a><br/>";
echo "<a href=\"password.php\">Забыли пароль?</a><br/>";
echo "<a href=\"pcgame.php\">Игра с PC</a><br/>";

echo "<a href=\"help.php\">О игре</a></td></tr>";

echo "<tr><td bgcolor=\"#C\" align=\"center\"><a href=\"http://vlog.su/click.php?1469\"><img src=\"http://vlog.su/image.php?1469\" alt=\"waplog\"/></a> <a href=\"http://host-tracker.com/ru/website-monitoring-info/302963/ff/\"><img src=\"http://ext.host-tracker.com/uptime-img/?s=15&amp;t=302963&amp;m=0.59&amp;p=Total&amp;src=ff\" alt=\"uptime\"/></a></td></tr>";
echo "<tr><td bgcolor=\"#7\" align=\"center\"><a href=\"http://VIPHOST.ORG.RU\">VIPHOST.ORG.RU</a><br/><b>By Sch0k.GM</b></td></tr><tr><td bgcolor=\"#C\" align=\"center\">";
list($msec,$sec)=explode(chr(32),microtime());
echo "[".round((($sec+$msec)-$HeadTime),4)."]";
echo'</td></tr>
</body>
</html>
';
?>