Просмотр файла darkworld/okrestnosti.php

Размер файла: 711B
<?
error_reporting(0);
include_once("files/zag.php");
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {


$dir = opendir ("data/monstrs");
while ($file = readdir ($dir))
{
if (( $file != ".") && ($file != ".."))
{

$id=str_replace(".dat","",$file);

$text = @file("data/monstrs/$file");
$data = explode("||",$text[0]);

if($data[4]==$udata[37]){

echo"<small>[<a href=\"infomob.php?log=$log&amp;pas=$pas&amp;id=$id\">?</a>] <a href=\"ok.php?log=$log&amp;pas=$pas&amp;id=$id\">$data[0]</a> [$data[1] lvl]</small><br/>";}}}
include_once"files/lvl.php";
}else{echo"<small>Пароль или логин неверен!</small>";}

include_once"files/down.php";
?>