This repository has been archived on 2026-06-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
wsh5485 7e47ce238b chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
2025-06-15 13:04:37 +08:00

31 lines
867 B
PHP

<?php
include "config.php";
include "tmpl/config.php";
require THIS_FILE_ROOT."/include/function.php";
require THIS_FILE_ROOT."/include/db_mysql.php";
require THIS_FILE_ROOT."/include/page.class.php";
error_reporting(E_ERROR | E_WARNING | E_PARSE);
date_default_timezone_set('Asia/Shanghai');
header("Content-type: text/html; charset=utf-8");
//-------------------------------register global
$magic_quotes_gpc = get_magic_quotes_gpc();
$register_globals = @ini_get('register_globals');
if(!$register_globals || !$magic_quotes_gpc) {
@extract(daddslashes($_POST));
@extract(daddslashes($_GET));
}
$db=_mysql_connect();
if(!$_m){
$uid=$_COOKIE[THIS_COOKIE];
if($uid)
url_redirect("./?_m=user/main");
else
include template("login");
}else{
$file="module/".$_m.".php";
if(is_file($file))
require $file;
else
exit("找不到相应模块(".$file.")!");
}
?>