Файл: DarkAge/helpgk.php
Строк: 16
<?
Error_Reporting(E_ALL & ~E_NOTICE);
include_once("files/antixak.php");
include_once("files/zag.php");
$log = htmlspecialchars(stripslashes($log));
$pas = htmlspecialchars(stripslashes($pas));
/////////////////////////////////////////////////////
$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)!=="") {
if (isset($error)){echo'У вас не хватает денег.<br/>';}
include_once("files/helpgkgate.php");
echo'<div id="menu8">';
while ($file = readdir ($dir))
{
if (( $file != ".") && ($file != ".."))
{ $id=str_replace(".dat","",$file);
$text = @file("data/idgorod/help/$file");
$data = explode("||",$text[0]);
echo'<a href="teleporthelp.php?log='.$log.'&pas='.$pas.'&gorod='.$id.'">'.$data[0].'</a> ['.$data[2].' аден]<br />';}}
echo '</div>';
closedir ($dir);
}else{echo"Пароль или логин неверен!";}
include_once"files/down.php";
?>