Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=23251
Postga havola
Foxuz [39] [off]
$ban = mysql_num_rows(mysql_query("SELECT * FROM `cms_ban_users` WHERE `user_id` = '" . $user['id'] . "' AND `ban_time` > '" . time() . "'")); if ($ban) { echo '<span class="red">[BAN]</span>'; }