Файл: torgs.php
Строк: 37
<?
define('PROTECTOR', 1);
$headmod = 'torg';//фикс. места
$textl='Торговая площадь';
include('files/path.php');
include($path.'files/db.php');
include($path.'files/auth.php');
include($path.'files/func.php');
include($path.'files/core.php');
include($path.'files/head.php');
include($path.'files/zag.php');
if($mestouser[x]!='1000' or $mestouser[y]!='1003'){echo"Вы не находитесь на нужной локации..."; include('/files/down.php'); exit;}
$chat= mysql_num_rows(mysql_query("SELECT * FROM tchat"));
$b= mysql_num_rows(mysql_query("SELECT * FROM bazar"));
$aura= mysql_num_rows(mysql_query("SELECT * FROM shop_aura WHERE city='fornost'"));
$pit= mysql_num_rows(mysql_query("SELECT * FROM pit_shop WHERE city='fornost'"));
$elit= mysql_num_rows(mysql_query("SELECT * FROM elitshop WHERE city='fornost'"));
$el= mysql_num_rows(mysql_query("SELECT * FROM shopelexirs WHERE city='fornost'"));
$s= mysql_num_rows(mysql_query("SELECT * FROM shop WHERE city='fornost' and tip!='amulet' and tip!='kolco'"));
$ss= mysql_num_rows(mysql_query("SELECT * FROM shop WHERE city='fornost'"));
$sss=$ss-$s;
echo'<center><img src="tp.jpg" alt=""/></center><br/>
';
/*echo'<a href="tchat.php?">Торг Чат</a> ('.$chat.')';*/
//echo'<img src="pic/money.png" width=16px height=16px> <a href="bazar.php?">Базар</a>';
echo'<a href="shop.php?">Магазин Снаряжения</a>';
/*echo'<br/><img src="pic/main/bazar.gif" alt="*"/> <a href="elitshop.php?mod=b">Лавка редкостей</a> ('.$elit.' вещей)';*/
echo'<br/><a href="shopelexirs.php?">Магазин Элексиров</a>';
/*echo'<br/><img src="pic/main/bazar.gif" alt="*"/> <a href="shopaura.php?">Магазин аур</a> ('.$aura.' аур)';
echo'<br/><img src="pic/main/pit.gif"> <a href="shoppit.php?">Магазин для питомцев</a> ('.$pit.' вещей)';*/
echo'<br/><a href="lambard.php?">Ломбард</a><br/>';
include($path.'files/down.php');
?>