Вход Регистрация
Файл: DarkAge/magcloak.php
Строк: 13
<?
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)!=="") {
 
$dir opendir ("data/shop/armour/cloak/"); 
   while (
$file readdir ($dir)) 
 {
    if (( 
$file != ".") && ($file != ".."))
    { 
$filestr_replace(".dat","",$file);

$file2"$file";
   
$text = @file("data/shop/armour/cloak/$file2.dat"); 

$udat explode(":||:",$text[0]);
$hp=trim($udat[0]);


if(
$udat[2]=="cloak"){
echo 
'<img width="32" height="32" src="pic/image/'.$udat[6].'"><a href="pokupkacloak.php?log='.$log.'&amp;pas='.$pas.'&amp;vesh=$file&amp;gorod='.$udata[20].'"> <b>'.$udat[4].'</b> </a> Защиты +'.$udat[0].' | '.$udat[1].' Аден | ('.$udat[5].'-grade)<br/>';}}

}
closedir ($dir);

}else{echo
"&#x41F;&#x430;&#x440;&#x43E;&#x43B;&#x44C; &#x438;&#x43B;&#x438; &#x43B;&#x43E;&#x433;&#x438;&#x43D; &#x43D;&#x435;&#x432;&#x435;&#x440;&#x435;&#x43D;!";}

include_once
"files/down.php";
?>
Онлайн: 2
Реклама