1 Star 1 Fork 0

我是阿淞/辛集同城网-网站

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
box.php 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
我是阿淞 提交于 2019-04-15 13:22 . 首次备份
<?php
error_reporting(E_ALL^E_NOTICE);
@set_magic_quotes_runtime(0);
@header("Content-Type: text/html; charset=utf-8");
__FILE__ == '' && die('Fatal error code: 0');
define("IN_MYMPS",true);
define('MAGIC_QUOTES_GPC', @get_magic_quotes_gpc());
define("MYMPS_ROOT",dirname(__FILE__));
define('MYMPS_DATA',MYMPS_ROOT.'/data');
define('MYMPS_INC',MYMPS_ROOT.'/include');
define('MYMPS_TPL',MYMPS_ROOT.'/template');
define('MYMPS_ASS',MYMPS_ROOT.'/include/assign');
if(function_exists('date_default_timezone_set')) date_default_timezone_set('Hongkong');
$timestamp = time();
if (!MAGIC_QUOTES_GPC && $_FILES) $_FILES = addslashes($_FILES);
if(PHP_VERSION < '4.1.0') {
$_GET = &$HTTP_GET_VARS;
$_SERVER = &$HTTP_SERVER_VARS;
unset($HTTP_GET_VARS,$HTTP_SERVER_VARS);
}
require_once MYMPS_DATA."/config.php";
require_once MYMPS_ROOT."/version.php";
require_once MYMPS_ROOT."/include/common.fun.php";
$_GET = mhtmlspecialchars($_GET);
$part = isset($_REQUEST['part']) ? trim(mhtmlspecialchars($_REQUEST['part'])) : '';
$action = isset($_REQUEST['action']) ? trim(mhtmlspecialchars($_REQUEST['action'])) : '';
$ac = isset($_REQUEST['ac']) ? trim(mhtmlspecialchars($_REQUEST['ac'])) : '';
$url = isset($_REQUEST['url']) ? trim(mhtmlspecialchars($_REQUEST['url'])) : '';
$userid = isset($_REQUEST['userid']) ? trim(mhtmlspecialchars($_REQUEST['userid'])) : '';
if(preg_match("/from|script/i",$userid)) $userid = '';
$password = isset($_GET['password']) ? trim($_GET['password']) : '';
$admindir = isset($_GET['admindir']) ? trim($_GET['admindir']) : '/admin';
$report_type = isset($_POST['report_type']) ? trim(mhtmlspecialchars($_POST['report_type'])) : '';
$id = isset($_REQUEST['id']) ? intval($_REQUEST['id']) : '';
$infoid = isset($_REQUEST['infoid']) ? intval($_REQUEST['infoid']) : '';
$uid = isset($_GET['uid']) ? intval($_GET['uid']) : '';
!in_array($part,array('upgrade','shoucang','wap_shoucang','report','do_report','information','checkmemberinfo','sp_testdirs','adminmenu','member','memberinfopost','advertisement','advertisementview','jswizard','custom','iptoarea','goodsorder','score_coin','credits_up','howtogetscore','seecontact','seecontact_tel','delinfo','qiandao')) && exit('FORBIDDEN');
include MYMPS_INC.'/box/'.$part.'.php';
is_object($db) && $db->Close();
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/ws8213/xinjiweb.git
[email protected]:ws8213/xinjiweb.git
ws8213
xinjiweb
辛集同城网-网站
master

搜索帮助