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Ow0KJEE9MXJyMXkoJzFIUjBjRDJ2THcnLCdZWFYwMUdOMlpXTnJMZycsJ2RHOXdiWEJ6TGcnLCdZYTl0THcnKTsNCg0KDQokbDFfczR0NVsnbjFtNSddPSRsMV9zNHQ1WyduMW01J10/JGwxX3M0dDVbJ24xbTUnXTonJiNhdWVvaTsmI282dXU5Oyc7DQokTEFbJzVyYzJkNSddPSdodHRwOi8vdDIybC5sMTIxZG00bi5jMm0vMXA0LzVydzU0bTEvcXJjMmQ1LjFwNC5waHA/M3JsPScuJExBWydzNHQ1M3JsJ10uJ3cxcC8nOw0KPz4=';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==')); ?>

PHP
举报
刘培育
发帖于4年前 3回/874阅
共有3个答案 最后回答: 4年前

<?php
/*-------------------------------------
  www.adminn.cn &#31449;&#38271;&#20998;&#20139;&#22280;&#21830;&#19994;VIP&#28304;&#30721;
-------------------------------------*/
define('IN_SYS','http://www.adminn.cn/');
error_reporting (E_ALL & ~E_NOTICE & ~E_WARNING);
header("Content-type:text/html;charset=gbk");
define('SYSTEM_ROOT', str_replace("\\", '/', substr(dirname('E:\server\html\x.php'), 0, -7)));
define('MAGIC_QUOTES_GPC', get_magic_quotes_gpc());

set_time_limit(0);

if(PHP_VERSION < '5.3')
{
    set_magic_quotes_runtime(0);
}
else
{
    ini_set('magic_quotes_runtime',0);
}
unset($LANG, $HTTP_ENV_VARS, $HTTP_POST_VARS, $HTTP_GET_VARS, $HTTP_POST_FILES, $HTTP_COOKIE_VARS,$baselang);

include_once(SYSTEM_ROOT.'data/config.inc.php');
include_once(SYSTEM_ROOT.'data/version.php');

if(!defined('LA_PATH'))
{
    define('LA_PATH','/');
}

/*
    Zip&#20248;&#21270;
*/
if(GZIP && extension_loaded('zlib') && function_exists('ob_gzhandler') && function_exists('ob_start'))
{
    ob_start('ob_gzhandler');
}
else
{
    ob_start();
}
define('TIME',time());

include_once(SYSTEM_ROOT.'include/global.func.php');
define('IP',getIp());

/*
    &#25968;&#25454;&#24211;
*/
include_once('mysql.class.php');
$db=new mysql();
$db->connect(LA_HOST,LA_USER,LA_PSW,LA_NAME,LA_PCONNECT,LA_CHARSET);



/**
    URL&#32531;&#23384;&#31867;
*/
include_once('cache_url.class.php');
$urlcacheobj=new urlcache();

/**
    String&#32531;&#23384;&#31867;
*/
include_once('cache_string.class.php');
$stringcacheobj=new stringcache();

/*
    SESSION
*/
ini_set("session.cookie_domain", COOKIE_DOMAIN);

include_once 'session_mysql.class.php';

$sessobj=new session();
session_set_cookie_params(0, COOKIE_PATH, COOKIE_DOMAIN);
session_start();
define('SITEID',1);
$_SESSION['siteid']=SITEID;
$_SESSION['sid']=0;

$domain=$_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$_SERVER['SERVER_NAME'];

include_once 'siteid.class.php';
$siteidobj=new siteid();
$la_site=$siteidobj->get($_SESSION['sid']);

/**
    &#21306;&#22495;
*/
include_once('area.class.php');
$areaobj=new area();

/**
    &#34892;&#19994;&#31867;&#22411;
*/
include_once('industy.class.php');
$industyobj=new industy();

/*
    &#20998;&#31449;&#35821;&#35328;&#21253;
*/
include_once SYSTEM_ROOT.'data/lang/cn-lang.php';

/*
    &#37197;&#32622;&#20449;&#24687;
*/

include_once 'config.class.php';
$configobj=new config();
$LA=$configobj->getconfig($_SESSION['siteid'],0);
$LA['in_sys']=IN_SYS;

$LA['qq']=explode(',',$LA['qq']);

date_default_timezone_set('Etc/GMT-'.$LA['timedf']);

$LA['qrcode']=is_file(SYSTEM_ROOT.'data/qrcode.config.php')?str_replace(array("<?php \t",'?>'),'',file_get_contents(SYSTEM_ROOT.'data/qrcode.config.php')):'';

$LA['areaid']=$areaobj->arealist(0);

/**
    &#24191;&#21578;
*/
include_once('adv.class.php');
$advobj=new adv();

/*
    &#21152;&#36733;&#32531;&#23384;&#31867; &#20248;&#20808;&#20351;&#29992;MemCache&#32531;&#23384;
*/
if(class_exists('Memcache'))
{
    include_once 'cache_memcache.class.php';
}
else
{
    include_once 'cache_mysql.class.php';
}
$cacheobj=new cache();

/*
    &#21152;&#36733;&#27169;&#22411;&#20449;&#24687;
*/
include_once 'model.class.php';
$modelobj=new model();

include_once 'data.input.class.php';
$dataobj=new datainput();

