Файл: DarkAge/okrestnosti.php
Строк: 32
<?
error_reporting(0);
include_once("files/zag.php");
include_once("files/lvl.php");
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
$dir = opendir ("data/monstrs");
while ($file = readdir ($dir))
{
if (( $file != ".") and ($file != "..") and ($file !="tren") and ($file !="voidfields") and ($file !="dionhills") and ($file !="catacombs") and ($file !="eastwood") and ($file !="dragonslake") and ($file !="gorgonhills") and ($file !="ShadowWood") and ($file !="griffonsrock") and ($file !="darktemplate"))
{
$id=str_replace(".dat","",$file);
$text = @file("data/monstrs/$file");
$data = explode("||",$text[0]);
if($data[4]==$udata[37]+zbot){
echo "
[<a href="infomob.php?log=$log&pas=$pas&id=$id">?</a>] <a href="ok.php?log=$log&pas=$pas&id=$id">$data[0]</a> [$data[1] lvl]<br/>";
}}}
echo"<br/>- - -<br/><a href="fish.php?log=$log&pas=$pas&go=ulov">Fish</a>";
include_once"files/okrespk.php";
}else{echo"Пароль или логин неверен!";}
include_once"files/downokr.php";
?>