Файл: DarkAge/files/kolweapon.php
Строк: 101
<?php
$sword = opendir("data/shop/sword/");
while(($k=readdir($sword))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allw++;} closedir($sword);
$axe = opendir("data/shop/axe/");
while(($k=readdir($axe))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allaxe++;} closedir($axe);
$mines = opendir("data/shop/mines/");
while(($k=readdir($mines))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allmines++;} closedir($mines);
$knife = opendir("data/shop/knife/");
while(($k=readdir($knife))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allknife++;} closedir($knife);
$mace = opendir("data/shop/mace/");
while(($k=readdir($mace))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allmace++;} closedir($mace);
$brassknuckles = opendir("data/shop/brassknuckles/");
while(($k=readdir($brassknuckles))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allbrassknuckles++;} closedir($brassknuckles);
$bit = opendir("data/shop/bit/");
while(($k=readdir($bit))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allbit++;} closedir($bit);
$sharpening = opendir("data/shop/sharpening/");
while(($k=readdir($sharpening))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allsharpening++;} closedir($sharpening);
$hammer = opendir("data/shop/hammer/");
while(($k=readdir($hammer))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allhammer++;} closedir($hammer);
###########################################################################################################
$heand = opendir("data/shop/armour/heand/");
while(($k=readdir($heand))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allheand++;} closedir($heand);
$down = opendir("data/shop/armour/down/");
while(($k=readdir($down))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $alldown++;} closedir($down);
$body = opendir("data/shop/armour/body/");
while(($k=readdir($body))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allbody++;} closedir($body);
$golova = opendir("data/shop/armour/golova/");
while(($k=readdir($golova))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allgolova++;} closedir($golova);
$shield = opendir("data/shop/armour/shield/");
while(($k=readdir($shield))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allshield++;} closedir($shield);
$nogi = opendir("data/shop/armour/nogi/");
while(($k=readdir($nogi))!==false){
if ($k=='.'||$k=='..'||$k=='.htaccess'||$k=='index.php') continue; $allnogi++;} closedir($nogi);
?>