File size: 2.57Kb
<?php //<bgsound src="images/img/msg.wav" loop="1">
#-----------------------------------------------------#
# ********* 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";
if(eregi("[^a-z0-9_-]",$_GET['action']) || eregi("[^a-z0-9_-]",$_GET['f']) || eregi("[^a-z0-9_-]",$_GET['p'])){
header ("Location: index.php?error&".SID); exit;}
if($config_nikname=="" && file("INSTALL.php")){ header ("Location: INSTALL.php?".SID); exit;}
/////////////////////////////////////////////////////
$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]);}
$privs = file("local/privat/$log.$config_priv");
$totals = count($privs);
$te = file("local/status.dat");
if ($te!=""){
$udat = explode("|",$te[0]);}
////////////////////////////////////////////////////////
require_once"template/isset.php";
if (empty($p)){
if (!$_SESSION['log']=="" && !md5($_SESSION['par'])=="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {
echo'<font color="#FF0000"><b>'; include_once"template/day_time.php"; echo $_SESSION['log'].'</b></font><br>';}
if($config_welcome=="1"){echo'<div align="center">'; include_once"local/welcome.dat"; echo'</div>';}
if($config_showtime=="1"){echo'<div align="center">'; include_once"template/times.php"; echo'</div>';}
if($config_quotes=="1"){include_once"template/quotes.php"; }
include_once"main.php";
}else{
if(empty($f)){$f='index';}
$sfx = file($p.'/'.$f.'.'.$config_ras);
if (!$sfx){
echo 'Файл с данными параметрами не найден!';
}else{
include_once $p.'/'.$f.'.'.$config_ras;
}}
include_once"themes/$config_themes/foot.php";
?>