Вход Регистрация
Файл: DarkAge/index1.php
Строк: 108
<?
include_once"up.php";
if (@
file_exists("local/game/switch.dat")){$status "<font color=red>Off</font>";}
else {
$status "<font color=green>On</font>";}
#---------------------#
$file="data/online.dat";
$lines=file("$file");
$online=count($lines);
#---------------------#
$online=round($online);
#---------------------#
$u explode(".",$login);
$file=@file("data/news.dat");
$file array_reverse($file);
$data=explode("||",$file[0]);
#---------------------#
$online=round($online);
$duuu=opendir("data/reg"); 
$all 0
while((
$k=readdir($duuu))!==false){ 
if (
$k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $all++;} closedir($duuu);
#---------------------#

if (isset($error))
{ echo
'<center><font color="red"><b>Пароль РёР»Рё Р»РѕРіРёРЅ РЅРµРІРµСЂРµРЅ.</b></font></center>'; }
switch (
$_GET['view']){
default:
echo 
'<div id="menu6"><div id="line"><div id="off"><b>Статус СЃРµСЂРІРµСЂР° '.$status.'</b></div></div><center><div id="vhod">';
if (!@
file_exists("local/game/switch.dat")){
echo
'
<center><font color="red"><b>Логин:</b></font></center>
    <form method="post" action="enter.php">
    <input name="log" type="log" maxlength="15" title="" emptyok="true" value=""/><br>
<center><font color="red"><b>Пароль:</b></font></center>
    <input name="pas" type="password" maxlength="10" title="Ваш РїР°СЂРѕР»СЊ" emptyok="true" value=""/><br>
    <input class="button" type="submit" title="Войти РІ РёРіСЂСѓ" value="Войти"/></form>'
;}
else {
    echo
'<br/><br/><font color="red" size="5px">GAME CLOSED</font>';
    }
echo
'
     </div></center></div><br />'
;
echo 
'
    <div id="menu6"><div id="line"><div id="off"><b>Главное РјРµРЅСЋ</b></div></div><div id="index_menu"><b>
    <a href="index.php?wap&view=news">Новости ['
.$data[1].']</a><br />
    <a href="index.php?wap&view=online">Кто РІ РёРіСЂРµ? ['
.$online.']</a><br />
<b><font color="ff0000"> РќР°СЃ СѓР¶Рµ '
.$all.' ! РџСЂРёСЃРѕРµРґРёРЅСЏР№СЃСЏ Рё С‚С‹</font></b><br/>
    <a href="reg.php">Регистрация</a><br />
    <a href="password.php?wap">Забыли РїР°СЂРѕР»СЊ?</a><br />
    <a href="stat.php?wap">Статистика</a><br />
    <a href="index.php?wap&view=downloads">Downloads</a><br />
Рейты СЃРµСЂРІРµСЂР°: Р°РґРµРЅР° - С…5, РѕРїС‹С‚ - С…5, sСЂ - С…2.5<hr/>
    <a href="help.php?wap">Рћ РёРіСЂРµ </a></b></div></div>
    '
;
break;

case 
'downloads':
$oper = @file("down/Opera_964_int_Setup.dat");
$Opera_964_int_Setup explode("|"$oper[0]);
echo
'<div id="menu7">
<b>Downloads :<br />Рекомендуемый Р±СЂР°СѓР·РµСЂ :<br /><img src="down/Opera_964_int_Setup.jpg" alt="Opera_964_int_Setup"/><li/><a href="'
.$Opera_964_int_Setup[0].'">Opera</a> PC<br /><img src="down/opera.jpg" alt="Opera_mini_5"/><li/><a href="down/opera.jar">Opera mini 5.0 b</a></b><br /><br /></div>';
break;

case 
'online':
include_once(
"online.php");
break;
case 
'news':
$file = @file("data/news.dat"); 
$total=count($file);
$file array_reverse($file);
if (empty(
$_GET['start'])) $start 0;
else 
$start $_GET['start'];
if (
$total $start 25){ $end $total; }
else {
$end $start 25; }
for (
$i $start$i $end$i++){
$udata explode("||",$file[$i]);
echo 
'<div id="menu"><div id="line"><b>'.$udata[0].'</b></div> ['.$udata[1].']<br/><i>'.$udata[2].'</i><br/></div>';
}
echo 
'<a href="index.php?wap"><b>Назад</b></a>';
break;
}

include_once
"down.php";
?>
Онлайн: 0
Реклама