Размер файла: 2.92Kb
<?php
#-----------------------------------------------------#
# ********* WAP-MOTORS ********* #
# Made by : VANTUZ #
# E-mail : [email protected] #
# Site : http://pizdec.ru #
# WAP-Site : http://visavi.net #
# ICQ : 36-44-66 #
# Вы не имеете право вносить изменения в код скрипта #
#-----------------------------------------------------#
require_once"../template/start.php";
require_once"../template/regglobals.php";
require_once"../template/config.php";
require_once"../template/functions.php";
require_once"../template/maincore.php";
require_once"../template/antidos.php";
require_once"../template/cookies.php";
require_once"../template/gzip.php";
require_once"../template/header.php";
require_once"../template/referer.php";
include_once"../themes/$config_themes/index.php";
$text = file("../local/profil/$log.prof");
if ($text!=""){
$udata = explode(":||:",$text[0]);
$provlog=trim($udata[0]);
$provpar=trim($udata[1]);
$dostup=trim($udata[7]);
$privat=trim($udata[10]);}
if (!$_SESSION['log']=="" && !md5($_SESSION['par'])=="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {
if ($dostup==101 || $dostup==102 || $dostup==103 || $dostup==105){
$time=time();
//---------------------- ------------------------------//
if(!isset($action)){
echo '<img src="../images/img/partners.gif" alt=""> <b><font color="#FF0000"> Список забаненых по нику</font></b><br><br>';
$dir = opendir ("../local/profil");
while ($file = readdir ($dir))
{if (ereg (".prof$", $file))
{$a[]=$file;}}
closedir ($dir);
$total = count($a);
for ($i = 0; $i < $total; $i++){
$tex = file("../local/profil/$a[$i]");
$data = explode(":||:",$tex[0]);
if($data[37]>=1 && $data[38]>$time){
$dat_user[]=$data[0];
$dat_ball[]=$data[36];
}}
arsort($dat_user);
foreach($dat_user as $k=>$v)
{
$gg++;
echo '<img src="../images/img/chel.gif" alt=""> '.$gg.'. <b><a href="../pages/anketa.php?uz='.$dat_user[$k].'&'.SID.'"> '.$dat_user[$k].' </a></b>(Баллов: '.$dat_ball[$k].')<br>';
echo '<img src="../images/img/edit.gif" alt=""> [<a href="zaban.php?action=edit&users='.$dat_user[$k].'&'.SID.'">Разбанить</a>]';
if ($dostup==101){
echo ' [<a href="users.php?action=edit&users='.$dat_user[$k].'&'.SID.'">Профиль</a>]';
}
echo '<hr>';
}
}
echo'<br><img src="../images/img/panel.gif" alt=""> <a href="index.php?'.SID.'">В админку</a><br>';
echo'<img src="../images/img/homepage.gif" alt=""> <a href="../index.php?'.SID.'">На главную</a><br>';
} else {header ("Location: ../index.php?error&".SID);}
} else {header ("Location: ../index.php?error&".SID);}
include_once"../themes/$config_themes/foot.php";
?>