Файл: DarkAge/Death Valley.php
Строк: 19
<?
error_reporting(0);
include_once("files/zag.php");
include_once("files/lvl.php");
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
echo'<div id="menu6">';
$dir = opendir ("data/monstrs/Death Valley");
while ($file = readdir ($dir))
{
if (( $file != ".") and ($file != ".."))
{
$id=str_replace(".dat","",$file);
$text = @file("data/monstrs/Death Valley/$file");
$data = explode("||",$text[0]);
if($data[4]==$udata[37]+zbot){
echo' <a href="okDeathValley.php?log='.$log.'&pas='.$pas.'&id='.$id.'">'.$data[0].'</a> ['.$data[1].' lvl] ['.$data[2].' HP]<br />';
}}}
echo'<hr /><a href="fish.php?log='.$log.'&pas='.$pas.'&go=ulov">Рыбное озеро</a><hr /></div>';
include_once"files/okrespk.php";
}else{echo"Пароль или логин неверен!";}
include_once"files/downokr.php";
?>