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