Файл: DarkAge/files/downokr.php
Строк: 22
<?
/////////////////////////////////////////////////////
$text = @file("data/reg/$log.dat");
if ($text!=""){
$udata = explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
$self = $_SERVER['SCRIPT_NAME'];
$dir = opendir ("data/idgorod");
$file = readdir ($dir);
$id=str_replace(".dat","",$file);
$textz = @file("data/idgorod/$id.dat");
$data = explode("||",$textz[0]);
if(@file("data/tmp/$log.dat")){echo"<a href="ataka.php?log=$log&pas=$pas">Вернуться в бой</a><br />";}else{}
include_once"files/chat.php";
echo'<div id="lol">';
include_once("downmenu.php");
include_once"files/online.php";
include_once("files/regeneration.php");
echo'<div id="foot"><b>dark-full.h2m.ru 2011</b></div>';
list($msec,$sec)=explode(chr(32),microtime());
echo "[".round((($sec+$msec)-$gtime),4)." секунд]"; }
echo'<br />';
include_once("counter.php");
echo'</div>';
echo "</body></html>";
?>