Вход Регистрация
Файл: region_clean/function/bann-kick.php
Строк: 121
<?
#######################################
## Mod By KoT (borispol) [76-75-072] ##
#######################################

if (isset($rm)) {
if ((
$rm == 9) or ($rm == 11)) {
if (
$ver == "wml") {
echo 
$xml;
echo 
$dtd;
echo 
"<wml>n
      <card id="
error" title="Ошибка" ontimer="chat.php?$ses&amp;rm=$rm&amp;ref=$ref"><timer value="20" />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="Refresh" CONTENT="2; URL=chat.php?$ses&amp;rm=$rm&amp;ref=$ref">
      <
meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>
      <
div align="center">";
}
echo 
$fsize1;
echo "
<b>".$us."</bты разве не знаешь что пинать и банить в этой комнате запрешено?!n";
echo 
$fsize2;
if (
$ver == "wml") echo "</p></card></wml>";
else echo "
</div></body></html>";
mysql_close (
$link);
exit;
}
}

$select = mysql_query ("Select from users where id='$nk'");
$inf = mysql_fetch_array ($select);
$usid = $inf['id'];
$nepr = $inf['nepr'];

if ((
$usid == 1) or ($usid == 2) or ($usid == 3) or ($usid == 4) or ($usid == 5) or ($usid == 6) or ($usid == 7) or ($usid == 8) or ($usid == 9)) {
if (
$ver == "wml") {
echo 
$xml;
echo 
$dtd;
echo "
<wml>n
      
<card id="error" title="Ошибка" ontimer="chat.php?$ses&amp;rm=$rm&amp;ref=$ref"><timer value="20" />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="Refresh" CONTENT="2; URL=chat.php?$ses&amp;rm=$rm&amp;ref=$ref">
      <
meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>
      <
div align="center">";
}
echo 
$fsize1;
echo 'Не трогай бота! Его нельзя не пинать, не банить!<br/>';
echo 
$fsize2;
if (
$ver == "wml") echo "</p></card></wml>";
else echo "
</div></body></html>";
exit;
}

if (!empty(
$nepr) and $row['level'] < 8) {
if (
$ver == "wml") {
echo 
$xml;
echo 
$dtd;
echo "
<wml>n
      
<card id="error" title="Ошибка" ontimer="chat.php?$ses&amp;rm=$rm&amp;ref=$ref"><timer value="20" />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="Refresh" CONTENT="2; URL=chat.php?$ses&amp;rm=$rm&amp;ref=$ref">
      <
meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>
      <
div align="center">";
}
echo 'Ошибка! Юзер неприкасаем.<br/>';
if (
$ver == "wml") echo "</p></card></wml>";
else echo "
</div></body></html>";
exit;
}

$nick = mysql_real_escape_string(check($nick));

if (isset(
$nk)) { 
$select = mysql_query ("Select from users where id='$nk'");
} else { 
if (!is_numeric(
$nick)) {
$nick = trim($nick);       
if (
$nick == "") $nick = 0;          
$latuser = strtolower($nick);
$ruser = rus_to_k($nick);
if (
$ruser == $nick) {
$select = mysql_query ("Select from users where latuser '".$latuser."'");

else 
{
$select = mysql_query ("select from users where ruser '".$ruser."'");
}
} else {
$select = mysql_query ("select from users where id '".$nick."'");
}
}
if (mysql_affected_rows() == 0) {
if (
$ver == "wml") {
echo 
$xml;
echo 
$dtd;
echo "
<wml>n";
echo "
<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>n";
if (!isset(
$rm)) {
if (
$row['level'] > 6) {
echo "
<card id="error" title="error" ontimer="apanel.php?$ses&amp;ref=$ref"><timer value="10" />n";
} else {
echo "
<card id="error" title="error" ontimer="mpanel.php?$ses&amp;ref=$ref"><timer value="10" />n";
}
} else {
echo "
<card id="error" title="error" ontimer="chat.php?$ses&amp;rm=$rm&amp;ref=$ref"><timer value="10" />n";
}
echo "
<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>";

if (!isset(
$rm)) {
if (
$row['level'] > 6) {
echo "
<META HTTP-EQUIV="Refresh" CONTENT="2; URL=apanel.php?$ses&amp;ref=$ref">";
} else {
echo "
<META HTTP-EQUIV="Refresh" CONTENT="2; URL=mpanel.php?$ses&amp;ref=$ref">";
}
} else {
echo "
<META HTTP-EQUIV="Refresh" CONTENT="2; URL=chat.php?$ses&amp;rm=$rm&amp;ref=$ref">";
}
echo "
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body>";
echo "
<div align="center">";
}
echo 
$fsize1;
echo 'Нет такого юзера!<br/>';
echo 
$fsize2;
if (
$ver == "wml") echo "</p></card></wml>";
else echo "
</div></body></html>";
exit;
}
$inf = mysql_fetch_array ($select); 
$pid = $inf["id"];
$level = $inf["level"];
$pnik = $inf["user"];
$broom = $inf["room"];
$bnik = $inf["user"];
$ip = $inf["user_ip"];
$soft = $inf["user_soft"];

?>
Онлайн: 0
Реклама