<?xml version="1.0" encoding="utf-8"?>
<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
<stylesheet type="text/css">
.body{font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.p{margin:0.5em 0 0 0.3em; padding:0.2em; text-align:justify;
}
</stylesheet>
<description>
<title-info>
<genre>sf_history</genre>
<author>
<first-name>The author's name</first-name>
<last-name>The author's last name</last-name>
</author>
<book-title>Book name</book-title>
<annotation></annotation>
<date>Sana</date>
<lang>ru</lang>
</title-info>
<document-info>
<author><nickname></nickname>
</author>
<program-used>Lib converter jcms</program-used>
<date value=""></date>
<src-url>http://johncms.com</src-url>
<id></id>
<version>1.0</version>
<history><p>book</p></history>
</document-info>
</description>
<body>
<title><p>JohnCMS-ga ban page chiqarish</p>
</title>
<section><p>if (!empty($ban)) {</p>
<p>$res = mysql_fetch_array(mysql_query("SELECT * FROM `cms_ban_users` WHERE `user_id` = '".$user_id."' AND `ban_time` > '".time()."';"));</p>
<p>$remain = $res['ban_time'] - time();</p>
<p>$period = $res['ban_time'] - $res['ban_while'];</p>
<p>echo '<div class="phdr"> Siz banlangan! </div></p>
<p><div class="menu"><hr><p><center><font color="red"><b></p>
<p>Sayt QIDALARINI buzganigiz uchun BAN!</b></font></center></p><hr></p>
<p>Ban berilgan vaqt: <b> ('.date("H:i:s/d.m.Y", $res['ban_while']).') </b><br></p>
<p>Sabab: '.functions::checkout($res['ban_reason']).' <br></p>
<p>Muxlat: <b> '.($period < 86400000 ? functions::timecount($period) : $lng_ban['ban_time_before_cancel']).' </b><br></p>
<p>Qolgan vaqt: <b> '.functions::timecount($remain).' </b></div>';</p>
<p>require_once('end.php');</p>
<p>exit;</p>
<p>}</p>
</section>
</body>
</FictionBook>