Файл: icq/ban.php
Строк: 19
<?
include_once 'inc/fnc.php';
include_once 'inc/sys.php';
head('Кабинет');
if (!isset($U)) header('Location: index.php?');
$mib = mysql_result(mysql_query("SELECT MAX(id) FROM `ban` WHERE `user` = '$U[id]'"), 0);
$ban = mysql_fetch_assoc(mysql_query("SELECT * FROM `ban` WHERE `id` = '$mib'"));
if ($time < $ban['t2'])
echo R(3).'<div class="head">Бан</div>
<div class="cont">Дата окончания: <b>'.data($ban['t2']).'</b><br />
Коментарии: <b>'.out($ban['komm']).'</b></div>';
else
header('Location: index.php?');
foot();
?>