'; echo '

A PHP Error was encountered

'; echo '

Severity: ' . $errno . '

'; echo '

Message: ' . $errstr . '

'; echo '

Filename: ' . $errfile . '

'; echo '

Line Number: ' . $errline . '

'; echo ''; } if(isset($_GET['debug'])) { $debug = $_GET['debug']; echo '[' . debug . ']
'; //set error handler set_error_handler("_showmyerror"); } //session_start(); header("Content-type:text/html;charset=utf-8"); //ob_start(); include './helper/helper.php'; include_once './config/init.php'; include_once './class/Front.php'; include_once './class/Domain.php'; include_once './class/User.php'; include_once './class/UserYumi.php'; include_once './class/Portfolio.php'; include_once './class/AdSource.php'; include_once './class/BaiduPage.php'; include_once './class/SougouPage.php'; //字符串安全性過濾 foreach ($_GET as $key => $value){ $_GET[$key] = Helper::fileterQueryString($value); } $front = new Front(); $googleid = null; $isblock = $isadult = $isneedsreview = $isfaillisted = ''; //兼容caf框架 by devin.li@20130313 if(!empty($_GET['query'])){ $searchKeyword = trim($_GET['query']); $searchKeyword = Helper::clearSearchKeyword($searchKeyword); //是否來源于輸入框搜索 from google定義 if($_GET['search'] == '1'){ $_POST['k'] = $searchKeyword; $_GET['k'] = NULL; unset($_GET['k']); }else{ $_GET['k'] = $searchKeyword; $_POST['k'] = NULL; unset($_POST['k']); } } //輸入搜索 //判斷是否輸入框搜索是參數is //by panqing 2012-09-10 if(!empty($_GET['is']) && strtolower($_GET['is']) == 'true'){ $_POST['k'] = Helper::clearSearchKeyword($_GET['k']); $_GET['k'] = NULL; unset($_GET['k']); } //過濾 if(!empty($_GET['k'])){ $_GET['k'] = Helper::clearSearchKeyword($_GET['k']); } if(!empty($_POST['k'])){ $_POST['k'] = Helper::clearSearchKeyword($_POST['k']); } $isNoscript = 0; $urlarr = null; if(isset($_REQUEST['q']) ){ $urlarr = Helper::self_unserialize( Helper::encrypt( trim( $_REQUEST['q'] ) ,'DECODE') ); if(is_array($urlarr)){ $domain = $urlarr['NE']; if($urlarr['isFromHtml'] == 1){ $domain = Helper::getarr('dm'); //兼容國外的不帶框架的頁面 by devin.li@20120313 if(empty($domain)){ $domain = $_SERVER['HTTP_HOST']; } $configarr['DL'] = $urlarr['DL'] = null; unset($configarr['DL']); } $acc = $urlarr['acc']; $pcc = $urlarr['pcc']; $referer = $urlarr['RE']; $b = $urlarr['B']; $counid = $urlarr['CID']; $adcourceid = $urlarr['SC']; $googleid = $urlarr['GID']; $isblock = $urlarr['isblock']; $isadult = $urlarr['isadult']; $isneedsreview = $urlarr['isneedsreview']; $isfaillisted = $urlarr['isfaillisted']; $session = $urlarr['session']; $isNoscript = $urlarr['isNoscript']; } } if(!is_array($urlarr)){ $domain = Helper::getarr('dm'); //兼容國外的不帶框架的頁面 by devin.li@20120313 if(empty($domain)){ $domain = $_SERVER['HTTP_HOST']; } //接收nginx配置過來的ACC if(empty($_GET['acc']) && !empty($_SERVER['URL_ACC'])){ $acc = $_GET['acc'] = trim($_SERVER['URL_ACC']); } $acc = Helper::getarr('acc'); $pcc = Helper::getarr('pcc'); //特殊用戶,2個賬號用同一IP by devin.li@20140221 from yanjue if($acc == '239046ce-2563-49e9-487e-9ceddd33d59b'){ include "./class/MemberOnlinenic.php"; $MemberOnlinenic = new MemberOnlinenic(); if($MemberOnlinenic -> isInSepcialDomainList($domain)){ $acc = $_GET['acc'] = $_SERVER['URL_ACC'] = 'b6b2bd09-9d45-f86c-10b6-d7a0d2a4e18f'; } } if( (Helper::GetWebConfig('HasFrame') == 'Yes' && !empty($_GET['ref'])) || $_GET['framerequest'] == 1 || $_GET['error_page'] == 1 ){ $referer = Helper::getarr('ref'); }else{ $referer = $_SERVER['HTTP_REFERER']; } //外接參數完善 by devin.li@20120206 $session = Helper::getarr('session'); //session token驗證 if($session == 'undefined'){ $session = ''; } if((empty($session) || mb_strlen($session,'utf-8') < 40) && Helper::GetWebConfig('HasFrame') != 'No' ){ $dir = Helper::GetWebConfig('UserBehaviorlog').'EmptySession/'; Helper::mkdirs($dir); $file = $dir.date('Y-m-d').".txt"; $content = "Session:$session"; $content .= " Date:".date('Y-m-d H:i:s'); $content .= " Url:http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."\r\n"; //file_put_contents($file,$content,FILE_APPEND | LOCK_EX); } $session = Helper::getarr('session'); $isblock = Helper::getarr('isblock') == 'true' ? 1 : 0; $isadult = Helper::getarr('isadult') == 'true' ? 1 : 0; $isneedsreview = Helper::getarr('isneedsreview') == 'true' ? 1 : 0; $isfaillisted = Helper::getarr('isfaillisted') == 'true' ? 1 : 0; if($_GET['noscript'] == '1'){ $isNoscript = 1; } } if($_SERVER['SERVER_PORT'] == 443){ header('HTTP/1.1 301 Moved Permanently');//發出301頭部 header('Location: http://651.dopa.com');//跳轉到你希望的地址格式 exit; } if(in_array($domain,array('jlbsc.cuidu345.com','yhcht.ypsc345.com'))){ header('HTTP/1.1 301 Moved Permanently');//發出301頭部 header('Location: http://651.dopa.com');//跳轉到你希望的地址格式 exit; } if(Helper::Check($domain)){ $domain = Helper::GetWebConfig('DefaultDomain');//跳轉到默認頁 header('HTTP/1.1 301 Moved Permanently');//發出301頭部 header('Location: http://app.yunji.com');//跳轉到你希望的地址格式 exit; } $dopaV2SwitchTime = Helper::getDopaV2SwitchTime(); //上線切換 by devin.li@20130627 $configini = null; //if(time() >= $dopaV2SwitchTime){ $key = 'domain_yumi_config_'.md5($domain.'_'.$acc.'_'.$pcc); $configarr = null; if($memcache){ $configarr = $memcache -> get($key); $configarr = Helper::self_unserialize($configarr); } if(!is_array($configarr) || count($configarr) <= 0){ $configini = new DomainYumi($domain,$acc,$pcc); $configarr = $configini->getDomainConfig(); $configarr = $configarr['data']; $configarr['alldomain'] = $configini->getAllDomainName(); if($memcache && is_array($configarr) && count($configarr) > 0){ $arr = Helper::self_serialize($configarr); $memcache -> set($key,$arr , 0, 3600); } } //} //檢測作弊域名 此處邏輯無用,取消 by devin.li@20120330 //Helper::cheatDomain($configini->punyCode); if(empty($configarr) && !isset($configarr['NO']) && !isset($configarr['NE'])){//當配置文件為空時從$_GET獲取域名 $configini = new DomainYumi($domain,$acc,$pcc); $configarr['NO'] = $configini->domain; $configarr['NE'] = Helper::GetPunyCode($configini->domain); $configarr['alldomain'] = $configini->getAllDomainName(); } //完善參數 $configarr['isblock'] = $isblock; $configarr['isadult'] = $isadult; $configarr['isneedsreview'] = $isneedsreview; $configarr['isfaillisted'] = $isfaillisted; $configarr['session'] = $session; $configarr['isNoscript'] = $isNoscript; //完整路徑 $configarr['url'] = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if($configarr['isadult'] == 1){ //確定是成人域名,需要記錄,并同步到DB AdultDomain::addDomain($domain); $configarr['isAdult'] = 1; } $configarr['referer'] = $referer; if(isset( $urlarr['TID']) ){ //接收切換到搜狗的流量 from xie @20140107 if($_GET['partner'] == 'sogou'){ $urlarr['partnerLists'] = array(13,27); $urlarr['adSourceName'] = 's_sogou1'; $config['adsourceid'] = 13; } $configarr['DL'] = $urlarr['DL']; $configarr['TID'] = $urlarr['TID']; $configarr['b'] = $b; $configarr['CountryId'] = $counid; $configarr['adsourceid'] = $adcourceid; $configarr['adSourceName'] = $urlarr['adSourceName']; $configarr['partnerLists'] = $urlarr['partnerLists']; $configarr['searchCount'] = $urlarr['searchCount']; $configarr['historyKeywords'] = $urlarr['historyKeywords']; $configarr['referrerSearchKeyword'] = $urlarr['referrerSearchKeyword']; $configarr['referrerHost'] = $urlarr['referrerHost']; $configarr['referrerKeywordDomain'] = $urlarr['referrerKeywordDomain']; $configarr['referrerKeywordHost'] = $urlarr['referrerKeywordHost']; $configarr['adsAssemblePushKey'] = $urlarr['adsAssemblePushKey']; $configarr['CountryCode'] = $urlarr['CountryCode']; $configarr['landerAssemblePushKey'] = $urlarr['LAPK']; $configarr['isSmartLanderPush'] = $urlarr['isSmartLanderPush']; } $configarr['acc'] = isset($acc) ? $acc : '';//當域名以用戶轉發時第二次獲取域名配置時使用 $configarr['pcc'] = isset($pcc) ? $pcc : ''; $configarr['GID'] = $googleid != '' ? $googleid : $configarr['GID']; //獲取當前語言 下拉菜單提交 if(empty($_POST['ddlLanguages'])){ $ipinfo = Helper::getlanguage($configarr['DL']);//如果配置中為空則根據IP獲取 if(is_array($ipinfo)){ $configarr['DL'] = $ipinfo['LanguageId']; $configarr['CountryId'] = $ipinfo['Id']; $configarr['CountryCode'] = $ipinfo['Postfix']; }else{ if(empty( $configarr['CountryId'] ) && is_array($countryinfo = Helper::setlanguage())){ $configarr['CountryId'] = $countryinfo['Id']; } } }else{ $configarr['DL'] = $_POST['ddlLanguages']; } $configarr['CountryId'] = !empty($configarr['CountryId']) ? $configarr['CountryId'] : Helper::GetWebConfig('ChinaCountryId'); $configarr['CountryCode'] = !empty($configarr['CountryCode']) ? $configarr['CountryCode'] : 'CN'; $configarr['isInChina'] = $configarr['CountryId'] == Helper::GetWebConfig('ChinaCountryId') ? 1 : 2; //是否在中國 //域名組語言設置優化 $configarr = Helper::optimizeConfigForLanguage($configarr); //國內框架轉發的手機流量,跳出框架(為了更好的適配百度廣告) if(Helper::GetWebConfig('HasFrame') == 'Yes' && Helper::is_mobile() == true //手機端 && $configarr['isInChina'] == 1 //在中國 && empty($_REQUEST['q']) //無搜索行為 && $_REQUEST['poprequest'] != 1 //還沒有跳出框架 && $_REQUEST['noscript'] != 1 //非nojs流量 && empty($_REQUEST['partner'])&& strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') == false //沒切換廣告源 ){ //適配單獨訪問sp3.yousee.com的情況 by devin.li@20150505 //$url = $_SERVER['REQUEST_URI'].'&poprequest=1'; $url = strpos($_SERVER['REQUEST_URI'],'?') === false ? $_SERVER['REQUEST_URI'].'?poprequest=1' : $_SERVER['REQUEST_URI'].'&poprequest=1'; //$noscript = $_SERVER['REQUEST_URI'].'&noscript=1'; $noscript = strpos($_SERVER['REQUEST_URI'],'?') === false ? $_SERVER['REQUEST_URI'].'?noscript=1' : $_SERVER['REQUEST_URI'].'&noscript=1'; $content = '
<meta http-equiv="refresh" content="0;url='.$noscript.'"> 国产在线视频免费观看 环卫工人是我们| 天价月饼背后:成本六元不到售价却过百 怎么做到的?| 李亚东谈管控一带一路政治风险:去那就是投资 不站队| 一部党内法规的出生 有多不容易?| 农村宅基地管理新政出炉 鼓励利用闲置资源| 外汇局报告:超5成境外旅行支出发生在亚洲| 新三板股转公司什么时候成立| 金融科技加持 互联网券商如何开拓海外资产配置| 一定要把制造业搞上去 制造业主题基金年内最高赚59%| 中国003航母或配3部电磁弹射器 舰载机数量提高1倍| 婆婆不满儿媳坐月子| 华为5G芯片外售| 彩色4K修复版开国大典首现大荧幕 清晰度超高(图)| 网友反馈购苹果iPhone 11被拼多多强制砍单| 随州市| 刷脸支付好做不| 中汇集团涨近4%再破顶 暂七连扬累涨逾两成| 美媒:权威人士警告世界对流行病大暴发毫无准备| 若尔盖县| 股票在1元一| 骚扰电话屡禁不绝 媒体:运营商不能甩锅| 哪类平台价值高? 从估值体系看平台企业| 不忘初心牢记使命主题教育局长讲话| 中国女排里约奥运会副攻| 解读来了 地方政府要把家庭农场培育当成大事来抓| 易信:美国政治局势出现负面消息 美元和美股遭遇抛售| 摩羯男在爱情的表现| 默克尔:美国不再像冷战时那样 想当然地保护欧洲| A股动漫公司半年报:热衷并购 商誉高企 业绩惨淡| 国防部:美鼓噪煽动所谓“中国军事威胁”十分荒谬| 没包装的茶叶| 两处石油设施遭袭 沙特日产量减少50%| 刘作虎爆料一加电视来电会自动调整电视音量| 股票三季度业| 新款iPhone加入超宽带芯片 帮助用户精确定位| 上海国资委答记者:上海境内外上市公司市值已达2.8万| 建国70年伟大成就:GDP增长174倍 财政收入增长3000倍| 珠港澳大橋直通巴士| 达志科技刚解禁就要易主 威马汽车是否会借壳上市?| 大兴机场探路5G智慧出行 一张脸走遍机场| oppo新机reno2z| d6jeyz6unpqwzm6pjwt7jgwa7lfmv7hpk “山体喷绿”调查结果 涉事企业锦滨矿业停产整顿| 雷军:东盟拥有非常庞大的有活力的消费群体| 中国市场不让卖苹果手机| 时尚的小姐姐| 中国女排五连胜后怎么办?郎平说了四个字| 正红色口红| 三季预增股票| 美联储罗森格伦:利率水平已经宽松 降息并非没有代价| 红云明日方舟| 中央第四轮巡视组将在被巡视单位工作2个月左右| 转型遭遇黑天鹅、净利润连续跳水 百洋股份进退失据| 陈伟霆地铁错位图 | 大风降温霸屏北方| A股龙头低谷并购的秘密:告别跨界时代 重组依旧走俏| 特朗普峰会霸道视频| 三鼎控股债务危机连环局:发债亏、私募代投 抵押陷阱| 小米集团9月20日耗资9994.5万港元回购1080万股股份| 土耳其总统核弹| 央行今日全面下调金融机构存款准备金率| 赛轮轮胎:引入中国一汽4.6亿元 增资子公司赛亚检测| 华为为何发债| 数说上海70年:人均GDP从274元跃升到13.5万元| 东兰县| 猪价上涨带动CPI 海南启动第4次物价联动补贴| 国泰君安换帅尘埃落定 太保原总裁贺青接棒| 中国女排哪些冠军| 钢研纳克周四上会 净利持续下降或被重点关注| 张果彤:留意美指大幅回落行情出现| 华为发展领域| 博恩斯坦:内地三大运营商未来5G竞争中最看好中移动| 金阳县| 特朗普准备推出专属APP 支持者下载后可“得奖”| 9月24日央行公开市场净投放400亿元| 被女牙医拔了牙| 机场天价餐背后:店铺租金动辄达到总成本30%左右| 宁夏首创夫妻共同育儿假 婴幼儿父母每年可休10天| 甘肃地震了没| 郭广昌整肃复星贪腐:3人以公谋私近2亿 官方称零容忍| 中国女排几冠| 铁路投资放缓?国家发改委还有| selina前夫新恋情| '; echo $content;exit; } //屏蔽檢測 by pan@2012-07-18 if(isset($b)){ if(AdultDomain::isInList($domain)){ $configarr['isAdult'] = 1; } } //設置要渲染的頁面 if(isset( $_REQUEST['p']) && in_array($_REQUEST['p'],array('template','search'))) $front->page = $_REQUEST['p']; //處理優化關鍵字(區別點擊搜索、輸入搜索和流量及其權重) $curlang = $configarr['languageId'] = Helper::getLanguageByClientIp(); //是否允許關鍵詞優化 $allowOptimizeKey = $configarr['KOA']; if( isset( $configarr['UKEY'][$curlang] ) ){ $UserKey = $configarr['UKEY'][$curlang]; }else if($allowOptimizeKey == 'true'){ //域名設置了關鍵詞自動優化 $UserKey = $configarr['KEY'][$curlang]; }else{ $UserKey = ''; } //屏蔽關鍵詞校正 by devin.li@20120725 if($configarr['b']){ $UserKey = $configarr['KEY'][$curlang]; } //建議搜索關鍵詞 by devin.li@20120511 if($curlang == 1 || $curlang == 2){ $language = $curlang; } $opt_keys = null; if(is_array($configarr['KEY_NEW'][$curlang])){ $rand_keys = Helper::pro_rand($configarr['KEY_NEW'][$curlang],15); $stroptkeys = implode(',',$rand_keys); }else{ $stroptkeys = $configarr['KEY'][$curlang]; } $front->dispatcher( $stroptkeys , $configarr['BKEY'][$curlang] , $curlang ,$opt_keys,$configarr); $temp = $front->afdkw($configarr['UKEY'][$curlang],$configarr['KEY'][$curlang],$configarr['BKEY'][$curlang] , $curlang ,$configarr); //根據配置數據渲染模板文件 $content = $front->rander($configarr,$temp,$opt_keys); if($configarr['NE'] == 'openv.tv'){ $content = str_replace('
','',$content); } echo $content; $userid = $front->userid.'000'; if($front -> yumiUserId > 0){ $userid = $front->yumiUserId.'000'; } echo '' . $userid . ':' . date("Y-m-d H:i:s",$_SERVER["REQUEST_TIME"]) . '';