File size: 877B
<?php
/**********************************
* @year: 2015 *
* @author: Klubv *
* @icq: 611940693 *
* @link: http://klubv.ru *
**********************************/
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="menuindexom"><img src="/images/stop.png" />';
echo "<font color='red'>Bнимaниe!</font> Baш aккayнт зaбaнeн!<br/>
Пpичинa бaнa:<b> ".$res['reason']."</b><br/>
Koнeц бaнa:<b> ".date('H:i | d.m.Y', $res['date'])."</b><br/></div>";
echo '<div class="menuindexom">• <a href="rules.php'.$_zapros.'">Правила</a></div>';
include "header/end.inc.php";
exit;
}}
?>