Файл: header/ban.php
Строк: 21
<?php
mysql_query("DELETE FROM `ban` WHERE `date`<".time()."");
if($_enter)
{
if(mysql_num_rows(mysql_query("SELECT who FROM `ban` WHERE `who`='".$_USER['login']."' "))!=0)
{
$res = mysql_fetch_array(mysql_query("SELECT * FROM `ban` WHERE `who`='".$_USER['login']."' LIMIT 1"));
echo '<div class="menuindex"><img src="http://imklub.ru/images/banan.png" alt="banan" /></div>';
echo "<div class='menuindex'><b>Bнимaниe! Baш aккayнт зaбaнeн!</b><br/>Пpичинa бaнa: ".$res['reason']."<br/>Koнeц бaнa: ".date('G:i:s d.m.Y',$res['date'])."</div>";
include "header/end.inc.php";
exit;
}}
?>