Файл: region_clean/city/zdorov.php
Строк: 41
<?
#######################################
## Mod By KoT (borispol) [76-75-072] ##
#######################################
require_once "../start.php";
require_once "../sid.php";
header("Cache-Control: no-cache");
if ($ver == "wml") header ("Content-type:text/vnd.wap.wml; charset=utf-8");
else header("Content-Type:text/html; charset=UTF-8");
require_once "../inc.php";
$link = connect_db();
list($row, $id, $ps, $fsize1, $fsize2) = check_login($link);
require_once "../version.php";
if ($ver == "wml") {
echo $xml;
echo $dtd;
echo "<wml>
<card id="city" title="Онлайн-сити">
<p>";
} else {
echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><link rel="stylesheet" type="text/css" href="../css/$css.css"/>
<title>Онлайн-сити</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>
<div align="left">n";
}
$gconf = mysql_fetch_array(mysql_query("SELECT * FROM `gorod_conf`"));
if ($gconf[0]['open'] != 1) {
echo '<div class="c4">Охота/Рыбалка</div><br/>
Здесь ты можешь порыбачить и поохотится<br/>
» <a href="eda.php?'.$ses.'">Поесть</a><br/>
» <a href="bazar.php?'.$ses.'">Рынок</a><br/>
» <a href="ohota.php?'.$ses.'">Охота</a><br/>
» <a href="snar.php?'.$ses.'">Снаряжение</a><br/>
» <a href="fishing.php?'.$ses.'">Рыбалка</a><br/>
Только сильно не усердствуй, а то можно и на денежку попасть';
echo '<div class="d1"><a href="index.php?'.$ses.'">В город</a></div>';
} else {
echo '<div class="d1">Город закрыт Администратором!</div>';
}
echo "<div class='d1'><a href="../enter.php?$ses">В прихожую</a></div>";
include_once '../foot.php';
exit;
?>