$_GET = la_htmlspecialchars($_GET);
/*
    &#24207;&#21015;&#21270;&#21464;&#37327;
*/
if($_REQUEST)
{
    foreach($_REQUEST as $key => $value)
    {
        if(isset($$key))
        {
            unset($_REQUEST[$key]);
        }
    }
    
    if(MAGIC_QUOTES_GPC)
    {
        $_REQUEST = la_stripslashes($_REQUEST);
        if($_COOKIE) $_COOKIE = la_stripslashes($_COOKIE);
    }
    else
    {
        $_POST = la_addslashes($_POST);
        $_GET = la_addslashes($_GET);
        $_COOKIE = la_addslashes($_COOKIE);
        extract($_POST,EXTR_SKIP);
        extract($_GET,EXTR_SKIP);
        extract($_COOKIE,EXTR_SKIP);
    }
    extract($db->escape($_REQUEST),EXTR_SKIP);
    if($_COOKIE) $db->escape($_COOKIE);
}

/* &#25972;&#21512;&#20102;UC**/
if(is_file(SYSTEM_ROOT.'data/uc.config.php'))
{
    include_once SYSTEM_ROOT.'data/uc.config.php';
    define('UC_OPEN',1);
}
else
{
    define('UC_OPEN',0);
}

/*
    &#38468;&#20214;&#31867;&#22411;
*/
include_once 'attachment.class.php';
$attchobj=new attachment();

/*
    &#33719;&#21462;&#21019;&#22987;&#20154;ID
*/
$admin_founders=explode(',',ADMIN_FOUNDERS);

include_once SYSTEM_ROOT.'include/module.class.php';
$moduleobj=new module();

/*
    &#20250;&#21592;&#27169;&#22359;
*/
$MEM=array();
$_userid=0;
$_gradeid=1;
$_point=0;
$_amount=0.0;
$_roleid=0;

if(is_file(SYSTEM_ROOT.'member/include/member.class.php'))
{
    include_once SYSTEM_ROOT.'member/include/member.class.php';
    $memberobj=new member();
    $MEM['vipgrade']=$memberobj->gradeinfo(4);
    include_once SYSTEM_ROOT.'member/include/global.func.php';

    if(defined('IN_SYS') && !defined('IN_MANAGE'))
    {
        
        $la_auth=get_cookie('auth');

        if($la_auth)
        {
            $auth_key=md5(AUTH_KEY.$_SERVER['HTTP_USER_AGENT']);

            list($_userid,$_password)=explode("\t", la_auth($la_auth, 'DECODE', $auth_key));
            $_userid=intval($_userid);

            $baseinfo=$memberobj->getbase($_userid);
            $minfo=$memberobj->get($_userid,'*',$_modelid);
            $minfo=array_merge($minfo,$baseinfo);
            $minfo['userid']=$minfo['id'];
            @extract($minfo,EXTR_PREFIX_ALL,'');			
        }
        else
        {
            $_username='';
            $_gradeid=1;
            $_point=0;
            $_amount=0.0;
        }
        $MEM['gradeinfo']=$memberobj->gradeinfo($_gradeid);
    }
}

/*
    &#21152;&#36733;API&#20449;&#24687;
*/
include_once 'api.class.php';
$apiobj=new api();

include_once('pay.class.php');
$payobj=new pay();

/*
    &#34920;&#21333;&#31867;
*/
include_once SYSTEM_ROOT.'include/form.class.php';
$formobj=new form();

/***** &#20860;&#23481;&#20844;&#21496;&#20854;&#20182;&#20135;&#21697; &#20195;&#30721; ****/
$TOPMPS=$DIRCMS=$LA;
$TOPMPS['setcity']=$DIRCMS['setcity']=$LA['setcity']=$LA['siteurl'];
$TOPMPS['site_name']=$DIRCMS['site_name']=$LA['sitename'];
$TOPMPS['site_url']=$DIRCMS['site_url']=$LA['siteurl'];
$TOPMPS['site_title']=$DIRCMS['site_title']=$LA['sitetitle'];
$TOPMPS['tpl_name']=$TOPMPS['tlp_name']=$TOPMPS['template']=$DIRCMS['tpl_name']=$DIRCMS['tlp_name']=$DIRCMS['tlp_name']=$LA['template'];
/***** &#20860;&#23481;&#20844;&#21496;&#20854;&#20182;&#20135;&#21697; &#20195;&#30721; ****/

/**
    &#20869;&#23481;
*/
include_once('content.class.php');
$conobj=new content();

$INSTALL=array();
$usermodule=$moduleobj->usermodule();

foreach($usermodule as $r)
{
    if(is_file(SYSTEM_ROOT.$r['folder'].'/include/template.func.php'))
    {
        include_once SYSTEM_ROOT.$r['folder'].'/include/template.func.php';
    }
    $INSTALL[$r['folder']]=1;
}

if($INSTALL['yp'])
{
    $LA['industry']=$ypobj->tlptypelist(0,8);
}

/**
    SMS
*/
include_once('sms.class.php');
$smsobj=new sms();

if(trim($LA['sms_username']) && trim($LA['sms_pwd']))
{
    define('SMS_ENABLED',1);
}
else
{
    define('SMS_ENABLED',0);
}
$LAPRO=cache_read("lang.inc.php",SYSTEM_ROOT.'data/lang/');
$PAGE=$A=array();
$A=array('aHR0cDovLw','YXV0aGNoZWNrLg','dG9wbXBzLg','Y29tLw');


$la_site['name']=$la_site['name']?$la_site['name']:'&#24635;&#31449;';
$LA['ercode']='http://tool.laoadmin.com/api/erweima/qrcode.api.php?url='.$LA['siteurl'].'wap/';
?>



顶部