Файл: index.php
Строк: 83
<?
include 'include/sesi.php';
$HeadTime=$sec+$msec;
/////////////////////
include 'include/ini.php';
$file=@file("MySql/base123/novs.php");
$file = array_reverse($file);
$data=explode("||",$file[0]);
$online=count(file("MySql/base123/online.dat"));
$file=@file("MySql/base123/event.dat");
$file = array_reverse($file);
$data22=explode("||",$file[0]);
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>WarWow.Ru</title></head>
<link rel="stylesheet" href="img/style.css" type="text/css" />
';
include 'include/sneg.php';
echo'<div class = "up" ></div><div class = "body" ><br/>';
echo "<left>";
echo "<img src='img/logo.jpg' alt='' /><br/>";
echo"<hr>";
$uzer=$_REQUEST['uzer'];
$text = @file("MySql/base123/ref/$uzer.dat");
$text = explode(":||:",$text[0]);
$text[0]=round($text[0]+1);
$text[2]=round($text[2]+1.5);
$text2="$text[0]:||:$text[1]:||:$text[2]:||:";
$fp=fopen("MySql/base123/ref/$uzer.dat","w");
flock($fp,LOCK_EX);
fputs($fp,"$text2rn");
fflush($fp);
flock($fp,LOCK_UN);
fclose($fp);
if (isset($error))
{ echo'Пароль или логин неверен.<br/>'; }
if (isset($cpu))
{ echo'Аккаунт перезапушен, войдите заново!<hr/>'; }
if (isset($directerror))
{ echo'Ошибка! Нет доступа!<hr/>'; }
echo'<form method="post" action="enter.php">';
echo 'Регистараций: ';
include_once("include/reg.php");
echo"Онлайн: <b><font color=white>1$online</font></b><br/>";
echo"Забаненых: <b><font color=red>0</font></b><br/>";
echo '<hr>';
echo "<b>Логин:</b><br/>";
echo "<input class="button" name="log" maxlength="20" title="nick" emptyok="true"/><br/>";
echo "<b>Пароль:</b><br/>";
echo "<input class="button" name="pas" type="password" maxlength="20" title="password" emptyok="true"/><br/><br/>";
echo '<input class="button" type="submit" value="Войти" /></form>';
$file=@file("MySql/base123/novs.dat");
$file = array_reverse($file);
$data=explode("||",$file[0]);
echo"<hr>";
echo '<div class = "menu" >';
echo"<a href="reg.php?$sd"><font color='7fff00'>Регистрация</font></a><br/>";
echo"<a href="password.php?$sd"><font color='7fff00'>Забыли пароль?</font></a><hr/>";
echo"<a href="xto.php?$sd"><font color='7fff00'>Кто в игре</font></a><br/>";
echo"<a href="help.php?$sd"><font color='7fff00'>О игре</font></a><br/>";
echo"<a href="faqosada.php?$sd"><font color='7fff00'>Замки Warcraft</font></a><br/>";
echo"<a href="server.php?$sd"><font color='7fff00'>Рейты сервера</font></a><br/>";
echo"<hr>";
echo"<a href="news_index.php?$sd"><font color='7fff00'>Новости</font></a><br/>[$data[1]]<br/>";
echo"<a href="eventnews_index.php?$sd"><font color='7fff00'>Эвенты/Конкурсы</font></a><br/>";
echo"<hr>";
echo "<a href="faqadmine.php?$sd"><font color='7fff00'>Поддержка</font></a><br/></div>";
echo "<br/>";
echo "Mod by <b><a href="information.php?nick=Bipyc&$sd">Bipyc</a></b><br/></left><hr><a href="http://oztop.ru/go/1071"><img src='http://oztop.ru/image/1071' alt='OZTOP.RU' /></a><br/>";
echo "";
echo'</div></left>
</body>
</html>
';
?>