View file ban.php

File size: 1.84Kb
<?php
#############################################
# 0JXRgdC70Lgg0YLRiyDRh9C40YLQsNC10YjRjCDRj #
# dGC0L4g0YHQvtC+0LHRidC10L3QuNC1LCDQt9C90L #
# DRh9C40YIg0YLRiyDQvdC10LzQvdC+0LPQviDQt9C #
#          90LDQtdGI0YwgUEhQIQ==            #
#__---------------------------------------__#
#__        0JrQu9C40Log0JrQu9GD0LE=       __#
#  ---------------------------------------  #
# 0JDQstGC0L7RgCA6IE1vcmdhbg==              #
# SUNRIDog0L3QtSDRgdC60LDQttGDIHhE          #
#                                           #
#############################################

require 'inc/start.php';
require 'inc/regvars.php';
require 'inc/db.php';
require 'inc/config.php';
require 'inc/funct.php';
require 'inc/antidos.php';
require 'inc/gzip.php';
require 'inc/header.php';

if($user_in_site==1)
{
if(is_ban($user_prof['id']))
{
if($_query_string=='exit')
{

session_unset();
session_destroy();
location('index.php');

}
else
{
$title = 'Бан';
require 'inc/head.php';

$res = mysql_fetch_array(query("SELECT * FROM `$db[prefix]ban` WHERE `who`='$user_prof[id]'"));
echo '<div class="sec">
<b>Бан!</b>
</div>
Внимание! Вы были забанены модератором '.userlogin($res['id_mod'],1,0,0,1,$user_prof['set_econom_traf']).'!<br />
Причина бана : <br />
'.$res['reason'].'<br />
Автоматический конец бана : <b>'.formatdate($res['date']).'</b><br />
Осталось : <b>'.formattime($res['date'] - $sitetime).'</b><br />
<br />
<a href="ban.php?exit">Выход</a><br />
';

require 'inc/foot.php';
}
}else{location('index.php');}
}else{location('index.php');}


################################################
# 0KHQutGA0LjQv9GCINC90LUg0L/QsNCx0LvQuNC6IQ== #
#   0KHRgtCw0LLRgNC+0L/QvtC70YwsIDIwMDkg0LMu   #
################################################

?>