Размер файла: 1.13Kb
<?php
// mod by Golem http://veplog.ru
require_once"../template/start.php";
require_once"../template/regglobals.php";
require_once"../template/config.php";
require_once"../template/functions.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";
include_once"../template/isset.php";
if(isset($_GET['action']) && eregi("[^a-z0-9_-]",$_GET['action']) || $_GET['action']=="" || $_GET['action']=="index"){header ("Location: ../index.php?".SID); exit;}
if(isset($_GET['action']) && $_GET['action']=="menu" && (md5($_SESSION['par'])!=$provpar || $_SESSION['log']!=$provlog)){header ("Location: ../index.php?".SID); exit;}
if(file_exists(BASEDIR.'local/datamain/'.$_GET['action'].'.dat')){
include BASEDIR.'local/datamain/'.$_GET['action'].'.dat';
echo'<div class=btm>[<a href="../index.php">На главную</a>]</div>';
}else{ header ("Location: ../index.php?isset=404&".SID); exit; }
include_once"../themes/$config_themes/foot.php";
?>