Вход Регистрация
Файл: DarkAge/itemall.php
Строк: 27
<?
include_once("files/zag.php");
if (
md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {

if(@
file("data/item/$log.dat")){

$file = @file("data/item/$log.dat");
$total count($file);  

if (empty(
$_GET['start'])) $start 0;
else 
$start $_GET['start'];
if (
$total $start 10){ $end $total; }
else {
$end $start 10; }
for (
$i $start$i $end$i++){

$file = @file("data/item/$log.dat");
$file array_reverse($file);
$data explode(":||:",$file[$i]);
$i2=round($i+1);


if(
$data[2]=="petweapon"){
echo
"<b><a href="odetpet.php?log=$log&amp;pas=$pas&amp;name=$data[4]&amp;id=$i">$data[4]</a></b> - (М+$data[0])<br/>";}
if(
$data[2]=="pets"){
echo
"<b>$data[4]</b> [$data[3]]<br/>";}
if(
$data[2]=="wolf"){
echo
"<b><a href="wolf.php?log=$log&amp;pas=$pas">$data[4]</a></b><br/>";}
if(
$data[2]=="scrollweapon"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="skroll.php?log=$log&amp;pas=$pas&amp;name=$data[4]&amp;id=$i">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;)<br/>";}
if(
$data[2]=="scrollarmor"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="skroll2.php?log=$log&amp;pas=$pas&amp;name=$data[4]&amp;id=$i">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;)<br/>";}
if(
$data[2]=="scrollweaponlux"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="skroll3.php?log=$log&amp;pas=$pas&amp;name=$data[4]&amp;id=$i">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;)<br/>";}
if(
$data[2]=="scrollarmorlux"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="skroll4.php?log=$log&amp;pas=$pas&amp;name=$data[4]&amp;id=$i">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;)<br/>";}
if(
$data[2]=="vesh"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;name=$data[4]">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;)<br/>";}
if(
$data[5]=="vesh"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[5]&amp;name=$data[4]">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;)<br/>";}
if(
$data[2]=="weapon"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;id=$i">$data[4]</a></b> - [+$data[0]]<br/>";}
if(
$data[2]=="body"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;id=$i">$data[4]</a></b> - [+$data[0]]<br/>";}
if(
$data[2]=="nogi"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;id=$i">$data[4]</a></b> - [+$data[0]]<br/>";}
if(
$data[2]=="golova"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;id=$i">$data[4]</a></b> - [+$data[0]]<br/>";}
if(
$data[2]=="vesh2"){
echo
"<b><a href="tovesh.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;name=$data[4]&amp;id=$i">$data[4]</a></b> - ($data[3] &#x448;&#x442;&#x443;&#x43A;) [+$data[0]]<br/>";}
if(
$data[2]=="heand"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;id=$i">$data[4]</a></b> - [+$data[0]]<br/>";}
if(
$data[2]=="down"){
echo
"<img width="32" height="32" src="pic/image/$data[6]" /><b><a href="odet.php?log=$log&amp;pas=$pas&amp;tip=$data[2]&amp;id=$i">$data[4]</a></b> - [+$data[0]]<br/>";}


}}else{echo
"&#x423; &#x432;&#x430;&#x441; &#x43D;&#x435;&#x442; &#x432;&#x435;&#x449;&#x435;&#x439;.";}

    
    
if (
$start != 0) {echo '<a href="itemall.php?start='.($start 10).'&amp;log='.$log.'&amp;pas='.$pas.'">&#x41D;&#x430;&#x437;&#x430;&#x434;</a> ';}

if (
$total $start 10) {echo ' <a href="itemall.php?start='.($start 10).'&amp;log='.$log.'&amp;pas='.$pas.'">&#x414;&#x430;&#x43B;&#x435;&#x435;</a>';}


}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";
?>
Онлайн: 1
Реклама