Файл: region_clean/inkognito.php
Строк: 52
<?
#######################################
## 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";
$roomselect = mysql_query ("Select name from rooms where rm='13';");
while($rooms = mysql_fetch_array($roomselect))
$roomname=$rooms["name"];
ob_start();
if ($ver == "wml") {
echo $xml;
echo $dtd;
echo "<wml>n
<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>n
<card id="stop" title="Внимание!">n
<p align ="center">n";
} 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>";
}
echo $fsize1;
echo '<b>Внимание!</b><br/>
Сейчас ты попадешь в комнату ' . $roomname . '<br/>
Здесь вместо всех ников будет писаться слово Инкогнито т.е. ты не будешь знать с кем разговариваешь.<br/>
Здесь (как и в сортире) Модеры абсолютно бессильны и лишены возможности пинать и банить.<br/>
И за весь происходящий здесь беспредел администрация чата никакой ответственности не несет.<br/>';
echo "<br/><div class = 'd1'><a href="chat.php?$ses&rm=$rm">Войти</a><br/>n
<a href="enter.php?$ses">Прихожая</a></div>n";
echo $fsize2;
$alltraf = $row["alltraf"];
$ssize = round((ob_get_length())/1024,1);
$alltraf = $alltraf + $ssize;
mysql_query ("Update users set alltraf='".$alltraf."', lasttraf='".$ssize."' where id='".$id."'");
mysql_close ($link);
include_once 'foot.php';
ob_end_flush();
?>