Файл: region_clean/city/zona.php
Строк: 42
<?
#######################################
## 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/>';
$q = mysql_query("select id,user from users where banned='1' order by id desc;");
if (empty($act)) {
while($arr = mysql_fetch_assoc($q)) {
echo $fsize1;
echo col_n($arr['user']).'<br/>';
echo $fsize2;
}
if (mysql_affected_rows() != 0) {
echo $fsize1;
echo '<br/>';
echo $fsize2;
} else {
echo $fsize1;
echo 'Нет забаненых ников!<br/>';
echo $fsize2;
}
}
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;
?>