Файл: DarkAge/mag.php
Строк: 12
<?
include_once("files/zag.php");
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
if(@file("data/mag/$log.dat")){
$file = @file("data/mag/$log.dat");
$total = count($file);
echo'<div id="menu6">';
for ($i = 0; $i < $total; $i++){
$file = @file("data/mag/$log.dat");
$file = array_reverse($file);
$data = explode("||",$file[$i]);
if($data[4]=="baff"){
echo"<a href="baff.php?log=$log&pas=$pas&name=$data[8]">$data[7]</a><br/>";}
if($data[4]=="summoner"){
echo"<a href="summoner.php?log=$log&pas=$pas">$data[7]</a><br/>";}
}}else{echo"Пусто.";}
echo'</div>';
}else{echo"Пароль или логин неверен!";}
include_once("files/down.php");
?>