Вход Регистрация
Файл: vesh.php
Строк: 36
<?
include 'mysql.php';
Error_Reporting(E_ALL & ~E_NOTICE);
include_once(
"inclydings/zag.php");
include_once(
"inclydings/antixak.php");
$_title 'Lineage2';
include 
'inclydings/ini.php';
$log htmlspecialchars(stripslashes($log));
$pas htmlspecialchars(stripslashes($pas));
/////////////////////////////////////////////////////
$text = @file("L2dbnam/esql2db/reg/$log.dat");
if (
$text!=""){
$udata explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
include 'inclydings/sesi.php';
if (isset(
$user)) {
echo 
"Такие авантюристы как вы определенно нуждаются в вещах, продающиеся в нашем магазине! Даже Grand Master Bernhardt одобрил наш товар! Мы торгуем только высококачественным товаром!
 Не спешите! Выбирайте!<br/>"
;
$dir opendir ("L2dbnam/esql2db/vesh");
while (
$file readdir ($dir))
{
if (( 
$file != ".") && ($file != ".."))
$filestr_replace(".dat","",$file);

$file2"$file";

$text = @file("L2dbnam/esql2db/vesh/$file2.dat");

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

$file2=str_replace("HP","Бутылок с восстановлением HP"$file2);
$file2=str_replace("CP","Бутылок с восстановлением CP"$file2);
$file2=str_replace("soski","Увеличение атаки в два раза"$file2);
$file2=str_replace("MP","Бутылок с восстановлением MP"$file2);

echo 
"<img src='pik4erspic/mini/mag.png'> <a href="byvesh.php?$sd&vesh=$file&gorod=$gorod&tip=vesh">$file</a> <img src='pik4erspic/mini/gold1.png' alt='pic'/>  $udat[1]<br/>";
}
}
closedir ($dir);






}else{echo
"Пароль или ник неверен. Возможно сессия устарела. Попробуйте авторизироваться заново.";}

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