Файл: rega.php
Строк: 90
<?php
ini_set('display_errors', 'off');
header ("Content-type: text/html; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-relative");
include "./ini.php";
$q = @mysql_query("select * from `cusers` where ci= '".$ci."';");
$data = @mysql_fetch_array($q);
if($data['ban']==1) {
print "<?xml version="1.0" encoding="UTF-8"?>";
print "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">";
print "<title>Регистрация</title><link rel="StyleSheet" type="text/css" href="style/0".$s.".css"></head><body><div class="smain">
<div style="text-align: center"><div class="contur_rek"><div class="header_rek">Регистрация<br />Регистрация в чате заблокирована Администрации <a href="./index.php">Сервиса</a>!Возможная причина: Нарушение <a href="pravila.php">Правил Сервиса</font></a>! Если вы Админ этого чата, обратитесь к ним за разяснениями причины блока!</div></div>
<br /><a href="./index.php?s=".$s."&ci=".$ci."">Назад</a>";
print "<div style="text-align: center"><div class="contur_rek"><div class="header_rek">Халява для тебя на
<a href="http://".$link_reklame.""><font color="#FFFF00">".$reklame."</font></a><br/></div></div></div>";
print "</body></html>";
}else{
print "<?xml version="1.0" encoding="UTF-8"?>";
print "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">";
print "<title>Регистрация</title><link rel="StyleSheet" type="text/css" href="style/0".$s.".css"></head><body><div class="smain">
<div style="text-align: center"><div class="contur_rek"><div class="header_rek">Регистрация</div></div>
<form action="reg.php?s=".$s."&ci=".$ci."" method="post">
Ник: *<br/>
<input type="text" class="do_button" name="login" maxlength="30"/><br/>
Пароль: *<br/>
<input type="password" class="do_button" name="pass" maxlength="16"/><br/>
Имя: *<br/>
<input type="text" class="do_button" name="name" maxlength="20"/><br/>
Пол: *<br/>
<select name="sex" class="do_button" title="Пол">
<option value="m">М</option>
<option value="zh">Ж</option></select><br/><br/>
<input type="submit" class="button" value="Регистрировать"></form><br/>
<a href="./index.php?s=".$s."&ci=".$ci."">Назад</a>";
print "<div style="text-align: center"><div class="contur_rek"><div class="header_rek">Халява для тебя на
<a href="http://".$link_reklame.""><font color="#FFFF00">".$reklame."</font></a><br/></div></div></div>";
print "</body></html>";}
?>