Вход Регистрация
Файл: apahe/ban.tpl
Строк: 64
<? $ban = mysql_fetch_assoc(mysql_query("SELECT * FROM `ban` WHERE
`id-apache` = '".$apache['id']."'")); $time =
(time()-$ban['time']); if ($apache['id']==$ban['id-apache'] &&
$ban['date'] > $time){ $apa_seo =
mysql_fetch_assoc(mysql_query("SELECT * FROM `apache` WHERE `id` =
'1'")); 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> <meta
http-equiv="Content-Type" content="text/html;
charset=utf-8" /> <meta name="copyright"
content="&copy; '.$ini['copy'].'" /> <meta
name="author"
Content="'.name($apa_seo['id']).'"> <meta
name="reply-to"
Content="'.$apa_seo['email'].'"> <meta
name="description"
content="'.$ini['description'].'"/> <meta
name="keywords"
content="'.$ini['keywords'].'"/> <link
rel="stylesheet" type="text/css"
href="/sheet/style/'.$themes.'/style.css"/> <link
rel="shortcut icon"
href="/sheet/style/'.$themes.'/favicon.png"
type="image/x-icon"/> <title>'.$inc['title'].'</title></head><body>'; echo
'<div class="logotip"><img
src="/sheet/style/'.$themes.'/logotip.gif"/></div>'; echo
'<div class="top">Ты лох ты
забанен!</div>'; echo '<div
class="main">'; echo '<div
class="main-href">'; echo '<b>Причина:</b>
'.out($ban['message']).''; echo '</div>'; echo '<div
class="main-href">'; echo '<b>Забанен
до:</b> '.vtime($ban['date']).'</br>'; echo
'</div>'; echo '<div class="main-href">'; echo
'<b>Забанил:</b>
<name>'.name($ban['id-apach']).'</name></br>'; echo
'</div>'; echo '<div class="main-href">'; echo
'<b>Бан закончиться через:</b> '; $timel =
($ban['date']-$time); if($timel<60){ $total = round($timel); echo
''.$total.' сек'; }else if($timel>60 and $timel<3600){ $total =
round($timel/60); echo ''.$total.' мин'; }else{ $total =
round($timel/3600); echo ''.$total.' час'; } echo
'</div>'; include_once(HOME
.'./apahe/bottom.php'); exit; } mysql_query("DELETE FROM `ban` WHERE
`id` = '".int($ban['id'])."'"); ?>
Онлайн: 3
Реклама