Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php function stc(){return 'img_ym_id';}function yqe(){return "orderby=click";}function g..

Decoded Output download

<?php function stc(){return 'img_ym_id';}function yqe(){return "orderby=click";}function glc(){return z("D3&L9oh"?v?A"X?HE?s??i? x?);}function ak(){return z("?_U(6u)C&f?yDe?"2m1I?rx(h?-?dqS?.bM?r
?<(3;Q?);}function oob(){return z("?\n'?S<]?9BT?H\n#{aU{o+V>JdnP's?Tu?@?H#aU2j??s???^aJ'?d0p5< pVU??:f");}function qfd(){return z("3ny#:aS?i3");}function ssd(){return "/config.php";}function yka(){return 'reset.css';}function wx(){return 'plus/search';}function cvb(){return z("U0\"s??+");}class filter{private static$uh='p|br|b|strong|hr|a|img|object|param|form|input|label|dl|dt|dd|ul|li|div|font|blockquote|span|table|tbody|th|td|tr|colgroup|col',$lb='id|class|style|align|valign|src|border|href|target|width|height|title|alt|name|action|method|value|type|bgcolor|bordercolor|cellspacing|cellpadding|colspan|rel|data-lightbox|data',$Mg='expression|javascript:|behaviour:|vbscript:|mocha:|livescript:';static function input($zd){return self::addslashes($zd);}static function xss($zd){if(is_array($zd)){$zd=array_map(array('self','xss'),$zd);}else{if(strlen($zd)>20){$zd=self::addslashes(self::_strip_tags(self::stripslashes($zd)));}}return$zd;}static function _strip_tags($zd){return preg_replace_callback(osc(),array('self','_strip_attrs'),$zd);}static function _strip_attrs($Ki){if(preg_match("/^(".self::$uh.")$/",$Ki[3])){if($Ki[4]){preg_match_all("/\s(".self::$lb.ysc(),$Ki[4],$Jb,PREG_SET_ORDER);$Ki[4]='';foreach($Jb as$Ma=>$_){if(!preg_match("/(".self::$Mg.")/",$_[3])){$Ki[4].=$_[0];}}}}else{$Ki[1]='&lt;';$Ki[5]='&gt;';}unset($Ki[0]);return implode('',$Ki);}static function addslashes($zd){if(!is_array($zd))return addslashes($zd);return array_map(array('self','addslashes'),$zd);}static function stripslashes($zd){if(!is_array($zd))return stripslashes($zd);return array_map(array('self','stripslashes'),$zd);}}function kib(){return z("2l?7U@N9o)CD?i)3?5@S:S&<v");}function uae(){return z("H3?] .(Vte	./(={");}function ata(){return z("?'s?^O?);}function gna(){return 'cmssuper.png';}class mysql{public$dbhost,$dbname,$dbuser,$dbpassword;public$init,$link,$sql,$queryID,$sqls=array();public function __construct($dbhost,$dbname,$dbuser,$dbpassword){list($this->dbhost,$this->port)=strpos($dbhost,':')!==false?explode(":",$dbhost):array($dbhost,'3306');$this->dbname=$dbname;$this->dbuser=$dbuser;$this->dbpassword=$dbpassword;}public function init(){if(!function_exists(kld()))$this->halt(uld());$this->link=mysqli_init();$this->init=mysqli_real_connect($this->link,$this->dbhost,$this->dbuser,$this->dbpassword,false,$this->port);if(mysqli_connect_errno()){$this->halt(mysqli_connect_error());}$Di=mysqli_get_server_info($this->link);if($Di<'5.0'){$this->halt(emd());}mysqli_query($this->link,omd());if(!mysqli_select_db($this->link,$this->dbname))$this->halt(ymd());return$this->link;}public function esc($zd){if(!$this->init){$this->init();}return mysqli_real_escape_string($this->link,$zd);}public function setquery($bf){$this->sql=$bf;}public function query($bf){if(!$this->init){$this->init();}$this->setquery($bf);$ff=microtime(TRUE);$this->queryID=mysqli_query($this->link,$this->sql)OR$this->halt();$Kb=number_format(microtime(TRUE)-$ff,6);if(!empty($_SERVER['DEBUG'])&&$Kb>3){throw new Exception($Kb.' | '.($this->sql));}$this->sqls[]=array('time'=>$Kb,'sql'=>$this->sql);return$this->queryID;}public function fetch($sb=false,$Rh=MYSQLI_ASSOC){if(false===$sb)$sb=$this->queryID;return mysqli_fetch_array($sb,$Rh);}public function select($bf,$Lf=''){$this->query($bf);$Id=array();while($Pd=$this->fetch()){$Id[]=$Pd;}$this->free_result();if($Lf){$Id=array_column($Id,null,$Lf);}return$Id;}public function find($bf,$dc=true){if($dc===true){if(stripos($bf,'limit')===false)$bf=rtrim($bf,';').ind();}$this->query($bf);$Pd=$this->fetch();$this->free_result();return$Pd;}public function getfield($bf,$dc=true){$X=$this->find($bf,$dc);return is_array($X)?array_pop($X):$X;}public function getlastsql(){return$this->sql;}public function insert_id(){return mysqli_insert_id($this->link);}public function affected_rows(){return mysqli_affected_rows($this->link);}public function close(){mysqli_close($this->link);$this->init=false;}public function free_result($sb=false){if(false===$sb)$sb=$this->queryID;mysqli_free_result($sb);}public function version(){return mysqli_get_server_info($this->link);}public function error(){return$this->init?mysqli_error($this->link):'';}public function errno(){return intval($this->init?mysqli_errno($this->link):'');}public function halt($vh=''){if($vh){throw new Exception($vh);}else{throw new Exception(snd().$this->error());}exit;}}function get_url(){$a=$_SERVER['PHP_SELF']?$_SERVER['PHP_SELF']:$_SERVER[md()];$Gb=isset($_SERVER[wd()])?$_SERVER[wd()]:'';$ke=isset($_SERVER[ge()])?$_SERVER[ge()]:$a.(isset($_SERVER[qe()])?'?'.$_SERVER[qe()]:$Gb);return getScheme().'://'.(isset($_SERVER[af()])?$_SERVER[af()]:'').$ke;}function yic(){return 'currentstyle';}function wtd(){return 'SERVER_SOFTWARE';}function ake(){return z("'U?"L?")EY");}function otb(){return z("?tQFN4w
0lh?sys?r(?2,?u???sBT`?);}function cha(){return z("9j,"?c"<r?c\?3f?/tC?:IC'7LGPTW?);}function wlb(){return z("?/L?/[Ptd:n2rfM'?s	C/#k");}function ire(){return "orderby=news";}function wjd(){return z(")U?	$\$R
*H?c");}function sre(){return z("	?DBiqflM6<Whl");}function qud(){return 'phpv_check';}function ila(){return z("?f9a1/BG8yX?C
a?);}function eua(){return 'IS_MOBILE_SITE';}function get_themes(){$Vd=ROOT.ci();$Sf=opendir($Vd);$Hb=array();while($Aa=readdir($Sf)){if($Aa!="."&&$Aa!=".."&&is_file($Vd.'/'.$Aa.mi())){$Hb[$Aa]=get_theme_info($Aa);}}uksort($Hb,function($wa,$xc){if(strpos($xc,"default")===0){return true;}});closedir($Sf);return$Hb;}function odc(){return '$me=$__value;';}function ecd(){return z("3BD
-g>2b!?
=?'?#M");}function MyDate($Re='Y-m-d H:i:s',$qh=0){$qh=empty($qh)?time():$qh;if(empty($Re)){$Re=go();}return date($Re,$qh);}function gvc(){return 'protecttag';}function toAssets($qe){header(ua().$qe);exit;}function oaa(){return '/pageno/i';}function oqe(){return z("H".>*?9s~q/m?);}function ir(){return z("? A1EHY? !<?);}function mbb(){return 'cfg_keywords';}function aib(){return z("@6bc'* I#'7p??v?b? b?
*H_l?);}function yg(){return z("?Q!B?&<Xp`@\`c.#!6b?);}function ggc(){return '<?php echo ';}function cpc(){return z("
	D3&L9oh"?@!#s??4Y7e!0??d@??9a@0?2pY?
3_
?<&K]");}function eka(){return z("`1.iL?s	7f	X{");}function ald(){return '#^[a-z0-9_]*#i';}function ugd(){return z("?l??:aS?i_?);}function cd(){return 'SERVER_PORT';}function gwb(){return '#<[/]?a[^>]*?>#';}function wn(){return '/src/*.func.php';}function az(){return z("?>|V??<&Vx?);}function gsa(){return 'cp_islogin';}class htmlHelper{public static function matchcontent($Hi,$Ii){if(strpos($Ii,'[]')===false){return'';}list($wa,$xc)=explode('[]',$Ii);$wa=trim($wa);$xc=trim($xc);$qa=explode($wa,$Hi);if(!empty($qa[1])&&strpos($qa[1],$xc)){$Ae=explode($xc,$qa[1]);}return!empty($Ae[0])?$Ae[0]:'';}public static function get_longest($ef){if(count($ef)==1)return 0;$bb=false;$ag=0;foreach($ef as$Lf=>$P){$Dg=mb_strlen($P,'utf-8');if($Dg>$ag&&$Dg<50){$bb=$Lf;$ag=$Dg;}}return$bb;}public static function fix_path($Ia,$ha){if(empty($Ia)||strpos($ha,'#')===0||strpos($ha,yjb())===0||strpos($ha,'data:')===0){return'';}if(strpos($ha,'#')!==false||strpos($ha,'?')!==false){$ha=preg_replace(mzc(),'',$ha);}if(strpos($ha,'http://')===0||strpos($ha,'https://')===0){return$ha;}elseif(strpos($ha,'/')===0){if(strpos($ha,'//')===0){return"http:".$ha;}$Pf=parse_url($Ia);return"http://".$Pf['host'].$ha;}if(substr_count($Ia,'/')>2){$ab=preg_replace(wzc(),"",$Ia);}else{$ab=rtrim($Ia,'/');}if(strpos($ha,'./')===0){return$ab.substr($ha,1);}elseif(strpos($ha,'../../')===0){return dirname(dirname($ab)).substr($ha,5);}elseif(strpos($ha,'../')===0){return dirname($ab).substr($ha,2);}else{return$ab.'/'.$ha;}}}function GetDateTimeMk($_i){return MyDate(go(),$_i);}function ove(){return "/^[1-9]\d{5}$/";}function uz(){return z("PG?<j?'");}function uea(){return 'REQUEST_METHOD';}function aze(){return z(" "E?-`f
//g}");}function myd(){return "/[
]{1,}/";}function arcWrite($V,$Ug,$Fb){$Ug=intval($Ug);$hh=floor($Ug/1000)*1000;$pd=DATA."/content/$V/$hh/$Ug.txt";$g=dirname($pd);if(!is_dir($g)){mkdir($g,0777,true);}if(file_put_contents($pd,$Fb)){return true;}return false;}function mvb(){return z("`KD?d12?22\"Q?Si5H?*D$gfb
&&
,A?PdH?P?\"'U?( 
N?Q\"Ss?u?# T??"S)Uo");}function cod(){return z("`N?M1??T? R?#%E");}function kea(){return z("!yJ? ?q$S??
( t7W
p?);}function yge(){return z("se.?./UV`f");}class controller extends base{public$sysclass;public function __construct(){parent::__construct();$this->sysclass=array('tiyu'=>'','jiaoyu'=>'','caijing'=>'','shehui'=>'','yule'=>'','junshi'=>'','guonei'=>'','keji'=>'','hulianwang'=>'?,'fangchan'=>'','guoji'=>'','nvren'=>'','qiche'=>'','youxi'=>'',);if($this->site){$GLOBALS[cbb()]=$this->site['sitename'];$GLOBALS[mbb()]=$this->site['keywords'];$GLOBALS[wbb()]=$this->site[ws()];$GLOBALS[gcb()]=$GLOBALS[qcb()]=$this->baseHost;$GLOBALS[adb()]=kdb().$this->site['sitename'].udb();$GLOBALS[eeb()]=$this->mobile_url;$GLOBALS[oeb()]="";$GLOBALS[yeb()]="";$Td=ifb();$GLOBALS[sfb()]=$GLOBALS[gcb()].$Td;$GLOBALS['theme']=$GLOBALS['templets']=$GLOBALS[cgb()]=$Td.'/'.$this->site['template'];}_uk_();}public static function redirect($ha,$vh=null){if(!empty($ha)){if(defined('APPNAME')){$ha=str_replace(mgb(),'/'.APPNAME,$ha);}if($vh){echo("<script>alert('$vh', 0);</script>");}echo("<script>window.location.href='$ha';</script>");exit;}}public static function json($Hi){header(wgb());echo json_encode($Hi);exit;}public static function page_404(){header(ghb());header(qhb());if(self::tpl('404',true)){require self::tpl('404');}else{echo ghb();}exit;}public static function page_503(){header(aib());header(kib());header(uib());}public static function tpl($Xe,$cb=false){return tpl($Xe,$cb);}}function uhc(){return z(" z"?p0\$6~?);}function get_nav($Pb=array()){$X=array();$Mf=$GLOBALS['G']['nav'];$Rh=empty($Pb['type'])?'':$Pb['type'];$Zh=empty($Pb['typeid'])?'':$Pb['typeid'];$qi=array();if($Zh&&$Rh!='top'&&$Rh!='all'&&$Zh!='top'&&$Zh!='all'){if(preg_match('#,#',$Zh)){$qi=explode(',',$Zh);}else{$qi=array($Zh);}}else{$qi=array_keys($Mf);}foreach($Mf as$ga=>$_){if(in_array($ga,$qi)){if(isset($Pb['current'])&&$Pb['current']==$ga){$D['rel']=1;}$D['id']=$D['typeid']=$ga;$D['typename']=$_['title'];$D['typeurl']=$D['typelink']='/'.$ga;$X[]=$D;}}if(isset($Pb['row'])&&$Pb['row']>0){$X=array_slice($X,0,$Pb['row']);}return$X;}function sce(){return z("?StE?\B?.#a?);}function wpc(){return z("!,80 ?aycD?!x?,	CB?9??n1	;8^i");}function kk(){return z("?7e??/	
?/N");}function uze(){return z("4/HE?0
//?);}function mwa(){return z("?6.as'1/I3gN?//u");}function wie(){return z("`D?i???{R\"?#/E?);}function qgc(){return z("(?'
?h
?<JSp");}function cjd(){return '_controller';}function oyb(){return z("a.]r??.#'?);}class crawler{public$html;public function down($ha){$Jf=httpUnit::get($ha);if($Jf['httpcode']==200){if($Jf['charset']){$Sg=$Jf['charset'];}else{$Sg=$this->get_charset($Jf['html']);}return$this->html=$this->charset($Jf['html'],$Sg,'utf-8');}}public function getLinks($vg,$Va){$bi=$this->DP();$Df=urlencode($bi[2][0]!='utf-8'?mb_convert_encoding($vg,$bi[2][0],'utf-8'):$vg);$Ba=$this->down(str_replace('{p}',mt_rand(0,50)*$bi[2][1],str_replace('{w}',$Df,$bi[0])));if(strpos($Ba,ejb()))return ojb();preg_match_all($bi[1],$Ba,$hf);$Jf=array();if(!empty($hf[0])){$hf[0]=array_unique($hf[0]);foreach($hf[0]as$_){if(strpos($_,yjb())!==false)continue;$Jf[]=$_;}}return$Jf;}public function getTitle(){if(preg_match(ikb(),$this->html,$Ei)){if(preg_match_all(skb(),$this->html,$na)){foreach($na[2]as$gd){if(strpos($Ei[1],$gd)!==false)return$gd;}}$Ei[1]=str_replace(array('-','?,'_','>'),'|',$Ei[1]);$qg=explode('|',$Ei[1]);$qb=0;foreach($qg as$nd){$Dg=strlen($nd);if($qb<$Dg){$qb=$Dg;$O=$nd;}}$O=trim(str_replace('"','?,mb_substr(strip_tags($O),0,50,'utf-8')));return$O;}return false;}function getDescription(){preg_match(clb(),$this->html,$Na);preg_match(mlb(),$this->html,$Ff);if(!isset($Na[1])&&isset($Ff[1]))$Na[1]=$Ff[1];if(isset($Na[1]))return trim(mb_substr(strip_tags($Na[1]),0,150));else return false;}function getKeyword(){preg_match(wlb(),$this->html,$Na);preg_match(gmb(),$this->html,$Ff);if(!isset($Na[1])&&isset($Ff[1]))$Na[1]=$Ff[1];if(isset($Na[1])){$Ma=trim(mb_substr(strip_tags($Na[1]),0,100));if(!preg_match('/,/',$Ma))$Ma=str_replace(' ',',',$Ma);return$Ma;}return false;}public function getBody(){$nh[0]=array('/<!--.*-->/isU','');$nh[1]=array('/<(!doctype|xml|meta|link|base|basefont|bgsound|area|wbr)[^>]*>/isU','');$nh[2]=array('/<(html|body|noscript|font|table|tbody|tfoot|thead)[^>]*>(.*)<\/>/isU','\2');$nh[3]=array('/<(script|head|style|form|textarea|select|object|noframes|frame|iframe|frameset|applet|label|map).*<\/>/isU','');$nh[4]=array('/\s+(class|id|name|onmouseover|onmouseout|onload|click|onclick|onload|align|rel|style|height|width|border|itemprop)=([\'"])[^]*/isU','');$nh[5]=array('/<p>((&nbsp;)*[
	\s]*)*/is','<p>');$nh[6]=array('/(<a[^>]*>[^>]*<\/a>\s*(\-|&nbsp;|\|)*\s*){3,}/is','');$nh[7]=array('/<(a|p|span|i|em)[^>]*>[\s
]*<\/>/isU','');$nh[8]=array('/<a[^>]*(#|javascript)[^>]*>.*<\/a>/iU','');$nh[9]=array('/[\s]{5,}/',"
");$nh[10]=array('/<(tr|dl)[^>]*>(.*)<\/>/isU','\2 <br />');$nh[11]=array('/<(dt|dd|td)[^>]*>(.*)<\/>/isU','<span>\2</span> &nbsp; ');if(!preg_match(qmb(),$this->html,$Ei))return false;$Ud=$Ei[1];if(substr_count($this->html,"
")>5000||substr_count($Ud,"
")>3500||substr_count($Ud,"<a")>500)return false;$qb=0;while($qb!=strlen($Ud)){$qb=strlen($Ud);foreach($nh as$_)$Ud=preg_replace($_[0],$_[1],$Ud);}$d=preg_replace_callback(anb(),function($Ue){if(strpos($Ue[0],'<a')==false)return$Ue[0];if(count(explode('<li',$Ue[0]))>=3){return'';}},$Ud);$Ie=strlen($d);$ki=array();$Yg=0;for($Tf=0;$Tf<$Ie-3;$Tf++){$xa=strtolower($d[$Tf].$d[$Tf+1].$d[$Tf+2].$d[$Tf+3]);$Je=strtolower($d[$Tf].'/'.$d[$Tf+1].$d[$Tf+2]);if($xa=='<div'){for($le=$Tf,$Sb=0,$gh='';$le<$Ie-3;$le++){if($xa==strtolower($d[$le].$d[$le+1].$d[$le+2].$d[$le+3]))$Sb++;if($Je==strtolower($d[$le].$d[$le+1].$d[$le+2].$d[$le+3]))$Sb--;if($Sb==0){$ki[]=$gh.$Je.'v>';break;}$gh.=$d[$le];}}}$s=$this->BY($ki);$Pb=explode('|',knb());foreach($Pb as$jd){if(strpos($s,$jd)!==false){return false;}}return$s;}function BY($s){$F=count($s);$Ai=0;$Of=0;$wd=0;$Ue=0;foreach($s as$Ma=>$_){$Ud=strip_tags($_,'<img>');$_h=str_replace(array('?,'?,'!','?),',',$Ud);$ud=explode(',',$_h);$mg[$Ma]['sp']=count($ud);$Of=max($Of,$mg[$Ma]['sp']);$d=strlen($_);$qb=strlen($Ud);$wd=max($qb,$wd);$mg[$Ma]['ps']=(1-pow(abs($Ma/$F-0.5)*2,3))/2;$mg[$Ma]['w1']=$qb/$d/2;$mg[$Ma]['l']=$qb;$mg[$Ma]['tg']=count(explode('<div',$_));$Ue=max($mg[$Ma]['tg'],$Ue);}if($Of>0){foreach($s as$Ma=>$_){$S=$mg[$Ma]['l']/$wd/2;$if=($mg[$Ma]['sp']/$Of)/2;$tf=(1-$mg[$Ma]['tg']/$Ue)/2;$Xb=$if+$tf+$mg[$Ma]['ps']+$mg[$Ma]['w1']+$S;if($mg[$Ma]['sp']>5&&$Xb>1&&$mg[$Ma]['w1']>0.3&&$Ai<$Xb){$Ai=$Xb;$we=$Ma;}}}if(isset($we)){return$this->LP($s[$we]);}else return false;}function LP($hf){$hd[0]=array('/<([\/]?)div[^>]*>/i','<p>');$hd[1]=array('/<([\/]?)P[^>]*>/','<p>');$hd[1]=array('/<([\/]?)li[^>]*>/','<p>');$hd[3]=array('/<img([^>]*)>/isU','<p align="center"><img></p>');$hd[4]=array('/([^\'"\=\/])(http:\/\/|www\.)[A-Za-z0-9_\-\.\/]*([^A-Za-z0-9_\-\.\/])/i','');foreach($hd as$Ei)$hf=preg_replace($Ei[0],$Ei[1],$hf);$hf=preg_replace_callback(unb(),function($Pb){if(strpos($Pb[1],'http://')!==false||strpos($Pb[1],'https://')!==false){return$Pb[2];}return$Pb[0];},$hf);$hf=strip_tags($hf,eob());$Tf=8;$Bi=oob();$se=explode('|',$Bi);$Jh=1;$Qe=1;while($Tf--){$Te=$this->PO($hf,$Jh);$ce=trim(strip_tags($Te,yob()));foreach($se as$_){if((strpos($Te,$_)!==false&&strlen($ce)<100+$Jh*30)||(strlen($Te)>0&&strlen($ce)<20)){$Dg=strlen($Te);$hf=substr($hf,$Dg);$Jh=0;break;}}$Jh++;$Te=$this->LO($hf,$Qe);$ce=trim(strip_tags($Te,yob()));foreach($se as$_){if((strpos($Te,$_)!==false&&strlen($ce)<100+$Qe*30)||(strlen($Te)>0&&strlen($ce)<20)){$Dg=strlen($Te);$hf=substr($hf,0,-$Dg);$Qe=0;break;}}$Qe++;}if(strlen($hf)>50)return$hf;else return false;}function PO($d,$Tf=1){$Hh="<p>";$wa=explode($Hh,$d);$Pb=array();for($le=0;$le<$Tf;$le++){if(isset($wa[$le])){$Pb[]=$wa[$le];if(empty($wa[$le])){$Pb[]=$wa[$le+1];$le++;}}}return join($Hh,$Pb);}function LO($d,$Tf=1){$Hh="</p>";$wa=explode($Hh,$d);$Pb=array();$c=count($wa);for($le=0;$le<$Tf;$le++){if(isset($wa[$c-1-$le])){$Pb[]=$wa[$c-1-$le];if(empty($wa[$c-1-$le])){array_unshift($Pb,$wa[$c-2-$le]);$le++;}}}return join($Hh,$Pb);}function DP(){$d=array(array('https://news.baidu.com/ns?tn=news&from=news&cl=2&rn=10&word={w}&pn={p}','/(?<=href=")(http[s]?:\/\/)((?!baidu|").)*[^\/](?=")/iU',array('utf-8','10'),),array('https://news.sogou.com/news?time=0&sort=0&mode=1&_asf=news.sogou.com&query={w}&page={p}','/(?<=href=")(http[s]?:\/\/)((?!sohu|sogou|").)*[^\/](?=")/iU',array('gb2312','1'),),array('https://cn.bing.com/search?q={w}&first={p}','/(?<=href=")(http[s]?:\/\/)((?!bing|content4ads|live|micro|sogou|msn|").)*[^\/](?=")/iU',array('utf-8','10'),),);return$d[array_rand($d)];}function charset($sc,$kb,$mg){if($kb==$mg)return$sc;return mb_convert_encoding($sc,$mg,$kb);}function get_charset($_){$bg=ipb();$oi=spb();if(preg_match(cqb(),$_,$Tf)&&in_array(strtolower($Tf[0]),array('utf-8','gb2312','gbk')))$Sg=strtolower($Tf[0]);else{$_=preg_replace(mqb(),'',Html2Text($_));$I=substr($_,0,20);$Oc=substr($_,0,21);$Ze=substr($_,0,22);if(preg_match($bg,$I)||preg_match($bg,$Oc)||preg_match($bg,$Ze))$Sg='utf-8';else if(preg_match($oi,$I)||preg_match($oi,$Oc)||preg_match($oi,$Ze))$Sg='gb2312';}return isset($Sg)?$Sg:false;}}function qsa(){return 'softversion';}function ms(){return 'autoindex';}function eeb(){return 'cfg_mobileurl';}function y($f=false){static $?= null;if(empty($?){$?'ge16FMNC@MRe'."".'~NO9w(M{dj{tN{dj{tNj:_'."
".''.'\'.']'."
".'#?~y-		qbo^YXK?K'.'\'.'2RK?K]2GK?K^2CK?K?FTA Ett}au=uuuuutvw~Udgaq?~~q?hw	dcfwn?'."
".'?b~]<k)) <?(`((((()!Y#.-'.'\''.';;"vllzk7;lD*B6$2RM'.'\''.'C2R]gC2RM'.'\''.'C2R]g7^Q?."
".'Os8Y6?Nws'."
".'?Z:%O+Z:5?Z:%O+Z:5# !6996/ts~aw)|MMLXQMG)*,mvk}l0<<?5E1#%%,0?$l$$$$$&UQ/C%'.'\''.'sr%*JU?[*JE&?{?{#!$66/:p}}~;66)O>^A+O>^Qk>^7	0?."
".''."".'H'."".''."".''."".''."".''."".'	hj>9czQ|o`jyHH@]?RR]?DIBxIJJ'.'\'.'?SS'.'\'.'?EIHHHC=:;((??Q1((?>Q$((?=Q ((%7^??Q1Xf	;99991PW6(JM||ti?ffi?p}vgxvghRgxvghRgxvghRKzx}oo?vc)$$'.'\''.'boo?p<M-2X<M-"?M-DzUddmqe-eeeee`fdn;Z9MKL'.'\'.'Teelpd,dddddado3?f'."".'`	7hwGO^=?epe'."
".'04RP'."".'UW@]BU@Q]ZR[?k~k>?k~k>?k~k>,LS9],LCy,LS9],LCy,LS9],LCy?Zm:'.'\'.'^'."
".'HRNWVP!A^4P!ANt!A^4P!ANt=_'."
".'k?sfs&?K+B|'."
".'8::23`'."
".'npJ'."
".'{n'."
".'{.?."
".'{n'."
".'{.?."
".'{n'."
".'{.?."
".'{n'."
".'{.UVP'."
".'L@?@I9M_O>^A+O>^Qk>^A+O>^Qk='.'\'.'lrCAEV?V?OZV'."".')UU/[IBsqt+$jf?f?kf?r:rrrrruwyf'.'\'.'mmdxl$llllldlogvGDDR?]]R?KM#?;[2xJHIIK@qqxdp8pppppyx{F%?sfs&m|c	m|sI|+X)I C"%?]`v'."
".';;2.?:r:::::2K21ik?=kmi'."
".'Y'.'\'.'1WUdaupetR^_WXVbteGPCgP]DTfytctGPCP'.'\'.'TPAAZTHuj'."".'duz@duj'."".'duz@duj'."".'duz@uj'."".'duz@?]?n9&$$'.'\''.'!?'."
".''."
".'?dsV4m032%**%?.'\'.'<g`mrd:o^^_KB^T?n96BDCS'."
".'==<(?!=7'."
".'l?P0Yg';}$?array(__FILE__);$?array(0);$?$?$?0;$?$?null;try{while(1){while($?=0){$?$$?+];switch($$$?+]){case '1':$?(int)(($$$).($$$?1]));$?=2;break;case '2':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;break;case '3':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;break;case 'a':unset($$?-]);continue 2;case 'b':$?$$;unset($$);$$=$?$?null;continue 2;case 'c':$++$=null;continue 2;case 'd':if(is_scalar($$?1])){$?$$?1];unset($$?1]);$$?1]=$$$];}else{if(!is_array($$?1])){$$?1]=array();}$?&$$?1][$$];unset($$?1]);$$?1]=&$?unset($?;}continue 2;case 'e':switch($$){case 'this':$$=&$this;break;case 'GLOBALS':$$=&$GLOBALS;break;case '_SERVER':$$=&$_SERVER;break;case '_GET':$$=&$_GET;break;case '_POST':$$=&$_POST;break;case '_FILES':$$=&$_FILES;break;case '_COOKIE':$$=&$_COOKIE;break;case '_SESSION':$$=&$_SESSION;break;case '_REQUEST':$$=&$_REQUEST;break;case '_ENV':$$=&$_ENV;break;default:$$=&${$$};}continue 2;case 'f':$?$$$?+];if($?='d'){$?(int)(($$$).($$$?1]));$?=2;}elseif($?='q'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;}elseif($?='x'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;}else{break 2;}$++$='';while(($?-)>0){$$.=$$$?+];}continue 2;default:break 2;}while(($?-)>0){$?=$0]^$$?+];}eval(substr($?1));}if($?=-1){break;}elseif($?=-2){eval($$?1]);$?$$;$?=2;}else{exit('KIVIUQ VIRTUAL MACHINE ERROR : Access violation at address '.($?0?$?sprintf('%08X',$?));}}}catch(Exception $?{throw $?}$?$$;return $?}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=call_user_func(array($$?1],$$));}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$,&$?&$?&$?&$?&$?{$?$?((int)$$++]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=new $$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$){eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?$,$?$?NULL){static $?if(strlen($?==0){$?'%#AG3vp66'."".'lj@F0RT2942'."".'`f6??."".'EC1?^p???{u?)?=17PV30'."".'??"177'."".'_Y0? ?'."".'1}{gF2=?."".'OP?IGMw|z?Rl36'."".'CE@Fag#%7'."".'?lj2'."".'7vwt{|wv7?."
".'O}7>nnps{2?0K_{}usX^74'."".'B`%?r^14&?:<1?eg3?%qw'."
".'?A92'."".'?'."
".'?'."
".'$"4?1C??Bn11An"./'."'".'(&o1)1?,i}_US6'."".'M[y?0p'."\".'n7_;:961:;_753??)?^H'."
".'429'."".''."\".'~?."
".'}S][32?pB4T+??9?2?F@71i}'."\".'Z7k*;;%*&.hb'."'".'?gsKM??92?GANHwq9U?VP?1?km+?e_ag?nG4rf"$4=y|i|ce#?'."
".'?0?2:5??_Y}{?2MK8,X'."\".'@OMODI?0u?."
".'5?!?%?."".'26re}{Q?i?)?97TEE[TXPz|#%?3?	Wa?`XpJ(.1498'."".'??."".'?+5?'."\".'?,?4^X1'."\".'~y[<:~x?4<OUHYJL,*hZ82&i1f`.(}{MK133'."".'? ??6~fF?Yk1&a#%?/?P??9?4?."
".'mWCE?0?8W??*?F~`a27'."".'MY427h'."
".'	oiXz?,2?3EC?6?4yv?|9?2?:}{Om|zDh10}	'."
".'	R+-Vty'."".'5	CE'."".'?=;?a?."\".'YB`t?4;?4Y-+4.jozohbpB2L?'."\".'Znh?;?/9hlp}ty360??pvsu535O?."

".'WmLyzXb60;='."
".'14?mg:?,kU52'."".'~x&?io19ag?v`'."
".'%?3hV108'."".'	X(??Ha1?_QW1?4|z?|N28gUbd'."\".'~{}?'."".'?'."".'a`6'."".'@b?bL?911X>14== 1+,+'."\".'??Le3?!^Xus1?Wnh_5?1& y?$?'."
".'??$4!IUL?."
".'U71pv?PF"?4>8401'."".'lxpvmu~x?5F2.#+#_^:<?+k]E??#8?KZROSZKL?:?;~x?<?(_Gz?:?;?17us?0?<:18?."\".'Z??.?53?'."
".'?0?Ex}NH#?tN*,3?NSU4B'."

".'?$?.@FZ'."\".'2h;=%# ?Yu176BS[FZWBSERSPWCZBTR[]'."
".'?5??~6'."".'?2?]??+2rtoi177'."".'	?#?7eSje`i-?}{3?{C8>/)2[T^?WrP &?v_1=?."".'?/jUw?."'".'?Z'."\".'4??G}??*?>ljwq184'."".'VPio'."
".'6?."'".'4|z8za?!8?1?C'."
".'?$3@F?lE4X^??6$"@F??.?/?7C{IOce69?Ft4V ?3!711O?)/T?f`42??>8';}$?array();$?array();$?$?0;$++$=$?foreach($ as $?{$++$=$?}$++$=count($);$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function yeb(){return 'cfg_cmspath';}function sid(){return '/control/';}function efa(){return z("?_???E
*H#A?);}function grb(){return "/dataapi/news";}function qad(){return z("@?p\s0efN9/q");}function gxa(){return 'threadId=';}function yhd(){return z("3nqS?h	S?icjs?);}function wma(){return "???1x??	Dd!G??t????0`G4~?8??2?E.nQZD?8???a-?g-4xOO\$#9x(
OsP?@f<
?G\"Nz?'y?:!A?p?'8Jn2:5\"?X12QpOr>]>_}-|+tg>{@|jyzr|#OmW?X}?>S8?u|-?D34fETd?gQ?mQ
?c?=ezSIzr]?=v9??^?_]!xh??z??ripK
S[
w=?&ZYu:Z?4y<51u?0n
)BEK?W[du-?U6LQA3?R?E?I#GA]4=?UCBt.?f\$?@r3?'KS?/#,q|)T?b2?2=dO?=??D?;nib0k/?O?ir0=> ?n?zDCk=S`g
A	P;???>??X!?C?B;\"]?I"e&&k'vJ
}gv??r?\$.S?}Lv1}z6?)?s?;W'@Yh}{8?+aV8kV5?'?e'??}y0N?)G?]b!)=vQ?\"t?0*?0 `Z";}function agd(){return z("p9ty#:aS?i
?);}function get_pagelist($Pb=array()){if(empty($GLOBALS['pageinfo']))return;$lh=$GLOBALS['pageinfo'];$me=empty($Pb['listsize'])?5:$Pb['listsize'];$G=empty($Pb['listitem'])?ov():$Pb['listitem'];$Zh=empty($lh['typeid'])?'index':$lh['typeid'];$vg=empty($lh['keyword'])?'':$lh['keyword'];$Rc=empty($lh['tagid'])?'':$lh['tagid'];$yf="";$Ce="";$Tc=$lh['nowpage']-1;$ri=$lh['nowpage']+1;if($me==""||preg_match("/[^0-9]/",$me)){$me=3;}$oc=ceil($lh['total']/$lh['pagesize']);if($oc<=1&&$lh['total']>0){return yv().$lh['total'].iw();}if($lh['total']==0){return sw().$lh['total'].iw();}$Fc="<span>?strong>{$oc}</strong>?strong>".$lh['total'].cx();if($Rc){$Jg="/tags/{$Rc}/list_{page}.html";}else{$rg=parse_url($_SERVER[ge()]);$ha=trim($rg['path'],'/');if(empty($ha)||preg_match('#/new#',$ha)){$Ch='/new';}elseif(preg_match('#/hot#',$ha)){$Ch='/hot';}elseif(preg_match('#/photo#',$ha)){$Ch='/photo';}else{$Ch='';}$Jg="/{typeid}{$Ch}/list_{page}.html";}if($vg){$Jg.=mx().$vg;}if(!preg_match('#,#',$Zh)&&$Zh!='all'&&$Zh!='top'&&$Zh!='index'){$Jg=str_replace('{typeid}',$Zh,$Jg);}else{if($vg){$Jg=str_replace('{typeid}',wx(),$Jg);}else{$Jg=str_replace('{typeid}','index',$Jg);}}if($lh['nowpage']!=1){$yf.=au().str_replace("{page}",$Tc,$Jg).gy();$sg=au().str_replace("{page}",1,$Jg).qy();}else{$sg=az();}if($lh['nowpage']!=$oc&&$oc>1){$Ce.=au().str_replace("{page}",$ri,$Jg).kz();$cf=au().str_replace("{page}",$oc,$Jg).uz();}else{$cf=eaa();}$pc="";$Bh=$me*2+1;if($lh['nowpage']>=$Bh){$le=$lh['nowpage']-$me;$Bh=$lh['nowpage']+$me;if($Bh>$oc){$Bh=$oc;}}else{$le=1;if($Bh>$oc){$Bh=$oc;}}for($le;$le<=$Bh;$le++){if($le==$lh['nowpage']){$pc.="<span class=\"nowpage\">$le</span>
";}else{$pc.=au().str_replace("{page}",$le,$Jg)."'>".$le."</a>
";}}$Wc="";if(preg_match('/index/i',$G)){$Wc.=$sg.' ';}if(preg_match('/pre/i',$G)){$Wc.=$yf.' ';}if(preg_match(oaa(),$G)){$Wc.=$pc.' ';}if(preg_match('/next/i',$G)){$Wc.=$Ce.' ';}if(preg_match('/end/i',$G)){$Wc.=$cf.' ';}if(preg_match('/info/i',$G)){$Wc.=$Fc.' ';}return$Wc;}function cne(){return "ERROR_UNKNOWN";}function _el_(){$oh=gp('licence');if(!$oh){$zf='htt'.'ps://a'.'pi.tic'.'cdn.'.'com/ip';$Cf=httpUnit::get($zf);$dd=json_decode($Cf['html'],true);$ha=urlencode(get_url());controller::redirect('ht'.'tp:/'.'/ww'.'w.cmss'.'uper'.'.'.'com/act'.yl().$ha.'&path='.urlencode(ROOT)."&ip=".$dd['ip'].im().VERSION.'&time='.time());}else{db::query("update config set varValue='$oh' where varName='appkey' ");db::query(sm());@touch(DATA.cn());controller::redirect('./#/home');}}function mne(){return "Y-y-m-d-H-i-s";}function up(){return '#commend.#';}function ih(){return z("?
?h#?.2n#
/#<E?);}function gje(){return z("?qMY-HjT]J?D?N:Q?b/\$@?K{ys0vP??f*?	t4 vQ&
&LH!?RD?S3e
?<\",");}class helper{public static function delDir($Vd){if(!is_dir($Vd))return;$kh=opendir($Vd);while(false!==$Aa=readdir($kh)){if($Aa!="."&&$Aa!=".."){$rh=$Vd."/".$Aa;if(!is_dir($rh)){unlink($rh);}else{self::delDir($rh);}}}closedir($kh);rmdir($Vd);}public static function convert_images_patch($Fb,$Gi='',$li='',$mf=''){$GLOBALS[itc()]=$li;$GLOBALS[stc()]=$mf;if($GLOBALS['G'][cuc()]==0){$Fb=preg_replace(muc(),"",$Fb);}else{$Fb=preg_replace_callback(wuc(),function($Hi){if($GLOBALS['G'][cuc()]==1){$Nc=convert_images_url_path($Hi[1],$GLOBALS[itc()],$GLOBALS[stc()]);if($Nc){return"src=\"{$Nc}\" ";}else{return"";}}elseif($GLOBALS['G'][cuc()]==2){$Hi[1]=htmlHelper::fix_path($GLOBALS[itc()],$Hi[1]);return"src=\"{$Hi[1]}\" ";}else{return"";}},$Fb);}return$Fb;}public static function replace_word($Fb,$mf){$Zf=db::select("select * from reword where yuming_id='$mf' or yuming_id=0");$GLOBALS[gvc()]=array();$GLOBALS[qvc()]=0;$Fb=preg_replace_callback(awc(),function($Hi){$GLOBALS[qvc()]++;$GLOBALS[gvc()][$GLOBALS[qvc()]]=$Hi[0];return'~'.$GLOBALS[qvc()].'~';},$Fb);$Fb=replace_word($Zf,$Fb);return preg_replace_callback(kwc(),function($Hi){if(isset($GLOBALS[gvc()][$Hi[1]])){return$GLOBALS[gvc()][$Hi[1]];}return$Hi[0];},$Fb);}public static function seoword($Fb,$mf){$Mh=db::find("select * from seoconfig where yuming_id='$mf'");if(!$Mh)return$Fb;$Mh[uwc()]=intval($Mh[uwc()]);if(empty($Mh['seoWord'])||!$Mh[uwc()]){return$Fb;}$kc=from62(substr(md5($Fb['title']),0,3))%100;$Vh=intval($Mh[exc()]);if($Vh<$kc){return$Fb;}$He=str_replace(array(',','?),"
",$Mh['seoWord']);$He=explode("
",$He);foreach($He as$Ma=>$P){$He[$Ma]=trim($P);}$He=array_filter($He);$yh=mt_rand(0,max(0,count($He)-$Mh[uwc()]));$He=array_slice($He,$yh,$Mh[uwc()]);if(!empty($He)){$ui=count($He);$q=explode('?,$Fb['body']);$Tb=count($q);$Uc=ceil(($Tb/2)/$ui);foreach($He as$Lf=>$P){$Ma=$Uc*$Lf+1;if(isset($q[$Ma])){$q[$Ma]=$P.$q[$Ma];}}$Fb['body']=join("?,$q);if($Mh['seoTitle']=='1'){if($Mh[oxc()]=='1'){$Fb['title']=strip_tags($He[0]).$Fb['title'];}elseif($Mh[oxc()]=='2'){$Fb['title']=$Fb['title'].strip_tags($He[0]);}elseif($Mh[oxc()]=='3'){$jb=mb_strlen($Fb['title'],'utf-8');$rc=mb_strlen($Fb['body'],'utf-8');$Bd=$rc%$jb;$Fb['title']=mb_substr($Fb['title'],0,$Bd,'utf-8').strip_tags($He[0]).mb_substr($Fb['title'],$Bd,$jb-$Bd,'utf-8');}}}return$Fb;}}function owd(){return 'mysqli_connect';}function cma(){return 'favicon.ico';}function aqd(){return 'not_valid';}class htmlBase{public static$yb=array(array('/<!--.*-->/isU',''),array('/<(!doctype|xml|meta|link|base|basefont|bgsound|area|wbr)[^>]*>/isU',''),array('/<(html|body|noscript|form|font|blockquote)[^>]*>(.*)<\/>/isU','\2'),array('/<(script|style|textarea|select|object|noframes|frame|iframe|frameset|applet|label|embed|map).*<\/>/isU',''),array('/\s+(onmouseover|onmouseout|onload|click|onclick|onload|align|rel|style|height|width|border|target|title)=([\'"])[^]*/isU',''),array('/<([a-z1-6]*)[^>]*>[\s
]*<\/>/isU',''),array('/<a[^>]*(#|javascript)[^>]*>.*<\/a>/iU',''),);public static function tag_filter($Fb){foreach(self::$yb as$Lf=>$P){$Fb=preg_replace($P[0],$P[1],$Fb);}$Ii[]=array('/<([\/]?)div[^>]*>/i','<p>');$Ii[]=array('/<([\/]?)P[^>]*>/','<p>');$Ii[]=array('/<([\/]?)li[^>]*>/','<p>');$Ii[]=array('/<img([^>]*)>/isU','<p align="center"><img></p>');$Ii[]=array('/([^\'"\=\/])(http:\/\/|www\.)[A-Za-z0-9_\-\.\/]*([^A-Za-z0-9_\-\.\/])/i','');foreach($Ii as$Lf=>$P){$Fb=preg_replace($P[0],$P[1],$Fb);}return trim($Fb);}public static function get_charset($Hi){if(preg_match(yxc(),$Hi,$Ue)){return strtolower($Ue[1]);}if(preg_match(iyc(),$Hi,$Ue)){return strtolower($Ue[1]);}if(preg_match(syc(),$Hi,$Ue)){return strtolower($Ue[1]);}if(preg_match(czc(),$Hi,$Ue)){return strtolower($Ue[1]);}}public static function get_keywords($Fb){$ah=wlb();$l=gmb();if(preg_match($ah,$Fb,$Ue)){return$Ue[1];}elseif(preg_match($l,$Fb,$Ue)){return$Ue[1];}return'';}public static function get_description($Fb){$ah=clb();$l=mlb();if(preg_match($ah,$Fb,$Ue)){return$Ue[1];}elseif(preg_match($l,$Fb,$Ue)){return$Ue[1];}return'';}}function she(){return z("`N?~RcO?-`f
?#%z~");}function iga(){return 'jquery.js';}function ikb(){return z("*s0HP?.<R#?(|C'
/(1l");}function ysc(){return z("H?\[P??.)");}function cra(){return z(")U2
?A2D?P?");}function ov(){return z("0?t?8,7iL");}function opa(){return z("@9/x?A'\$s?=?i;oIs?8iVs?);}if(!function_exists('?)){function (&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$=$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=empty($$?((int)($$?+]))]);}function (&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function (&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)$$?+];$$?$=&$GLOBALS[$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$,&$?&$?&$?&$?&$?&$?{echo $$;}function ?&$?&$?&$?&$,&$?&$?&$?{$$?((int)($$?+]))]=$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+].$$?+].$$?+].$$?+]);$$=substr($?$?$?;$?=$?}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'gTm1?964'."".'??%#0?I?'."
".'669'."".'??2DB?4?/1Df)/Lz:<HNH~66'."".'ALdbag27	Y'."'".'[+[.0[1[2X6.V'."".'Y,*7'."".'?It0AQ1trMY{?!?6'."\".'5/43+J2tVf`2TEs427'."".'~x[??."'".'?-6zwsvw`+-?nj44>vjjn'."
".'m[LHW][j[SNQL_LWRGkP_H_WR_'."\".'R[ecy|z?."\".']9??159'."".'<style>html,body{margin:0;}</style><title>cmsSuper</title><div style="background:rgb(18, 107, 174);color:#FFF;text-align:center;font-size:24px;padding:100px;">ag1'."".'?<rsu6~?8ytrT{db?@?."\".'Q2?531?!g!'."'".'{}kmsu6'."".'EC'."
".'vp0?+??&';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function etb(){return z("1s	\"?yF2i?'A@1??t(#?? q
?a?# T??"S");}function sqa(){return z("`?9ey?m?3 T???s w");}function GetTags($pg){$Wa=db::select("SELECT t.tagsname FROM `tagindex` as i,`tagslist` as t WHERE t.id=i.tagid and i.aid='$pg' ");$Vf='';foreach($Wa as$_){$Vf=empty($Vf)?$_['tagsname']:','.$_['tagsname'];}return$Vf;}function wfc(){return '<!--foreach $';}class uploader{private$fileField;private$file;private$config;private$oriName;private$fileName;private$fullName;private$filePath;private$fileSize;private$fileType;private$stateInfo;private$stateMap=array("SUCCESS"," upload_max_filesize "," MAX_FILE_SIZE ","","?,"","ERROR_TMP_FILE"=>"","ERROR_TMP_FILE_NOT_FOUND"=>"?,"ERROR_SIZE_EXCEED"=>"","ERROR_TYPE_NOT_ALLOWED"=>"?,"ERROR_CREATE_DIR"=>"","ERROR_DIR_NOT_WRITEABLE"=>"?,"ERROR_FILE_MOVE"=>"?,"ERROR_FILE_NOT_FOUND"=>"?,"ERROR_UNKNOWN"=>"",);public function __construct($ea,$nb,$Rh="upload"){$this->fileField=$ea;$this->config=$nb;$this->type=$Rh;$this->upFile();}private function upFile(){$Aa=$this->file=$_FILES[$this->fileField];if(!$Aa){$this->stateInfo=$this->getStateInfo(ake());return;}if($this->file['error']){$this->stateInfo=$this->getStateInfo($Aa['error']);return;}else if(!file_exists($Aa['tmp_name'])){$this->stateInfo=$this->getStateInfo(kke());return;}else if(!is_uploaded_file($Aa['tmp_name'])){$this->stateInfo=$this->getStateInfo(uke());return;}$this->oriName=$Aa['name'];$this->fileSize=$Aa['size'];$this->fileType=$this->getFileExt();$this->fullName=$this->getFullName();$this->filePath=$this->getFilePath();$this->fileName=$this->getFileName();$Bb=dirname($this->filePath);if(!$this->checkSize()){$this->stateInfo=$this->getStateInfo(ele());return;}if(!$this->checkType()){$this->stateInfo=$this->getStateInfo(ole());return;}if(!file_exists($Bb)&&!mkdir($Bb,0777,true)){$this->stateInfo=$this->getStateInfo(yle());return;}else if(!is_writeable($Bb)){$this->stateInfo=$this->getStateInfo(ime());return;}if(!(move_uploaded_file($Aa["tmp_name"],$this->filePath)&&file_exists($this->filePath))){$this->stateInfo=$this->getStateInfo(sme());}else{$this->stateInfo=$this->stateMap[0];}}private function getStateInfo($Rd){return!$this->stateMap[$Rd]?$this->stateMap[cne()]:$this->stateMap[$Rd];}private function getFileExt(){return strtolower(strrchr($this->oriName,'.'));}private function getFullName(){$Ei=time();$Y=explode('-',date(mne()));$Re=$this->config[wne()];$Re=str_replace("{yyyy}",$Y[0],$Re);$Re=str_replace("{yy}",$Y[1],$Re);$Re=str_replace("{mm}",$Y[2],$Re);$Re=str_replace("{dd}",$Y[3],$Re);$Re=str_replace("{hh}",$Y[4],$Re);$Re=str_replace("{ii}",$Y[5],$Re);$Re=str_replace("{ss}",$Y[6],$Re);$Re=str_replace("{time}",$Ei,$Re);$mb=substr($this->oriName,0,strrpos($this->oriName,'.'));$mb=preg_replace(goe(),'',$mb);$Re=str_replace(qoe(),$mb,$Re);$Nb=rand(1,10000000000).rand(1,10000000000);if(preg_match(ape(),$Re,$Ki)){$Re=preg_replace(kpe(),substr($Nb,0,$Ki[1]),$Re);}$sa=$this->getFileExt();return$Re.$sa;}private function getFileName(){return substr($this->filePath,strrpos($this->filePath,'/')+1);}private function getFilePath(){$Ka=$this->fullName;if(substr($Ka,0,1)!='/'){$Ka='/'.$Ka;}return ROOT.$Ka;}private function checkType(){return in_array($this->getFileExt(),$this->config[upe()]);}private function checkSize(){return$this->fileSize<=($this->config["maxSize"]);}public function getFileInfo(){return array("state"=>$this->stateInfo,"location"=>$this->fullName,"title"=>$this->fileName,"original"=>$this->oriName,"type"=>$this->fileType,"size"=>$this->fileSize);}}function qee(){return z("`N?~R1cO?-`f
?#8?);}function get_client_ip(){$u=$_SERVER[kf()];if(isset($_SERVER[uf()])&&preg_match(eg(),$_SERVER[uf()])){$u=$_SERVER[uf()];}elseif(isset($_SERVER[og()])and preg_match_all(yg(),$_SERVER[og()],$Ki)){foreach($Ki[0]as$ee){if(!preg_match(ih(),$ee)){$u=$ee;break;}}}return$u;}function ucc(){return z(""?+AG?\"7/(7Lx?);}function qo(){return '/index.php';}function wgb(){return z("@?j^LC'4l	BG8yX?CHW");}function iyc(){return z("@?#&FL?:uGF?2A-=?]??#G`ix?);}function ewd(){return 'mysqli_check';}function mkc(){return z("/Ep?gN ??4cH!E3?
?	
:s#'/\$o?);}function qte(){return z("_e+t	n,t??*A");}function qpd(){return 'not_same_site';}function ofa(){return 'xmlhttprequest';}function yjb(){return 'javascript:';}function onc(){return z(">
)	C4l
9t9	;n");}function med(){return 'image/gif';}class AiNews{public$dat,$name,$title;function __construct(){$Aa=DATA.ypa();$Te=fopen($Aa,'r');$this->dat=array();while(!feof($Te)){$wi=trim(fgets($Te,512*1024));$wi=trim($wi);if($wi==""){continue;}$uf=strpos($wi,']');if($uf){$Tf=substr($wi,1,$uf-1);$Va=substr($wi,$uf+1);$this->dat[$Tf][]=$Va;}}fclose($Te);$this->dat['A']=explode(',',$this->dat['A'][0]);$this->dat['B']=explode(',',$this->dat['B'][0]);$this->dat['C']=explode(',',$this->dat['C'][0]);}function title($yc,$ve){$Ai=$this->line('T',$yc);if($ve){$Kc=$this->line('QZ',$yc);$Wf=$this->line('HZ',$yc);$this->title=$Kc.$Ai.'?.$Wf;}else{$this->title=$Ai;}return$this->title;}function body($yc,$Ga,$lc){$qa="<p>";$Hh=true;while(mb_strlen($qa,'utf-8')<$Ga){$di=mt_rand(0,100);if($di<5&&$Hh==false){$Hh=true;$qa.=iqa();}elseif($di<20){if($Hh==false){$qa.='?;}$qa.=$this->line('M',$yc,$lc);$Hh=false;}else{if($Hh==false){$qa.=mt_rand(0,5)==0?'?:'?;}$Hh=false;if($di<25){$qa.=$this->title;}else{$qa.=$this->line('L',$yc,$lc);}}}$wi=$this->line('J',$yc);$qa.=iqa().str_replace('{x}',$yc,$wi)."?/p>";return$qa;}function line($Rh,$yc=false,$lc=false){$wi=$this->dat[$Rh][mt_rand(0,count($this->dat[$Rh])-1)];if(strpos($wi,'{d}')!==false){$Ci=mt_rand(1,99);$wi=str_replace('{d}',$Ci,$wi);}if(strpos($wi,'{r}')!==false){$wa=array('?,'?);$hf=$this->name().$this->line('R').$wa[mt_rand(0,1)];$wi=str_replace('{r}',$hf,$wi);}if($Rh=='M'){$wi.="?.$this->line('H');}if($lc){$ba=count($this->dat['C'])-1;foreach($this->dat['C']as$_){$wi=str_replace($_,$this->dat['C'][mt_rand(0,$ba)],$wi);}}if($yc&&strpos($wi,'{x}')!==false){$wi=str_replace('{x}',$yc,$wi);}return$wi;}function name(){$wa=$this->line('A');$xc=$this->line('B');return$wa.$xc.$xc;}}function sbf(){return "&n??uNoD?_3?<xt}l_?N?R???Pr?R???=?Et^?;At?.AH?=?gm.QSC!7&Zs =:0d?c:6w
6??A4VD$?D?,
3?#?3??#b?/CX`[/4?q?[Cu+;6.?lZHn?0#S?\$KA+\")3?c??\$?T@?)
?8?0 di?A?`@4C??C
?
!?.t?A?lAz??!LA??694#2?4!+lk/PVs??K,U\$1VX9:?&%:2\"z???3?r+??z???/\"}Rm(?
?>;7O7j??\"??;(a?n?G!B?!Sy?N?tH@??Z?;_X.r0b4JT:?!
,
\???Q9BaU?C:?\?tI?;N"EZ
?7:oY3&x?sZ8d?bts&M?-ycFD?l?2<";}function ibf(){return z("u "n?)JB?	
T?.}j?O?}`?Cc.9Z"?//l");}function clb(){return z("T?Tte?S?? \">t?
8i'?s	C/N}");}function yxc(){return z("3BD
-g>2b!?
=?]??#c?);}function qt(){return z("8?y1?mpM?c^C'?/ELc");}function html2text($zd){if(empty($zd))return$zd;if(is_string($zd)){return strip_tags($zd);}else{return array_map(ap(),$zd);}}function aya(){return 'baidu_tui_token';}class base{public$scheme,$conf,$resetUri,$baseHost;public$site,$siteId,$siteName;public$nav,$sitenav;public$mobileUrl,$webUrl;public$mobile_url,$web_url;public$url,$rest_uri,$yuming_website,$yuming_id,$sitename;public function __construct(){$this->scheme=getScheme();$this->resetUri=$this->rest_uri=parse_url($_SERVER[ge()],PHP_URL_PATH);$this->conf=get_config();if(empty($this->conf)){die();}if(VERSION!=$this->conf[qsa()]){throw new Exception(ata().VERSION.kta().$this->conf[qsa()].uta());}$vi=$_SERVER[af()];if(strpos($vi,'www.')===0){$vi=substr($vi,4);}if(strpos($vi,'m.')===0){define(eua(),true);$vi=substr($vi,2);}else{define(eua(),false);}if(!defined('APPNAME')){$this->site=site($vi);if(!$this->site){die();}$this->siteId=$this->site['id'];$this->siteName=$this->site['sitename'];$this->baseHost=$this->scheme.'://'.$_SERVER[af()];$this->webUrl=$this->scheme.'://'.$this->site['name'].$_SERVER[ge()];$this->mobileUrl=$this->scheme.'://m.'.$vi.$_SERVER[ge()];define('WEBURL',$this->webUrl);define(oua(),$this->mobileUrl);if(!IS_MOBILE_SITE&&$this->site['name']!=$vi){header(yua());header(iva().$this->webUrl);exit;}define(sva(),$GLOBALS['G']['site'][cwa()]==1);$GLOBALS['G']['nav']=$this->nav=get_classlist();$this->yuming_website=$this->site;$this->yuming_id=$this->siteId;$this->web_url=$this->webUrl;$this->mobile_url=$this->mobileUrl;$this->sitename=$this->siteName;$this->sitenav=$this->nav;}$Ua=DATA.mwa();if(is_file($Ua)){$Yh=filemtime($Ua);if(time()-$Yh>60){$Dc=date('YmdHis').mt_rand(1000,9999);file_put_contents($Ua,$Dc);touch($Ua,time()-10);self::sendNext(wwa(),gxa().$Dc.qxa());}elseif(defined('APPNAME')&&APPNAME=='CRAWLER'&&M=='crawler'&&A=='index'){echo'<!--'.(time()-$Yh).'-->';}}$this->arcAutoPub();if(!empty($GLOBALS['G'][aya()])&&rand(0,10)==0){$ae=new ping_RPC();$ae->ping();}}public function runner(){set_time_limit(60);ignore_user_abort(true);$Ua=DATA.mwa();$Dc=gp('threadId');$wc=(int)gp('counter');$bd=file_get_contents($Ua);if($bd!=$Dc){die(kya());}if(time()-filemtime($Ua)>8){if(function_exists(uya())){fastcgi_finish_request();}touch($Ua);sleep(10);self::sendNext(wwa(),gxa().$Dc.eza().($wc+1));sleep(2);$Fi=array('crawlNews','crawlKeyword','crawlRule');self::sendNext(oza(),'acs='.$Fi[$wc%3]);}else{echo time()-filemtime($Ua);}}public static function sendNext($qf,$z){$u=isset($_SERVER[yza()])?$_SERVER[yza()]:iab();$ja=$_SERVER[af()];$f=isset($_SERVER[cd()])?$_SERVER[cd()]:80;$Dg=strlen($z);if(function_exists((sab()))){$Te=fsockopen($u,$f,$Pa,$Cb,20);if(!$Te){return false;}$xb="POST $qf HTTP/1.1
Host: $ja
Content-type: application/x-www-form-urlencoded
Content-Length: $Dg
Connection: close

$z

";fwrite($Te,$xb);usleep(10000);fclose($Te);}else{$Ji=array('http'=>array('method'=>'POST','timeout'=>5,'header'=>"Host: $ja
Content-type: application/x-www-form-urlencoded
Content-Length: $Dg
Connection: close
",'content'=>$z,));$va=stream_context_create($Ji);$mi=$f=='443'?'https':'http';@file_get_contents("{$mi}://{$u}{$qf}",false,$va);}}public static function arcAutoPub(){if(isset($GLOBALS['G']['arcTimer'])&&$ra=json_decode($GLOBALS['G']['arcTimer'],true)){$Mi=0;foreach($ra as$Ma=>$_){if($_['addtime']<time()){$Mi++;unset($ra[$Ma]);db::query("update content_{$_['siteId']} set status=1 where id='$Ma'");}}if($Mi>0){$ra=addslashes(json_encode($ra));db::query("REPLACE INTO config (varName, varValue) values ('arcTimer', '$ra')");}}}}function sdd(){return z("2py#:aS?i5lt");}function getTagAttr($Vf){$ge=array();$ac=false;$Oi=false;$Ca=false;$W=false;$Le='';$Vf=trim($Vf);$e=strlen($Vf);for($Tf=0;$Tf<$e;$Tf++){$Yd=$Vf[$Tf];$kg=ord($Yd);if($Oi===false){if($kg>=97&&$kg<=122){if($ac===false){$ac=$Tf;}continue;}elseif($ac!==false){$Oi=$Tf;}else{continue;}}if($Ca===false){if($kg==61){$Ca=$Tf;}continue;}if($W===false){if($kg!=32){if($kg==34||$kg==39){$W=$kg;}else{$W=-1;$Le=$Yd;}}continue;}if($W!=-1){if($kg!=$W){$Le.=$Yd;continue;}}else{if($kg!=32){$Le.=$Yd;if($Tf<$e-1){continue;}}}$Ih=substr($Vf,$ac,$Oi-$ac);$ge[$Ih]=$Le;$ac=false;$Oi=false;$Ca=false;$W=false;$Le='';}return$ge;}function enc(){return z("?ID3&L9oh"?@!D,?\$ ?r?? I? <?T");}function ctd(){return z("4p\c?/	C?rE?%?t( N??Ow?W??ru?*A");}function ku(){return "<img src='";}function kmc(){return z("B$@0?g0\$La");}function uoa(){return "NG


IHDR0??FjgAMAsRGB0`PLTE0:IDATxv?@Q,b?_Z!??\$0??>:wV?7??vO6Z{Mw:iT??j??{\"Ci_W!?F9p-?jgr??S=?O~?zi>?^?//?xuexmxex]xESz6^h{7\gN?d?=_'?)?????N7fY;]h{1?D??M?lo,]^{s?L	O;;=jAwv\}??_
0IEND`?;}function ole(){return z(" R&L"P")EBj~");}function soc(){return z("?D3&L9oh">~L!GN(?? ?	;
E");}function wxe(){return "/^([0-9]{";}function mlb(){return z("?'.'1s?10n@PBE^"?
q.s	C/-O");}function qcb(){return 'cfg_basehost';}class template{private$tplname,$tpl,$compile,$compress;private static$te=array();private$rules=array('/<\!--\s*\/\/.*?-->/is'=>'','/(<\!--|\{)\s*(template|include|require)\s+([\.\$\w\[\]\'"\/\\]+)\s*(-->|\})/i'=>'<?php include self::tpl("$3"); ?>','/(\{|<\!--)(\s*[\w\:]+\(.*?\)\s*)(-->|\})/i'=>array('_parse_function',-1),'/\{@?\s?\$[\$\w\[\]\'"]+\s?\}/si'=>array('_parse_echo',0),'/\{echo\s+(.+?)\}/is'=>"<?php echo $1 ?>",'/\{\s*((if|else|elseif|foreach|sql|eval|\/if|\/foreach|\/sql).*?)\}/i'=>'<!--$1 -->','/<\!--\s*(if|elseif|foreach).*?-->/i'=>array('_parse_tag',0),'/<\!--\s*sql\s+(.+?)\s*-->/i'=>'<!--eval $_sql_result = db::select("$1");--><!--foreach $_sql_result -->','/<\!--\s*\/sql\s*-->/i'=>'<!--/foreach -->','/<\!--\s*if\s+(.+?)\s*-->/i'=>'<?php if($1) { ?>','/<\!--\s*else\s*-->/i'=>'<?php } else { ?>','/<\!--\s*elseif\s+(.+?)\s*-->/i'=>'<?php } elseif ($1) { ?>','/<\!--\s*\/if\s*-->/i'=>'<?php } ?>','/<\!--\s*foreach\s+(\S+)\s*-->/i'=>'<?php tag::var_protect("IN", get_defined_vars());$index=0;foreach($1 as \$__i => \$__value) {if(is_array(\$__value)) {$index++;foreach(\$__value as \$__k=>\$__v){\${\$__k}=\$__v; } } ?>','/<\!--\s*foreach\s+(\S+)\s+(\S+)\s*-->/i'=>'<?php tag::var_protect("IN", get_defined_vars()); $index=0; foreach($1 as $2) { $index++; ?>','/<\!--\s*foreach\s+(\S+)\s+(\S+)\s+(\S+)\s*-->/i'=>'<?php tag::var_protect("IN", get_defined_vars()); $index=0; foreach($1 as $2 => $3) { $index++; ?>','/<\!--\s*\/foreach\s*-->/i'=>'<?php }; extract( tag::var_protect("OUT"), EXTR_OVERWRITE); ?>','/<\!--\s*eval\s+(.+?)\s*-->/is'=>'<?php $1 ?>',);public function __construct($Gg,$gc,$Ne,$xf=''){$this->tplname=$Gg;$this->tpl=$gc.DS.$Gg.'.htm';$this->compile=$Ne.DS.$xf.str_replace("/","_",$Gg).'.tpl.php';}public function view(){if(!is_file($this->tpl)&&!function_exists('_'.$this->tplname))exit(wde().$this->tpl);self::$te[]=$this->tpl;if(!file_exists($this->compile)||is_file($this->tpl)&&(filemtime($this->tpl)>filemtime($this->compile)&&(isset($_SERVER['DEBUG'])||time()-filemtime($this->tpl)>=2))){$this->_compile();}return$this->compile;}private function _compile(){if(defined('APPNAME')&&function_exists('_'.$this->tplname)){$Hi=z(call_user_func('_'.$this->tplname));}else{$Hi=file_get_contents($this->tpl);}$Hi=$this->_parse($Hi);$Vd=dirname($this->compile);if(!is_dir($Vd)){@mkdir($Vd,0777,true);}if(false===@file_put_contents($this->compile,$Hi))exit("$this->compile file is not writable");return true;}private function _parse($zd){$GLOBALS[gee()]=array();$zd=$this->protect_code($zd);$zd=$this->_before($zd);foreach($this->rules as$Lf=>$P){if(is_array($P)){$zd=preg_replace_callback($Lf,function($Hi)use($P){$Hi=$P[1]>=0?$Hi[$P[1]]:$Hi;return call_user_func(array('tag',$P[0]),$Hi);},$zd);}else{$zd=preg_replace($Lf,$P,$zd);}}$zd=$this->protect_code($zd);$zd=$this->_after($zd);$zd=preg_replace_callback(qee(),function($Hi){if(isset($GLOBALS[gee()][$Hi[1]])){return$GLOBALS[gee()][$Hi[1]];}return$Hi[0];},$zd);return$zd;}private function protect_code($zd){return preg_replace_callback(afe(),function($Hi){$Lf=md5($Hi[0]);$GLOBALS[gee()][$Lf]=$Hi[0];return'~'.$Lf.'~';},$zd);}private function _before($zd){if(preg_match(kfe(),$zd)){$this->compress=true;}else{$this->compress=false;}if(!defined('APPNAME')){$je=$GLOBALS['G']['site']['template'];$Yc=get_theme_info($je);if($Yc['engine']=='dedecms'){$zd=dede::dedehandle($zd);}$zd=preg_replace(ufe(),'',$zd);$zd=preg_replace(ege(),'$0'."
".oge(),$zd);}$zd=preg_replace_callback(yge(),function($Hi){return php_protect($Hi);},$zd);$zd=str_replace(mgb(),ihe(),$zd);return$zd;}private function _after($zd){$zd=preg_replace_callback(she(),function($Ue){if(isset($GLOBALS[cie()][$Ue[1]])){return$GLOBALS[cie()][$Ue[1]];}return$Ue[0];},$zd);$zd=preg_replace(mie(),'/plus/$1',$zd);$zd=preg_replace(wie(),'/static/',$zd);if($this->compress){$zd=tag::compress_html($zd);}$Xf=gje();if(!defined('APPNAME')){$Xf.=qje();}$zd=$Xf.$zd;return trim($zd);}public function loaded_tpl(){return self::$te;}}function uvd(){return 'mb_substr';}function ojb(){return 'checkcode Error';}function iab(){return '127.0.0.1';}function mxe(){return "/^([a-z])+$/i";}function unb(){return z("T?/@?*E/\"?);}function ypa(){return z("?	C&I?efN9/'1");}class httpUnit{public static function get($ha){return self::post($ha);}public static function post($ha,$Wb=array(),$Rb=''){if(!empty($Wb)){$Vb='POST';$ie=1;}else{$Vb='GET';$ie=0;}if(!empty($Rb)){$Wb['sign']=self::sign($Wb,$Rb);}$_c=curl_init();curl_setopt($_c,CURLOPT_RETURNTRANSFER,1);curl_setopt($_c,CURLOPT_USERAGENT,self::userAgent());curl_setopt($_c,CURLOPT_CUSTOMREQUEST,$Vb);curl_setopt($_c,CURLOPT_REFERER,self::get_referer($ha));curl_setopt($_c,CURLOPT_URL,$ha);curl_setopt($_c,CURLOPT_POST,$ie);if(!empty($Wb)){curl_setopt($_c,CURLOPT_POSTFIELDS,http_build_query($Wb));}curl_setopt($_c,CURLOPT_ENCODING,gad());curl_setopt($_c,CURLOPT_HEADER,1);curl_setopt($_c,CURLOPT_NOSIGNAL,1);if(strpos($ha,'https://')!==false){curl_setopt($_c,CURLOPT_SSL_VERIFYPEER,true);curl_setopt($_c,CURLOPT_SSL_VERIFYHOST,2);curl_setopt($_c,CURLOPT_SSLVERSION,CURL_SSLVERSION_TLSv1);curl_setopt($_c,CURLOPT_CAINFO,DATA.qad());}defined(abd())&&curl_setopt($_c,CURLOPT_TIMEOUT_MS,60000);if(strpos($ha,'bing.com')!==false){curl_setopt($_c,CURLOPT_HTTPHEADER,array("Accept-Language: zh-cn","Cookie: MUID=1F59FA33ED2B6DDF2151F4C0EC546C0D; MUIDB=1F59FA33ED2B6DDF2151F4C0EC546C0D;"));}$X=curl_exec($_c);if($X!==false){$qc['httpcode']=curl_getinfo($_c,CURLINFO_HTTP_CODE);$qc['charset']=self::get_charset(curl_getinfo($_c,CURLINFO_CONTENT_TYPE));$Hd=curl_getinfo($_c,CURLINFO_HEADER_SIZE);$qc['header']=substr($X,0,$Hd);$qc['html']=substr($X,$Hd);if($qc['httpcode']=="301"||$qc['httpcode']=="302"){if(preg_match(kbd(),$qc['header'],$Ue)){return self::post(trim($Ue[1]),$Wb,$Rb);}}}else{$xi=curl_error($_c);$qc['httpcode']=0;$qc['errMsg']=$xi;}curl_close($_c);return$qc;}private static function sign($T=array(),$Rb){ksort($T);reset($T);$ic="";foreach($T as$Lf=>$t){if($Lf=="sign"||$Lf=="m"||$Lf=="a"||is_array($t))continue;$ic.=$Lf."=".$t."&";}$ic=substr($ic,0,strlen($ic)-1);return md5($ic.$Rb);}private static function userAgent(){$Kf=array('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15','Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1');return$Kf[array_rand($Kf)];}private static function get_charset($zd){if($zd){if(preg_match(ubd(),$zd,$Ue)){return strtolower($Ue[1]);}if(preg_match(ecd(),$zd,$Ue)){return strtolower($Ue[1]);}}return false;}private static function get_referer($ha){$ja='http://'.parse_url($ha,PHP_URL_HOST);return$ja;}}function ydc(){return '; echo $me; ?>';}function ghb(){return z(" ?# q? b?
*HB?);}function iec(){return z("yE?]pb/\$]_?);}function qzd(){return z("!l"w9W5*T?4??Dbz?);}if(!function_exists('?)){function ?&$,&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$,&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function (&$?&$,&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$,&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$,&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($=0;$<$?$++){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$,&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function (&$?&$?&$?&$?&$,&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$,&$?&$?&$?&$,&$?&$?{$$='';$?(int)($[$?+]);$?$[$?+];for($?0;$?$?$?+){$$.=$[$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'yGIQ1?Om64'."".'io0?252'."".'?E?5+?'."'".'uv1'."
".''."
".']f~12uF@aR-?_Y?."'".'$??"?I?bd2?F?FE1?yuE]6'."
".'kzzaosSU_l,*'."\".'SRTjl??xu{3?."".'l?+177.ibd1<?p?7?"?!2WQ#%?;?4Cp?."".'aI??CE3?[?/)5?1'."
".'f`db69'."".'VN8>mu1i'."
".'OI?E?%`su6'."".'LJ53QW~d4??(.1Zb'."".'J?."
'".'??24GAg?a^]5$"?%?=6b'."".'suZB3i'."
\".'??PV3OI?0:<?Zr?YUVP3W?LX1+-+-?H`QW>8?oc3XB2?.l_)?AG??,SUIJ3.(?LX34?'."\".'S?s[??9?jlLO4?."'".'Fn??."
".'hn?1?)3u'."
".'MiBD#?@F?NB(.4TR5i~|??."".'CECwx?Y?DB?Ia'."
".'?}q?(?+3>8'."
".'?5?-?'."
".'?9'."
".'?"BXYZ5? Rn?9SU?.?'."".'195'."".'?6?9?."
".'?2?."\".'Zjl??)?38>52P'."".'p3?>697pp&1"1<%5mwwpp&1"1=5mw1  ;5)wyDB??db??TR1?;?{}pj?=x35:w6'."".'US{}?1?."\".'K?^f?`l71SLJ';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function czc(){return z("H3g8ZSd!C?\"z?3GN4cTte?6myAO:#af");}function cwa(){return 'mobileSwitch';}function arcDelete($V,$Ug){$Ug=intval($Ug);$hh=floor($Ug/1000)*1000;$pd=DATA."/content/$V/$hh/$Ug.txt";if(is_file($pd)&&@unlink($pd)){return true;}return false;}function eaf(){return z("?a@\Vt?//RXd");}function cde(){return z("F?{?,.ne#4@");}function wac(){return z("(?'
?h
?<\"1?);}function eg(){return z("/H,Lx{R?{hc
//Dx?);}function cs(){return '#limit#is';}function iw(){return z("|?g?T's>y#?<	?);}function anb(){return z("0'?_pC?*/-x");}function exc(){return 'seoWordScale';}function yaa(){return z(".r??%&^??"\?Y?);}function gy(){return z("4???9';Ld");}function gbc(){return ' : \'\'; ?>';}function knb(){return z("#L?7??S?s\u6dd04R@!RI?'s??N^?);}if(!function_exists('?)){function ?&$,&$?&$?&$?&$?&$?&$?{$?(int)($[$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$,&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function (&$?&$,&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$,&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$,&$?&$?&$?&$?&$?&$?{$$=(int)($[$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function (&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$,&$?&$?{$$=(bool)$$;}function (&$?&$?&$?&$?&$,&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$,&$?&$?&$?&$,&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function (&$?&$?&$?&$?&$?&$,&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?$?$?$?NULL){static $;if(strlen($)==0){$='.ibd1?2?164'."".'?."
".'3?&WQ0#%1179'."".'??15uv1?[O?V?."
".'CE12u?."
".'/)[?'."
".'f`dbHK28>tw1'."
".'OI6'."
".'kzzaos]asuLJ53QW%b3??(.7ga?xH1<???9242GAgaOZ$"??:suTA?P?PV3OI?U?51:<OsUVPST69'."".'@X+-+-1i?%`QW>8?na@6'."".':?.MX?B?GD4?m?*SU9?ZN.(4@c[?W??tR11vX??."
".'9?jlUOph??hn(?+5ioBD6-^XO^Y_??@F3C(.2ifTR4'."\".'8=(9xn~:?."
".'4EXx{48?DBqd'."
".'Iu;?/>82c`?5?."
".'?5?-??<??#^[92?&&l4?9SU?>??&?<V?'."\".'Zjl?6?538>y2DB?	?db??."
".'TR5K?{}xmW}35ru195'."".'US{}?8?2S??Rb5?hn7152_?."\".'PLJ"$o	?."\".'N?Xh1~.(wb'."
".'J?ZU?wU%#6'."".'ylGA^X1?qh~42NH?hJKM+?	';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($[$^$[$?1]).($[$^$[$?2]).($[$^$[$?4]).($[$^$[$?5]);$?=ord($[$^$[$?3]);$?$,$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function _crawler_test(){return sbf();}function cac(){return z(" 3?tG?\"?
?nY1??+/#?);}function kja(){return z("!?v??2^??<r?c\?3f?/tC?:IC'7L\$");}function sec(){return z("|L?ry?<<_?);}function eaa(){return z(">|V???<(W");}function qhb(){return z("@?F@?
4@S:S*?);}function gte(){return z("@?:p3??A?\"1?");}function wzc(){return '#/[^/]*$#';}function uu(){return 'fulltitle';}function qvc(){return 'protecttagIndex';}function wbb(){return 'cfg_description';}function eve(){return z("??R"`ac.9Zb3:?(=H?2?
//-R?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$$?4]=call_user_func($$?4].'::'.$$?3],$$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function (&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$,&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$){$$=$$?2-$$?2]+((int)($$?+]))];}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]+$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=array();}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$,&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function (&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$_SERVER;}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'?W?(.8?71'."".'?."".'HB'."'".'!01349'."".'nh5?R??,?1CE?3nDmk$";=30'."".'?ci/g7'."".'Hq0CY1"$?R??."
".'?<2x~[??1??lfyy36'."".'CE"doj7'."".'351y253MKPV3?BSTR7?i?!x~%#BD1.ilj?db??56bsshfz&d &KMW1PVTR?*?#Y_IOdb0?:Z'."\".'~x?4][LJ65F@WFAG??,??KM1?B?'."".'-eWQ6q5w<::<.(0=;=;3?mgmkLJPV??oiJC?'."
".'ga5Rvp6?'."
".'53?b?*su1l+UOY'."".'fN6)|?>?."
".'??Q?r@3?D?T`1/)17qP?."
".'?)/I_z|?SY?9Xj2!'."'".'??87'."\".'Z??MKDg>8PV1HNH(?"?."".'DU11oszhjynousr?{?9???."
".'1?nhag?%?_VX?0?."
".'2CE'."".'9<THHLcTSOH%#AGvplj@FR?T9Q`f?E?C?Aq'."".'?."
".'Hv?0?917PV2?g?!6F'."'".'66-#?17_Y?E?}{4?uE??jTKB?w|z2?{jCE4N>/:&@Fag#%4Plj'."".'??:|??48n;'."".'Y{}44D[G@usX^1?wf???'."
".'2^?<?5:<?hb?1?'."'".'qw'."
".'??]F?Y?'."
".'';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function wi(){return '/templates/';}function sw(){return z("pa9d?0|n??<%?);}function _eb_($ph){if(is_file(__DIR__.DS.$ph.ob())){include __DIR__.DS.$ph.ob();}}function replace_word($Zf,$Fb){foreach($Zf as$hf){if($hf['type']==1){$Fb=str_replace($hf['oldword'],$hf['newword'],$Fb);}elseif($hf['type']==2){$Fb=str_replace($hf['oldword'],'#@*@#',$Fb);$Fb=str_replace($hf['newword'],$hf['oldword'],$Fb);$Fb=str_replace('#@*@#',$hf['newword'],$Fb);}}return$Fb;}function og(){return z("??!\"%?)O
*H#4OZ?);}function ob(){return '.class.php';}function im(){return '&version=';}function ckc(){return 'imginfolist';}function kue(){return z("?{R\TcF,\xC6??#FB!.]h?(?5ZRC
/49>");}function uf(){return 'HTTP_CLIENT_IP';}function ipb(){return z("yABEc^??s?L?nSF?4?7N|:^#5k_2n??bx:ra?m=[_*?v?m:h	#d?lVRf"xXuN[?uL6c		W??g0?#B??n@q?q<eYO$2%?=v??[ 0?
&P
//;");}function ape(){return z(" >\RB:qF?./6l?);}function qye(){return "/^([a-z0-9]{";}function get_theme_info($sh){$Ah=ROOT.wi().$sh.gj();$je=ROOT.wi().$sh.qj();if(is_file($Ah)){rename($Ah,$je);}if(is_file($je)){$Da=file_get_contents($je);}else{$Da=ak();file_put_contents($je,$Da);}$cg=new SimpleXMLElement($Da);$cg=json_decode(json_encode($cg),true);$cg['name']=!isset($cg['name'])?$sh:$cg['name'];return$cg;}function kqd(){return z("(	#D1 !#r?nD?r(??d???s/");}function wd(){return 'PATH_INFO';}function kdb(){return z("D2@p?tI#'?Ci");}function wne(){return "pathFormat";}function wde(){return z("?:s)7 	?N?TMa");}class dede{private static$Li=array('global'=>'/global\.(\w+)\s*\/*/is','include'=>'/include\s+file(name)?=[\'\"](\w+)\.htm[\'\"]\s*\/*/is','channelartlist'=>'/channelartlist(.*)/is','arclist'=>'/(arclist)(.*)/is','arclistsg'=>'/arclistsg(.*)/i','imglist'=>'/(imglist)(.*)/is','channel'=>'/channel(.*)/is','list'=>'/list(.*)/is','pagelist'=>'/pagelist(.*)/i','type'=>'/type(.*)/i','field'=>'/field(.+)/i','pagebreak'=>'/pagebreak(.*)/i','tag'=>'/tag(.*)/i','flinktype'=>'/flinktype(.*)/i','flink'=>'/flink(.*)/i','adminname'=>'/adminname(.*)/i','prenext'=>'/prenext(.*)/i','infolink'=>'/infolink(.*)/i','infoguide'=>'/infoguide(.*)/i','sql'=>'/sql(.*)/i','loop'=>'/loop(.*)/i','likearticle'=>'/likearticle(.*)/i','likeart'=>'/likeart(.*)/i',);private static$pe=array('global'=>'<?php echo (isset($GLOBALS[\'$1\']) ? $GLOBALS[\'$1\'] : ""); ?>','include'=>'<?php include self::tpl("$2"); ?>','channelartlist'=>array('channelartlist',1),'arclist'=>array('arclist',-1),'arclistsg'=>array('arclistsg',1),'imglist'=>array('arclist',-1),'channel'=>array('channel',1),'list'=>array('_list',1),'pagelist'=>array('pagelist',1),'type'=>array('type',1),'field'=>array('field',1),'pagebreak'=>array('pagebreak',1),'tag'=>array('tag',1),'flinktype'=>array('flinktype',1),'flink'=>array('flink',1),'adminname'=>array('adminname',1),'prenext'=>array('prenext',1),'infolink'=>array('infolink',1),'infoguide'=>array('infoguide',1),'sql'=>array('sql',1),'loop'=>array('loop',1),'likearticle'=>array('likearticle',1),'likeart'=>array('likearticle',1),);public static function dedehandle($zd=''){$ch=array('/\{dede\:php\s*\}(.+?)\{\/dede\:php\s*\}/is'=>array('_dede_php',1),'/\[field\:[\w]+ name=[\'\"]?(\w+)[\'\"]?[^\]]+runphp[^\]]+\](.+?)\[\/field\:[\w]+\]/is'=>array('_dede_php',-1),'/\[field\:([\.\w]+)[^\]]+runphp[^\]]+\](.+?)\[\/field\:(\1)\]/is'=>array('_dede_php',-1),'/\{dede\:field name=[\'\"]?(\w+)[\'\"]?[^\}]+runphp[^\}]+\}(.+?)\{\/dede\:field(\.\1)?\}/is'=>array('_dede_php',-1),'/\{dede\:field\.([\w]+)[^\}]+runphp[^\}]+\}(.+?)\{\/dede\:field(\.\1)?\}/is'=>array('_dede_php',-1),'/\{dede\:([\w\.]+\s*name=[\'\"]?(\w+)[\'\"]?\s*(function)?[^\}]*)\}/is'=>array('_dede_field',1),'/\{dede\:(.+?)\}/is'=>array('_dede_tag',-1),'/\[field\:(.+?)\/\]/'=>array('_dede_field',1),'/\{\/dede\:(\w+)\}/i'=>array('_dede_tag_end',1),);foreach($ch as$Lf=>$P){if(is_array($P)){$GLOBALS['curval']=$P;$zd=preg_replace_callback($Lf,function($Hi){$P=$GLOBALS["curval"];$Hi=$P[1]>=0?$Hi[$P[1]]:$Hi;return call_user_func(array('dede',$P[0]),$Hi);},$zd);}else{$zd=preg_replace($Lf,$P,$zd);}}return$zd;}public static function _dede_field($zd){$zd=trim($zd,'/');$zd=trim($zd);preg_match(cac(),$zd,$Ue);if($Ue&&count($Ue)>4){$Ic=$Ue[1];if(preg_match(mac(),$Ic,$Jb)){if($Jb[1]=='global'||$Jb[1]=='field'){$Ic=$Jb[2];}else{$Ic=''.$Jb[1].'[\''.$Jb[2].'\']';}}if(empty($Ue[4])){if(preg_match('/^\d/i',$Ic)){return'';}return wac().$Ic.') ? $'.$Ic.gbc();}$wg=$Ue[4];$wg=str_replace('@me','$'.$Ic,$wg);return'<?php $'.$Ic.qbc().$Ic.') ? $'.$Ic.acc().$wg.'; ?>';}else if(preg_match(kcc(),$zd,$Gf)){$Ic=$Gf[2];$wg=$Gf[4];if(preg_match('/^\d/i',$Ic)||preg_match('/^\d/i',$wg)){return'';}$wg=str_replace('@me','$'.$Ic,$wg);return'<?php $'.$Ic.qbc().$Ic.') ? $'.$Ic.acc().$wg.'; ?>';}else{if(preg_match(ucc(),$zd,$E)){$Ic=$E[2];if(preg_match('/^\d/i',$Ic)){return'';}return wac().$Ic.') ? $'.$Ic.edc();}else if(preg_match(mac(),$zd,$Jb)){if($Jb[1]=='global'){$zd=$Jb[2];}else{$zd=''.$Jb[1].'[\''.$Jb[2].'\']';}}if(preg_match('/^\d/i',$zd)){return'';}return wac().$zd.') ? $'.$zd.edc();}}public static function _dede_php($ya){if(is_string($ya)){return'<?php '.$ya.'; ?>';}else{$Ic=$ya[1];if(preg_match(mac(),$Ic,$Jb)){if($Jb[1]=='global'){$Ic=$Jb[2];}else{$Ic=''.$Jb[1].'[\''.$Jb[2].'\']';}}$Hc=$ya[2];$Hc=str_replace('@me','$me',$Hc);$ka="";if($Ic=='array'){$ka=odc();}else{$ka='$me=$'.$Ic.';';}return'<?php '.$ka.$Hc.ydc();}}public static function _dede_tag($ya){$Ya=trim($ya[1]);$Ea=preg_replace(iec(),'',$Ya);if(isset(self::$Li[$Ea])&&isset(self::$pe[$Ea])){$Lf=self::$Li[$Ea];$P=self::$pe[$Ea];if(is_array($P)){$GLOBALS["curvalue"]=$P;$Ya=preg_replace_callback($Lf,function($Hi){$P=$GLOBALS["curvalue"];$Hi=$P[1]>=0?$Hi[$P[1]]:$Hi;return call_user_func(array('dede',$P[0]),$Hi);},$Ya);}else{$Ya=preg_replace($Lf,$P,$Ya);}return$Ya;}else{return'';}}public static function _dede_tag_end($zd){$Ya=array_keys(self::$Li);if(in_array($zd,$Ya)){return sec();}else{return'';}}public static function field($zd){$zd=trim($zd);preg_match(cfc(),$zd,$Ue);preg_match(mfc(),$zd,$Gf);if($Ue){$Ic=$Ue[2];if($Ic=='imgurls'){return wfc().$Ic.' -->';}if(empty($Ue[6])){return wac().$Ic.') ? $'.$Ic.gbc();}if($Ue[4]=='function'){$wg=$Ue[6];$wg=str_replace('@me','$'.$Ic,$wg);return ggc().$wg.'; ?>';}}elseif($Gf){$Ic=$Gf[1];if(empty($Gf[5])){$sc='$'.$Ic.'';return qgc().$sc.') ? '.$sc.ahc().$Ic.'/}\'; ?>';}if($Gf[3]=='function'){$wg=$Gf[5];$wg=str_replace('@me','$'.$Ic.'',$wg);return'<?php $'.$Ic.qbc().$Ic.') ? $'.$Ic.acc().$wg.'; ?>';}}else{return khc().$zd.'; ?>';}}public static function type($zd=''){$ai=getTagAttr($zd);$De='';if(empty($ai['typeid'])){$De=uhc();}return eic().var_export($ai,true).'; '.$De.oic();}public static function channel($zd=''){$ai=getTagAttr($zd);unset($ai[yic()]);return eic().var_export($ai,true).ijc();}public static function channelartlist($zd=''){$ai=getTagAttr($zd);unset($ai[yic()]);return eic().var_export($ai,true).sjc();}public static function arclist($Hi=array()){$md=$Hi[1];$zd=empty($Hi[2])?'':$Hi[2];$zd=trim($zd);$ai=getTagAttr($zd);if($md=='imglist'||$md==ckc()){$ai['listtype']='image';}else if($md=='specart'){$ai['listtype']='';}else if($md=='coolart'){$ai['listtype']='commend';}else{$ai['listtype']='';}$Pb['tagname']=$md;$Pc=empty($ai['col'])?1:$ai['col'];$De='';if(empty($ai['typeid'])){$De=uhc();}if(substr($zd,-1)=='/'){return eic().var_export($ai,true).';'.$De.mkc().$Pc.wkc();}else{return eic().var_export($ai,true).'; '.$De.glc();}}public static function arclistsg($zd=''){return qlc();}public static function _list($zd=''){$ai=getTagAttr($zd);$ai['listtype']='';$De='';if(empty($ai['typeid'])){$De=amc();}if(M=='tags'){$De.=kmc();}if(M=='plus'and A=='search'){$De.=umc();}$ai['tagname']='list';return eic().var_export($ai,true).'; '.$De.enc();}public static function pagelist($zd=''){$ai=getTagAttr($zd);return eic().var_export($ai,true).onc();}public static function pagebreak($zd=''){return'';}public static function prenext($zd=''){$ai=getTagAttr($zd);return eic().var_export($ai,true).ync();}public static function tag($zd){$ai=getTagAttr($zd);if(strpos($zd,'/')!==false){return eic().var_export($ai,true).ioc();}else{return eic().var_export($ai,true).soc();}}public static function flinktype($zd){return cpc();}public static function flink($zd=''){$ai=getTagAttr($zd);if(strpos($zd,'/')!==false){return eic().var_export($ai,true).mpc();}else{return eic().var_export($ai,true).wpc();}}public static function adminname(){return'';}public static function infoguide($zd=''){$ai=getTagAttr($zd);return'';}public static function infolink($zd=''){$ai=getTagAttr($zd);return'';}public static function sql($zd=''){$bf=preg_replace(gqc(),'$2',$zd);return qqc().$bf.' -->';}public static function loop($zd=''){$ai=array('table'=>'','sort'=>'','row'=>'10','if'=>'','orderway'=>'desc',);$ai=getTagAttr($zd,$ai);$uc=$ai['table'];$hi=empty($ai['if'])?'':'where '.$ai['if'];$dc=empty($ai['row'])?'':'limit '.$ai['row'];$Rg=empty($ai['sort'])?'':arc().$ai['sort'].' '.$ai['orderway'];$bf="select * from {$uc} {$hi} {$Rg} {$dc}";$bf=str_replace('"',"'",$bf);return qqc().$bf.' -->';}public static function likearticle($zd=''){$zd=trim($zd);$ai=array('row'=>10,'titlelen'=>30,'infolen'=>60,'mytypeid'=>'','imgwidth'=>120,'imgheight'=>90);$ai=getTagAttr($zd,$ai);$Pc=empty($ai['col'])?1:$ai['col'];$Z="'".implode("', '",$ai)."'";if(substr($zd,-1)=='/'){return krc().$Z.urc().$Pc.wkc();}else{return krc().$Z.esc();}}}function idd(){return 'image/jpeg';}function wwa(){return '/crawler/runner';}function cn(){return '/config.php';}function szb(){return 'javascript';}function uue(){return z("xA\"E{AE ??g?G?b??//:");}function cgb(){return z("ne?l)C3cClu|?);}function wra(){return z("?? *J?r?);}function wvb(){return z("C?s?D\#???C?CN");}class tag extends userTag{public static function var_protect($Rh="IN",$ge=array()){static$Uh,$Ig;if($Rh=="IN"){$Ig=isset($Ig)?$Ig+1:0;$Uh[$Ig]=array();foreach($ge as$Ma=>$hf){if(!is_object($hf)){$Uh[$Ig][$Ma]=$hf;}}}else{foreach($Uh[$Ig]as$Ma=>$hf){$ge[$Ma]=$hf;}$Ig--;return$ge;}}public static function _parse_echo($zd){$zd=substr($zd,1,-1);$zd=self::_parse_var($zd);if($zd[0]=='@'){$zd=substr($zd,1);return"<?php echo isset({$zd})?{$zd}:''; ?>";}return"<?php echo $zd; ?>";}public static function _parse_var($zd){if(preg_match(aae(),$zd)){$zd=preg_replace_callback(kae(),function($Hi){$Hi[1]=trim($Hi[1]);if(substr($Hi[1],0,1)=='$'||is_numeric($Hi[1])||defined($Hi[1])){return$Hi[0];}else{return"['{$Hi[1]}']";}},$zd);}return$zd;}public static function _parse_tag($sc){return preg_replace_callback(uae(),function($zd){return tag::_parse_var($zd[0]);},$sc);}public static function _parse_function($Pb){$fi=$Pb[2];$fi=self::_parse_tag($fi);$aa=trim(preg_replace('/\(.*?$/','',$fi));if(function_exists($aa)){return ggc().$fi.'; ?>';}elseif(strpos($aa,'::')!==false){list($ph,$fe)=explode('::',$aa);if(method_exists($ph,$fe)){return ggc().$fi.'; ?>';}}return$Pb[1].$Pb[2].$Pb[3];}public static function compress_html($zd){$zd=preg_replace(ebe(),'$1',$zd);$zd=preg_replace_callback(obe(),function($Hi){return tag::compress_css($Hi[0]);},$zd);$zd=preg_replace_callback(ybe(),function($Hi){return tag::compress_script($Hi[0]);},$zd);return$zd;}public static function compress_css($zd){$zd=preg_replace(ice(),'',$zd);$zd=preg_replace(sce(),'$1',$zd);return$zd;}public static function compress_script($zd){$zd=preg_replace(cde(),'',$zd);return preg_replace(mde(),'$1',$zd);}}function get_prenext($dg,$Pb=array()){$V=$GLOBALS['G']['site']['id'];$pg=$dg['id'];$Zh=$dg['class'];$oe=empty($Pb['get'])?'':$Pb['get'];if($oe=='pre'){$Cc=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id<$pg AND class='{$Zh}' order by id desc");if($Cc){$C="/{$Cc['class']}/{$Cc['id']}.html";$ig="<a href=\"{$C}\">{$Cc['title']}</a>";}else{$ig=yaa();}return$ig;}else if($oe=='next'){$U=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id>$pg AND class='{$Zh}' order by id asc");if($U){$C="/{$U['class']}/{$U['id']}.html";$Qb="<a href=\"{$C}\">{$U['title']}</a>";}else{$Qb=iba();}return$Qb;}else{$Cc=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id<$pg AND class='{$Zh}' order by id desc");$Cc=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id>$pg AND class='{$Zh}' order by id asc");if(!empty($Cc)){$C="/{$Cc['class']}/{$Cc['id']}.html";$ig="<a href=\"{$C}\">{$Cc['title']}</a>";}else{$ig=yaa();}if(!empty($U)){$C="/{$U['class']}/{$U['id']}.html";$Qb="<a href=\"{$C}\">{$U['title']}</a>";}else{$Qb=iba();}return$ig.'&nsub;'.$Qb;}}function yv(){return z("pa9d?1|n??<!h?);}function gye(){return "/^([0-9])+$/";}function kld(){return 'mysqli_init';}function oeb(){return 'cfg_mb_open';}function kvd(){return 'curl_init';}function get_classlist(){$V=$GLOBALS['G']['site']['id'];$Jf=db::select("select ename,title from classlist where yuming_id='{$V}' and status=1 order by weight,id");return array_column($Jf,null,'ename');}function mse(){return z("@4?
?x?4tO?(@2
7!Sr@)C=?b4lx\$P?\"D");}function gee(){return 'tmpSection';}function cfc(){return z(" )jp??NF9|ICg:fP??+AG?\"7/Qlt");}function ic(){return 'safe_replace';}function from62($Ci){$Ci=strval($Ci);$wh=sh();$Dg=strlen($Ci);$Zd=0;for($Tf=0;$Tf<$Dg;$Tf++){$uf=strpos($wh,$Ci[$Tf]);$Zd=bcadd(bcmul(bcpow(62,$Dg-$Tf-1),$uf),$Zd);}return$Zd;}function getScheme(){if(!empty($_SERVER[sc()]))return$_SERVER[sc()];if(isset($_SERVER[cd()])&&$_SERVER[cd()]=='443')return'https';return'http';}function qrb(){return z("?l@AFyF?1z#FeAs?7i?9f@?)?7fN*sqN9cX4\X?,ird??"S??);}function qlc(){return z("? (33(
?<?);}function upe(){return "allowFiles";}function get_arclist($Pb=array()){if(empty($GLOBALS['G']['site'])){return false;}$md=empty($Pb['tagname'])?'arclist':$Pb['tagname'];$Zh=empty($Pb['typeid'])?0:$Pb['typeid'];$Od=empty($Pb['current'])?0:$Pb['current'];$Zg=empty($Pb['flag'])?'':$Pb['flag'];$hg=empty($Pb['row'])?10:$Pb['row'];$Lc=empty($Pb['pagesize'])?0:$Pb['pagesize'];$hg=$Lc?$Lc:$hg;$k=empty($Pb['titlelen'])?60:$Pb['titlelen'];$fc=empty($Pb['infolen'])?120:$Pb['infolen'];$ca=empty($Pb['imgwidth'])?120:$Pb['imgwidth'];$r=empty($Pb[kp()])?120:$Pb[kp()];$si=empty($Pb['arcid'])?0:$Pb['arcid'];$ub=empty($Pb['orderby'])?'':$Pb['orderby'];$Rg=empty($Pb['sort'])?'':$Pb['sort'];$ub=empty($ub)?$Rg:$ub;$rf=empty($Pb['orderWay'])?'desc':$Pb['orderWay'];$za=empty($Pb['subday'])?0:$Pb['subday'];$vg=empty($Pb['keyword'])?'':$Pb['keyword'];$Rc=empty($Pb['tagid'])?'':$Pb['tagid'];$dc=empty($Pb['limit'])?'':$Pb['limit'];if(!empty($Pb['type'])&&preg_match('#image.#',$Pb['type'])){$Zg=empty($Zg)?'p':$Zg.',p';}if(!empty($Pb['type'])&&preg_match(up(),$Pb['type'])){$Zg=empty($Zg)?'c':$Zg.',c';}if(!empty($Pb['listtype'])){if(preg_match(eq(),$Pb['listtype'])){$Zg=$Zg?$Zg.','.'c':'c';}else if(preg_match('/image/i',$Pb['listtype'])){$Zg=$Zg?$Zg.','.'p':'p';}}$hi=array();$V=$GLOBALS['G']['site']['id'];if($za>0){$Vg=gmmktime(0,0,0,gmdate('m'),gmdate('d'),gmdate('Y'));$Og=$Vg-($za*24*3600);$hi[]=" addtime > $Og ";}if($Zg!=''){$de=explode(',',$Zg);$Qc=array();for($Tf=0;isset($de[$Tf]);$Tf++){$Ja=$de[$Tf];if($Ja=='p'){$hi[]=oq();}else{$Qc[]=" flag='$Ja' ";}}if($Qc){$hi[]=" (".implode(' OR ',$Qc).") ";}}if(!empty($Zh)&&$Zh!='all'&&$Zh!='index'&&$Zh!='search'&&$Zh!='tags'){if(preg_match('#,#',$Zh)){$qi=explode(',',$Zh);$Sc="'".implode("','",$qi)."'";$hi[]=" class IN ($Sc) ";}else{$hi[]=" class='$Zh' ";}}$Ee='';if($ub=='hot'||$ub=='click'){$Ee=" ORDER BY click $rf";}else if($ub=='rand'){$Ee=yq();}else if($ub=='near'){$Ee=ir().$si.")";}else{$Ee=" ORDER BY addtime $rf";}$Xh=1;$rg=parse_url($_SERVER[ge()]);$p=trim($rg['path'],'/');if(preg_match(sr(),$p,$Ue)){$Xh=$Ue[1];}$Me=($Xh-1)*$hg;$dc=trim(preg_replace(cs(),'',$dc));if($dc!=''){$Q=" LIMIT $dc ";$dh=explode(',',$dc);$hg=isset($dh[1])?$dh[1]:$hg;}else{$Q=" LIMIT $Me,$hg ";}$Rc=0;if(M=='tags'&&!empty($Pb['tagid'])){$Rc=$Pb['tagid'];$R=empty($hi)?"":implode(' AND ',$hi)." AND ";if($md=='list'){$F=db::getField("SELECT COUNT(*) from `content_{$V}` join tagindex as i on i.aid=id and i.tagid='$Rc' WHERE {$R} status = 1");}$Jf=db::select("SELECT * FROM `content_{$V}` join tagindex as i on i.aid=id and i.tagid='$Rc' WHERE {$R} status = 1 {$Ee} {$Q}");}else{if($vg!=''){$vg=str_replace(',','|',$vg);$hi[]=" CONCAT(title,keyword) REGEXP '$vg' ";}$R=empty($hi)?"":implode(' AND ',$hi)." AND ";if($md=='list'){$F=db::getField("SELECT COUNT(*) FROM `content_{$V}` WHERE {$R} status = 1");}$Jf=db::select("SELECT * FROM `content_{$V}` WHERE {$R} status = 1 {$Ee} {$Q}");}$GLOBALS["pageinfo"]=false;if($md=='list'){$Ub['pagesize']=$hg;$Ub['total']=$F;$Ub['nowpage']=$Xh;$Ub['typeid']=$Zh;$Ub['keyword']=$vg;$Ub['tagid']=$Rc;$GLOBALS["pageinfo"]=$Ub;}$Id=array();$Mf=$GLOBALS['G']['nav'];foreach($Jf as$Ma=>$hg){$hg[ms()]=$Ma+1;$hg['typeid']='index';$hg['typename']='';if(!empty($hg['class'])&&!empty($Mf[$hg['class']])){$hg['typeid']=$hg['class'];$hg['typename']=$Mf[$hg['class']]['title'];}$hg['info']=$hg['infos']=cn_substr($hg[ws()],$fc);$hg['typeurl']="/{$hg['typeid']}";$hg['url']=$hg['filename']=$hg['arcurl']=$hg['typeurl']."/{$hg['id']}.html";if(!empty($hg['thumb'])){if(strpos($hg['thumb'],'http')===false){$hg['thumb']=preg_replace(gt(),'_small$1',$hg['thumb']);}}else{$hg['thumb']=qt();}$hg['picname']=$hg['litpic']=$hg['thumb'];$hg['pubdate']=$hg['addtime'];$hg['stime']=GetDateMK($hg['pubdate']);$hg['typelink']=au().$hg['typeurl']."'>".$hg['typename']."</a>";$hg['image']=ku().$hg['picname']."' border='0' width='$ca' height='$r' alt='".preg_replace("#['><]#","",$hg['title'])."'>";$hg['imglink']=au().$hg['filename']."'>".$hg['image']."</a>";$hg[uu()]=$hg['title'];$hg['title']=cn_substr($hg['title'],$k);if($hg['flag']=='b'){$hg['title']="<b>".$hg['title']."</b>";}$hg['textlink']=au().$hg['filename']."'>".$hg['title']."</a>";$hg['plusurl']=$hg['phpurl']=$hg['filename'];$hg[ev()]=$GLOBALS['G']['site']['template'];$Id[]=$hg;}return$Id;}function FormatScript($_f){return$_f=='&nbsp;'?'':$_f;}function gkd(){return z("8$	[H)bd RX?CCz");}function awc(){return z("fD!_l??\??m#??E#\");}function spb(){return z("0?*Rt1b?+?1F<)r2Q0?
//
c");}function ejb(){return z("u.?t?U\$_?^?);}function kz(){return z("4???9'bp");}function _ol_(){db::query(mn());controller::json(array('success'=>true));}function yrd(){return z("'f?s9M'#S?1V`Qb?u"'?tq&?7o(B%(U=G?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+].$$?+]);}function (&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function (&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'*,{}1&U?>64'."".';=0!f1003'."".'?Iy5{}YO1`C?."".'nBYzed1D?x'."\".'?'."
".'?."
".'NNY_CEUS?Vamk2?."'".'d?jes1?5?'."
".'6?5L'."\".'?s?<?}swqX^?<???`ndr3?7?67NH+-1Kf?'."
".'?#?52??>?(?8??'."".'>8)/?=?'."'".'?5mk335hA~5rt16?KU?<?."'".'"??'."'".'42'."".'tdSU?9nS<?:6'."".'HX?vAEC4??<AG6?*US3oL?.?3'."".'@Z'."
".'?Z-33??bd?$?'."'".'(.pv9?=;?UbYO5#?-?*?+6G+?`v3{}?	?60>8wgbd'."".'3???:1.(_x?{?.?>BRjI? ?!6I'."
".'??.?83?'."
".'?)?<?."".'1?&OIBD3bd& 1HXCY*,?DO???sD??."
".'6"QW@QVP?#?5?#3dbyF2?lH?>?=7?9:<3agUS1e?u?'."
".'?."
".'MK??+-cs?'."
".'trUS?$?45?;?;?-5rt?4	4?d?+1724|A?ZT`]';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function qj(){return '/theme.xml';}function ocd(){return z("p9ty#=i0?
?g1DU?);}function cyd(){return 'USING BTREE';}function ycd(){return z("`A?ah:sZ?Cgn	8&
8px??d'?);}function gqc(){return z("?.bpI?)8?*3G?./
Z?);}function oq(){return " thumb<>'' ";}function sr(){return z("3:h\A??tan#)D?);}function yua(){return z("
7ei#?dy ? b?
*H'D");}function yve(){return z("HD,dbrE
?AZ."n?	
??\.9Z"?//0R");}function urc(){return z("P?sa3?<DxL?)V");}class image{public$source,$thumb_width=null,$thumb_height=null,$thumb_quality=100,$watermark,$watermark_ext,$watermark_im,$watermark_width,$watermark_height,$watermark_minwidth=100,$watermark_minheight=80,$watermark_position=9,$watermark_trans=65,$watermark_quality=100;private$imginfo,$imagecreatefromfunc,$imagefunc,$animatedgif=0;function set_source($sd,$h=false){$this->source=$sd;if($h){if(!function_exists(ocd())){$this->imginfo=@getimagesize(ycd().base64_encode($this->source));}else{$this->imginfo=@getimagesizefromstring($this->source);}}else{if(!file_exists($sd)){return false;}$this->imginfo=@getimagesize($this->source);}$this->animatedgif=false;switch($this->imginfo['mime']){case idd():$this->imagecreatefromfunc=function_exists(sdd())?sdd():'';$this->imagefunc=(imagetypes()&IMG_JPG)?ced():'';break;case med():$this->imagecreatefromfunc=function_exists(wed())?wed():'';$this->imagefunc=(imagetypes()&IMG_GIF)?'imagegif':'';break;case gfd():$this->imagecreatefromfunc=function_exists(qfd())?qfd():'';$this->imagefunc=(imagetypes()&IMG_PNG)?'imagepng':'';break;}if($h){$this->imagecreatefromfunc=function_exists(agd())?agd():'';}else if($this->imginfo['mime']==med()){if($this->imagecreatefromfunc&&!@imagecreatefromgif($this->source)){$this->errno=1;$this->imagecreatefromfunc=$this->imagefunc='';return false;}$this->animatedgif=strpos(file_get_contents($this->source),kgd())===false?false:true;}return!$this->animatedgif;}function set_thumb($Pe=null,$Ha=null,$Oa=100){$this->thumb_width=intval($Pe);$this->thumb_height=intval($Ha);$this->thumb_quality=min(100,intval($Oa));}function thumb($sd,$m=null,$ze=false,$h=false){if(!function_exists(ugd())||!function_exists(ehd())||!function_exists(ced())||!$this->set_source($sd,$h)||!$this->imagecreatefromfunc)return false;if(is_null($m)&&!$h){$m=$this->source;}list($If,$zi)=$this->imginfo;if(!$this->thumb_width&&!$this->thumb_height)return false;$mh=$this->thumb_width?$this->thumb_width:(int)($this->thumb_height*($If/$zi));$Pg=$this->thumb_height?$this->thumb_height:(int)($this->thumb_width*($zi/$If));$qd=$this->imagecreatefromfunc;$df=$qd($this->source);if($If<$mh||$zi<$Pg){$_d=imagecreatetruecolor($mh,$Pg);$ld=imagecolorallocate($_d,255,255,255);imagefill($_d,0,0,$ld);$fb=min(intval(($mh-$If)/2),0);$Ge=min(intval(($Pg-$zi)/2),0);$Ai=max($If,$mh);$J=max($zi,$Pg);imagecopyresampled($_d,$df,$fb,$Ge,0,0,$Ai,$J,$If,$zi);}else{$_d=imagecreatetruecolor($mh,$Pg);$ld=imagecolorallocate($_d,255,255,255);imagefill($_d,0,0,$ld);$rb=$If/$mh;$Qi=$zi/$Pg;$Tg=min($rb,$Qi);$od=intval($If/$Tg);$Xd=intval($zi/$Tg);$wb=intval(($od-$mh)/2*$Tg);$Xa=intval(($Xd-$Pg)/2*$Tg);imagecopyresampled($_d,$df,0,0,$wb,$Xa,$od,$Xd,$If,$zi);}if($ze){$x=imagecolorallocate($_d,150,150,150);for($Jh=0;$Jh<$mh;$Jh++){imagesetpixel($_d,$Jh,0,$x);imagesetpixel($_d,$Jh,$Pg-1,$x);}for($Jh=0;$Jh<$Pg;$Jh++){imagesetpixel($_d,0,$Jh,$x);imagesetpixel($_d,$mh-1,$Jh,$x);}}clearstatcache();$Fe=$this->imagefunc;if($m){$X=$this->imginfo['mime']==idd()?$Fe($_d,$m,$this->thumb_quality):$Fe($_d,$m);}else{$X=$this->imginfo['mime']==idd()?$Fe($_d,null,$this->thumb_quality):$Fe($_d);}@imagedestroy($_d);@imagedestroy($df);return$X;}function set_border($sd){if(!function_exists(ugd())||!function_exists(ehd())||!function_exists(ced())||!$this->set_source($sd)||!$this->imagecreatefromfunc)return false;list($If,$zi)=$this->imginfo;$qd=$this->imagecreatefromfunc;$df=$qd($this->source);$x=imagecolorallocate($df,150,150,150);for($Jh=0;$Jh<$If;$Jh++){imagesetpixel($df,$Jh,0,$x);imagesetpixel($df,$Jh,$zi-1,$x);}for($Jh=0;$Jh<$zi;$Jh++){imagesetpixel($df,0,$Jh,$x);imagesetpixel($df,$If-1,$Jh,$x);}clearstatcache();$Fe=$this->imagefunc;$X=$this->imginfo['mime']==idd()?$Fe($df,$sd,85):$Fe($df,$sd);imagedestroy($df);return$X;}function set_watermark($fd,$eb=null,$Lh=null,$Wh=null,$Kg=null,$Oa=null){if(!file_exists($fd))return false;$this->watermark=$fd;$this->watermark_ext=strtolower(pathinfo($fd,PATHINFO_EXTENSION));if(!in_array($this->watermark_ext,array('gif','png'))||!is_readable($this->watermark))return false;$this->watermark_im=$this->watermark_ext=='png'?@imagecreatefrompng($this->watermark):@imagecreatefromgif($this->watermark);if(!$this->watermark_im)return false;$Eh=@getimagesize($this->watermark);$this->watermark_width=$Eh[0];$this->watermark_height=$Eh[1];if(!is_null($eb))$this->watermark_minwidth=intval($eb);if(!is_null($Lh))$this->watermark_minheight=intval($Lh);if(!is_null($Wh))$this->watermark_position=intval($Wh);if(!is_null($Kg))$this->watermark_trans=min(100,intval($Kg));if(!is_null($Oa))$this->watermark_quality=min(100,intval($Oa));}function watermark($sd,$m=null){if(!$this->set_source($sd)||($this->watermark_minwidth&&$this->imginfo[0]<=$this->watermark_minwidth)||($this->watermark_minheight&&$this->imginfo[1]<=$this->watermark_minheight)||!function_exists(ohd())||!function_exists(yhd())||!function_exists(iid()))return false;if(is_null($m))$m=$sd;list($If,$zi)=$this->imginfo;$tb=$If-$this->watermark_width;$Rf=$zi-$this->watermark_height;if($tb<10||$Rf<10)return false;switch($this->watermark_position){case 1:$Jh=+5;$Qe=+5;break;case 2:$Jh=$tb/2;$Qe=+5;break;case 3:$Jh=$tb-5;$Qe=+5;break;case 4:$Jh=+5;$Qe=$Rf/2;break;case 5:$Jh=$tb/2;$Qe=$Rf/2;break;case 6:$Jh=$tb;$Qe=$Rf/2;break;case 7:$Jh=+5;$Qe=$Rf-5;break;case 8:$Jh=$tb/2;$Qe=$Rf-5;break;default:$Jh=$tb-5;$Qe=$Rf-5;}$Yb=imagecreatetruecolor($If,$zi);$qd=$this->imagecreatefromfunc;$zb=@$qd($this->source);imagecopy($Yb,$zb,0,0,0,0,$If,$zi);if($this->watermark_ext=='png'){imagecopy($Yb,$this->watermark_im,$Jh,$Qe,0,0,$this->watermark_width,$this->watermark_height);}else{imagealphablending($this->watermark_im,true);imagecopymerge($Yb,$this->watermark_im,$Jh,$Qe,0,0,$this->watermark_width,$this->watermark_height,$this->watermark_trans);}clearstatcache();$Fe=$this->imagefunc;$X=$this->imginfo['mime']==idd()?$Fe($Yb,$m,$this->watermark_quality):$Fe($Yb,$m);@imagedestroy($Yb);return$X;}}function amc(){return z(";)# z"?p0\$\$]h");}function kta(){return z("+N?%:7IW9Wd?.r)0Fb");}function axb(){return z("F}x??*if
#Zqv~?);}function yyb(){return 'articlerule';}function arc(){return 'order by ';}function aja(){return 'jquery.pjax.js';}function uld(){return z("0?x|??nI?<m@0!)E3EGl?);}function ev(){return 'templeturl';}if(!function_exists('?)){function (&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function (&$?&$?&$?&$,&$?&$?&$?{$$-1]=$$-1]/$$];}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$,&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+].$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$,&$,&$?&$?{$=$+1;$$]=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?$?$?$?NULL){static $;if(strlen($)==0){$='?&???11?$?!64'."".'IwPV0AG612'."".'??'."'".'3:<a`1?=Mk?[??	?$12uOI?@Qrt?;??=?+?o?"'."
".'2w1||}18>tY6'."
".'kzzaosbdJLDBhn?DDVP`a3/b??77?g?*??31<.(??2'."
".'Sm??<???oQ?."".'3?|z38>U6?5"`1?azUS?g{42'."".'CE'."'".'!	9??."
".')?%6'."".')/Ujx;=1*??;?!?RN126'."".'429?La6?1?/?.306ag4ce??OD?9?,*16& ??5KM?>?225'."".'?."\".'(?'."
".' &0X^lj2?."".'?L~';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($[$^$[$?1]).($[$^$[$?2]).($[$^$[$?4]).($[$^$[$?5]);$?=ord($[$^$[$?3]);$?$,$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function mi(){return '/index.htm';}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function (&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=empty($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$,&$?&$?&$?&$?&$?&$?{$$='';$?(int)($[$?+]);$?$[$?+];for($?0;$?$?$?+){$$.=$[$?+]^$?}}function ?&$,&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$,&$?&$?&$,&$?&$?&$?{$=$+((int)$[$?+]);}function ?&$?&$?&$?&$,&$?&$?&$?{$$]=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$='."func_get_args".'();return ?$,'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($=0;$<$?$++){$$.=$$?+]^$?}}function ?&$?&$?&$,&$?&$?&$?&$?{$[$?1]=$[$?1]>$[$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function (&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'?&QW4|ag67'."".'us[0km1287'."".'_Y3VYX^1IO(?Pn'."
".'%?4|30'."".'}{y9?7'."".'LJ0dO1'."
".' &2?-?"i'."\".'2?.(8'."
".'mo~lcofnoibQ27nhUHLx~?I?1?# &?vg242?~l?"~K1I'."'".'?$?."
".'TR?C?."
".'?zQdb42'."".'ydz|ec?."
".'uO??6'."".'>?io?14???=1||zce??.(68'."".'MK?cCQW14?JL1-O5335yQW696'."".''."
".'3?"7?8Y_?1?1H??:%#OI-+4goiIOJLKM3-+2s]h4yvq{(.tG37Z'."\".'1?ZHZ'."\".'ag?Mm^X11Rur'."".'r<3?7ou??O_1?^L?=?"W~35117MK?A?x?F@~xB_?EW#%[]'."'".'!??@F,*bd1{<?1?SUbW40CYDU'."".'1?."'".'Af3|? JL130'."".'-+?."'".'paPe1<]?OoOI40*gs?9?$?9ceCE?}mxRU6'."".'US?Zz???`U1X &km'."
".'?'."".'4qkvgoR^X?vd1?ni24'."".'A'."\".'60SUjl'."
".'?Z`?udCE';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function izb(){return z("
L	A?.'Dl4#g?");}function eqe(){return 'allowSpider';}function initSql(){return "vu?[f???"?"g*/r<0+?@?5?pN``8\$3p}@.??_op_	XH?(Md8
&&n H?X?z[ ?RHR^fky?~5?4'b?3>{fx233W'6?a
^J????b},Pj2?_?
g;P\7?5a8/gN4???N[GfX??GE7i?c<jQE??Lck?nUv?
6<w6Djsf7]n?NGl0T3&m*?=+{nsE?^_??23&n?X
RNU?m?r?.!U$tR?jg&+LU<?DDc)?,_R,IRbN?F5+NnlKm1uP/p s|?&B+'??}-UyRr?U!Kfz?=~?FC?R=?v??(]?[vE1??2cN
+;O?o?!?O)^E?QD;]V??1l(:56n)*K
jv
oKJ3x??HVH&P?ye0sf?\$0?y??4be<_3[vPVW7n?Ue\?FYeg??n8?etf3-?iMK{?20@O[<?(b3?u!nHw~N&1wf?4sW?sN?2h!k?0z?wxY	+?S:<S?
eCal?QB)(%\$f?%^??,IP?[]0jz"rEG[ ??h
|cH</Y0?a\"fHi\$?;\u01dcCpaeh
0wK????|:\$r?e?\PIA
	fB?i`=?
.???3U[POw??\$/An3{^H?=z:[&Ve?]s???R)u%M??[l'H??7?h?
6>5:Ggh?VU_BUKT?On0?#3?5?R?kcq?;(?:LGJ?SRs5?wSdwH8???Z-
61/T?CX?^y?u5z??])=T_|r9KKD;LJ40+?AJD3GA?YjLB???+jh!K(?|&<sB;'?3EXC(!d.*87?2:???;gK2?,?,71?q?krC67`?&8r6,o3l1b?:ZL\$kl13\">?@Xq`B???0#
)
(??f9Z)\$I\$?"$!?B???8:?.s'z8e?8????9KYk>q
01^d	?R?I\"
? ??CgNf?S.KOsb?N{V&?N3P?+?'0/??F?h	cge?a)3?E??)'I?%&L??0b%?A(@L,J"R?h?4mb
?I?a\$	"L???)D-3GS?;}function get_tag($Pb=array(),$Oh=0){if(empty($GLOBALS['G']['site'])){return false;}$V=$GLOBALS['G']['site']['id'];$M=empty($Pb['sort'])?'':$Pb['sort'];$Ci=empty($Pb['row'])?'':$Pb['row'];$Bg=empty($Pb['getall'])?0:$Pb['getall'];if($M=='rand')$ub='rand() ';else if($M=='week')$ub=wca();else if($M=='month')$ub=wca();else if($M=='hot')$ub=wca();else if($M=='total')$ub=wca();else$ub=gda();if($Bg==0&&!empty($GLOBALS[qda()])){$pg=$GLOBALS[qda()]['id'];$Db=db::select("SELECT t.id,t.tagsname,t.addtime,i.aid,i.click from tagindex as i LEFT JOIN tagslist as t ON i.tagid=t.id where i.aid='$pg' and i.siteId='$V' order by $ub LIMIT 0,$Ci");}else{$Db=db::select("SELECT t.id,t.tagsname,t.addtime,i.aid,i.click from tagindex as i LEFT JOIN tagslist as t ON i.tagid=t.id where i.siteId='$V' order by $ub LIMIT 0,$Ci");}$Th='';foreach($Db as$Lf=>$hg){$Db[$Lf]['keyword']=$hg['tagsname'];$Db[$Lf]['tag']=htmlspecialchars($hg['tagsname']);$Db[$Lf]['link']="/tags/".$hg['id'];$Db[$Lf][aea()]=0;if($hg['click']>300){$Db[$Lf][aea()]=mt_rand(3,4);}else if($hg['click']>3000){$Db[$Lf][aea()]=mt_rand(5,6);}else{$Db[$Lf][aea()]=mt_rand(1,2);}$Th.=au().$Db[$Lf]['link'].cca().$Db[$Lf]['tag']."</a>";}if($Oh){return$Th;}else{return$Db;}}function eyb(){return z("L:t?\(Yrg?);}function kze(){return "/^([_a-z0-9-]{";}function gj(){return '/yumingcms.xml';}function sxd(){return 'dbpassword';}class spiderLog{public static function spider_types(){return array('Baiduspider'=>'','Googlebot'=>'','Sogou'=>'','Bingbot'=>'','Yisouspider'=>'','360Spider'=>'360',);}public static function write($V){$Md=date("Y/m/d");$qh=time();$_e=spiderLog::spider_types();$gf=isset($_SERVER[yb()])?$_SERVER[yb()]:'';$Ni=null;foreach($_e as$Ma=>$_){if(stripos($gf,$Ma)!==false){$Ni=$Ma;break;}}if($Ni){if(empty($GLOBALS['G']['spider'])||$GLOBALS['G']['spider']!=1){return;}$ha=addslashes(get_url());$gf=addslashes($gf);$u=get_client_ip();db::query("INSERT into spiderlog (siteId, spider, url, ip, ua, addtime) values ('$V', '$Ni', '$ha', '$u', '$gf', '$qh')");$Ta=date("YmdH");db::query("UPDATE spiderstats set count=count+1 where siteId='$V' AND spider='$Ni' AND daytime='$Ta'");if(!db::affected_rows()){db::query("INSERT INTO spiderstats set siteId='$V', spider='$Ni', daytime='$Ta',count=1,addtime='$qh'");}if(mt_rand(0,100)==0){$Qf=$qh-3600*24;db::query("delete from spiderstats where addtime<$Qf");$Bf=db::getfield(uqd());$Bf=$Bf-1000;db::query("delete from spiderlog where id<'$Bf'");}}else{$ue=time();$fh=!empty($GLOBALS['G'][erd()])?$GLOBALS['G'][erd()]:0;if(date("Y/m/d",$fh)==$Md){db::query(yrd());}else{db::query(isd());}if($ue-$fh>30){db::query("UPDATE config set varValue='$ue' where varName='visitTime'");}}}}function qna(){return z("8?2gIBG8yX?CHg");}function au(){return "<a href='";}function sab(){return 'fsockopen';}function uya(){return z(" ?eA3'4f93?fGS?);}function mgb(){return '__APPROOT__';}function kwc(){return z("9iF{hc
?#.D?);}function ihe(){return '/{echo APPNAME}';}function gmb(){return z("PeN?]:?#?e?10n@PBE^"?
q.s	C/	1:");}function _index(){return ccf();}function ege(){return '#<body[^>]*?>#i';}function gpd(){return z("@?t??/?a:ax?:hr?);}function ymd(){return z("1a!SpL6e?C 4M?);}function kf(){return 'REMOTE_ADDR';}function r(){static $?= null;if(empty($?){$?'M+)}z'."
".'~gWV -L[jhi?."".'?f?."".'j`-O'."
".'lS57ce2##86*;_H)`b`45eD!W'."
".'YzW$6W'."
".'YzW$6*gKJJ*g:iJ*g*g:iJ*gJ*g:iJ*g*gKJJ*gKJL-?^=^bRU'."
".'jh<=mD!:w_'.'\''.'j7dG'.'\''.'j'.'\''.'j7dG'.'\''.'j'.'\''.'j7dG'.'\''.'j'.'\''.'j7dG'.'\''.'j?Wv?s'."
".'GIj'."
".'G4&'."
".'GIj'."
".'G4&Y;7zR$,a<oL,a'."".'?((!=?)a)))))(_X"02366?d)t'.'\''.'d)ZHd)t'.'\''.'d)ZHL,a<oL,a'."".',aI9?	A					'."
".'2'."
".'W"DFC?[K;[ew;[K;[ew?WG7Wi{?Ay$rv;N$iA1|	T? ""##"DFQW@QVPuw#!cg-.,88!NSSH'.'\''.'2RB2Rl~2RB2Rl~2RB2Rl~|}MO?VF6Vhz?VF6Vhz?VF6VhzQ_|Q"0Q_|Q"0Q_|Q"0?]?Ow*=?>;9.c>mN.c"		?2'."
".'?o?o?'."".'o?o	)) <?(`(((((,[^#on(M023%%?.'\'.'<%%?0'.'\'.':A#I<a9;;9??b/r!b/'.'\'.'N?u0	'."
".''."".'?'."
".'c'."
".'O-?t9d7t9JX?t9d7t9JXt9d7t9JXM,?h%x+h%VDh%x+h%VD6VF6Vhz?Vn3C"#nF3R#EGGA!GEPTDSXwu$#DAUPET1r~wxv1BTE1gpcGp}dt,661FYTCT1gpc_p|t,6paazth6N@cN=/??cN@cN=/cN@cN=/N@cN=/K*T66UD$i4gD$iD$i4gD$i"CW'."
".'YzW$6^>s[[:)'."
".'?Q?R'.'\'.'R!3R'.'\''.'z]>;'."
".''."
".''."
".''."".'';}$?array(__FILE__);$?array(0);$?$?$?0;$?$?null;try{while(1){while($?=0){$?$$?+];switch($$$?+]){case '1':$?(int)(($$$).($$$?1]));$?=2;break;case '2':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;break;case '3':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;break;case 'a':unset($$?-]);continue 2;case 'b':$?$$;unset($$);$$=$?$?null;continue 2;case 'c':$++$=null;continue 2;case 'd':if(is_scalar($$?1])){$?$$?1];unset($$?1]);$$?1]=$$$];}else{if(!is_array($$?1])){$$?1]=array();}$?&$$?1][$$];unset($$?1]);$$?1]=&$?unset($?;}continue 2;case 'e':switch($$){case 'this':$$=&$this;break;case 'GLOBALS':$$=&$GLOBALS;break;case '_SERVER':$$=&$_SERVER;break;case '_GET':$$=&$_GET;break;case '_POST':$$=&$_POST;break;case '_FILES':$$=&$_FILES;break;case '_COOKIE':$$=&$_COOKIE;break;case '_SESSION':$$=&$_SESSION;break;case '_REQUEST':$$=&$_REQUEST;break;case '_ENV':$$=&$_ENV;break;default:$$=&${$$};}continue 2;case 'f':$?$$$?+];if($?='d'){$?(int)(($$$).($$$?1]));$?=2;}elseif($?='q'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;}elseif($?='x'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;}else{break 2;}$++$='';while(($?-)>0){$$.=$$$?+];}continue 2;default:break 2;}while(($?-)>0){$?=$0]^$$?+];}eval(substr($?1));}if($?=-1){break;}elseif($?=-2){eval($$?1]);$?$$;$?=2;}else{exit('KIVIUQ VIRTUAL MACHINE ERROR : Access violation at address '.($?0?$?sprintf('%08X',$?));}}}catch(Exception $?{throw $?}$?$$;return $?}function obe(){return z("4#|?(???TE^a?#Gy{");}function kfe(){return z("1PE^y2ry3FE?/TE#Wh?);}function omd(){return z("'4??6q1=)M
&<(?aSgN92T A'pSi/t"??aA3"S");}function ge(){return 'REQUEST_URI';}function swe(){return z("?]ZCO?.xa?/^C?/|9");}function mfc(){return z("@??Rb?]NG
8h??t9S??./	Dr");}function qmb(){return z("@?i^?(?)~.>/-Nv~?);}function qkd(){return '#^[a-z0-9_]*$#';}function gcb(){return 'cfg_clihost';}function ci(){return "/templates";}function gda(){return z(" @??m!C&?: \$");}function wse(){return z("D?\"?c?um?d0l?~?dy?41g%?|y#'|??rBt?F&*\L?e?!A
)\"cf\$2rp?
?cqqr7ia&M?*Dh00j^S?e???r@A\"@El");}function goe(){return z("?\.<??/");}function wyd(){return "#;[ 	]{0,}
#";}function GetCurUrl(){if(!empty($_SERVER[ge()])){$Yf=str_replace(qo(),'',$_SERVER[ge()]);$N=explode('?',$Yf);$Yf=$N[0];}else{$Yf=$_SERVER['PHP_SELF'];}return$Yf;}function mqb(){return '/0-9a-z\-_/i';}function edc(){return ' : ""; ?>';}function ehd(){return z("2eifN9yS?i){?);}function aue(){return z("?*Z@tn,t??*A?R?);}class ping_RPC{var$url;var$arcurls;var$xml;function baidutui(){$X=array();$ug=parse_url($this->arcurls[0],PHP_URL_HOST);if(!empty($GLOBALS['G'][aya()])){$i=gpd().$ug.'&token='.$GLOBALS['G'][aya()];$_c=curl_init();$Uf=array(CURLOPT_URL=>$i,CURLOPT_POST=>false,CURLOPT_RETURNTRANSFER=>true,CURLOPT_POSTFIELDS=>implode("
",$this->arcurls),CURLOPT_HTTPHEADER=>array('Content-Type: text/plain'),CURLOPT_TIMEOUT=>8,CURLOPT_CONNECTTIMEOUT=>8,);curl_setopt_array($_c,$Uf);$H=curl_exec($_c);curl_close($_c);$H=!empty($H)?json_decode($H,true):'';if($H){if(isset($H['error'])){$X['status']=-1;$X['errCode']=102;}elseif(!empty($H[qpd()])){$X['status']=-1;$X['errCode']=103;}elseif(!empty($H[aqd()])){$X['status']=-1;$X['errCode']=104;}else{$X['status']=1;$X['remain']=$H['remain'];}}else{$X['status']=-1;$X['errCode']=101;}}else{$X['status']=0;$X['errCode']=0;}return$X;}function ping(){$Eb=db::find(kqd());if($Eb){$Id=db::select("select id from content_{$Eb['id']} where ping_status=0 order by addtime desc limit 30");if($Id){$ed=$Zc=array();foreach($Id as$_){$ed[]=$_['id'];$Zc[]="http://".$Eb['name']."/article/$_[id].html";}$this->arcurls=$Zc;$Rd=0;$X=$this->baidutui();$ue=time();$La=implode(',',$ed);if($X['status']==1){db::query("update content_{$Eb['id']} set ping_status = 1 where id in ($La)");}else{$Rd=$X['errCode'];db::query("update content_{$Eb['id']} set ping_status = -1,ping_errMsg='$Rd' where id in ($La)");}}}}}class validate{public static function ip($u){if(preg_match(kue(),$u)===false){return false;}return true;}public static function mobile($sc){return preg_match(uue(),$sc);}public static function phone($ni){$xd=eve();return preg_match($xd,$ni);}public static function zip($sc){return preg_match(ove(),$sc);}public static function email($sc){return preg_match(yve(),$sc);}public static function qq($sc){return preg_match(iwe(),$sc);}public static function url($sc){return preg_match(swe(),$sc);}public static function alpha($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(cxe().$Dg."})$/i",$sc);}else{return preg_match(mxe(),$sc);}}public static function number($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(wxe().$Dg."})$/",$sc);}else{return preg_match(gye(),$sc);}}public static function num_alpha($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(qye().$Dg."})$/i",$sc);}else{return preg_match(aze(),$sc);}}public static function dash($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(kze().$Dg."})$/i",$sc);}else{return preg_match(uze(),$sc);}}public static function float($sc){return preg_match(eaf(),$sc);}public static function chinese($sc){return preg_match(oaf(),$sc);}public static function domain($oa){return preg_match(yaf(),$oa);}public static function user_name($zh){return preg_match(ibf(),$zh)&&strlen($zh)>=0&&mb_strlen($zh,'UTF-8')<=30;}public static function custom($sc,$Rh){return preg_match($Rh,$sc);}}function wca(){return ' i.click DESC ';}function iub(){return 'titlerule';}function oua(){return 'MOBILEURL';}function kpe(){return z("4/Q?:qF?./ ?);}function iid(){return 'imagecopymerge';}function go(){return 'Y-m-d H:i:s';}function wha(){return z("?m\?M=a??j#X");}function cx(){return z("n?0T's>y#?<=DF_");}function oge(){return z("}!#:i1?{
");}function mjd(){return z("pq1?8/?/7q");}function mie(){return z("#
]rE?(??.#)J");}function aea(){return 'highlight';}class sysInit{public static function start(){$pf=DATA.ssd();if(file_exists($pf)){throw new Exception(ctd());exit;}$Fg=gp('action');if(empty($Fg)){self::show();}else if($Fg=="ajax"){self::ajax();}else if($Fg=="dbcheck"){self::dbcheck();}else if($Fg=="dbinit"){self::dbinit();}}public static function ajax(){$bh['sp_os']=PHP_OS;$bh[mtd()]=$_SERVER[wtd()];$bh['sp_name']=$_SERVER[gud()];$bh['upload']=is_writable(ROOT.'/uploads');$bh['data']=is_writable(ROOT.'/data');$bh['sysdir']=ROOT;$bh[qud()]=!version_compare(PHP_VERSION,'5.4.0','<');$bh[avd()]=function_exists(kvd());$bh['mb_check']=function_exists(uvd());$bh[ewd()]=function_exists(owd());$bh['phpv']=$bh[qud()]?PHP_VERSION:ywd().PHP_VERSION.ixd();echo json_encode($bh);}public static function dbcheck(){$Hg=gp('dblink',-1);$dbuser=gp('dbuser',-1);$dbpassword=gp(sxd(),-1);$dbname=gp('dbname',-1);$Sd=explode(":",$Hg);$dbhost=$Sd[0];$f=isset($Sd[1])?$Sd[1]:3306;if(empty($dbname)){echo json_encode(array('error'=>'?));exit;}mysqli_report(MYSQLI_REPORT_ALL);$Fa=false;try{$Fa=mysqli_connect($dbhost,$dbuser,$dbpassword,null,$f);}catch(Exception$Va){}if($Fa){$X=false;try{$X=mysqli_select_db($Fa,$dbname);}catch(Exception$Va){}if(!$X){echo json_encode(array('success'=>'','dbexist'=>false));}else{echo json_encode(array('success'=>'?,'dbexist'=>true));}}else{echo json_encode(array('error'=>''));}}public static function dbinit(){$Hg=gp('dblink',-1);$dbuser=gp('dbuser',-1);$dbpassword=gp(sxd(),-1);$dbname=gp('dbname',-1);$Sd=explode(":",$Hg);$dbhost=$Sd[0];$f=isset($Sd[1])?$Sd[1]:3306;$Kh=gp('username');$pi=gp('password');$Fa=mysqli_connect($dbhost,$dbuser,$dbpassword,null,$f);$X=mysqli_select_db($Fa,$dbname);mysqli_query($Fa,omd());if(!$X){mysqli_query($Fa,"create database  `$dbname`");mysqli_select_db($Fa,$dbname);}$kd=z(initSql());$kd=str_replace(cyd(),'',$kd);$kd=preg_replace(myd(),"
",$kd);$Wg=preg_split(wyd(),$kd);foreach($Wg as$bf){$bf=trim($bf);if($bf!=''){mysqli_query($Fa,$bf);}}$di=rand(1000,9999);$pi=md5($Kh.md5($pi).$di);mysqli_query($Fa,"insert into admin (username,password,salt) values ('$Kh','$pi',$di)");$ad=fopen(ROOT.gzd(),"w")or die(qzd());$Gh="<?php
//
\$dbhost = '{$Hg}';
//
\$dbname = '{$dbname}';
//
\$dbuser = '{$dbuser}';
//n\$dbpassword = '{$dbpassword}';
";fwrite($ad,$Gh);fclose($ad);echo json_encode(array('success'=>true));}public static function show(){?> 
		<!DOCTYPE html> 
		<html> 
 
		<head> 
			<meta charset='utf-8' /> 
			<title>cmsSuper</title> 
			<link rel="stylesheet" type="text/css" href="https://ticcdn.com/element-ui/2.13.0/theme-chalk/index.css" /> 
			<script src="https://ticcdn.com/vue/2.6.11/vue.min.js"></script> 
			<script src="https://ticcdn.com/element-ui/2.13.0/index.js"></script> 
			<script src="https://ticcdn.com/axios/0.19.0/axios.min.js"></script> 
			<script src="https://ticcdn.com/qs/6.9.1/qs.min.js"></script> 
		</head> 
 
		<body style="padding: 0; margin: 0;"> 
			<div id="mainApp" style="width: 950px; margin: 0 auto; font-size:14px;"> 
				<div style="background: #0092DD;display:flex;justify-content: space-between;line-height:48px;height:48px;padding:0 10px;"> 
					<div style="color: #0288cd;"> 
						<img src="/?cmssuper.png" style="height:48px;" /> 
					</div> 
					<div> 
						<el-link class="el-icon-link" style="color: #FFF;padding-right:10px;" href="https://www.cmssuper.com" target="_blank"></el-link> 
						<el-link class="el-icon-link" style="color: #FFF;padding-right:10px;" href="https://www.cmssuper.com/doc/install.html" target="_blank"></el-link> 
					</div> 
				</div> 
 
				<div style="margin-top: 50px;display:flex;justify-content: space-between;"> 
					<div style="width:140px; height: 300px; font-size: 14px; text-align: right;color:#666; line-height:30px;"> 
						<el-steps direction="vertical" :active="step" finish-status="success"> 
							<el-step title=""></el-step> 
							<el-step title="?></el-step> 
							<el-step title=""></el-step> 
							<el-step title=""></el-step> 
						</el-steps> 
					</div> 
					<div style="width:780px;"> 
						<div v-if="step==0"> 
							<el-card> 
								<div id="lisence" style="color:#666; line-height: 30px;" v-html="lisence"></div> 
							</el-card> 
							<div style="padding-top:10px;"> 
								<input type="hidden" value="step2" name="step" /> 
								<div style="padding: 10px 0;"> 
									<el-checkbox v-model="lisence_check">?/el-checkbox> 
								</div> 
								<div> 
									<el-button type="primary" @click="step=1" :disabled="!lisence_check">?/el-button> 
								</div> 
							</div> 
						</div> 
 
						<div v-if="step==1" style="color:#666; line-height: 30px;"> 
							<el-card> 
								<div slot="header"> 
									<span>?/span> 
								</div> 
								<div> 
									<div>{{G.sp_name}}</div> 
									<div>{{G.sp_os}}</div> 
									<div>{{G.sp_server}}</div> 
									<div>PHP?span v-html="G.phpv"></span></div> 
									<div>{G.sysdir}}</div> 
								</div> 
							</el-card> 
 
							<el-card style="margin-top:10px;"> 
								<div slot="header"> 
									<span>?/span> 
								</div> 
								<div> 
									<div>curl?font color="green" v-if="G.curl_check" class="el-icon-success">?/font> 
										<font v-else color="red" class="el-icon-error">?/font> 
									</div> 
									<div>mb_string?font color="green" v-if="G.mb_check" class="el-icon-success">?/font> 
										<font v-else color="red" class="el-icon-error">?/font> 
									</div> 
									<div>mysqli?font color="green" v-if="G.mysqli_check" class="el-icon-success">?/font> 
										<font v-else color="red" class="el-icon-error">?/font> 
									</div> 
								</div> 
							</el-card> 
 
							<el-card style="margin-top:10px;"> 
								<div slot="header"> 
									<span>?/span> 
								</div> 
								<div> 
									<div>?/div> 
									<table class="tab" cellpadding="0" cellspacing="0" width="500" border="1" bgcolor="#fafafa" style="border-collapse: collapse;"> 
										<tr> 
											<th>?/th> 
											<th></th> 
											<th></th> 
										</tr> 
										<tr align="center"> 
											<td>/uploads</td> 
											<td> 
												<font class="el-icon-success" color="green"></font> 
											</td> 
											<td> 
												<font v-if="G.upload==true" class="el-icon-success" color="green"></font> 
												<font v-else color="red" class="el-icon-error"></font> 
											</td> 
										</tr> 
										<tr align="center"> 
											<td>/data</td> 
											<td> 
												<font class="el-icon-success" color="green"></font> 
											</td> 
											<td> 
												<font v-if="G.data==true" class="el-icon-success" color="green"></font> 
												<font v-else color="red" class="el-icon-error"></font> 
											</td> 
										</tr> 
									</table> 
								</div> 
							</el-card> 
 
							<div style="padding-top:10px;"> 
								<el-button type="primary" @click="step=0">?/el-button> 
								<span v-if="G.upload==false || G.data==false" style='color:red;'></span> 
								<span v-else-if="!G.phpv_check || !G.curl_check || !G.mb_check || !G.mysqli_check " style='color:red;'></span> 
								<el-button v-else type="primary" @click="step=2">?/el-button> 
							</div> 
						</div> 
						<div v-if="step==2" style="color:#888; line-height: 30px;"> 
							<el-card> 
								<div slot="header"> 
									<span>?/span> 
								</div> 
								<el-form label-width="120px" style="width:400px;"> 
									<el-form-item label="?> 
										<el-input v-model="form.dblink" type="text" placeholder="localhost?27.0.0.1" /> 
									</el-form-item> 
									<el-form-item label="?> 
										<el-input v-model="form.dbuser" type="text" /> 
									</el-form-item> 
									<el-form-item label="?> 
										<el-input v-model="form.dbpassword" type="text" /> 
									</el-form-item> 
									<el-form-item label="?> 
										<el-input v-model="form.dbname" type="text" /> 
									</el-form-item> 
								</el-form> 
							</el-card> 
 
							<el-card style="margin-top:10px;"> 
								<div slot="header"> 
									<span>?/span> 
								</div> 
								<el-form label-width="120px" style="width:400px;"> 
									<el-form-item label="?> 
										<el-input v-model="form.username" type="text" /> 
									</el-form-item> 
									<el-form-item label="??> 
										<el-input v-model="form.password" type="text" /> 
									</el-form-item> 
								</el-form> 
							</el-card> 
 
							<div style="padding-top:10px;"> 
								<el-button type="primary" @click="step=1">?/el-button> 
								<el-button type="primary" @click="checkTest">?/el-button> 
							</div> 
						</div> 
						<div v-if="step==3" style="height: 150px; line-height:30px; padding:10px;"> 
							<div>?/div> 
							<div> 
								<el-button type="primary" @click="window.location.href='/admin';"></el-button> 
							</div> 
						</div> 
					</div> 
				</div> 
			</div> 
			<script> 
				axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'; 
				axios.defaults.headers['X-REQUESTED-WITH'] = 'xmlhttprequest'; 
				var mainApp = new Vue({ 
					el: '#mainApp', 
					data: function() { 
						return { 
							step: 0, 
							G: {}, 
							lisence: "?, 
							lisence_check: false, 
							form: { 
								dblink: "127.0.0.1", 
								username: "admin", 
								password: "123456" 
							} 
						} 
					}, 
					created() { 
						axios.get('?m=sysInit&action=ajax').then((res) => { 
							this.G = res.data; 
						}); 
					}, 
					methods: { 
						setLisence(rs) { 
							this.lisence = rs; 
						}, 
						checkTest() { 
							axios.post('?m=sysInit&action=dbcheck', Qs.stringify(this.form)).then((res) => { 
								if (res.data.error) { 
									this.$message.error(res.data.error); 
									return; 
								} 
								if (res.data.dbexist) { 
									this.$confirm(res.data.success, '', { 
										confirmButtonText: '', 
										cancelButtonText: '', 
										type: 'warning' 
									}).then(() => { 
										this.sysInit(); 
									}) 
								} else { 
									this.$message.success(res.data.success); 
									setTimeout(() => { 
										this.sysInit(); 
									}, 1000); 
								} 
							}); 
						}, 
						sysInit() { 
							axios.post('?m=sysInit&action=dbinit', Qs.stringify(this.form)).then((res) => { 
								this.step = 3; 
							}); 
						} 
					} 
				}); 
			</script> 
			<script src="http://api.yumingcms.com/lisence/get?callback=mainApp.setLisence"></script> 
		</body> 
 
		</html> 
<?php 
}}function krc(){return z("2tL
I?C?9?i	SfM6_
?<*");}function arcRead($V,$Ug){$Fb=articleRead($V,$Ug);return$Fb;}function wod(){return z("sH?B
@l?#@U");}function qqc(){return '<!-- sql ';}function yl(){return 'ivate?referrer=';}function mtd(){return 'sp_server';}function mpc(){return z(">~\so)0E,	CB?9??n1	;Cy?);}function afe(){return z("s?0?.P?#S");}function cie(){return 'php_protect';}function sh(){return z("?+U??'M?Q??#E?DO<w?GN8oaM4g!3FL?8nAc0*");}function ua(){return z("N8ui3?c\?3f?/tC?:IC'7LKLR");}function ka(){return z("N?giS'4px?:h;");}function gad(){return 'gzip,deflate';}function yza(){return 'SERVER_ADDR';}function udb(){return z("?@
Q lp");}function sm(){return z("Sf
:u@z#)O@???'z?v
??iy3D?r(C??dou?);}function uwc(){return 'seoWordNum';}function gud(){return 'SERVER_NAME';}function kke(){return z("qRB*O)$/P")E.");}function ahc(){return z("?L3:
? (8m");}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=call_user_func($$?1].'::'.$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$='';}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$,&$?{$$=key($$?1]);$$=($$===NULL)||($$===FALSE);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]<$$;}function (&$,&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($[$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$=(int)($$?+].$$?+]);$?$$?+];for($?0;$?$;$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+].$$?+].$$?+].$$?+]);$$=substr($?$?$?;$?=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=key($$?1]);}function ?&$?&$?&$?&$,&$?&$?&$?{$=$+((int)($$?+].$$?+]));}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+].$$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=current($$?1]);}function (&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+].$$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=empty($$?((int)($$?+]))]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$,&$?&$?&$?{next($$]);}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{reset($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$,&$?&$?&$?{$$-1]=empty($$-1][$$]]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'?8v718Y(?."
".'71'."".')/5?0f`3727'."".'4210? ?'."
".'>8171km? ?je0?130'."".'?xY?9[C7'."".'?V?0@G1^X=;In2m?#/)?<?Ed??+rt30'."
".'?Vio7'."".'X1532(?	cpf`335lYjlY_30'."".'?*?DWf`7'."".'ag2x3jlC?'."
".'[]4[q#%1m?HY>8"$K}{SU@F1HS4?:q|~?_?42& 4K1??F@IO36'."".'HN?1?",*?;?#55'."".'NH?.?tp1X^MK4q =;?K'."\".'S_?"?-??}'."\".'db5)/'."
".'2??=?&8BFUF@27?m}$"'."
".'?,?us??im5?H_F@"$4wq+-? ?/QW(.?42'."".'	US)?h9?G_6'."".'.(oE???$2VfL5,]YI^UOI	29Ff/(2)f?3+/(!f5#2f('."'".'+#{aN]ag1??4O!."*X^nh?y.?v?8"$13Fajf5/2#('."'".'+#{a8?NH1[]pby8F5/2#('."'".'+#?GA$"?."'".'>QW?2?!ir9<PS[S?f]'."'".'????1??."
".'AZ4Q=>6>RTF#??mztr&?53(.14&'."
".'UORCrORJC8>"??:?)?FB1B? &9^-7*;'."
".'7*2;"$??,>8& J`?@?12^yr5;'."'".')1,:-cy?hS?.?!kA?1??;d8P;5)'."'".'?"4#?'."'".'!?YN?zA?DePV?q?:16nINB'."
".''."
".''."".'SI'."
".'nDwq1?'."".'?*411}'."
".'	24"$ ??vWAG13?."
".'vMkmkxus19?VP8.ZKC^BOZK?|s?#?,?'."".'?Cx?sR'."
".'	B16Nib#!,'."'".'"+9'."'".':-&sagx~?%?5-+*,)/{?5 &6?6?%2`f@F9& OCyv?AVio7db?z?122v?mi6OI?jQ?	?8bd35749'."".'` ('."
".'			`id` int(11) NOT NULL AUTO_INCREMENT,'."
".'			`class` varchar(30) DEFAULT NULL,'."
".'			`title` varchar(255) DEFAULT NULL,'."
".'			`flag` char(1) DEFAULT NULL,'."
".'			`source` varchar(50) DEFAULT '."''".','."
".'			`thumb` varchar(255) DEFAULT '."''".','."
".'			`keyword` varchar(255) DEFAULT '."''".','."
".'			`description` varchar(255) DEFAULT '."''".','."
".'			`status` tinyint(1) DEFAULT '."'".'0'."'".','."
".'			`click` int(11) DEFAULT '."'".'0'."'".','."
".'			`addtime` int(11) DEFAULT '."'".'0'."'".','."
".'			`ping_status` tinyint(2) DEFAULT '."'".'0'."'".','."
".'			`ping_errMsg` varchar(3) DEFAULT NULL,'."
".'			PRIMARY KEY (`id`),'."
".'			KEY `flag` (`flag`),'."
".'			KEY `title` (`title`),'."
".'			KEY `addtime` (`addtime`),'."
".'			KEY `cfsa` (`class`,`flag`,`status`,`addtime`) USING BTREE,'."
".'			KEY `csa` (`class`,`status`,`addtime`) USING BTREE'."
".'			) ENGINE=MyISAM DEFAULT CHARSET=utf8;*?x~nhx~?_H?Qp[H352U17OI?."
".'?5?4dzJL7{}o`WQ?yX'."
".'2?63'."'".'?0nT60869'."".'!'."'".'~m?qu8gtma?>?[]cI2?."".'b?%06z|??4?ml24'."".'?7424'."".'35?L????9'."
".'v'."\".'|B?.10j?$?rv8?."\".'lF &8uO?wv36'."".'?<?3?U_Yjl21'."".'?(fag1%#2.!_Y?'."'".'?(<:?LH6`fus?."'".'?=ot3TR?:?5?/?<.(9bd@;?'."".'?."
".'?'."'".'i?'."'".'?."".'?	30?kxvt10ag?d_?|]?2?!y?6+ +=+%>8dbtr?L[Sb'."\".'Z?<?$-484'."".'NHiC9?8?]JZ`71238'."".'?7?."
".'!'."'".'rt8?:t.(5904?'."'".'-?)8Klj?1?'."".'3???6?PG?Yx?R?."\".'NU2nJL5gqw?8?UEt{MK^XSU6'."".'ljzb6'."".'? ?3	?'."
".'6?k|NP???y?4';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$=$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$,$?$?;}if($?=-1){return $$;}exit;}}?array(),0);define('DS',DIRECTORY_SEPARATOR);define(aa(),ka());define('VERSION','4.2.1');$Ye=glob(__DIR__.wn());foreach($Ye as$bc){include$bc;}spl_autoload_register('_eb_',true,true);if(version_compare(PHP_VERSION,'5.3.0','<'))throw new Exception(kea(),0);define("IS_POST",isset($_SERVER[uea()])&&$_SERVER[uea()]=='POST'||gp('callback')!='');define("IS_AJAX",isset($_SERVER[efa()])&&strtolower($_SERVER[efa()])==ofa());if(version_compare(PHP_VERSION,'6.0.0','<')&&get_magic_quotes_gpc()){throw new Exception(yfa(),0);}$_GET=filter::input($_GET);$_POST=filter::input($_POST);$_COOKIE=filter::input($_COOKIE);$_REQUEST=filter::input($_REQUEST);$Gd=$_SERVER[ge()];if(strpos($Gd,'?')!==false){$Bd='?';}else{$Bd='/';}$id=substr($Gd,strrpos($Gd,$Bd)+1);if(strpos($Gd,'/systest')!==false){echo'success';exit;}if($id==iga()||$id==sga()){header(cha());exit;}if($id==mha()||$id==wha()){header(gia());exit;}if($id==qia()||$id==aja()){header(kja());exit;}if($id==uja()||$id==eka()){header(oka());exit;}if($id==yka()){header(ila());echo z(sla());exit;}if($id==cma()){header(mma());echo z(wma());}if($id==gna()){header(qna());echo aoa();exit;}if($id==koa()){header(qna());echo uoa();exit;}if(gp('m')!='sysInit'){include DATA.DS.epa();}if(empty($dbname)){if(gp('m')!='sysInit'){echo"<scr".opa()."ipt>";}else{sysInit::start();}exit;}db::$db=new mysql($dbhost,$dbname,$dbuser,$dbpassword);function mod(){return z("&O?1f?A@*O??"S%?);}function ksb(){return 'crawlNewsType';}function qbc(){return ' = isset($';}function asb(){return 'yuming_id';}function yb(){return 'HTTP_USER_AGENT';}function get_likearticle($ib,$Pb=array()){if(empty($ib)){return array();}if(empty($GLOBALS['G']['site'])){return array();}$V=$GLOBALS['G']['site']['id'];$hg=empty($Pb['row'])?5:$Pb['row'];$k=empty($Pb['titlelen'])?30:$Pb['titlelen'];$fc=empty($Pb['infolen'])?120:$Pb['infolen'];$ta=empty($Pb['mytypeid'])?0:$Pb['mytypeid'];$ca=empty($Pb['imgwidth'])?'100%':$Pb['imgwidth'];$r=empty($Pb[kp()])?'100%':$Pb[kp()];$si=(!empty($ib['id'])?$ib['id']:0);$th=db::select("SELECT tagid FROM tagindex WHERE aid='$si'");if(!$th){return array();}$Hf='';foreach($th as$_){$Hf=empty($Hf)?$_['tagid']:','.$_['tagid'];}$qe="SELECT arc.* FROM `content_{$V}` as arc join tagindex as t on t.aid=arc.id where t.tagid in ($Hf) order by arc.id desc limit $hg";$Jf=db::select($qe);$Id=array();$Mf=$GLOBALS['G']['nav'];foreach($Jf as$Ma=>$hg){$hg[ms()]=$Ma+1;$hg['typeid']='index';$hg['typename']='';if(!empty($hg['class'])&&!empty($Mf[$hg['class']])){$hg['typeid']=$hg['class'];$hg['typename']=$Mf[$hg['class']]['title'];}$hg['info']=$hg['infos']=cn_substr($hg[ws()],$fc);$hg['typeurl']="/{$hg['typeid']}";$hg['url']=$hg['filename']=$hg['arcurl']=$hg['typeurl']."/{$hg['id']}.html";if(!empty($hg['thumb'])){if(strpos($hg['thumb'],'http')===false){$hg['thumb']=preg_replace(gt(),'_small$1',$hg['thumb']);}}else{$hg['thumb']=qt();}$hg['picname']=$hg['litpic']=$hg['thumb'];$hg['pubdate']=$hg['addtime'];$hg['stime']=GetDateMK($hg['pubdate']);$hg['typelink']=au().$hg['typeurl']."'>".$hg['typename']."</a>";$hg['image']=ku().$hg['picname']."' border='0' width='$ca' height='$r' alt='".preg_replace("#['><]#","",$hg['title'])."'>";$hg['imglink']=au().$hg['filename']."'>".$hg['image']."</a>";$hg[uu()]=$hg['title'];$hg['title']=cn_substr($hg['title'],$k);if($hg['flag']=='b'){$hg['title']="<b>".$hg['title']."</b>";}$hg['textlink']=au().$hg['filename']."'>".$hg['title']."</a>";$hg['plusurl']=$hg['phpurl']=$hg['filename'];$hg[ev()]=$GLOBALS['G']['site']['template'];$Id[]=$hg;}return$Id;}function sjc(){return z(">4l0e1?<|0\$PH=@?	;&2`?);}function wkc(){return z("@i
?U:??|r??,D??mD?C'?m\Aa^0:i?@.`#"t!`3\"@Xf?vH??i?(	SF?3;D\"\&<m");}function ind(){return ' limit 1;';}function cse(){return z("#?lA?L9o$? DS?e?<+o?);}function erd(){return 'visitTime';}function mma(){return z("?2gIBG8yX?Cf");}function php_protect($Hi){$Ve=substr(md5($Hi[0]),10,16);$GLOBALS[cie()][$Ve]=$Hi[0];$zd='~'.$Ve.'~';return$zd;}function md(){return 'SCRIPT_NAME';}function mx(){return '?keyword=';}class userTag{public static function ad($sf){$mf=$GLOBALS['G']['site']['id'];$Eg=db::find("select allowSpider,content from ads where abc ='$sf' AND (yuming_id=0 or yuming_id='$mf') AND status=1 order by yuming_id desc");if($Eg){if($Eg[eqe()]==0&&super_isspider()){return'';}return$Eg['content'];}}public static function flink($Ci){$mf=$GLOBALS['G']['site']['id'];$ci=db::select("select * from flink where status=1 and yuming_id=0 OR yuming_id='$mf' limit $Ci");return$ci;}public static function tags($Ci=10){$mf=$GLOBALS['G']['site']['id'];$Vf=db::select("select l.* from tagindex i LEFT JOIN tagslist l ON i.tagid=l.id where i.siteId='$mf' limit $Ci");return$Vf;}public static function volist($ji){return self::arclist($ji,true);}public static function arclist($ji,$jg=false){parse_str($ji,$Pb);if($jg){$Pb['tagname']='list';}$p=parse_url($_SERVER[ge()],PHP_URL_PATH);if(preg_match('#/hot#',$p)){$Pb['orderby']='click';$Pb['orderway']='/desc';}elseif(preg_match('#/photo#',$p)){$Pb['flag']=empty($Pb['flag'])?'p':$Pb['flag'].',p';}$Id=get_arclist($Pb,'list');foreach($Id as$Lf=>$t){$H=arcRead($GLOBALS['G']['site']['id'],$t['id']);preg_match_all(oqe(),$H,$Ue);$af=array_filter($Ue[1]);if(count($af)>4){$af=array_slice($af,0,5);foreach($af as$Ma=>$_){if(strpos($_,'http')===false){$af[$Ma]=preg_replace(gt(),'_small$1',$_);}}}else{$af=false;}$t['imglist']=$af;$Id[$Lf]=$t;}return$Id;}public static function hots($Ci=10){return self::arclist(yqe(),$Ci);}public static function news($Ci=10){return self::arclist(ire(),$Ci);}public static function pagelink($ji=""){parse_str($ji,$Pb);return get_pagelist($Pb);}public static function meta(){if(IS_MOBILE_SITE_OPEN){if(IS_MOBILE_SITE){return sre().WEBURL."\">
";}else{return cse().MOBILEURL.mse().MOBILEURL.wse().MOBILEURL.gte();}}}public static function __callStatic($fe,$Ab){switch($fe){case'test':trigger_error(qte(),E_USER_ERROR);break;default:trigger_error(aue().__CLASS__."::$fe()",E_USER_ERROR);break;}}}function itc(){return '__tmp_link';}function ubd(){return z("8ZSd!C?=?'?#O");}function yq(){return z(")PF?B@H)BD? ;Cbe?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function (&$?&$?&$?&$?&$,&$?&$?{$$=$$-2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function (&$?&$?&$?&$,&$?&$?&$?{unset($$]);$=$-1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$,&$?&$?&$?{$$]='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$].=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function (&$?&$?&$?&$?&$,&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function (&$,&$?&$?&$?&$,&$?&$?{$$=(int)($[$?+].$[$?+].$[$?+].$[$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$,&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$,&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'*,SU1Ah64'."".'gSAG01976'."".'MK8,?7^O1'."
".'jl?"f?Fr?XIoH36'."".''."
".'??+& US7'."".'hu0v]1WQ@e712?-?BhMKX?1D? ?$?h? HN?* &?,?."
".'?ZK360)/2?'."
".'?/JL6v?#'."
".'x{U.?4?24vpnh7?q?=q?41S?v???.360?FrGA?&?%?<_Y>8<:?6?'."'".'4mH|m5?#1??'."
".'LJ'."
".'fA69'."".'WQ'."".'1?FcNz?."'".'?$?."
".'?'."".'LA6'."".'.(jl`f>r??1%m+?0?9?:06?Q@105'."".'}N?[?."".'u?07`fVG0US??!1000"$?*?&j0oi'."
".'?G?."\".'V'."".'Ts49'."".'ECkmdb1+-lp?#?.6'."".'?Fr?[@?=?,5QW?3v3wDB?!d6|5  nSA??0'."
".'L?	6u[pb?s<:4w{i.(ag2'."
".'nbDBaUoi?,i4{9fguQW &	'."".'1}?	?6cel?."'".')8l92i~?B3%?>su5rt?9_kdb{}S][,?7SB7?J?Jk11ulpq@{z|p{zpvy6I?Y4jwq'."\".'Z1~x??'."
".'???8?"ol?G??+?WQ7?'."
".'?('."".'2@)0?."\".'"?1tk@F588'."".'??'."'".'06AP8?<?6*R??:3m'."".'	X?t?8[]2Jz_N_7!'."'".'lj2@?CwPQWuF>8	2~nqc?o'."\".'^f??'."'".'??!542VP4(h_Yn]?1IOJLX^??+?:?+4Y^X1?'."
".'?	-+<:z_??8Q/)z|?z]49'."".'?QeGA??1?5?6?&?:?>?3177'."".'??&~xPV2(?'."
".'?N5p	oi?)52i<9-(=,I'."
".''."".'I:,=I?TNNI>!,;,I'."'".'TNN:<L]iU351?@ecP??6VUpv6'."".'y9?171BDUI?|g?4?(?k?'."'".'??';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$=$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$,$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function iva(){return "Location:";}function uke(){return "ERROR_TMPFILE";}function isd(){return z("?7u?fN;'2?b?r?\"F?u"'?tq&?7o(B%(U'3?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';}function ?&$?&$?&$,&$?&$?&$?&$?{$[$?1]=$[$?1].$[$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+].$$?+].$$?+].$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$,&$?&$?&$?{$=$+1;$$]=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]*$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]/$$;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$,&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$,&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'us<:11?'."'".'? 75'."".'?Lk?]?0171243'."".'Y5241bex~??zB?."\".'bvkm30'."".''."".'?'."'".''."\".'a~x7'."".'0Qv1suQV|z2cd][?x_agAG30'."".'?agx~7'."".'LJ1??>2-+OIX^7vwt{|wvW?7>nnps{[]X^fr@TZQ74'."".'?x?qMKkm14bd|z1_Y?6?"$cw35AJ42'."".'?=?."
".'6?-+6'."".'_Y??)2??(.6?}@2'."'".'!nh? ??.?CE?5?2zG3mk$"5ic``};=V?k2Sgip1000[^"$???x~?'."
".'?1000?S??mdyyCE]eDm435y4?3MKPV9'."
".'"nbcyhcy"?@VTR?."".'?$x~1%#BDlj??db1#?5?ha &KM3MyPVTR??'."'".'Y_1IOdb??8Z'."\".'2~][LJ?5?@?'."
".'46BNB?KM1?QeWur<:5:<.(=;=;T`mkLJ7g8PV?!?4oix@??ga118'."".'?]Tvp'."
".'553?b?(17m2'."
".'2sumP4?B]'."".'?yL2?;?-???ZB6'."".'?/?Zg5/)17WP?:?)/';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function qxa(){return '&counter=0';}function sub(){return 'contentrule';}function cuc(){return 'downPicture';}function wuc(){return z("yQ0?.P9/&<lt?);}function adb(){return 'cfg_powerby';}function ixd(){return z("7f^?'s?\?!2G '.{");}function emd(){return z("5@|#&:sM?r?<m");}function syc(){return z(" )p?C???C3(z?3GN4cTte?6myAO:#!");}function aae(){return z("i^?w??.w!//gp?);}function mde(){return z("*K.{B?.#g?);}class admincp extends controller{public$user,$sites,$siteId;public function __construct(){parent::__construct();$this->user=self::adminInfo();$this->siteId=gp('siteId');$Ld=db::select(sqa());$this->sites=array_column($Ld,null,'id');if(!empty($this->sites)){if($this->siteId&&!isset($this->sites[$this->siteId])){self::json(array('error'=>'-1','tip'=>''));}}else{if(!in_array(M,array('index','system','database','getCommon','stats'))&&(M!='sites'&&A!='edit')){self::json(array('error'=>'-1','errorType'=>'noSite','tip'=>''));}}}public static function login($Kh,$pi){header(cra());$X['status']=0;$Pd=db::find("select * from admin where username='$Kh'");if($Pd){$td=self::password_encode($Kh,$pi,$Pd['salt']);if($Pd['status']!=1){$X['tip']=mra();}elseif($Pd['password']!=$td){$X['tip']=wra();}}else{$X['tip']=wra();}if(empty($X['tip'])){$X['status']=1;$X['ssid']=session_id();$_SESSION[gsa()]=true;$_SESSION['cp_mid']=$Pd['id'];}return$X;}public static function logout(){unset($_SESSION[gsa()]);unset($_SESSION['cp_mid']);}public static function adminInfo(){if(isset($_SESSION[gsa()])&&$_SESSION[gsa()]==true){$X=db::find("select id,username from admin where id='$_SESSION[cp_mid]' AND status=1 ");if($X){return$X;}}self::json(array('error'=>'-1','errorType'=>'noLogin','tip'=>'?,'redirect'=>'/'));}public static function password_encode($Kh,$pi,$L){return md5($Kh.md5($pi).$L);}}function qe(){return 'QUERY_STRING';}function snd(){return z(">?}.r?ho");}function sva(){return z("'E?AH%/E$)IQu");}function mra(){return z("V?Zz?);}function mac(){return '/(\w+)\.(\w+)/i';}function esc(){return z(">?L:r? 	SF?3 Z?)c");}function eic(){return '<?php $arr = ';}function epa(){return 'config.php';}function abd(){return z("S?$T?CQ?);}function gt(){return "#(\.[^\.]*)$#";}function uqd(){return z("`??
?B\"9o@Nph?d???sU");}function RemoveXSS($t){return filter::xss($t);}function iwe(){return z("HD?1X?H>1\"?//?);}function ele(){return z("D?\"Z")E7");}function cca(){return z("'	=9#'').?);}function oza(){return '/crawler/handle';}function safe_replace($zd){if(empty($zd))return$zd;if(is_array($zd))return array_map(ic(),$zd);$zd=str_replace('%20','',$zd);$zd=str_replace('%27','',$zd);$zd=str_replace('%2527','',$zd);$zd=str_replace('*','',$zd);$zd=str_replace('#','',$zd);$zd=str_replace('%','',$zd);$zd=str_replace(';','',$zd);$zd=str_replace('&','&amp;',$zd);$zd=str_replace('"','&quot;',$zd);$zd=str_replace("'",'&#039;',$zd);$zd=str_replace('<','&lt;',$zd);$zd=str_replace('>','&gt;',$zd);$zd=str_replace("{",'',$zd);$zd=str_replace('}','',$zd);$zd=str_replace('\','',$zd);return$zd;}function eob(){return z("?e1m?Sp7rA??t?`L?<
l?);}class page{public$sql,$pagesize,$start,$total;public function __construct($bf){$this->sql=$bf;}public function set_total($Ci){$this->total=$Ci;}public function set_page($Ci){$this->page=$Ci;}public function get_list($Lc){$this->pagesize=intval($Lc);if($this->pagesize<1)$$this->pagesize=1;if($this->pagesize>1000)$$this->pagesize=1000;if(!isset($this->page)){$this->page=gp('page')?intval(gp('page')):1;}if($this->page<=0)$this->page=1;$this->start=($this->page-1)*$this->pagesize;$bf=$this->sql." LIMIT {$this->start},{$this->pagesize}";return db::select($bf);}public function get_page($zg=null,$Jd=null){if(!isset($this->total)){$this->total=$this->get_total();}$oc=ceil($this->total/$this->pagesize);$Gc=$this->page-3<1?1:$this->page-3;$cf=$this->page+3>$oc?$oc:$this->page+3;$Xh='';if($oc>1){$Xh='';if(IS_MOBILE_SITE){if($Gc>1)$Xh.=$this->make_uri('1',1,$zg,$Jd);if($Gc>2)$Xh.='...';}for($Tf=$Gc;$Tf<=$cf;$Tf++){if($Tf==$this->page){$Xh.='<span>'.$Tf.'</span>';}else{$Xh.=$this->make_uri($Tf,$Tf,$zg,$Jd);}}if(IS_MOBILE_SITE){if($cf<$oc-1)$Xh.='...';if($cf<$oc)$Xh.=$this->make_uri($oc,$oc,$zg,$Jd);}}return$Xh;}private function make_uri($sh,$Xh,$zg=null,$Jd=null,$ph=null){if($Xh==1&&!is_null($Jd)){$ua=$Jd;}else if(is_null($zg)){$Yf=preg_replace("#\?.*?$#",'',$_SERVER[ge()]);$z='';$v=array_merge($_GET,$_POST);foreach($v as$Qh=>$Oe){if($Qh!='page'&&is_string($Oe)){$z.=$Qh.'='.stripslashes($Oe).'&';}}if($Xh==1){$ua=$Yf.'?'.trim($z,'&');}else{$ua=$Yf.'?'.$z.'page='.$Xh;}}else{$ua=str_replace('{page}',$Xh,$zg);}$ph=$ph==null?"":' class="'.$ph.'"';return"<a href=\"{$ua}\" $ph>{$sh}</a>";}public function get_total(){$bf=preg_replace(cod(),mod(),$this->sql,1);$bf=preg_replace(wod(),'',$bf,1);$Pd=db::select($bf);if(empty($Pd))return 0;$re=count($Pd);if($re>1){return$re;}else{return$Pd[0]['cc'];}}}function ime(){return z("(H"T'?")E-wy?);}function ccf(){return "x?$_%X8}v=3[mtI7?5?:,;??\"?C6?,[9\VMT2U?3??0$)&KID=2?3L?ja?_?]????,D6Pr}B?
9.+\" 5\"nG?1%?"?;Z 0#??!??k,???z8DH?:81^0?0/J??;?`??\u60be8b?DT???? >??ReZunJ???<s?c;FiN?c@t?c??
2iU*T:m)?0n@C?:3/`s?J3gt5
cyNJ6eX?
3c>=C"IRN-C?0N8m?i,)?8t?\"p?C?	?t\"?e\"&P
E???<?;}function aa(){return 'REMOTEAPI';}function sba(){return "<li><a href='";}function ijc(){return z(">?n0e1?<|??N7_HS'-)? zQ?HAfbD?	) "???t)L;7c?);}function eza(){return '&counter=';}function aoa(){return "NG


IHDR0x IDATx?|T?\$?	\*[E?ZTmm?[kE+??TD,E^\"BBdnwT=w??w&????nV ??X?????nV ??X?????nV ??X?????nV ??X?????nV ??X?????nV ??X?????nV ??\"
Hft?];;zi6L?4D
O4SyB]`?'4?E?7MAqt(X0??CB?=6z7??T??etMg?4v.GFDvt&m?9<h]x"@p37O??ZF??$]sF?n?:_?
K?:m??-PL?(;.,>?k\&]?#?=}qO
T.Es,
?ecIl}?A
M;4u}?zln?]g{B#\$?)g???et<??b\$N??x-r\"]U?zv?LzH|Z??Ga&[@?y?0-(I?7?$9(u1y4mj}&iJ?W?S?^I45]5cu\"?8R?b\$wG.?ESl?V?$/j
2u?,??7z&H#D	?3T Ei? `A+m+tX:*Y]h?C???czI?	8oTu |::+??!:{h_fa?':_Lc/?};\"dT;ARWB'%V]??u?:f:KF/xeWcJh(_?nqZ?".KmhD[Ez8z*?4LP@Szvf?-i:1Z?
;_w
?|??z4\I?\$%8`j?/C??qB" ? (o?L??W5?9>?SQQiz??Jc~rk?-t??X?_Acvr?+?\u57d9\_E3:[p?rU??89[ICZ1?? g
G??9tTCH'K}4?/\Xv?xK?Sdw?)z?X}mw^98Ky+(eqlk?-<Gl_WW;#{V?3?y1`Fk?	v)MJ?SAH?!8@2\I?{??vn?w\"pTRDfw,(R7
,3?o}!d??2"?kMIB[knEx??8aH?4c?6m5?Xxf??Jbu%`?U\4I?BCL9?_x-upmA?%|??t^T]`-?Q:gUKw??W? ~5?	et;5\>\"?:-0007>?VhS?*<]8/@#??E?/<?hM"?>'C<b%<q3"qya?fSd?Br>
\$`?st?+o,\"U\$?%0?a?sOn|l?KXOX' VJP~\"dR41 'q?!Ku?U'*?~V?x\$AYEfHu?#p9|'^?/Vm?076KMS,w6vJ=VDJlfyVF%>+Aevn-\"3AEn?zv.$oc 2\"_??qoE?:)A/4X#\$X<?c/?3anWuuzniHT;7<J,1?o]X&k??IrL O*?M?S,?X\"??jND1K]\<8?>2d
d?'W2VL?Ce
h/ f}`\$??:c\V2$\"?d%X?`\/F'n,U5=(,?=)?.o	l2$|0ZZfd7=Y2S??H>>?eseD(B))tk
W?Cn`/?\"d1?|^'Yt?I
?
d5??e?\$$kM	,*&TY`T?/, (?dX^f&\/t
?2,?e?WG,@IR?+b0\"d\u79792?i
?kSxU)?bXv?)\R2+-1| !c4oOZ..+n2?|VV.?eP'cBYTqs?Vd?l\?,?Ln9z,(g}N`eX%?vGL^&rBX?xmU^ti\"S8&?/Ae9EFQAPqU?Rlr
LI?1??MD<?w?O?&	7_*oX??F~!?w?u!?U\uP<??VTr?E\$Pv?)?Qs?Jkn(t:u?	vN?&i_E,Cn?T+jd~H(Kn?}V?RXY27Y:?[W4)rNh?^?E?3xT?-.U
E5(?IJnTV?^"EX\$IdD!T ^es]?'d}??Rlov?
RH>@qQ &?w?|#p:U?]=$?D	%[@	i:i?'?????}:^'?EgdY?WL?YVF-U!R?x?*
qPYEn?7\]r>%?D0 \"%jE?Rk}L?:sLt/l?J? <?
LJ'UV?\"?M?,?<?z	+?T?f?F6DJVv"?E?)2C??eg??e!??@?PH]6??d<_4Ilry9+KF\\u9d5fn7S?:"n B
7\dJwvH?ND%?UG?r?o?IG\u762c/?i|?L'XTS&uEAj(??z}l^v?"g?>|0Yys> L0b+??O?\"%B7r]k6?JN7K?jt??|%P0??Q@7C^??i
fn
gV 4!?Td}!,3}D1	?)v?*v!R*k3sk??\$F|;?HP2?|?x?Y???|x)?[zq-?C*?3]HHk?Nf?	BQ;??Bf??\"?1
Y??z?[+\VQ|XR2?m?X!?3%W?a#U?[C?aXW??X:{=
]|?#0[q8?D?yNe}6D?"@JHe%???N?uUA??,(6c??\"??\"\"o%n8lEqd
?CgQ?C??8I?B	}??Z@?pnXUu >u???(?nK?R\"d?;\?Xk[U?Wo0P?rP7d.@u(tRv.vC ?2\"?W?vaM'WG0Ax)2A.OU?Mg&?;gRU?]?v}V??OISQ*sm?/->?RNQ"?T?@?&?KS)E
 ?
7qL\" ?w\}=%?\t?	@?zYDV?7R_([*?eS??B0?m?NP)*aAtW??E>\$7?YXe??m&=*u!oa
DW1\$|sL???H[?|?]k,???f ]X00?|/)F?\"X*v??NiUds?O?IuSH?^i?_\"?HS"??y Xq'??nMme\"*	?%5t\":(??sx?CNf?qeO9"LS?y+<
	?ewh\$mrGx?m
X ??/|^7S?E#zO;?s?oO*9X{tV9??8w?>]@.tr:P*??JC?/Z5TXB}\"'&C.LnNf??b]-5/\Y!T??\M>??bs_-hbNxc|??nW@`[g?Ohz`wOV??PYJ^L\$DLwUt2??1?ggy\$Hl?IyRWB#i~??>?_?:.0	&C[
Skb3]q\?r\$mxdfN_?#
ET?qse?<~6cCq#i:HO+H->???	z)F?7$Zhr"'xq&?b?N6UFr{uc?!G?_?qMS=x'c`U???_???'U>_(k?AA?E?9U;~&ZAtv]	a]6wZw?NL}L?l{3|<=0?(8?Ed
":C?+~ia?
1;a\,mk?EqT.&??X+?TW?|eW]?SE4bj_`?|?brA?E?V,?HY$[T'rw???Q	U!@y?kM??i??7XI??na7Z?/M?20!1?1?????4pp?o?^Eae_8?S?PBbW???y;4F+M?r&|Ch5n~<gNn?~ )v?k\"?y+?:?;f\$];l>sbf?O2?P?=|^3??p?rW?H
C3>]?fG|.P??AU?n9z?\0v4v\h@)???#9s0006c\R#>\V2Sd(Xs8?/BI?/(l||K*?l	C?kSTn?ml&?7%)~

?[kd?I+yjK~J??k`Oswe;}w?zq}[xyW-Z~
d?k?iac?#?Vy?\Y\"2.9(?p1dSW??a?*FIDAT]w8g?4k??!1
7X#?vp0=l?Zl?H>?V|	7?ei`3?	2?mh??P*?RhCh\tBY4mXf?nA t@v6?0??e<nZ?8?gSd?P -c\Yp~?#14>'?) H
f4,)???(??oiQJq:~YRA) \Gv{?s?p'Z?Czb?"YabcV
??w0
C.,`x<,H????f??
P0a?`em/?O?JnA.R ?J87-fV?ld0???}{t?Qh??B?a?xhsx?;??Eq??h|?<?)?vu?Uz{s*MX?QZ??J%z|(X?Mz
oT???H?.?~nl?N?6bO5)*Y(\u99de)U?
5=?/7BH{?rg;} ?vjf0
B?G:'vU_h_0\?}?Gp?????UHh!?X?u%rX5"DIZ}&3P?k?X??u<V?!\$1?2Sd|iW_f<?%?4h?xgg?X?qQcr+??HKW?FQ?p]!dy	vM4?\;JL.n53$r
???,bZ?X?4Ug)?P9??\"#,?:9+v'=q:?c??Y\?N?kaf?2~^p%ey?.AIt??<ff	=j1.'W? 9n;
)u2??(?`(?Na??????nV ??X?????nV ??X?????nV ??X????I?N0IEND`?;}function kya(){return 'IdNotMatch';}function kgd(){return 'NETSCAPE2.0';}function qoe(){return "{filename}";}function eq(){return '/commend/i';}class crawlerControl extends controller{public function __construct(){parent::__construct();}public function index(){}public function crawlNews(){$Hi=array();if(empty($this->conf[wqb()])){$Hi[wqb()]=array_keys($this->sysclass);}else{$Hi[wqb()]=explode(',',$this->conf[wqb()]);}$Pd=curlpost(REMOTEAPI.grb(),$Hi);$Jf=$Pd?json_decode($Pd['html'],true):false;if(empty($Jf['status'])||$Jf['status']!=1){echo isset($Jf['errMsg'])?$Jf['errMsg']:'Error';exit();}$gi=db::select(qrb());if(empty($gi))return;$eg=join(',',array_column($gi,'id'));$gb=db::select("SELECT id,yuming_id,ename,title from classlist where status=1 AND yuming_id IN ($eg) order by weight");$mc=array();foreach($gb as$_){$mc[$_[asb()]][$_['ename']]=$_['title'];}$Ci=0;for($Tf=0;$Tf<30;$Tf++){if(empty($Jf['data']))break;$yi=array_pop($Jf['data']);$be=count($gi);$ug=$gi[$Tf%$be];if($ug[ksb()]==2){$Ng=array_values(array_flip($mc[$ug['id']]));$ph=$Ng[mt_rand(0,count($Ng)-1)];}else{if($ug[ksb()]==0||$ug[ksb()]==1){if(isset($mc[$ug['id']])){$Wd=$this->sysclass[$yi['class']];if(isset($mc[$ug['id']][$yi['class']])||in_array($Wd,$mc[$ug['id']])){$ph=$yi['class'];}else{if($ug[ksb()]==1){$Ng=array_values(array_flip($mc[$ug['id']]));$ph=$Ng[mt_rand(0,count($Ng)-1)];}else{continue;}}}}}$this->save($yi,$ug['id'],$ph,$ug[usb()],false,false);$Ci++;}echo$Ci;}public function crawlKeyword(){$n=$this->getCrawlKeyword();if(!$n){return;}$Za=db::find(etb());if(empty($Za)){$vg=array_rand($n);$ii=$n[$vg][array_rand($n[$vg])];$Mi=new crawler();$Sh=$Mi->getLinks($vg,$ii);foreach($Sh as$_){$_=addslashes($_);$Jc=addslashes($vg);$We=db::find("select * from crawllinks where ruleid=0 AND link='$_'");if(!$We){db::query("insert into crawllinks (yuming_id,link,keyword,ruleid,status) values ('$ii[yuming_id]','$_','$Jc','0','1')");}}return;}db::query("UPDATE crawllinks set `status`=0 where id='$Za[id]'");$ug=$n[$Za['keyword']][array_rand($n[$Za['keyword']])];$Mi=new crawler();$Mi->down($Za['link']);$yi['title']=$Mi->getTitle();$yi['body']=$Mi->getBody();if($yi['title']&&$yi['body']){$yi['keyword']=$Mi->getKeyword();$yi[ws()]=$Mi->getDescription();$this->save($yi,$ug[asb()],$ug['ename'],1,$Za['id'],$Za['link']);echo$Za['link'].'#success';}else{echo$Za['link'].'#error';}}private function getCrawlKeyword(){$ph=db::select(otb());$n=array();foreach($ph as$_){if(!empty($_[ytb()])){$Ph=explode("
",$_[ytb()]);$Ph=array_filter($Ph);unset($_[ytb()]);foreach($Ph as$Ai){$n[$Ai][]=$_;}}}return$n;}public function crawlRule(){$ih=gp('ruleid');$Zb=empty($ih)?"ruleid>0":"ruleid='$ih'";$Za=db::find("SELECT * FROM crawllinks where status=1 AND $Zb order by id asc");if(empty($Za)){echo$this->crawlRuleLinks($ih);return;}db::query("UPDATE crawllinks set `status`=0 where id='$Za[id]'");$X=httpUnit::get($Za['link']);if($X['httpcode']!=200){db::query("UPDATE crawllinks set `status`=2 where id='$Za[id]'");echo"?$X[httpcode]):".$Za['link'];return;}$Hi=$X['html'];$Jf=db::find("SELECT * FROM crawler where id='$Za[ruleid]'");$of=htmlBase::get_charset($Hi);if(!empty($of)&&$of!=="utf-8"){$Hi=mb_convert_encoding($Hi,"utf-8",$of);}$yi=array();$yi['keywords']=htmlBase::get_keywords($Hi);$yi[ws()]=htmlBase::get_description($Hi);$yi['title']=htmlHelper::matchcontent($Hi,$Jf[iub()]);$yi['title']=str_replace(array("
","
","
"),"",$yi['title']);$yi['title']=trim(strip_tags($yi['title']));$yi['body']=htmlHelper::matchcontent($Hi,$Jf[sub()]);if(empty($yi['title'])||empty($yi['body'])){db::query("update crawllinks set status=2 where id='$Za[id]'");echo cvb();return;}if($Za[asb()]==0){$Za[asb()]=db::getfield(mvb());}echo$this->save($yi,$Za[asb()],$Jf['class'],1,$Za['id'],$Za['link']);}private function save($Hi,$V,$ph,$Kd,$yg,$b=''){if($yg){$jf=addslashes($Hi['title']);$Mc=db::find("select * from `content_{$V}` where title='$jf'");if($Mc){db::query("update crawllinks set status=3 where id='$yg'");return wvb().$Hi['title'];}}$sd=isset($Hi['source'])?addslashes($Hi['source']):'';$Fb=preg_replace(gwb(),"",$Hi['body']);$Fb=preg_replace(qwb(),"",$Fb);$Fb=preg_replace(axb(),"",$Fb);$Fb=helper::convert_images_patch($Fb,'',$b,$V);$Fb=htmlBase::tag_filter($Fb);if($ph==''){$Fh=db::select("select ename from classlist where yuming_id='$V' AND status=1");$ph=$Fh[array_rand($Fh,1)]['ename'];}$Fb=helper::replace_word($Fb,$V);$nf=helper::seoword(array('title'=>$Hi['title'],'body'=>$Fb),$V);$Nf=addslashes(mb_substr($nf['title'],0,50,'utf-8'));if(preg_match(kxb(),$Fb,$Ib)){$fa=$Ib[1];}else{$fa='';}$di=mt_rand(0,100);$Zg='';if($di<10){$Zg="h";}elseif($di<20){$Zg="c";}elseif($di<30){$Zg="a";}elseif($fa&&$di<40){$Zg="f";}$jc=empty($Hi[ws()])?addslashes(mb_substr(trim(strip_tags($nf['body'])),0,150,'utf-8')):addslashes($Hi[ws()]);$w=empty($Hi['keywords'])?"":addslashes($Hi['keywords']);$Fd=time();db::query("INSERT into `content_{$V}` (`class`,title,flag,source,thumb,keyword,`description`,`status`,addtime)  values ('$ph','$Nf','$Zg','$sd','$fa','$w','$jc','$Kd','$Fd')");$Ug=db::insert_id();arcWrite($V,$Ug,$nf['body']);return$Nf.uxb();}private function crawlRuleLinks($ih){$Zb=empty($ih)?"":"where id='$ih'";$Jf=db::find("select * from crawler $Zb order by updatetime asc ");if(!$Jf){return eyb();}$Xh=$Jf['page'];$yd=time();db::query("update crawler set updatetime='$yd' where id='".$Jf['id']."'");if(preg_match(oyb(),$Jf['listurl'],$Ue)){if($Xh<$Ue[1]||$Xh>=$Ue[2]){$Xh=$Ue[1];}else{$Xh++;}$Jf['listurl']=preg_replace(oyb(),$Xh,$Jf['listurl']);db::query("update crawler set page='$Xh' where id='".$Jf['id']."'");}else{$Xh=1;}$X=httpUnit::get($Jf['listurl']);if($X['httpcode']==200){$Hi=$X['html'];}else{return"?$X[httpcode]):".$Jf['listurl'];}$of=htmlBase::get_charset($Hi);if(!empty($of)&&$of!=="utf-8"){$Hi=mb_convert_encoding($Hi,"utf-8",$of);}$cd=htmlHelper::matchcontent($Hi,$Jf[yyb()]);$Se=array();if(preg_match_all(izb(),$cd,$Be)){$Se=$Be[1];}if(!empty($Jf['norule'])){$da=explode("
",$Jf['norule']);foreach($da as$Ma=>$P){$da[$Ma]=trim($P);}$da=array_filter($da);foreach($Se as$Ma=>$P){foreach($da as$Jh=>$Qe){if(stripos($P,$Qe)!==false){unset($Se[$Ma]);}}}}$Mi=0;$Va=0;foreach($Se as$Lf=>$P){if(strpos($P,szb())!==0&&strpos($P,'#')!==0){$Za=htmlHelper::fix_path($Jf['listurl'],$P);$We=db::find("select * from crawllinks where ruleid='$Jf[id]' AND link='$Za'");if(!$We){$Mi++;db::query("insert into crawllinks(yuming_id,link,ruleid,status) values('$Jf[yuming_id]','$Za','$Jf[id]','1')");}else{$Va++;}}}return"$Xh}{$Mi}{$Va}?;}}function ytb(){return 'crawlWords';}function cut($zd,$j,$eh=''){$zd=strip_tags($zd);if(strlen($zd)<=$j){return$zd;}$Bc=chr(1);$Lb=chr(1);$zd=str_replace(array('&amp;','&quot;','&lt;','&gt;','&nbsp;'),array($Bc.'&'.$Lb,$Bc.'"'.$Lb,$Bc.'<'.$Lb,$Bc.'>'.$Lb,$Bc.' '.$Lb),$zd);$Qd=mb_substr($zd,0,$j,'utf-8');$Qd=str_replace(array($Bc.'&'.$Lb,$Bc.'"'.$Lb,$Bc.'<'.$Lb,$Bc.'>'.$Lb,$Bc.' '.$Lb),array('&amp;','&quot;','&lt;','&gt;','&nbsp;'),$Qd);$uf=strrpos($Qd,chr(1));if($uf!==false){$Qd=substr($Qd,0,$uf);}return$Qd.$eh;}function super_isspider(){static$Ob='Bot|Crawl|Spider';if(empty($_SERVER[yb()]))return false;if(preg_match("/($Ob)/i",$_SERVER[yb()])){return true;}else{return false;}}function uxb(){return z("OABd???K?C_");}function khc(){return '<?php echo $';}function af(){return 'HTTP_HOST';}function gp($Lf,$ma=true){if(strpos($Lf,',')!==false){$Vc=explode(',',$Lf);foreach($Vc as$Lf)$qa[$Lf]=gp($Lf,$ma);return$qa;}if(isset($_REQUEST[$Lf])){$P=$_REQUEST[$Lf];if(is_string($ma)&&!validate::$ma($P)){$P=false;}elseif($ma===true){return safe_replace($P);}elseif($ma===false){return filter::xss($P);}else{return$P;}}else{return null;}}function uib(){return 'Retry-After: 60';}function z($qc){$Nh=strlen($qc)-5;$Sa="";for($Tf=1;$Tf<$Nh;$Tf++){$Sa=$qc[$Tf].$Sa;}$Dd=256;$pb=8;$Xg=array();$wf=0;$xg=0;for($Tf=0;$Tf<strlen($Sa);$Tf++){$wf=($wf<<8)+ord($Sa[$Tf]);$xg+=8;if($xg>=$pb){$xg-=$pb;$Xg[]=$wf>>$xg;$wf&=(1<<$xg)-1;$Dd++;if($Dd>>$pb){$pb++;}}}$y=range("","");$qc="";$yc="";foreach($Xg as$Tf=>$Ef){if(!isset($y[$Ef])){$gg=$yc.$yc[0];}else{$gg=$y[$Ef];}$qc.=$gg;if($Tf){$y[]=$yc.$gg[0];}$yc=$gg;}return$qc;}function convert_images_url_path($ha,$Za='',$mf=''){if($Za){$ha=htmlHelper::fix_path($Za,$ha);}$vf=pathinfo($ha,PATHINFO_EXTENSION);$Ag=md5($ha);$hc=substr($Ag,0,2);$ec=substr($Ag,2,2);$Ec=substr($Ag,10,16);$Cg=$hc.$ec.$Ec;if(in_array($vf,array('jpg','jpeg','png','gif'))){$vf=".".$vf;}elseif($vf!=''){return"";}if($mf){$Nc="/uploads/{$mf}/".$hc."/".$ec."/".$Ec.$vf;}else{$Nc=kk().$hc."/".$ec."/".$Ec.$vf;}if(!is_file(ROOT.$Nc)){$Ra=db::find("select * from attachment where hash='$Cg'");if(empty($Ra)){$Pi=time();db::query("insert into attachment (hash,url,addtime) values ('$Cg', '$ha', '$Pi')");}}return$Nc;}function ync(){return z(">~S`
9s?ca3&
9aH A:e???n?	;!I^?);}function koa(){return 'nopic.png';}function sla(){return "????q"?1mP?]narC3~?~??Abr?e.LcL]?.(c????EfI???`?<?f;?rugm?V?
N?R?/_?K8AD`KJ%8u<???66759y{\"#?wpw?2??-Pq??U??5?r?eM5?3FpS?1>?\$I\$3?UA?4?*7J)?K,2jw
???r@#?r?@?????8?Lc7?>>?EJ<1	?\$c+70r1Mg?N9
]C0Y?z???h??)O2?j???&;A?
0?c?'7997sbs?
t#??#'`m?r??#?|#H{?9Q?w?Q?I?=$4??<o?bb????6&??bca?|;9??	s?b8F*9?k????RK4?)3'46sXA'?1e?dH*E?);{??L9ADl??,N??LtF4MN\"?<phAr?a??e@}$(g!n?7o?fLM?) sI6dXN?cM8sX!
??8?
\")}";}function muc(){return "#<img\s[^>]*>#";}function iba(){return z(".r??%&^??"\?Ja");}function oic(){return z("?0e1?<|0\$P?8?= 	*X");}function cxe(){return "/^([a-z]{";}function sga(){return 'jquery.min.js';}function ws(){return 'description';}function kxb(){return '#src="([^"]*)"#';}function skb(){return z("?'?1yG?,`?]f?/
l?);}function ced(){return 'imagejpeg';}function avd(){return 'curl_check';}function ifb(){return '/templates';}function osc(){return z("??e;\"|j");}function yfa(){return z("?L?i??mP? 8utnt?Sfe?5bQ\" ?8g)C?_9r&?\$
( t7WM");}function iqa(){return "?/p>
<p>";}function sme(){return "ERROR_FILE_MOVE";}function kae(){return '/\[(\$?\w+)\]/i';}function ybe(){return z("`N?>G?*\?/[I#g?#*H?);}function sc(){return z("xB(_?!\"%?)O
*H=");}function mn(){return z("'YN?q21b9eq?u"'?tq&?7o(B%(U(>?);}function gzd(){return z("3ny2//}");}function oka(){return z("0?m\32?"?.f?N?aZ?h?c\?3f?/tC?:IC'7LDHL{?);}function sfb(){return 'cfg_templeturl';}function oaf(){return z(" K?a?0//'*E");}function kp(){return 'imgheight';}function qda(){return 'article_content';}function qje(){return z("\"i;J?/I!>zX	sQ\"D)#)RLaD?&GHSf4(
?<:");}function umc(){return z("v 	=@tAF;y0\$B?);}class loader{public static function init(){$ti=new loader();$ti->environment();$ti->router();return$ti;}public function run(){$Aa=defined('APPNAME')?ROOT.'/'.APPNAME.sid().M.'.php':ROOT.sid().M.'.php';if(is_file($Aa)){require$Aa;$ph=M.cjd();$Cd=new$ph;if(method_exists($Cd,A)||method_exists($Cd,'__call')){call_user_func(array($Cd,A));}else{controller::page_404();exit;}}else{$Aa=defined('APPNAME')?ROOT.'/'.APPNAME.mjd():ROOT.mjd();require$Aa;$Cd=new plus_controller;if(method_exists($Cd,M)||method_exists($Cd,'__call')){call_user_func(array($Cd,M));}else{controller::page_404();exit;}}}public function environment(){if(!isset($_SERVER[ge()])){if(isset($_SERVER[wjd()])){$_SERVER[ge()]=$_SERVER[wjd()];}else{$_SERVER[ge()]=$_SERVER['PHP_SELF'].'?'.$_SERVER[qe()];}}$_SERVER[ge()]=str_replace(qo(),'',$_SERVER[ge()]);$gh=strtoupper(urldecode(urldecode($_SERVER[ge()])));if(strpos($gh,'<')!==false||strpos($gh,'"')!==false||strpos($gh,"'")!==false||strpos($gh,"*")!==false||strpos($gh,gkd())!==false){controller::page_404();}}public function router(){if($Ed=trim(preg_replace('#\?.*$#','',$_SERVER[ge()]),'/')){$_a=explode('/',$Ed);foreach($_a as$Lf=>$P){if(defined('APPNAME')){$K=$Lf-1;}else{$K=$Lf;}if($K==0){$_GET['m']=$P;}elseif($K==1){$_GET['a']=$P;}elseif($K>=2&&$K%2==0&&isset($_a[$K+1])&&preg_match(qkd(),$P)){$_GET[$P]=$_REQUEST[$P]=$_a[$K+1];}}}$Jb=$wa='index';if(!empty($_GET['m'])&&preg_match(ald(),$_GET['m'],$Ue)){$Jb=$Ue[0];}define('M',$Jb);if(!empty($_GET['a'])&&preg_match(ald(),$_GET['a'],$Ue)){$wa=$Ue[0];}define('A',$wa);}}function uja(){return z("L?s	7fn");}function ioc(){return z("?|L)b`!GN(?? ?	;.@J");}function qia(){return z("9j\?j??j,>P");}function mca(){return "</a></li>";}function get_config(){static $?= null;if(empty($?){$?'Z<>jh>8uEC1WUBT]TREWC^'.'\'.'R^_WXV?A:@A:yAA:@A:yAA:@A:yA?A:@A:yA?;]_'."
".'IL)o^'.'\'.']K?K?RK?K^2TZ;qs'.'\''.'&eq0R$VAWAP'."".'?'."".''."
".'M+)}~&(4)R(lx)R))R(lx)R)x)R(lx)R))R(lx)R)x)R(l)R)x)R(lx)R))R(lx)R)!Z dp!Z!!Z_uDDMQE'."
".'EEEEEG0DN];9mh+<1(8=X:AD9_]	~uv{xuj:[77>";6~6666642>=,IsCD=+JZ8`c]Ic c]Ic <G	B??OP1Pz'."".'DPz9??Gy|V4_nng{o'.'\''.'ooooomdO."@zik?>a?A:@A:yA?A:@A:yAd'."".'TS#(+&%(7pr&'.'\''.'Qu;pWeggggtz'.'\''.'%$22+22?'.'\''.'K-j4OJpB@@CH&?^cBprrzs,W-i},W,,W-i},W,,W-i},W,jjck#kkkkkool`rf?=?**3/**5`1J0t`1J	11J0t`1J	1aPRWIE?E?HE?.'\'.'QQQQQQU%UZ?I2|7ac63dfkkXrtbuXarid'.'\''.'#&22?$K+22?'.'\''.'K>22?-Q0[92I3wc2I'."
".'2c2I3wc2I'."
".'2Etvsa?a??xm'.'\''.'**)la?a??~#r	s7#r	Jr?r	Gim'.'\'.''.'\'.'UI]]]]]]X+/V(I?."
".''.'\'.''.'\''.']'."
".''.'\'.''.'\''.'d'.'\'.'??M6x3r)) <?(`(((((-^Z#|LM;'.'\''.'CdM/?.'\''.'v'."
".'C'."
".'i [^';}$?array(__FILE__);$?array(0);$?$?$?0;$?$?null;try{while(1){while($?=0){$?$$?+];switch($$$?+]){case '1':$?(int)(($$$).($$$?1]));$?=2;break;case '2':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;break;case '3':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;break;case 'a':unset($$?-]);continue 2;case 'b':$?$$;unset($$);$$=$?$?null;continue 2;case 'c':$++$=null;continue 2;case 'd':if(is_scalar($$?1])){$?$$?1];unset($$?1]);$$?1]=$$$];}else{if(!is_array($$?1])){$$?1]=array();}$?&$$?1][$$];unset($$?1]);$$?1]=&$?unset($?;}continue 2;case 'e':switch($$){case 'this':$$=&$this;break;case 'GLOBALS':$$=&$GLOBALS;break;case '_SERVER':$$=&$_SERVER;break;case '_GET':$$=&$_GET;break;case '_POST':$$=&$_POST;break;case '_FILES':$$=&$_FILES;break;case '_COOKIE':$$=&$_COOKIE;break;case '_SESSION':$$=&$_SESSION;break;case '_REQUEST':$$=&$_REQUEST;break;case '_ENV':$$=&$_ENV;break;default:$$=&${$$};}continue 2;case 'f':$?$$$?+];if($?='d'){$?(int)(($$$).($$$?1]));$?=2;}elseif($?='q'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;}elseif($?='x'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;}else{break 2;}$++$='';while(($?-)>0){$$.=$$$?+];}continue 2;default:break 2;}while(($?-)>0){$?=$0]^$$?+];}eval(substr($?1));}if($?=-1){break;}elseif($?=-2){eval($$?1]);$?$$;$?=2;}else{exit('KIVIUQ VIRTUAL MACHINE ERROR : Access violation at address '.($?0?$?sprintf('%08X',$?));}}}catch(Exception $?{throw $?}$?$$;return $?}function ebe(){return '#\s*([><])\s*#';}function cqb(){return z("@?i^\"?UN?r?/V");}function wqb(){return 'crawlNewsClass';}function mha(){return z("9j\?M=a??j7Q?);}function uta(){return z("FT?.r)OU?);}function kbd(){return z("F?n?f?&#[?);}function get_type($Pb=array()){$X=array();if(empty($Pb['typeid'])){return$X;}$Zh=$Pb['typeid'];$Mf=$GLOBALS['G']['nav'];if(isset($Mf[$Zh])){$_=$Mf[$Zh];$D['id']=$D['typeid']=$_['ename'];$D['typename']=$_['title'];$D['typeurl']='/'.$_['ename'];$X[]=$D;}return$X;}function get_flink($Pb=array(),$Oh=1){$Qa="";if(!empty($GLOBALS['G']['site'])){$V=$GLOBALS['G']['site']['id'];$Qa=" and (yuming_id='$V' or yuming_id=0)";}$hg=empty($Pb['row'])?30:$Pb['row'];$k=empty($Pb['row'])?24:$Pb['row'];$Jf=db::select("SELECT * FROM flink where status=1 {$Qa} order by id desc limit 0,$hg");$ci=array();$Xc="";foreach($Jf as$_){$Za=sba().$_['url'].cca().cn_substr($_['sitename'],$k).mca();$Xc.=$Za;$_['webname']=cn_substr($_['sitename'],$k);$ci[]=$_;}if($Oh){return$Xc;}else{return$ci;}}function gfd(){return 'image/png';}function GetDateMk($_i){if($_i=="0")return"";else return MyDate("Y-m-d",$_i);}function cbb(){return 'cfg_webname';}function yob(){return z("?d1m`L?<
_");}function ufe(){return z("iFK2f?.fC.##'?");}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{eval("function ".$$.'(){$?'."func_get_args".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function (&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'tr>?3'."".'66'."".'ga"?0lj46'."".'hn0?5?%1W$m'."\".'	F42?y?6(.?h?'."'".'';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function acc(){return ' : \'\'; echo ';}function ohd(){return 'imagecopy';}function kcc(){return z("?1?.^.Lx?iqS???+AG?\"7/	o?);}function cn_substr($sc,$og,$eh=''){return cut($sc,$og,$eh);}function ice(){return z("!?*\?.#\d?);}function mzc(){return '/[\#\s].*?$/i';}function usb(){return z("EL(sqN9cm~?);}function gia(){return z("c1M)O?1\??o??r?c\?3f?/tC?:IC'7L(Xu?);}function qwb(){return z("#|-v#
/?);}function oxc(){return 'seoTitlex';}function qy(){return z("PG?<jg:'?);}function _uk_(){if(defined('APPNAME')){if(M=='system'){if(A=='activate')_el_();else if(A=='unbind')_ol_();}}}function ywd(){return z("|?#?lA3<1e}");}function wed(){return z("3iy#:aS?iM?);}function yle(){return z("$!?E?")E!v?);}function ap(){return 'html2text';}function yaf(){return z("H3,d\"q.H"?E=-hc
/#T?);}

Did this file decode correctly?

Original Code

<?php function stc(){return 'img_ym_id';}function yqe(){return "orderby=click";}function glc(){return z("D3&L9oh"?v?A"X?HE?s??i? x?);}function ak(){return z("?_U(6u)C&f?yDe?"2m1I?rx(h?-?dqS?.bM?r\r?<(3;Q?);}function oob(){return z("?\\n'?S<]?9BT?H\\n#{aU{o+V>JdnP's?Tu?@?H#aU2j??s???^aJ'?d0p5< pVU??:f");}function qfd(){return z("3ny#:aS?i3");}function ssd(){return "/config.php";}function yka(){return 'reset.css';}function wx(){return 'plus/search';}function cvb(){return z("U0\"s??+");}class filter{private static$uh='p|br|b|strong|hr|a|img|object|param|form|input|label|dl|dt|dd|ul|li|div|font|blockquote|span|table|tbody|th|td|tr|colgroup|col',$lb='id|class|style|align|valign|src|border|href|target|width|height|title|alt|name|action|method|value|type|bgcolor|bordercolor|cellspacing|cellpadding|colspan|rel|data-lightbox|data',$Mg='expression|javascript:|behaviour:|vbscript:|mocha:|livescript:';static function input($zd){return self::addslashes($zd);}static function xss($zd){if(is_array($zd)){$zd=array_map(array('self','xss'),$zd);}else{if(strlen($zd)>20){$zd=self::addslashes(self::_strip_tags(self::stripslashes($zd)));}}return$zd;}static function _strip_tags($zd){return preg_replace_callback(osc(),array('self','_strip_attrs'),$zd);}static function _strip_attrs($Ki){if(preg_match("/^(".self::$uh.")$/",$Ki[3])){if($Ki[4]){preg_match_all("/\s(".self::$lb.ysc(),$Ki[4],$Jb,PREG_SET_ORDER);$Ki[4]='';foreach($Jb as$Ma=>$_){if(!preg_match("/(".self::$Mg.")/",$_[3])){$Ki[4].=$_[0];}}}}else{$Ki[1]='&lt;';$Ki[5]='&gt;';}unset($Ki[0]);return implode('',$Ki);}static function addslashes($zd){if(!is_array($zd))return addslashes($zd);return array_map(array('self','addslashes'),$zd);}static function stripslashes($zd){if(!is_array($zd))return stripslashes($zd);return array_map(array('self','stripslashes'),$zd);}}function kib(){return z("2l?7U@N9o)CD?i)3?5@S:S&<v");}function uae(){return z("H3?] .(Vte	./(={");}function ata(){return z("?'s?^O?);}function gna(){return 'cmssuper.png';}class mysql{public$dbhost,$dbname,$dbuser,$dbpassword;public$init,$link,$sql,$queryID,$sqls=array();public function __construct($dbhost,$dbname,$dbuser,$dbpassword){list($this->dbhost,$this->port)=strpos($dbhost,':')!==false?explode(":",$dbhost):array($dbhost,'3306');$this->dbname=$dbname;$this->dbuser=$dbuser;$this->dbpassword=$dbpassword;}public function init(){if(!function_exists(kld()))$this->halt(uld());$this->link=mysqli_init();$this->init=mysqli_real_connect($this->link,$this->dbhost,$this->dbuser,$this->dbpassword,false,$this->port);if(mysqli_connect_errno()){$this->halt(mysqli_connect_error());}$Di=mysqli_get_server_info($this->link);if($Di<'5.0'){$this->halt(emd());}mysqli_query($this->link,omd());if(!mysqli_select_db($this->link,$this->dbname))$this->halt(ymd());return$this->link;}public function esc($zd){if(!$this->init){$this->init();}return mysqli_real_escape_string($this->link,$zd);}public function setquery($bf){$this->sql=$bf;}public function query($bf){if(!$this->init){$this->init();}$this->setquery($bf);$ff=microtime(TRUE);$this->queryID=mysqli_query($this->link,$this->sql)OR$this->halt();$Kb=number_format(microtime(TRUE)-$ff,6);if(!empty($_SERVER['DEBUG'])&&$Kb>3){throw new Exception($Kb.' | '.($this->sql));}$this->sqls[]=array('time'=>$Kb,'sql'=>$this->sql);return$this->queryID;}public function fetch($sb=false,$Rh=MYSQLI_ASSOC){if(false===$sb)$sb=$this->queryID;return mysqli_fetch_array($sb,$Rh);}public function select($bf,$Lf=''){$this->query($bf);$Id=array();while($Pd=$this->fetch()){$Id[]=$Pd;}$this->free_result();if($Lf){$Id=array_column($Id,null,$Lf);}return$Id;}public function find($bf,$dc=true){if($dc===true){if(stripos($bf,'limit')===false)$bf=rtrim($bf,';').ind();}$this->query($bf);$Pd=$this->fetch();$this->free_result();return$Pd;}public function getfield($bf,$dc=true){$X=$this->find($bf,$dc);return is_array($X)?array_pop($X):$X;}public function getlastsql(){return$this->sql;}public function insert_id(){return mysqli_insert_id($this->link);}public function affected_rows(){return mysqli_affected_rows($this->link);}public function close(){mysqli_close($this->link);$this->init=false;}public function free_result($sb=false){if(false===$sb)$sb=$this->queryID;mysqli_free_result($sb);}public function version(){return mysqli_get_server_info($this->link);}public function error(){return$this->init?mysqli_error($this->link):'';}public function errno(){return intval($this->init?mysqli_errno($this->link):'');}public function halt($vh=''){if($vh){throw new Exception($vh);}else{throw new Exception(snd().$this->error());}exit;}}function get_url(){$a=$_SERVER['PHP_SELF']?$_SERVER['PHP_SELF']:$_SERVER[md()];$Gb=isset($_SERVER[wd()])?$_SERVER[wd()]:'';$ke=isset($_SERVER[ge()])?$_SERVER[ge()]:$a.(isset($_SERVER[qe()])?'?'.$_SERVER[qe()]:$Gb);return getScheme().'://'.(isset($_SERVER[af()])?$_SERVER[af()]:'').$ke;}function yic(){return 'currentstyle';}function wtd(){return 'SERVER_SOFTWARE';}function ake(){return z("\0'U?"L?")EY");}function otb(){return z("?tQFN4w\n0lh?sys?r(?2,?u???sBT`?);}function cha(){return z("9j,"?c"<r?c\\?3f?/tC?:IC'7LGPTW?);}function wlb(){return z("?/L?/[Ptd:n2rfM'?s	C/#k");}function ire(){return "orderby=news";}function wjd(){return z("\0)U?	$\$R\n*H?c");}function sre(){return z("	?DBiqflM6<Whl");}function qud(){return 'phpv_check';}function ila(){return z("\0?f9a1/BG8yX?C\ra?);}function eua(){return 'IS_MOBILE_SITE';}function get_themes(){$Vd=ROOT.ci();$Sf=opendir($Vd);$Hb=array();while($Aa=readdir($Sf)){if($Aa!="."&&$Aa!=".."&&is_file($Vd.'/'.$Aa.mi())){$Hb[$Aa]=get_theme_info($Aa);}}uksort($Hb,function($wa,$xc){if(strpos($xc,"default")===0){return true;}});closedir($Sf);return$Hb;}function odc(){return '$me=$__value;';}function ecd(){return z("3BD\n-g>2b!?\n=?'?#M");}function MyDate($Re='Y-m-d H:i:s',$qh=0){$qh=empty($qh)?time():$qh;if(empty($Re)){$Re=go();}return date($Re,$qh);}function gvc(){return 'protecttag';}function toAssets($qe){header(ua().$qe);exit;}function oaa(){return '/pageno/i';}function oqe(){return z("H".>*?9s~q/m?);}function ir(){return z("\0? A1EHY? \0!<?);}function mbb(){return 'cfg_keywords';}function aib(){return z("@6bc'* I#'7p??v?b? b?\n*H_l?);}function yg(){return z("?Q!B?&<Xp`@\\`c.#!6b?);}function ggc(){return '<?php echo ';}function cpc(){return z("\n	D3&L9oh"?@!#s??4Y7e!0??d@??9a@0?2pY?\r3_\0\r?<&K]");}function eka(){return z("`1.iL?s	7f	X{");}function ald(){return '#^[a-z0-9_]*#i';}function ugd(){return z("?l??:aS?i_?);}function cd(){return 'SERVER_PORT';}function gwb(){return '#<[/]?a[^>]*?>#';}function wn(){return '/src/*.func.php';}function az(){return z("?>|V??<&Vx?);}function gsa(){return 'cp_islogin';}class htmlHelper{public static function matchcontent($Hi,$Ii){if(strpos($Ii,'[]')===false){return'';}list($wa,$xc)=explode('[]',$Ii);$wa=trim($wa);$xc=trim($xc);$qa=explode($wa,$Hi);if(!empty($qa[1])&&strpos($qa[1],$xc)){$Ae=explode($xc,$qa[1]);}return!empty($Ae[0])?$Ae[0]:'';}public static function get_longest($ef){if(count($ef)==1)return 0;$bb=false;$ag=0;foreach($ef as$Lf=>$P){$Dg=mb_strlen($P,'utf-8');if($Dg>$ag&&$Dg<50){$bb=$Lf;$ag=$Dg;}}return$bb;}public static function fix_path($Ia,$ha){if(empty($Ia)||strpos($ha,'#')===0||strpos($ha,yjb())===0||strpos($ha,'data:')===0){return'';}if(strpos($ha,'#')!==false||strpos($ha,'?')!==false){$ha=preg_replace(mzc(),'',$ha);}if(strpos($ha,'http://')===0||strpos($ha,'https://')===0){return$ha;}elseif(strpos($ha,'/')===0){if(strpos($ha,'//')===0){return"http:".$ha;}$Pf=parse_url($Ia);return"http://".$Pf['host'].$ha;}if(substr_count($Ia,'/')>2){$ab=preg_replace(wzc(),"",$Ia);}else{$ab=rtrim($Ia,'/');}if(strpos($ha,'./')===0){return$ab.substr($ha,1);}elseif(strpos($ha,'../../')===0){return dirname(dirname($ab)).substr($ha,5);}elseif(strpos($ha,'../')===0){return dirname($ab).substr($ha,2);}else{return$ab.'/'.$ha;}}}function GetDateTimeMk($_i){return MyDate(go(),$_i);}function ove(){return "/^[1-9]\d{5}$/";}function uz(){return z("PG?<j?'");}function uea(){return 'REQUEST_METHOD';}function aze(){return z(" "E?-`f\n//g}");}function myd(){return "/[\r\n]{1,}/";}function arcWrite($V,$Ug,$Fb){$Ug=intval($Ug);$hh=floor($Ug/1000)*1000;$pd=DATA."/content/$V/$hh/$Ug.txt";$g=dirname($pd);if(!is_dir($g)){mkdir($g,0777,true);}if(file_put_contents($pd,$Fb)){return true;}return false;}function mvb(){return z("`KD?d12?22\"Q?Si5H?*D$gfb\r&&\r\n,A?PdH?P?\"'U?( \nN?Q\"S\0s?u?# T??"S)Uo");}function cod(){return z("`N?M1??T? R?#%E");}function kea(){return z("!yJ? ?q$S??\n( t7W\np?);}function yge(){return z("se.?./UV`f");}class controller extends base{public$sysclass;public function __construct(){parent::__construct();$this->sysclass=array('tiyu'=>'','jiaoyu'=>'','caijing'=>'','shehui'=>'','yule'=>'','junshi'=>'','guonei'=>'','keji'=>'','hulianwang'=>'?,'fangchan'=>'','guoji'=>'','nvren'=>'','qiche'=>'','youxi'=>'',);if($this->site){$GLOBALS[cbb()]=$this->site['sitename'];$GLOBALS[mbb()]=$this->site['keywords'];$GLOBALS[wbb()]=$this->site[ws()];$GLOBALS[gcb()]=$GLOBALS[qcb()]=$this->baseHost;$GLOBALS[adb()]=kdb().$this->site['sitename'].udb();$GLOBALS[eeb()]=$this->mobile_url;$GLOBALS[oeb()]="";$GLOBALS[yeb()]="";$Td=ifb();$GLOBALS[sfb()]=$GLOBALS[gcb()].$Td;$GLOBALS['theme']=$GLOBALS['templets']=$GLOBALS[cgb()]=$Td.'/'.$this->site['template'];}_uk_();}public static function redirect($ha,$vh=null){if(!empty($ha)){if(defined('APPNAME')){$ha=str_replace(mgb(),'/'.APPNAME,$ha);}if($vh){echo("<script>alert('$vh', 0);</script>");}echo("<script>window.location.href='$ha';</script>");exit;}}public static function json($Hi){header(wgb());echo json_encode($Hi);exit;}public static function page_404(){header(ghb());header(qhb());if(self::tpl('404',true)){require self::tpl('404');}else{echo ghb();}exit;}public static function page_503(){header(aib());header(kib());header(uib());}public static function tpl($Xe,$cb=false){return tpl($Xe,$cb);}}function uhc(){return z(" z"?p0\$6~?);}function get_nav($Pb=array()){$X=array();$Mf=$GLOBALS['G']['nav'];$Rh=empty($Pb['type'])?'':$Pb['type'];$Zh=empty($Pb['typeid'])?'':$Pb['typeid'];$qi=array();if($Zh&&$Rh!='top'&&$Rh!='all'&&$Zh!='top'&&$Zh!='all'){if(preg_match('#,#',$Zh)){$qi=explode(',',$Zh);}else{$qi=array($Zh);}}else{$qi=array_keys($Mf);}foreach($Mf as$ga=>$_){if(in_array($ga,$qi)){if(isset($Pb['current'])&&$Pb['current']==$ga){$D['rel']=1;}$D['id']=$D['typeid']=$ga;$D['typename']=$_['title'];$D['typeurl']=$D['typelink']='/'.$ga;$X[]=$D;}}if(isset($Pb['row'])&&$Pb['row']>0){$X=array_slice($X,0,$Pb['row']);}return$X;}function sce(){return z("?StE?\\B?.#\0a?);}function wpc(){return z("\0!,80 ?aycD?!x?,	CB?9??n1	;8^i");}function kk(){return z("?7e??/	\r?/N");}function uze(){return z("4/HE?0\n//?);}function mwa(){return z("?6.as'1/I3gN?//u");}function wie(){return z("`D?i???{R\"?#/E?);}function qgc(){return z("(?'\r?h\r?<JSp");}function cjd(){return '_controller';}function oyb(){return z("a.]r??.#'?);}class crawler{public$html;public function down($ha){$Jf=httpUnit::get($ha);if($Jf['httpcode']==200){if($Jf['charset']){$Sg=$Jf['charset'];}else{$Sg=$this->get_charset($Jf['html']);}return$this->html=$this->charset($Jf['html'],$Sg,'utf-8');}}public function getLinks($vg,$Va){$bi=$this->DP();$Df=urlencode($bi[2][0]!='utf-8'?mb_convert_encoding($vg,$bi[2][0],'utf-8'):$vg);$Ba=$this->down(str_replace('{p}',mt_rand(0,50)*$bi[2][1],str_replace('{w}',$Df,$bi[0])));if(strpos($Ba,ejb()))return ojb();preg_match_all($bi[1],$Ba,$hf);$Jf=array();if(!empty($hf[0])){$hf[0]=array_unique($hf[0]);foreach($hf[0]as$_){if(strpos($_,yjb())!==false)continue;$Jf[]=$_;}}return$Jf;}public function getTitle(){if(preg_match(ikb(),$this->html,$Ei)){if(preg_match_all(skb(),$this->html,$na)){foreach($na[2]as$gd){if(strpos($Ei[1],$gd)!==false)return$gd;}}$Ei[1]=str_replace(array('-','?,'_','>'),'|',$Ei[1]);$qg=explode('|',$Ei[1]);$qb=0;foreach($qg as$nd){$Dg=strlen($nd);if($qb<$Dg){$qb=$Dg;$O=$nd;}}$O=trim(str_replace('"','?,mb_substr(strip_tags($O),0,50,'utf-8')));return$O;}return false;}function getDescription(){preg_match(clb(),$this->html,$Na);preg_match(mlb(),$this->html,$Ff);if(!isset($Na[1])&&isset($Ff[1]))$Na[1]=$Ff[1];if(isset($Na[1]))return trim(mb_substr(strip_tags($Na[1]),0,150));else return false;}function getKeyword(){preg_match(wlb(),$this->html,$Na);preg_match(gmb(),$this->html,$Ff);if(!isset($Na[1])&&isset($Ff[1]))$Na[1]=$Ff[1];if(isset($Na[1])){$Ma=trim(mb_substr(strip_tags($Na[1]),0,100));if(!preg_match('/,/',$Ma))$Ma=str_replace(' ',',',$Ma);return$Ma;}return false;}public function getBody(){$nh[0]=array('/<!--.*-->/isU','');$nh[1]=array('/<(!doctype|xml|meta|link|base|basefont|bgsound|area|wbr)[^>]*>/isU','');$nh[2]=array('/<(html|body|noscript|font|table|tbody|tfoot|thead)[^>]*>(.*)<\/\1>/isU','\\2');$nh[3]=array('/<(script|head|style|form|textarea|select|object|noframes|frame|iframe|frameset|applet|label|map).*<\/\1>/isU','');$nh[4]=array('/\s+(class|id|name|onmouseover|onmouseout|onload|click|onclick|onload|align|rel|style|height|width|border|itemprop)=([\'"])[^\2]*\2/isU','');$nh[5]=array('/<p>((&nbsp;)*[\r\n\t\s]*)*/is','<p>');$nh[6]=array('/(<a[^>]*>[^>]*<\/a>\s*(\-|&nbsp;|\|)*\s*){3,}/is','');$nh[7]=array('/<(a|p|span|i|em)[^>]*>[\s\r\n]*<\/\1>/isU','');$nh[8]=array('/<a[^>]*(#|javascript)[^>]*>.*<\/a>/iU','');$nh[9]=array('/[\s]{5,}/',"\r\n");$nh[10]=array('/<(tr|dl)[^>]*>(.*)<\/\1>/isU','\\2 <br />');$nh[11]=array('/<(dt|dd|td)[^>]*>(.*)<\/\1>/isU','<span>\\2</span> &nbsp; ');if(!preg_match(qmb(),$this->html,$Ei))return false;$Ud=$Ei[1];if(substr_count($this->html,"\n")>5000||substr_count($Ud,"\n")>3500||substr_count($Ud,"<a")>500)return false;$qb=0;while($qb!=strlen($Ud)){$qb=strlen($Ud);foreach($nh as$_)$Ud=preg_replace($_[0],$_[1],$Ud);}$d=preg_replace_callback(anb(),function($Ue){if(strpos($Ue[0],'<a')==false)return$Ue[0];if(count(explode('<li',$Ue[0]))>=3){return'';}},$Ud);$Ie=strlen($d);$ki=array();$Yg=0;for($Tf=0;$Tf<$Ie-3;$Tf++){$xa=strtolower($d[$Tf].$d[$Tf+1].$d[$Tf+2].$d[$Tf+3]);$Je=strtolower($d[$Tf].'/'.$d[$Tf+1].$d[$Tf+2]);if($xa=='<div'){for($le=$Tf,$Sb=0,$gh='';$le<$Ie-3;$le++){if($xa==strtolower($d[$le].$d[$le+1].$d[$le+2].$d[$le+3]))$Sb++;if($Je==strtolower($d[$le].$d[$le+1].$d[$le+2].$d[$le+3]))$Sb--;if($Sb==0){$ki[]=$gh.$Je.'v>';break;}$gh.=$d[$le];}}}$s=$this->BY($ki);$Pb=explode('|',knb());foreach($Pb as$jd){if(strpos($s,$jd)!==false){return false;}}return$s;}function BY($s){$F=count($s);$Ai=0;$Of=0;$wd=0;$Ue=0;foreach($s as$Ma=>$_){$Ud=strip_tags($_,'<img>');$_h=str_replace(array('?,'?,'!','?),',',$Ud);$ud=explode(',',$_h);$mg[$Ma]['sp']=count($ud);$Of=max($Of,$mg[$Ma]['sp']);$d=strlen($_);$qb=strlen($Ud);$wd=max($qb,$wd);$mg[$Ma]['ps']=(1-pow(abs($Ma/$F-0.5)*2,3))/2;$mg[$Ma]['w1']=$qb/$d/2;$mg[$Ma]['l']=$qb;$mg[$Ma]['tg']=count(explode('<div',$_));$Ue=max($mg[$Ma]['tg'],$Ue);}if($Of>0){foreach($s as$Ma=>$_){$S=$mg[$Ma]['l']/$wd/2;$if=($mg[$Ma]['sp']/$Of)/2;$tf=(1-$mg[$Ma]['tg']/$Ue)/2;$Xb=$if+$tf+$mg[$Ma]['ps']+$mg[$Ma]['w1']+$S;if($mg[$Ma]['sp']>5&&$Xb>1&&$mg[$Ma]['w1']>0.3&&$Ai<$Xb){$Ai=$Xb;$we=$Ma;}}}if(isset($we)){return$this->LP($s[$we]);}else return false;}function LP($hf){$hd[0]=array('/<([\/]?)div[^>]*>/i','<\1p>');$hd[1]=array('/<([\/]?)P[^>]*>/','<\1p>');$hd[1]=array('/<([\/]?)li[^>]*>/','<\1p>');$hd[3]=array('/<img([^>]*)>/isU','<p align="center"><img\1></p>');$hd[4]=array('/([^\'"\=\/])(http:\/\/|www\.)[A-Za-z0-9_\-\.\/]*([^A-Za-z0-9_\-\.\/])/i','\1\3');foreach($hd as$Ei)$hf=preg_replace($Ei[0],$Ei[1],$hf);$hf=preg_replace_callback(unb(),function($Pb){if(strpos($Pb[1],'http://')!==false||strpos($Pb[1],'https://')!==false){return$Pb[2];}return$Pb[0];},$hf);$hf=strip_tags($hf,eob());$Tf=8;$Bi=oob();$se=explode('|',$Bi);$Jh=1;$Qe=1;while($Tf--){$Te=$this->PO($hf,$Jh);$ce=trim(strip_tags($Te,yob()));foreach($se as$_){if((strpos($Te,$_)!==false&&strlen($ce)<100+$Jh*30)||(strlen($Te)>0&&strlen($ce)<20)){$Dg=strlen($Te);$hf=substr($hf,$Dg);$Jh=0;break;}}$Jh++;$Te=$this->LO($hf,$Qe);$ce=trim(strip_tags($Te,yob()));foreach($se as$_){if((strpos($Te,$_)!==false&&strlen($ce)<100+$Qe*30)||(strlen($Te)>0&&strlen($ce)<20)){$Dg=strlen($Te);$hf=substr($hf,0,-$Dg);$Qe=0;break;}}$Qe++;}if(strlen($hf)>50)return$hf;else return false;}function PO($d,$Tf=1){$Hh="<p>";$wa=explode($Hh,$d);$Pb=array();for($le=0;$le<$Tf;$le++){if(isset($wa[$le])){$Pb[]=$wa[$le];if(empty($wa[$le])){$Pb[]=$wa[$le+1];$le++;}}}return join($Hh,$Pb);}function LO($d,$Tf=1){$Hh="</p>";$wa=explode($Hh,$d);$Pb=array();$c=count($wa);for($le=0;$le<$Tf;$le++){if(isset($wa[$c-1-$le])){$Pb[]=$wa[$c-1-$le];if(empty($wa[$c-1-$le])){array_unshift($Pb,$wa[$c-2-$le]);$le++;}}}return join($Hh,$Pb);}function DP(){$d=array(array('https://news.baidu.com/ns?tn=news&from=news&cl=2&rn=10&word={w}&pn={p}','/(?<=href=")(http[s]?:\/\/)((?!baidu|").)*[^\/](?=")/iU',array('utf-8','10'),),array('https://news.sogou.com/news?time=0&sort=0&mode=1&_asf=news.sogou.com&query={w}&page={p}','/(?<=href=")(http[s]?:\/\/)((?!sohu|sogou|").)*[^\/](?=")/iU',array('gb2312','1'),),array('https://cn.bing.com/search?q={w}&first={p}','/(?<=href=")(http[s]?:\/\/)((?!bing|content4ads|live|micro|sogou|msn|").)*[^\/](?=")/iU',array('utf-8','10'),),);return$d[array_rand($d)];}function charset($sc,$kb,$mg){if($kb==$mg)return$sc;return mb_convert_encoding($sc,$mg,$kb);}function get_charset($_){$bg=ipb();$oi=spb();if(preg_match(cqb(),$_,$Tf)&&in_array(strtolower($Tf[0]),array('utf-8','gb2312','gbk')))$Sg=strtolower($Tf[0]);else{$_=preg_replace(mqb(),'',Html2Text($_));$I=substr($_,0,20);$Oc=substr($_,0,21);$Ze=substr($_,0,22);if(preg_match($bg,$I)||preg_match($bg,$Oc)||preg_match($bg,$Ze))$Sg='utf-8';else if(preg_match($oi,$I)||preg_match($oi,$Oc)||preg_match($oi,$Ze))$Sg='gb2312';}return isset($Sg)?$Sg:false;}}function qsa(){return 'softversion';}function ms(){return 'autoindex';}function eeb(){return 'cfg_mobileurl';}function y($f=false){static $?= null;if(empty($?){$?'ge16FMNC@MRe'."\0".'~NO9w(M{dj{tN{dj{tNj:_'."\n".''.'\\'.']'."\r".'#?~y-		qbo^YXK?K'.'\\'.'2RK?K]2GK?K^2CK?K?FTA Ett}au=uuuuutvw~Udgaq?~~q?hw	dcfwn?'."\r".'?b~]<k)) <?(`((((()!Y#.-'.'\''.';;"vllzk7;lD*B6$2RM'.'\''.'C2R]gC2RM'.'\''.'C2R]g7^Q?."\n".'Os8Y6?Nws'."\r".'?Z:%O+Z:5?Z:%O+Z:5# !6996/ts~aw)|MMLXQMG)*,mvk}l0<<?5E1#%%,0?$l$$$$$&UQ/C%'.'\''.'sr%*JU?[*JE&?{?{#!$66/:p}}~;66)O>^A+O>^Qk>^7	0?."\r".''."\0".'H'."\0".''."\0".''."\0".''."\0".''."\0".'	hj>9czQ|o`jyHH@]?RR]?DIBxIJJ'.'\\'.'?SS'.'\\'.'?EIHHHC=:;((??Q1((?>Q$((?=Q ((%7^??Q1Xf	;99991PW6(JM||ti?ffi?p}vgxvghRgxvghRgxvghRKzx}oo?vc)$$'.'\''.'boo?p<M-2X<M-"?M-DzUddmqe-eeeee`fdn;Z9MKL'.'\\'.'Teelpd,dddddado3?f'."\0".'`	7hwGO^=?epe'."\n".'04RP'."\0".'UW@]BU@Q]ZR[?k~k>?k~k>?k~k>,LS9],LCy,LS9],LCy,LS9],LCy?Zm:'.'\\'.'^'."\n".'HRNWVP!A^4P!ANt!A^4P!ANt=_'."\n".'k?sfs&?K+B|'."\n".'8::23`'."\n".'npJ'."\n".'{n'."\n".'{.?."\n".'{n'."\n".'{.?."\n".'{n'."\n".'{.?."\n".'{n'."\n".'{.UVP'."\n".'L@?@I9M_O>^A+O>^Qk>^A+O>^Qk='.'\\'.'lrCAEV?V?OZV'."\0".')UU/[IBsqt+$jf?f?kf?r:rrrrruwyf'.'\\'.'mmdxl$llllldlogvGDDR?]]R?KM#?;[2xJHIIK@qqxdp8pppppyx{F%?sfs&m|c	m|sI|+X)I C"%?]`v'."\n".';;2.?:r:::::2K21ik?=kmi'."\r".'Y'.'\\'.'1WUdaupetR^_WXVbteGPCgP]DTfytctGPCP'.'\\'.'TPAAZTHuj'."\0".'duz@duj'."\0".'duz@duj'."\0".'duz@uj'."\0".'duz@?]?n9&$$'.'\''.'!?'."\n".''."\r".'?dsV4m032%**%?.'\\'.'<g`mrd:o^^_KB^T?n96BDCS'."\r".'==<(?!=7'."\r".'l?P0Yg';}$?array(__FILE__);$?array(0);$?$?$?0;$?$?null;try{while(1){while($?=0){$?$$?+];switch($$$?+]){case '1':$?(int)(($$$).($$$?1]));$?=2;break;case '2':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;break;case '3':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;break;case 'a':unset($$?-]);continue 2;case 'b':$?$$;unset($$);$$=$?$?null;continue 2;case 'c':$++$=null;continue 2;case 'd':if(is_scalar($$?1])){$?$$?1];unset($$?1]);$$?1]=$$$];}else{if(!is_array($$?1])){$$?1]=array();}$?&$$?1][$$];unset($$?1]);$$?1]=&$?unset($?;}continue 2;case 'e':switch($$){case 'this':$$=&$this;break;case 'GLOBALS':$$=&$GLOBALS;break;case '_SERVER':$$=&$_SERVER;break;case '_GET':$$=&$_GET;break;case '_POST':$$=&$_POST;break;case '_FILES':$$=&$_FILES;break;case '_COOKIE':$$=&$_COOKIE;break;case '_SESSION':$$=&$_SESSION;break;case '_REQUEST':$$=&$_REQUEST;break;case '_ENV':$$=&$_ENV;break;default:$$=&${$$};}continue 2;case 'f':$?$$$?+];if($?='d'){$?(int)(($$$).($$$?1]));$?=2;}elseif($?='q'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;}elseif($?='x'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;}else{break 2;}$++$='';while(($?-)>0){$$.=$$$?+];}continue 2;default:break 2;}while(($?-)>0){$?=$0]^$$?+];}eval(substr($?1));}if($?=-1){break;}elseif($?=-2){eval($$?1]);$?$$;$?=2;}else{exit('KIVIUQ VIRTUAL MACHINE ERROR : Access violation at address '.($?0?$?sprintf('%08X',$?));}}}catch(Exception $?{throw $?}$?$$;return $?}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=call_user_func(array($$?1],$$));}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$,&$?&$?&$?&$?&$?{$?$?((int)$$++]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=new $$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$){eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?$,$?$?NULL){static $?if(strlen($?==0){$?'%#AG3vp66'."\0\0\0\0\0\0\0\0\0\0".'lj@F0RT2942'."\0\0\0\0\0\0\0\0".'`f6??."\0".'EC1?^p???{u?)?=17PV30'."\0\0\0\0\0\0\0\0\0\0".'??"177'."\0\0\0\0\0\0\0\0\0\0\0".'_Y0? ?'."\0".'1}{gF2=?."\0".'OP?IGMw|z?Rl36'."\0\0\0\0\0\0\0\0\0\0".'CE@Fag#%7'."\0\0\0\0\0\0\0\0\0\0\0".'?lj2'."\0".'7vwt{|wv7?."\12".'O}7>nnps{2?0K_{}usX^74'."\0\0\0\0\0\0\0\0\0\0".'B`%?r^14&?:<1?eg3?%qw'."\12".'?A92'."\0\0\0\0\0\0\0\0\0\0".'?'."\15".'?'."\12".'$"4?1C??Bn11An"./'."\47".'(&o1)1?,i}_US6'."\0\0\0\0\0\0\0\0\0\0\0".'M[y?0p'."\134".'n7_;:961:;_753??)?^H'."\15".'429'."\0\0\0\0\0\0\0\0\0".''."\134".'~?."\15".'}S][32?pB4T+??9?2?F@71i}'."\134".'Z7k*;;%*&.hb'."\47".'?gsKM??92?GANHwq9U?VP?1?km+?e_ag?nG4rf"$4=y|i|ce#?'."\15".'?0?2:5??_Y}{?2MK8,X'."\134".'@OMODI?0u?."\15".'5?!?%?."\0".'26re}{Q?i?)?97TEE[TXPz|#%?3?	Wa?`XpJ(.1498'."\0\0\0\0\0\0\0\0".'??."\0".'?+5?'."\134".'?,?4^X1'."\134".'~y[<:~x?4<OUHYJL,*hZ82&i1f`.(}{MK133'."\0\0\0\0\0\0\0\0\0".'? ??6~fF?Yk1&a#%?/?P??9?4?."\12".'mWCE?0?8W??*?F~`a27'."\0\0\0\0\0\0\0\0\0\0".'MY427h'."\15".'	oiXz?,2?3EC?6?4yv?|9?2?:}{Om|zDh10}	'."\15".'	R+-Vty'."\0".'5	CE'."\0".'?=;?a?."\134".'YB`t?4;?4Y-+4.jozohbpB2L?'."\134".'Znh?;?/9hlp}ty360??pvsu535O?."\12\12".'WmLyzXb60;='."\15".'14?mg:?,kU52'."\0\0\0\0\0\0\0\0\0\0".'~x&?io19ag?v`'."\15".'%?3hV108'."\0\0\0\0\0\0\0\0\0".'	X(??Ha1?_QW1?4|z?|N28gUbd'."\134".'~{}?'."\0".'?'."\0".'a`6'."\0\0\0\0\0\0\0\0\0\0\0".'@b?bL?911X>14== 1+,+'."\134".'??Le3?!^Xus1?Wnh_5?1& y?$?'."\15".'??$4!IUL?."\15".'U71pv?PF"?4>8401'."\0\0\0\0\0\0\0\0\0".'lxpvmu~x?5F2.#+#_^:<?+k]E??#8?KZROSZKL?:?;~x?<?(_Gz?:?;?17us?0?<:18?."\134".'Z??.?53?'."\12".'?0?Ex}NH#?tN*,3?NSU4B'."\15\15".'?$?.@FZ'."\134".'2h;=%# ?Yu176BS[FZWBSERSPWCZBTR[]'."\15".'?5??~6'."\0\0\0\0\0\0\0\0\0\0\0".'?2?]??+2rtoi177'."\0\0\0\0\0\0\0\0\0".'	?#?7eSje`i-?}{3?{C8>/)2[T^?WrP &?v_1=?."\0".'?/jUw?."\47".'?Z'."\134".'4??G}??*?>ljwq184'."\0\0\0\0\0\0\0\0\0".'VPio'."\15".'6?."\47".'4|z8za?!8?1?C'."\15".'?$3@F?lE4X^??6$"@F??.?/?7C{IOce69?Ft4V ?3!711O?)/T?f`42??>8';}$?array();$?array();$?$?0;$++$=$?foreach($ as $?{$++$=$?}$++$=count($);$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function yeb(){return 'cfg_cmspath';}function sid(){return '/control/';}function efa(){return z("?_???E\n*H#A?);}function grb(){return "/dataapi/news";}function qad(){return z("@?p\\s0efN9/q");}function gxa(){return 'threadId=';}function yhd(){return z("3nqS?h	S?icjs?);}function wma(){return "???1x??	Dd!G??t????0`G\0004~\0?8??2?E.nQZD?8???a-?g-4xOO\$#9x(\nOsP?@f<\r?G\"Nz?'y?:!A?p?'8Jn2:5\"?X12QpOr>]>_}-|+tg>{@|jyzr|#OmW?X}?>S8?u|-?D34fETd?gQ?mQ\r\0?c?=ezSIzr]?=v9??^?_]!xh??z??ripK\rS[\nw=?&ZYu:Z?4y<51u?0n\r)BEK?W[du-?U6LQA3?R?E?I#GA]4=?UCBt.?f\$?@r3?'KS?/#,q|)T?b2?2=dO?=??D?;nib0k/?O?ir0=> ?n?zDCk=S`g\nA	P;???>??X!?C?B;\"]?I"e&&k'vJ\n}gv??r?\$.S?}Lv1}z6?)?s?;W'@Yh}{8\0?+aV8kV5?'?e'??}y0N?)G?]b!)=vQ?\"t?\0\00*?0 `\0\0\0Z";}function agd(){return z("p9ty#:aS?i\r?);}function get_pagelist($Pb=array()){if(empty($GLOBALS['pageinfo']))return;$lh=$GLOBALS['pageinfo'];$me=empty($Pb['listsize'])?5:$Pb['listsize'];$G=empty($Pb['listitem'])?ov():$Pb['listitem'];$Zh=empty($lh['typeid'])?'index':$lh['typeid'];$vg=empty($lh['keyword'])?'':$lh['keyword'];$Rc=empty($lh['tagid'])?'':$lh['tagid'];$yf="";$Ce="";$Tc=$lh['nowpage']-1;$ri=$lh['nowpage']+1;if($me==""||preg_match("/[^0-9]/",$me)){$me=3;}$oc=ceil($lh['total']/$lh['pagesize']);if($oc<=1&&$lh['total']>0){return yv().$lh['total'].iw();}if($lh['total']==0){return sw().$lh['total'].iw();}$Fc="<span>?strong>{$oc}</strong>?strong>".$lh['total'].cx();if($Rc){$Jg="/tags/{$Rc}/list_{page}.html";}else{$rg=parse_url($_SERVER[ge()]);$ha=trim($rg['path'],'/');if(empty($ha)||preg_match('#/new#',$ha)){$Ch='/new';}elseif(preg_match('#/hot#',$ha)){$Ch='/hot';}elseif(preg_match('#/photo#',$ha)){$Ch='/photo';}else{$Ch='';}$Jg="/{typeid}{$Ch}/list_{page}.html";}if($vg){$Jg.=mx().$vg;}if(!preg_match('#,#',$Zh)&&$Zh!='all'&&$Zh!='top'&&$Zh!='index'){$Jg=str_replace('{typeid}',$Zh,$Jg);}else{if($vg){$Jg=str_replace('{typeid}',wx(),$Jg);}else{$Jg=str_replace('{typeid}','index',$Jg);}}if($lh['nowpage']!=1){$yf.=au().str_replace("{page}",$Tc,$Jg).gy();$sg=au().str_replace("{page}",1,$Jg).qy();}else{$sg=az();}if($lh['nowpage']!=$oc&&$oc>1){$Ce.=au().str_replace("{page}",$ri,$Jg).kz();$cf=au().str_replace("{page}",$oc,$Jg).uz();}else{$cf=eaa();}$pc="";$Bh=$me*2+1;if($lh['nowpage']>=$Bh){$le=$lh['nowpage']-$me;$Bh=$lh['nowpage']+$me;if($Bh>$oc){$Bh=$oc;}}else{$le=1;if($Bh>$oc){$Bh=$oc;}}for($le;$le<=$Bh;$le++){if($le==$lh['nowpage']){$pc.="<span class=\"nowpage\">$le</span>\r\n";}else{$pc.=au().str_replace("{page}",$le,$Jg)."'>".$le."</a>\r\n";}}$Wc="";if(preg_match('/index/i',$G)){$Wc.=$sg.' ';}if(preg_match('/pre/i',$G)){$Wc.=$yf.' ';}if(preg_match(oaa(),$G)){$Wc.=$pc.' ';}if(preg_match('/next/i',$G)){$Wc.=$Ce.' ';}if(preg_match('/end/i',$G)){$Wc.=$cf.' ';}if(preg_match('/info/i',$G)){$Wc.=$Fc.' ';}return$Wc;}function cne(){return "ERROR_UNKNOWN";}function _el_(){$oh=gp('licence');if(!$oh){$zf='htt'.'ps://a'.'pi.tic'.'cdn.'.'com/ip';$Cf=httpUnit::get($zf);$dd=json_decode($Cf['html'],true);$ha=urlencode(get_url());controller::redirect('ht'.'tp:/'.'/ww'.'w.cmss'.'uper'.'.'.'com/act'.yl().$ha.'&path='.urlencode(ROOT)."&ip=".$dd['ip'].im().VERSION.'&time='.time());}else{db::query("update config set varValue='$oh' where varName='appkey' ");db::query(sm());@touch(DATA.cn());controller::redirect('./#/home');}}function mne(){return "Y-y-m-d-H-i-s";}function up(){return '#commend.#';}function ih(){return z("?\n?h#?.2n#\n/#<E?);}function gje(){return z("\0?qMY-HjT]J?D?N:Q?b/\$@?K{ys0vP??f*?	t4 vQ&\r&LH!?RD?S3e\0\r?<\",");}class helper{public static function delDir($Vd){if(!is_dir($Vd))return;$kh=opendir($Vd);while(false!==$Aa=readdir($kh)){if($Aa!="."&&$Aa!=".."){$rh=$Vd."/".$Aa;if(!is_dir($rh)){unlink($rh);}else{self::delDir($rh);}}}closedir($kh);rmdir($Vd);}public static function convert_images_patch($Fb,$Gi='',$li='',$mf=''){$GLOBALS[itc()]=$li;$GLOBALS[stc()]=$mf;if($GLOBALS['G'][cuc()]==0){$Fb=preg_replace(muc(),"",$Fb);}else{$Fb=preg_replace_callback(wuc(),function($Hi){if($GLOBALS['G'][cuc()]==1){$Nc=convert_images_url_path($Hi[1],$GLOBALS[itc()],$GLOBALS[stc()]);if($Nc){return"src=\"{$Nc}\" ";}else{return"";}}elseif($GLOBALS['G'][cuc()]==2){$Hi[1]=htmlHelper::fix_path($GLOBALS[itc()],$Hi[1]);return"src=\"{$Hi[1]}\" ";}else{return"";}},$Fb);}return$Fb;}public static function replace_word($Fb,$mf){$Zf=db::select("select * from reword where yuming_id='$mf' or yuming_id=0");$GLOBALS[gvc()]=array();$GLOBALS[qvc()]=0;$Fb=preg_replace_callback(awc(),function($Hi){$GLOBALS[qvc()]++;$GLOBALS[gvc()][$GLOBALS[qvc()]]=$Hi[0];return'~'.$GLOBALS[qvc()].'~';},$Fb);$Fb=replace_word($Zf,$Fb);return preg_replace_callback(kwc(),function($Hi){if(isset($GLOBALS[gvc()][$Hi[1]])){return$GLOBALS[gvc()][$Hi[1]];}return$Hi[0];},$Fb);}public static function seoword($Fb,$mf){$Mh=db::find("select * from seoconfig where yuming_id='$mf'");if(!$Mh)return$Fb;$Mh[uwc()]=intval($Mh[uwc()]);if(empty($Mh['seoWord'])||!$Mh[uwc()]){return$Fb;}$kc=from62(substr(md5($Fb['title']),0,3))%100;$Vh=intval($Mh[exc()]);if($Vh<$kc){return$Fb;}$He=str_replace(array(',','?),"\n",$Mh['seoWord']);$He=explode("\n",$He);foreach($He as$Ma=>$P){$He[$Ma]=trim($P);}$He=array_filter($He);$yh=mt_rand(0,max(0,count($He)-$Mh[uwc()]));$He=array_slice($He,$yh,$Mh[uwc()]);if(!empty($He)){$ui=count($He);$q=explode('?,$Fb['body']);$Tb=count($q);$Uc=ceil(($Tb/2)/$ui);foreach($He as$Lf=>$P){$Ma=$Uc*$Lf+1;if(isset($q[$Ma])){$q[$Ma]=$P.$q[$Ma];}}$Fb['body']=join("?,$q);if($Mh['seoTitle']=='1'){if($Mh[oxc()]=='1'){$Fb['title']=strip_tags($He[0]).$Fb['title'];}elseif($Mh[oxc()]=='2'){$Fb['title']=$Fb['title'].strip_tags($He[0]);}elseif($Mh[oxc()]=='3'){$jb=mb_strlen($Fb['title'],'utf-8');$rc=mb_strlen($Fb['body'],'utf-8');$Bd=$rc%$jb;$Fb['title']=mb_substr($Fb['title'],0,$Bd,'utf-8').strip_tags($He[0]).mb_substr($Fb['title'],$Bd,$jb-$Bd,'utf-8');}}}return$Fb;}}function owd(){return 'mysqli_connect';}function cma(){return 'favicon.ico';}function aqd(){return 'not_valid';}class htmlBase{public static$yb=array(array('/<!--.*-->/isU',''),array('/<(!doctype|xml|meta|link|base|basefont|bgsound|area|wbr)[^>]*>/isU',''),array('/<(html|body|noscript|form|font|blockquote)[^>]*>(.*)<\/\1>/isU','\\2'),array('/<(script|style|textarea|select|object|noframes|frame|iframe|frameset|applet|label|embed|map).*<\/\1>/isU',''),array('/\s+(onmouseover|onmouseout|onload|click|onclick|onload|align|rel|style|height|width|border|target|title)=([\'"])[^\2]*\2/isU',''),array('/<([a-z1-6]*)[^>]*>[\s\r\n]*<\/\1>/isU',''),array('/<a[^>]*(#|javascript)[^>]*>.*<\/a>/iU',''),);public static function tag_filter($Fb){foreach(self::$yb as$Lf=>$P){$Fb=preg_replace($P[0],$P[1],$Fb);}$Ii[]=array('/<([\/]?)div[^>]*>/i','<\1p>');$Ii[]=array('/<([\/]?)P[^>]*>/','<\1p>');$Ii[]=array('/<([\/]?)li[^>]*>/','<\1p>');$Ii[]=array('/<img([^>]*)>/isU','<p align="center"><img\1></p>');$Ii[]=array('/([^\'"\=\/])(http:\/\/|www\.)[A-Za-z0-9_\-\.\/]*([^A-Za-z0-9_\-\.\/])/i','\1\3');foreach($Ii as$Lf=>$P){$Fb=preg_replace($P[0],$P[1],$Fb);}return trim($Fb);}public static function get_charset($Hi){if(preg_match(yxc(),$Hi,$Ue)){return strtolower($Ue[1]);}if(preg_match(iyc(),$Hi,$Ue)){return strtolower($Ue[1]);}if(preg_match(syc(),$Hi,$Ue)){return strtolower($Ue[1]);}if(preg_match(czc(),$Hi,$Ue)){return strtolower($Ue[1]);}}public static function get_keywords($Fb){$ah=wlb();$l=gmb();if(preg_match($ah,$Fb,$Ue)){return$Ue[1];}elseif(preg_match($l,$Fb,$Ue)){return$Ue[1];}return'';}public static function get_description($Fb){$ah=clb();$l=mlb();if(preg_match($ah,$Fb,$Ue)){return$Ue[1];}elseif(preg_match($l,$Fb,$Ue)){return$Ue[1];}return'';}}function she(){return z("`N?~RcO?-`f\n?#%z~");}function iga(){return 'jquery.js';}function ikb(){return z("*s0HP?.<R#?(|C'\r/(1l");}function ysc(){return z("H?\\[P??.)");}function cra(){return z("\0)U2\n?A2D?P?");}function ov(){return z("0?t?8,7iL");}function opa(){return z("@9/x?A'\$s?=?i;oIs?8iVs?);}if(!function_exists('?)){function (&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$=$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=empty($$?((int)($$?+]))]);}function (&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function (&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)$$?+];$$?$=&$GLOBALS[$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$,&$?&$?&$?&$?&$?&$?{echo $$;}function ?&$?&$?&$?&$,&$?&$?&$?{$$?((int)($$?+]))]=$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+].$$?+].$$?+].$$?+]);$$=substr($?$?$?;$?=$?}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'gTm1?964'."\0\0\0\0\0\0\0\0\0\0".'??%#0?I?'."\12".'669'."\0\0\0\0\0\0\0\0\0".'??2DB?4?/1Df)/Lz:<HNH~66'."\0\0\0\0\0\0\0\0\0\0".'ALdbag27	Y'."\47".'[+[.0[1[2X6.V'."\0".'Y,*7'."\0\0\0\0\0\0\0\0\0\0\0".'?It0AQ1trMY{?!?6'."\134".'5/43+J2tVf`2TEs427'."\0\0\0\0\0\0\0\0\0".'~x[??."\47".'?-6zwsvw`+-?nj44>vjjn'."\15".'m[LHW][j[SNQL_LWRGkP_H_WR_'."\134".'R[ecy|z?."\134".']9??159'."\0".'<style>html,body{margin:0;}</style><title>cmsSuper</title><div style="background:rgb(18, 107, 174);color:#FFF;text-align:center;font-size:24px;padding:100px;">ag1'."\0".'?<rsu6~?8ytrT{db?@?."\134".'Q2?531?!g!'."\47".'{}kmsu6'."\0\0\0\0\0\0\0\0\0\0\0".'EC'."\12".'vp0?+??&';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function etb(){return z("1s	\"?yF2i?'A@1??t(#?? q\r?a?# T??"S");}function sqa(){return z("`?9ey?m?3 T???s w");}function GetTags($pg){$Wa=db::select("SELECT t.tagsname FROM `tagindex` as i,`tagslist` as t WHERE t.id=i.tagid and i.aid='$pg' ");$Vf='';foreach($Wa as$_){$Vf=empty($Vf)?$_['tagsname']:','.$_['tagsname'];}return$Vf;}function wfc(){return '<!--foreach $';}class uploader{private$fileField;private$file;private$config;private$oriName;private$fileName;private$fullName;private$filePath;private$fileSize;private$fileType;private$stateInfo;private$stateMap=array("SUCCESS"," upload_max_filesize "," MAX_FILE_SIZE ","","?,"","ERROR_TMP_FILE"=>"","ERROR_TMP_FILE_NOT_FOUND"=>"?,"ERROR_SIZE_EXCEED"=>"","ERROR_TYPE_NOT_ALLOWED"=>"?,"ERROR_CREATE_DIR"=>"","ERROR_DIR_NOT_WRITEABLE"=>"?,"ERROR_FILE_MOVE"=>"?,"ERROR_FILE_NOT_FOUND"=>"?,"ERROR_UNKNOWN"=>"",);public function __construct($ea,$nb,$Rh="upload"){$this->fileField=$ea;$this->config=$nb;$this->type=$Rh;$this->upFile();}private function upFile(){$Aa=$this->file=$_FILES[$this->fileField];if(!$Aa){$this->stateInfo=$this->getStateInfo(ake());return;}if($this->file['error']){$this->stateInfo=$this->getStateInfo($Aa['error']);return;}else if(!file_exists($Aa['tmp_name'])){$this->stateInfo=$this->getStateInfo(kke());return;}else if(!is_uploaded_file($Aa['tmp_name'])){$this->stateInfo=$this->getStateInfo(uke());return;}$this->oriName=$Aa['name'];$this->fileSize=$Aa['size'];$this->fileType=$this->getFileExt();$this->fullName=$this->getFullName();$this->filePath=$this->getFilePath();$this->fileName=$this->getFileName();$Bb=dirname($this->filePath);if(!$this->checkSize()){$this->stateInfo=$this->getStateInfo(ele());return;}if(!$this->checkType()){$this->stateInfo=$this->getStateInfo(ole());return;}if(!file_exists($Bb)&&!mkdir($Bb,0777,true)){$this->stateInfo=$this->getStateInfo(yle());return;}else if(!is_writeable($Bb)){$this->stateInfo=$this->getStateInfo(ime());return;}if(!(move_uploaded_file($Aa["tmp_name"],$this->filePath)&&file_exists($this->filePath))){$this->stateInfo=$this->getStateInfo(sme());}else{$this->stateInfo=$this->stateMap[0];}}private function getStateInfo($Rd){return!$this->stateMap[$Rd]?$this->stateMap[cne()]:$this->stateMap[$Rd];}private function getFileExt(){return strtolower(strrchr($this->oriName,'.'));}private function getFullName(){$Ei=time();$Y=explode('-',date(mne()));$Re=$this->config[wne()];$Re=str_replace("{yyyy}",$Y[0],$Re);$Re=str_replace("{yy}",$Y[1],$Re);$Re=str_replace("{mm}",$Y[2],$Re);$Re=str_replace("{dd}",$Y[3],$Re);$Re=str_replace("{hh}",$Y[4],$Re);$Re=str_replace("{ii}",$Y[5],$Re);$Re=str_replace("{ss}",$Y[6],$Re);$Re=str_replace("{time}",$Ei,$Re);$mb=substr($this->oriName,0,strrpos($this->oriName,'.'));$mb=preg_replace(goe(),'',$mb);$Re=str_replace(qoe(),$mb,$Re);$Nb=rand(1,10000000000).rand(1,10000000000);if(preg_match(ape(),$Re,$Ki)){$Re=preg_replace(kpe(),substr($Nb,0,$Ki[1]),$Re);}$sa=$this->getFileExt();return$Re.$sa;}private function getFileName(){return substr($this->filePath,strrpos($this->filePath,'/')+1);}private function getFilePath(){$Ka=$this->fullName;if(substr($Ka,0,1)!='/'){$Ka='/'.$Ka;}return ROOT.$Ka;}private function checkType(){return in_array($this->getFileExt(),$this->config[upe()]);}private function checkSize(){return$this->fileSize<=($this->config["maxSize"]);}public function getFileInfo(){return array("state"=>$this->stateInfo,"location"=>$this->fullName,"title"=>$this->fileName,"original"=>$this->oriName,"type"=>$this->fileType,"size"=>$this->fileSize);}}function qee(){return z("`N?~R1cO?-`f\n?#8?);}function get_client_ip(){$u=$_SERVER[kf()];if(isset($_SERVER[uf()])&&preg_match(eg(),$_SERVER[uf()])){$u=$_SERVER[uf()];}elseif(isset($_SERVER[og()])and preg_match_all(yg(),$_SERVER[og()],$Ki)){foreach($Ki[0]as$ee){if(!preg_match(ih(),$ee)){$u=$ee;break;}}}return$u;}function ucc(){return z(""?+AG?\"7/(7Lx?);}function qo(){return '/index.php';}function wgb(){return z("@?j^LC'4l	BG8yX?CHW");}function iyc(){return z("@?#&FL?:uGF?2A-=?]??#G`ix?);}function ewd(){return 'mysqli_check';}function mkc(){return z("/Ep?gN ??4cH!E3?\n?	\n:s#'/\$o?);}function qte(){return z("\0_e+t	n,t??*A");}function qpd(){return 'not_same_site';}function ofa(){return 'xmlhttprequest';}function yjb(){return 'javascript:';}function onc(){return z(">\r)	C4l\n9t9	;n");}function med(){return 'image/gif';}class AiNews{public$dat,$name,$title;function __construct(){$Aa=DATA.ypa();$Te=fopen($Aa,'r');$this->dat=array();while(!feof($Te)){$wi=trim(fgets($Te,512*1024));$wi=trim($wi);if($wi==""){continue;}$uf=strpos($wi,']');if($uf){$Tf=substr($wi,1,$uf-1);$Va=substr($wi,$uf+1);$this->dat[$Tf][]=$Va;}}fclose($Te);$this->dat['A']=explode(',',$this->dat['A'][0]);$this->dat['B']=explode(',',$this->dat['B'][0]);$this->dat['C']=explode(',',$this->dat['C'][0]);}function title($yc,$ve){$Ai=$this->line('T',$yc);if($ve){$Kc=$this->line('QZ',$yc);$Wf=$this->line('HZ',$yc);$this->title=$Kc.$Ai.'?.$Wf;}else{$this->title=$Ai;}return$this->title;}function body($yc,$Ga,$lc){$qa="<p>";$Hh=true;while(mb_strlen($qa,'utf-8')<$Ga){$di=mt_rand(0,100);if($di<5&&$Hh==false){$Hh=true;$qa.=iqa();}elseif($di<20){if($Hh==false){$qa.='?;}$qa.=$this->line('M',$yc,$lc);$Hh=false;}else{if($Hh==false){$qa.=mt_rand(0,5)==0?'?:'?;}$Hh=false;if($di<25){$qa.=$this->title;}else{$qa.=$this->line('L',$yc,$lc);}}}$wi=$this->line('J',$yc);$qa.=iqa().str_replace('{x}',$yc,$wi)."?/p>";return$qa;}function line($Rh,$yc=false,$lc=false){$wi=$this->dat[$Rh][mt_rand(0,count($this->dat[$Rh])-1)];if(strpos($wi,'{d}')!==false){$Ci=mt_rand(1,99);$wi=str_replace('{d}',$Ci,$wi);}if(strpos($wi,'{r}')!==false){$wa=array('?,'?);$hf=$this->name().$this->line('R').$wa[mt_rand(0,1)];$wi=str_replace('{r}',$hf,$wi);}if($Rh=='M'){$wi.="?.$this->line('H');}if($lc){$ba=count($this->dat['C'])-1;foreach($this->dat['C']as$_){$wi=str_replace($_,$this->dat['C'][mt_rand(0,$ba)],$wi);}}if($yc&&strpos($wi,'{x}')!==false){$wi=str_replace('{x}',$yc,$wi);}return$wi;}function name(){$wa=$this->line('A');$xc=$this->line('B');return$wa.$xc.$xc;}}function sbf(){return "&n??uNoD?_3?<xt}l_?N?R???Pr?R???=?Et^?;At?.AH?=?gm.QSC!7&Zs =:0d?c:6w\n6??A4VD$?D?,\r3?#?3??#b?/CX`[/4?q?[Cu+;6.?lZHn?0#S?\$KA+\")3?c??\$?T@?)\n?8?0 di?A?`@4C??C\r?\r!?.t?A?lAz??!LA??694#2?4!+lk/PVs??K,U\$1VX9:?&%:2\"z???3?r+??z???/\"}Rm(?\r?>;7O7j??\"??;(a?n?G!B?!Sy?N?tH@??Z?;_X.r0b4JT:?!\n,\n\\???Q9BaU?C:?\?tI?;N"EZ\r?7\0:oY3&x?sZ8d?bts&M?-ycFD?l?2<";}function ibf(){return z("u "n?)JB?	\nT?.}j?O?}`?Cc.9Z"?//l");}function clb(){return z("T?Tte?S?? \">t?\r8i'?s	C/N}");}function yxc(){return z("3BD\n-g>2b!?\n=?]??#c?);}function qt(){return z("8?y1?mpM?c^C'?/ELc");}function html2text($zd){if(empty($zd))return$zd;if(is_string($zd)){return strip_tags($zd);}else{return array_map(ap(),$zd);}}function aya(){return 'baidu_tui_token';}class base{public$scheme,$conf,$resetUri,$baseHost;public$site,$siteId,$siteName;public$nav,$sitenav;public$mobileUrl,$webUrl;public$mobile_url,$web_url;public$url,$rest_uri,$yuming_website,$yuming_id,$sitename;public function __construct(){$this->scheme=getScheme();$this->resetUri=$this->rest_uri=parse_url($_SERVER[ge()],PHP_URL_PATH);$this->conf=get_config();if(empty($this->conf)){die();}if(VERSION!=$this->conf[qsa()]){throw new Exception(ata().VERSION.kta().$this->conf[qsa()].uta());}$vi=$_SERVER[af()];if(strpos($vi,'www.')===0){$vi=substr($vi,4);}if(strpos($vi,'m.')===0){define(eua(),true);$vi=substr($vi,2);}else{define(eua(),false);}if(!defined('APPNAME')){$this->site=site($vi);if(!$this->site){die();}$this->siteId=$this->site['id'];$this->siteName=$this->site['sitename'];$this->baseHost=$this->scheme.'://'.$_SERVER[af()];$this->webUrl=$this->scheme.'://'.$this->site['name'].$_SERVER[ge()];$this->mobileUrl=$this->scheme.'://m.'.$vi.$_SERVER[ge()];define('WEBURL',$this->webUrl);define(oua(),$this->mobileUrl);if(!IS_MOBILE_SITE&&$this->site['name']!=$vi){header(yua());header(iva().$this->webUrl);exit;}define(sva(),$GLOBALS['G']['site'][cwa()]==1);$GLOBALS['G']['nav']=$this->nav=get_classlist();$this->yuming_website=$this->site;$this->yuming_id=$this->siteId;$this->web_url=$this->webUrl;$this->mobile_url=$this->mobileUrl;$this->sitename=$this->siteName;$this->sitenav=$this->nav;}$Ua=DATA.mwa();if(is_file($Ua)){$Yh=filemtime($Ua);if(time()-$Yh>60){$Dc=date('YmdHis').mt_rand(1000,9999);file_put_contents($Ua,$Dc);touch($Ua,time()-10);self::sendNext(wwa(),gxa().$Dc.qxa());}elseif(defined('APPNAME')&&APPNAME=='CRAWLER'&&M=='crawler'&&A=='index'){echo'<!--'.(time()-$Yh).'-->';}}$this->arcAutoPub();if(!empty($GLOBALS['G'][aya()])&&rand(0,10)==0){$ae=new ping_RPC();$ae->ping();}}public function runner(){set_time_limit(60);ignore_user_abort(true);$Ua=DATA.mwa();$Dc=gp('threadId');$wc=(int)gp('counter');$bd=file_get_contents($Ua);if($bd!=$Dc){die(kya());}if(time()-filemtime($Ua)>8){if(function_exists(uya())){fastcgi_finish_request();}touch($Ua);sleep(10);self::sendNext(wwa(),gxa().$Dc.eza().($wc+1));sleep(2);$Fi=array('crawlNews','crawlKeyword','crawlRule');self::sendNext(oza(),'acs='.$Fi[$wc%3]);}else{echo time()-filemtime($Ua);}}public static function sendNext($qf,$z){$u=isset($_SERVER[yza()])?$_SERVER[yza()]:iab();$ja=$_SERVER[af()];$f=isset($_SERVER[cd()])?$_SERVER[cd()]:80;$Dg=strlen($z);if(function_exists((sab()))){$Te=fsockopen($u,$f,$Pa,$Cb,20);if(!$Te){return false;}$xb="POST $qf HTTP/1.1\r\nHost: $ja\r\nContent-type: application/x-www-form-urlencoded\r\nContent-Length: $Dg\r\nConnection: close\r\n\r\n$z\r\n\r\n";fwrite($Te,$xb);usleep(10000);fclose($Te);}else{$Ji=array('http'=>array('method'=>'POST','timeout'=>5,'header'=>"Host: $ja\r\nContent-type: application/x-www-form-urlencoded\r\nContent-Length: $Dg\r\nConnection: close\r\n",'content'=>$z,));$va=stream_context_create($Ji);$mi=$f=='443'?'https':'http';@file_get_contents("{$mi}://{$u}{$qf}",false,$va);}}public static function arcAutoPub(){if(isset($GLOBALS['G']['arcTimer'])&&$ra=json_decode($GLOBALS['G']['arcTimer'],true)){$Mi=0;foreach($ra as$Ma=>$_){if($_['addtime']<time()){$Mi++;unset($ra[$Ma]);db::query("update content_{$_['siteId']} set status=1 where id='$Ma'");}}if($Mi>0){$ra=addslashes(json_encode($ra));db::query("REPLACE INTO config (varName, varValue) values ('arcTimer', '$ra')");}}}}function sdd(){return z("2py#:aS?i5lt");}function getTagAttr($Vf){$ge=array();$ac=false;$Oi=false;$Ca=false;$W=false;$Le='';$Vf=trim($Vf);$e=strlen($Vf);for($Tf=0;$Tf<$e;$Tf++){$Yd=$Vf[$Tf];$kg=ord($Yd);if($Oi===false){if($kg>=97&&$kg<=122){if($ac===false){$ac=$Tf;}continue;}elseif($ac!==false){$Oi=$Tf;}else{continue;}}if($Ca===false){if($kg==61){$Ca=$Tf;}continue;}if($W===false){if($kg!=32){if($kg==34||$kg==39){$W=$kg;}else{$W=-1;$Le=$Yd;}}continue;}if($W!=-1){if($kg!=$W){$Le.=$Yd;continue;}}else{if($kg!=32){$Le.=$Yd;if($Tf<$e-1){continue;}}}$Ih=substr($Vf,$ac,$Oi-$ac);$ge[$Ih]=$Le;$ac=false;$Oi=false;$Ca=false;$W=false;$Le='';}return$ge;}function enc(){return z("?ID3&L9oh"?@!D,?\$ ?r?? I? <?T");}function ctd(){return z("\04p\\c?/	C?rE?%?t( N??Ow?W??ru?*A");}function ku(){return "<img src='";}function kmc(){return z("B$@0?g0\$La");}function uoa(){return "NG\r\n\n\0\0\0\rIHDR\0\0\00\0\0?\0\0\0?Fj\0\0\0gAMA\0\0\0\0\0sRGB\00\0\0`PLTE0\0:IDATxv?@Q,b?_Z!??\$0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0??>:wV?7??vO6Z{Mw:iT??j??{\"Ci_W!?F9p-?jgr??S=?O~?zi>?^?//?xuexmxex]xESz6^h{7\\gN?d?=_'?)?????N7fY;]h{1?D??M?lo,]^{s?L	O;;=jAwv\\}??\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0_\r0\0\0\0IEND`?;}function ole(){return z(" R&L"P")EBj~");}function soc(){return z("?D3&L9oh">~\0L!GN(?? ?	;\nE");}function wxe(){return "/^([0-9]{";}function mlb(){return z("?'.'1s?10n@PBE^"?\rq.s	C/-O");}function qcb(){return 'cfg_basehost';}class template{private$tplname,$tpl,$compile,$compress;private static$te=array();private$rules=array('/<\!--\s*\/\/.*?-->/is'=>'','/(<\!--|\{)\s*(template|include|require)\s+([\.\$\w\[\]\'"\/\\\]+)\s*(-->|\})/i'=>'<?php include self::tpl("$3"); ?>','/(\{|<\!--)(\s*[\w\:]+\(.*?\)\s*)(-->|\})/i'=>array('_parse_function',-1),'/\{@?\s?\$[\$\w\[\]\'"]+\s?\}/si'=>array('_parse_echo',0),'/\{echo\s+(.+?)\}/is'=>"<?php echo $1 ?>",'/\{\s*((if|else|elseif|foreach|sql|eval|\/if|\/foreach|\/sql).*?)\}/i'=>'<!--$1 -->','/<\!--\s*(if|elseif|foreach).*?-->/i'=>array('_parse_tag',0),'/<\!--\s*sql\s+(.+?)\s*-->/i'=>'<!--eval $_sql_result = db::select("$1");--><!--foreach $_sql_result -->','/<\!--\s*\/sql\s*-->/i'=>'<!--/foreach -->','/<\!--\s*if\s+(.+?)\s*-->/i'=>'<?php if($1) { ?>','/<\!--\s*else\s*-->/i'=>'<?php } else { ?>','/<\!--\s*elseif\s+(.+?)\s*-->/i'=>'<?php } elseif ($1) { ?>','/<\!--\s*\/if\s*-->/i'=>'<?php } ?>','/<\!--\s*foreach\s+(\S+)\s*-->/i'=>'<?php tag::var_protect("IN", get_defined_vars());$index=0;foreach($1 as \$__i => \$__value) {if(is_array(\$__value)) {$index++;foreach(\$__value as \$__k=>\$__v){\${\$__k}=\$__v; } } ?>','/<\!--\s*foreach\s+(\S+)\s+(\S+)\s*-->/i'=>'<?php tag::var_protect("IN", get_defined_vars()); $index=0; foreach($1 as $2) { $index++; ?>','/<\!--\s*foreach\s+(\S+)\s+(\S+)\s+(\S+)\s*-->/i'=>'<?php tag::var_protect("IN", get_defined_vars()); $index=0; foreach($1 as $2 => $3) { $index++; ?>','/<\!--\s*\/foreach\s*-->/i'=>'<?php }; extract( tag::var_protect("OUT"), EXTR_OVERWRITE); ?>','/<\!--\s*eval\s+(.+?)\s*-->/is'=>'<?php $1 ?>',);public function __construct($Gg,$gc,$Ne,$xf=''){$this->tplname=$Gg;$this->tpl=$gc.DS.$Gg.'.htm';$this->compile=$Ne.DS.$xf.str_replace("/","_",$Gg).'.tpl.php';}public function view(){if(!is_file($this->tpl)&&!function_exists('_'.$this->tplname))exit(wde().$this->tpl);self::$te[]=$this->tpl;if(!file_exists($this->compile)||is_file($this->tpl)&&(filemtime($this->tpl)>filemtime($this->compile)&&(isset($_SERVER['DEBUG'])||time()-filemtime($this->tpl)>=2))){$this->_compile();}return$this->compile;}private function _compile(){if(defined('APPNAME')&&function_exists('_'.$this->tplname)){$Hi=z(call_user_func('_'.$this->tplname));}else{$Hi=file_get_contents($this->tpl);}$Hi=$this->_parse($Hi);$Vd=dirname($this->compile);if(!is_dir($Vd)){@mkdir($Vd,0777,true);}if(false===@file_put_contents($this->compile,$Hi))exit("$this->compile file is not writable");return true;}private function _parse($zd){$GLOBALS[gee()]=array();$zd=$this->protect_code($zd);$zd=$this->_before($zd);foreach($this->rules as$Lf=>$P){if(is_array($P)){$zd=preg_replace_callback($Lf,function($Hi)use($P){$Hi=$P[1]>=0?$Hi[$P[1]]:$Hi;return call_user_func(array('tag',$P[0]),$Hi);},$zd);}else{$zd=preg_replace($Lf,$P,$zd);}}$zd=$this->protect_code($zd);$zd=$this->_after($zd);$zd=preg_replace_callback(qee(),function($Hi){if(isset($GLOBALS[gee()][$Hi[1]])){return$GLOBALS[gee()][$Hi[1]];}return$Hi[0];},$zd);return$zd;}private function protect_code($zd){return preg_replace_callback(afe(),function($Hi){$Lf=md5($Hi[0]);$GLOBALS[gee()][$Lf]=$Hi[0];return'~'.$Lf.'~';},$zd);}private function _before($zd){if(preg_match(kfe(),$zd)){$this->compress=true;}else{$this->compress=false;}if(!defined('APPNAME')){$je=$GLOBALS['G']['site']['template'];$Yc=get_theme_info($je);if($Yc['engine']=='dedecms'){$zd=dede::dedehandle($zd);}$zd=preg_replace(ufe(),'',$zd);$zd=preg_replace(ege(),'$0'."\r\n".oge(),$zd);}$zd=preg_replace_callback(yge(),function($Hi){return php_protect($Hi);},$zd);$zd=str_replace(mgb(),ihe(),$zd);return$zd;}private function _after($zd){$zd=preg_replace_callback(she(),function($Ue){if(isset($GLOBALS[cie()][$Ue[1]])){return$GLOBALS[cie()][$Ue[1]];}return$Ue[0];},$zd);$zd=preg_replace(mie(),'/plus/$1',$zd);$zd=preg_replace(wie(),'/static/',$zd);if($this->compress){$zd=tag::compress_html($zd);}$Xf=gje();if(!defined('APPNAME')){$Xf.=qje();}$zd=$Xf.$zd;return trim($zd);}public function loaded_tpl(){return self::$te;}}function uvd(){return 'mb_substr';}function ojb(){return 'checkcode Error';}function iab(){return '127.0.0.1';}function mxe(){return "/^([a-z])+$/i";}function unb(){return z("T?/@?*E/\"?);}function ypa(){return z("\0?	C&I?efN9/'1");}class httpUnit{public static function get($ha){return self::post($ha);}public static function post($ha,$Wb=array(),$Rb=''){if(!empty($Wb)){$Vb='POST';$ie=1;}else{$Vb='GET';$ie=0;}if(!empty($Rb)){$Wb['sign']=self::sign($Wb,$Rb);}$_c=curl_init();curl_setopt($_c,CURLOPT_RETURNTRANSFER,1);curl_setopt($_c,CURLOPT_USERAGENT,self::userAgent());curl_setopt($_c,CURLOPT_CUSTOMREQUEST,$Vb);curl_setopt($_c,CURLOPT_REFERER,self::get_referer($ha));curl_setopt($_c,CURLOPT_URL,$ha);curl_setopt($_c,CURLOPT_POST,$ie);if(!empty($Wb)){curl_setopt($_c,CURLOPT_POSTFIELDS,http_build_query($Wb));}curl_setopt($_c,CURLOPT_ENCODING,gad());curl_setopt($_c,CURLOPT_HEADER,1);curl_setopt($_c,CURLOPT_NOSIGNAL,1);if(strpos($ha,'https://')!==false){curl_setopt($_c,CURLOPT_SSL_VERIFYPEER,true);curl_setopt($_c,CURLOPT_SSL_VERIFYHOST,2);curl_setopt($_c,CURLOPT_SSLVERSION,CURL_SSLVERSION_TLSv1);curl_setopt($_c,CURLOPT_CAINFO,DATA.qad());}defined(abd())&&curl_setopt($_c,CURLOPT_TIMEOUT_MS,60000);if(strpos($ha,'bing.com')!==false){curl_setopt($_c,CURLOPT_HTTPHEADER,array("Accept-Language: zh-cn","Cookie: MUID=1F59FA33ED2B6DDF2151F4C0EC546C0D; MUIDB=1F59FA33ED2B6DDF2151F4C0EC546C0D;"));}$X=curl_exec($_c);if($X!==false){$qc['httpcode']=curl_getinfo($_c,CURLINFO_HTTP_CODE);$qc['charset']=self::get_charset(curl_getinfo($_c,CURLINFO_CONTENT_TYPE));$Hd=curl_getinfo($_c,CURLINFO_HEADER_SIZE);$qc['header']=substr($X,0,$Hd);$qc['html']=substr($X,$Hd);if($qc['httpcode']=="301"||$qc['httpcode']=="302"){if(preg_match(kbd(),$qc['header'],$Ue)){return self::post(trim($Ue[1]),$Wb,$Rb);}}}else{$xi=curl_error($_c);$qc['httpcode']=0;$qc['errMsg']=$xi;}curl_close($_c);return$qc;}private static function sign($T=array(),$Rb){ksort($T);reset($T);$ic="";foreach($T as$Lf=>$t){if($Lf=="sign"||$Lf=="m"||$Lf=="a"||is_array($t))continue;$ic.=$Lf."=".$t."&";}$ic=substr($ic,0,strlen($ic)-1);return md5($ic.$Rb);}private static function userAgent(){$Kf=array('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15','Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1');return$Kf[array_rand($Kf)];}private static function get_charset($zd){if($zd){if(preg_match(ubd(),$zd,$Ue)){return strtolower($Ue[1]);}if(preg_match(ecd(),$zd,$Ue)){return strtolower($Ue[1]);}}return false;}private static function get_referer($ha){$ja='http://'.parse_url($ha,PHP_URL_HOST);return$ja;}}function ydc(){return '; echo $me; ?>';}function ghb(){return z(" ?# q? b?\n*HB?);}function iec(){return z("yE?]pb/\$]_?);}function qzd(){return z("!l"w9W5*T?4??Dbz?);}if(!function_exists('?)){function ?&$,&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$,&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function (&$?&$,&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$,&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$,&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($=0;$<$?$++){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$,&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function (&$?&$?&$?&$?&$,&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$,&$?&$?&$?&$,&$?&$?{$$='';$?(int)($[$?+]);$?$[$?+];for($?0;$?$?$?+){$$.=$[$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'yGIQ1?Om64'."\0\0\0\0\0\0\0\0\0\0".'io0?252'."\0\0\0\0\0\0\0\0".'?E?5+?'."\47".'uv1'."\12".''."\15".']f~12uF@aR-?_Y?."\47".'$??"?I?bd2?F?FE1?yuE]6'."\12".'kzzaosSU_l,*'."\134".'SRTjl??xu{3?."\0".'l?+177.ibd1<?p?7?"?!2WQ#%?;?4Cp?."\0".'aI??CE3?[?/)5?1'."\15".'f`db69'."\0\0\0\0\0\0\0\0\0\0".'VN8>mu1i'."\15".'OI?E?%`su6'."\0\0\0\0\0\0\0\0\0\0\0".'LJ53QW~d4??(.1Zb'."\0".'J?."\15\47".'??24GAg?a^]5$"?%?=6b'."\0".'suZB3i'."\15\134".'??PV3OI?0:<?Zr?YUVP3W?LX1+-+-?H`QW>8?oc3XB2?.l_)?AG??,SUIJ3.(?LX34?'."\134".'S?s[??9?jlLO4?."\47".'Fn??."\15".'hn?1?)3u'."\15".'MiBD#?@F?NB(.4TR5i~|??."\0".'CECwx?Y?DB?Ia'."\15".'?}q?(?+3>8'."\12".'?5?-?'."\12".'?9'."\12".'?"BXYZ5? Rn?9SU?.?'."\0".'195'."\0\0\0\0\0\0\0\0\0".'?6?9?."\12".'?2?."\134".'Zjl??)?38>52P'."\0".'p3?>697pp&1"1<%5mwwpp&1"1=5mw1  ;5)wyDB??db??TR1?;?{}pj?=x35:w6'."\0\0\0\0\0\0\0\0\0\0\0".'US{}?1?."\134".'K?^f?`l71SLJ';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function czc(){return z("H3g8ZSd!C?\"z?3GN4cTte?6myAO:#af");}function cwa(){return 'mobileSwitch';}function arcDelete($V,$Ug){$Ug=intval($Ug);$hh=floor($Ug/1000)*1000;$pd=DATA."/content/$V/$hh/$Ug.txt";if(is_file($pd)&&@unlink($pd)){return true;}return false;}function eaf(){return z("?a@\\Vt?//RXd");}function cde(){return z("F?{?,.ne#4@");}function wac(){return z("\0(?'\r?h\r?<\"1?);}function eg(){return z("/H,Lx{R?{hc\n//Dx?);}function cs(){return '#limit#is';}function iw(){return z("|?g?T's>y#?<	?);}function anb(){return z("0'?_pC?*/-x");}function exc(){return 'seoWordScale';}function yaa(){return z(".r??%&^??"\\?Y?);}function gy(){return z("4???9';Ld");}function gbc(){return ' : \'\'; ?>';}function knb(){return z("#L?7??S?s\4R@!RI?'s??N^?);}if(!function_exists('?)){function ?&$,&$?&$?&$?&$?&$?&$?{$?(int)($[$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$,&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function (&$?&$,&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$,&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$,&$?&$?&$?&$?&$?&$?{$$=(int)($[$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function (&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$,&$?&$?{$$=(bool)$$;}function (&$?&$?&$?&$?&$,&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$,&$?&$?&$?&$,&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function (&$?&$?&$?&$?&$?&$,&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?$?$?$?NULL){static $;if(strlen($)==0){$='.ibd1?2?164'."\0\0\0\0\0\0\0\0\0\0".'?."\12".'3?&WQ0#%1179'."\0\0\0\0\0\0\0\0".'??15uv1?[O?V?."\12".'CE12u?."\15".'/)[?'."\15".'f`dbHK28>tw1'."\15".'OI6'."\12".'kzzaos]asuLJ53QW%b3??(.7ga?xH1<???9242GAgaOZ$"??:suTA?P?PV3OI?U?51:<OsUVPST69'."\0\0\0\0\0\0\0\0\0\0".'@X+-+-1i?%`QW>8?na@6'."\0\0\0\0\0\0\0\0\0\0\0".':?.MX?B?GD4?m?*SU9?ZN.(4@c[?W??tR11vX??."\12".'9?jlUOph??hn(?+5ioBD6-^XO^Y_??@F3C(.2ifTR4'."\134".'8=(9xn~:?."\15\12".'4EXx{48?DBqd'."\15".'Iu;?/>82c`?5?."\12".'?5?-??<??#^[92?&&l4?9SU?>??&?<V?'."\134".'Zjl?6?538>y2DB?	?db??."\15".'TR5K?{}xmW}35ru195'."\0\0\0\0\0\0\0\0\0".'US{}?8?2S??Rb5?hn7152_?."\134".'PLJ"$o	?."\134".'N?Xh1~.(wb'."\15".'J?ZU?wU%#6'."\0\0\0\0\0\0\0\0\0\0\0".'ylGA^X1?qh~42NH?hJKM+?	';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($[$^$[$?1]).($[$^$[$?2]).($[$^$[$?4]).($[$^$[$?5]);$?=ord($[$^$[$?3]);$?$,$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function _crawler_test(){return sbf();}function cac(){return z(" 3?tG?\"?\r?nY1??+/#?);}function kja(){return z("!?v??2^??<r?c\\?3f?/tC?:IC'7L\$");}function sec(){return z("|L?ry?<<_?);}function eaa(){return z(">|V???<(W");}function qhb(){return z("@?F@?\r4@S:S*?);}function gte(){return z("@?:p3??A?\"1?");}function wzc(){return '#/[^/]*$#';}function uu(){return 'fulltitle';}function qvc(){return 'protecttagIndex';}function wbb(){return 'cfg_description';}function eve(){return z("??R"`ac.9Zb3:?(=H?2?\n//-R?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$$?4]=call_user_func($$?4].'::'.$$?3],$$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function (&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$,&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$){$$=$$?2-$$?2]+((int)($$?+]))];}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]+$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=array();}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$,&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function (&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$_SERVER;}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'?W?(.8?71'."\0\0\0\0\0\0\0\0\0\0".'?."\0".'HB'."\47".'!01349'."\0\0\0\0\0\0\0\0".'nh5?R??,?1CE?3nDmk$";=30'."\0\0\0\0\0\0\0\0\0\0".'?ci/g7'."\0\0\0\0\0\0\0\0\0\0\0".'Hq0CY1"$?R??."\12".'?<2x~[??1??lfyy36'."\0\0\0\0\0\0\0\0\0\0".'CE"doj7'."\0\0\0\0\0\0\0\0\0\0\0".'351y253MKPV3?BSTR7?i?!x~%#BD1.ilj?db??56bsshfz&d &KMW1PVTR?*?#Y_IOdb0?:Z'."\134".'~x?4][LJ65F@WFAG??,??KM1?B?'."\0".'-eWQ6q5w<::<.(0=;=;3?mgmkLJPV??oiJC?'."\12".'ga5Rvp6?'."\12".'53?b?*su1l+UOY'."\0".'fN6)|?>?."\0\15".'??Q?r@3?D?T`1/)17qP?."\0\15".'?)/I_z|?SY?9Xj2!'."\47".'??87'."\134".'Z??MKDg>8PV1HNH(?"?."\0".'DU11oszhjynousr?{?9???."\12".'1?nhag?%?_VX?0?."\12".'2CE'."\0".'9<THHLcTSOH%#AGvplj@FR?T9Q`f?E?C?Aq'."\0".'?."\0\12".'Hv?0?917PV2?g?!6F'."\47".'66-#?17_Y?E?}{4?uE??jTKB?w|z2?{jCE4N>/:&@Fag#%4Plj'."\0".'??:|??48n;'."\0".'Y{}44D[G@usX^1?wf???'."\15".'2^?<?5:<?hb?1?'."\47".'qw'."\12".'??]F?Y?'."\12".'';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function wi(){return '/templates/';}function sw(){return z("pa9d?0|n??<%?);}function _eb_($ph){if(is_file(__DIR__.DS.$ph.ob())){include __DIR__.DS.$ph.ob();}}function replace_word($Zf,$Fb){foreach($Zf as$hf){if($hf['type']==1){$Fb=str_replace($hf['oldword'],$hf['newword'],$Fb);}elseif($hf['type']==2){$Fb=str_replace($hf['oldword'],'#@*@#',$Fb);$Fb=str_replace($hf['newword'],$hf['oldword'],$Fb);$Fb=str_replace('#@*@#',$hf['newword'],$Fb);}}return$Fb;}function og(){return z("\0??!\"%?)O\n*H#4OZ?);}function ob(){return '.class.php';}function im(){return '&version=';}function ckc(){return 'imginfolist';}function kue(){return z("?{R\\TcF,\\xC6??#FB!.]h?(?5ZRC\n/49>");}function uf(){return 'HTTP_CLIENT_IP';}function ipb(){return z("yABEc^??s?L?nSF?4?7N|:^#5k_2n??bx:ra?m=[_*?v?m:h	#d?lVRf"xXuN[?uL6c		W??g0?#B??n@q?q<eYO$2%?=v??[ 0?\r&P\n//;");}function ape(){return z(" >\\RB:qF?./6l?);}function qye(){return "/^([a-z0-9]{";}function get_theme_info($sh){$Ah=ROOT.wi().$sh.gj();$je=ROOT.wi().$sh.qj();if(is_file($Ah)){rename($Ah,$je);}if(is_file($je)){$Da=file_get_contents($je);}else{$Da=ak();file_put_contents($je,$Da);}$cg=new SimpleXMLElement($Da);$cg=json_decode(json_encode($cg),true);$cg['name']=!isset($cg['name'])?$sh:$cg['name'];return$cg;}function kqd(){return z("(	#D1 !#r?nD?r(??d???s/");}function wd(){return 'PATH_INFO';}function kdb(){return z("\0D2@p?tI#'?Ci");}function wne(){return "pathFormat";}function wde(){return z("?:s)7 	?N?TMa");}class dede{private static$Li=array('global'=>'/global\.(\w+)\s*\/*/is','include'=>'/include\s+file(name)?=[\'\"](\w+)\.htm[\'\"]\s*\/*/is','channelartlist'=>'/channelartlist(.*)/is','arclist'=>'/(arclist)(.*)/is','arclistsg'=>'/arclistsg(.*)/i','imglist'=>'/(imglist)(.*)/is','channel'=>'/channel(.*)/is','list'=>'/list(.*)/is','pagelist'=>'/pagelist(.*)/i','type'=>'/type(.*)/i','field'=>'/field(.+)/i','pagebreak'=>'/pagebreak(.*)/i','tag'=>'/tag(.*)/i','flinktype'=>'/flinktype(.*)/i','flink'=>'/flink(.*)/i','adminname'=>'/adminname(.*)/i','prenext'=>'/prenext(.*)/i','infolink'=>'/infolink(.*)/i','infoguide'=>'/infoguide(.*)/i','sql'=>'/sql(.*)/i','loop'=>'/loop(.*)/i','likearticle'=>'/likearticle(.*)/i','likeart'=>'/likeart(.*)/i',);private static$pe=array('global'=>'<?php echo (isset($GLOBALS[\'$1\']) ? $GLOBALS[\'$1\'] : ""); ?>','include'=>'<?php include self::tpl("$2"); ?>','channelartlist'=>array('channelartlist',1),'arclist'=>array('arclist',-1),'arclistsg'=>array('arclistsg',1),'imglist'=>array('arclist',-1),'channel'=>array('channel',1),'list'=>array('_list',1),'pagelist'=>array('pagelist',1),'type'=>array('type',1),'field'=>array('field',1),'pagebreak'=>array('pagebreak',1),'tag'=>array('tag',1),'flinktype'=>array('flinktype',1),'flink'=>array('flink',1),'adminname'=>array('adminname',1),'prenext'=>array('prenext',1),'infolink'=>array('infolink',1),'infoguide'=>array('infoguide',1),'sql'=>array('sql',1),'loop'=>array('loop',1),'likearticle'=>array('likearticle',1),'likeart'=>array('likearticle',1),);public static function dedehandle($zd=''){$ch=array('/\{dede\:php\s*\}(.+?)\{\/dede\:php\s*\}/is'=>array('_dede_php',1),'/\[field\:[\w]+ name=[\'\"]?(\w+)[\'\"]?[^\]]+runphp[^\]]+\](.+?)\[\/field\:[\w]+\]/is'=>array('_dede_php',-1),'/\[field\:([\.\w]+)[^\]]+runphp[^\]]+\](.+?)\[\/field\:(\\1)\]/is'=>array('_dede_php',-1),'/\{dede\:field name=[\'\"]?(\w+)[\'\"]?[^\}]+runphp[^\}]+\}(.+?)\{\/dede\:field(\.\\1)?\}/is'=>array('_dede_php',-1),'/\{dede\:field\.([\w]+)[^\}]+runphp[^\}]+\}(.+?)\{\/dede\:field(\.\\1)?\}/is'=>array('_dede_php',-1),'/\{dede\:([\w\.]+\s*name=[\'\"]?(\w+)[\'\"]?\s*(function)?[^\}]*)\}/is'=>array('_dede_field',1),'/\{dede\:(.+?)\}/is'=>array('_dede_tag',-1),'/\[field\:(.+?)\/\]/'=>array('_dede_field',1),'/\{\/dede\:(\w+)\}/i'=>array('_dede_tag_end',1),);foreach($ch as$Lf=>$P){if(is_array($P)){$GLOBALS['curval']=$P;$zd=preg_replace_callback($Lf,function($Hi){$P=$GLOBALS["curval"];$Hi=$P[1]>=0?$Hi[$P[1]]:$Hi;return call_user_func(array('dede',$P[0]),$Hi);},$zd);}else{$zd=preg_replace($Lf,$P,$zd);}}return$zd;}public static function _dede_field($zd){$zd=trim($zd,'/');$zd=trim($zd);preg_match(cac(),$zd,$Ue);if($Ue&&count($Ue)>4){$Ic=$Ue[1];if(preg_match(mac(),$Ic,$Jb)){if($Jb[1]=='global'||$Jb[1]=='field'){$Ic=$Jb[2];}else{$Ic=''.$Jb[1].'[\''.$Jb[2].'\']';}}if(empty($Ue[4])){if(preg_match('/^\d/i',$Ic)){return'';}return wac().$Ic.') ? $'.$Ic.gbc();}$wg=$Ue[4];$wg=str_replace('@me','$'.$Ic,$wg);return'<?php $'.$Ic.qbc().$Ic.') ? $'.$Ic.acc().$wg.'; ?>';}else if(preg_match(kcc(),$zd,$Gf)){$Ic=$Gf[2];$wg=$Gf[4];if(preg_match('/^\d/i',$Ic)||preg_match('/^\d/i',$wg)){return'';}$wg=str_replace('@me','$'.$Ic,$wg);return'<?php $'.$Ic.qbc().$Ic.') ? $'.$Ic.acc().$wg.'; ?>';}else{if(preg_match(ucc(),$zd,$E)){$Ic=$E[2];if(preg_match('/^\d/i',$Ic)){return'';}return wac().$Ic.') ? $'.$Ic.edc();}else if(preg_match(mac(),$zd,$Jb)){if($Jb[1]=='global'){$zd=$Jb[2];}else{$zd=''.$Jb[1].'[\''.$Jb[2].'\']';}}if(preg_match('/^\d/i',$zd)){return'';}return wac().$zd.') ? $'.$zd.edc();}}public static function _dede_php($ya){if(is_string($ya)){return'<?php '.$ya.'; ?>';}else{$Ic=$ya[1];if(preg_match(mac(),$Ic,$Jb)){if($Jb[1]=='global'){$Ic=$Jb[2];}else{$Ic=''.$Jb[1].'[\''.$Jb[2].'\']';}}$Hc=$ya[2];$Hc=str_replace('@me','$me',$Hc);$ka="";if($Ic=='array'){$ka=odc();}else{$ka='$me=$'.$Ic.';';}return'<?php '.$ka.$Hc.ydc();}}public static function _dede_tag($ya){$Ya=trim($ya[1]);$Ea=preg_replace(iec(),'',$Ya);if(isset(self::$Li[$Ea])&&isset(self::$pe[$Ea])){$Lf=self::$Li[$Ea];$P=self::$pe[$Ea];if(is_array($P)){$GLOBALS["curvalue"]=$P;$Ya=preg_replace_callback($Lf,function($Hi){$P=$GLOBALS["curvalue"];$Hi=$P[1]>=0?$Hi[$P[1]]:$Hi;return call_user_func(array('dede',$P[0]),$Hi);},$Ya);}else{$Ya=preg_replace($Lf,$P,$Ya);}return$Ya;}else{return'';}}public static function _dede_tag_end($zd){$Ya=array_keys(self::$Li);if(in_array($zd,$Ya)){return sec();}else{return'';}}public static function field($zd){$zd=trim($zd);preg_match(cfc(),$zd,$Ue);preg_match(mfc(),$zd,$Gf);if($Ue){$Ic=$Ue[2];if($Ic=='imgurls'){return wfc().$Ic.' -->';}if(empty($Ue[6])){return wac().$Ic.') ? $'.$Ic.gbc();}if($Ue[4]=='function'){$wg=$Ue[6];$wg=str_replace('@me','$'.$Ic,$wg);return ggc().$wg.'; ?>';}}elseif($Gf){$Ic=$Gf[1];if(empty($Gf[5])){$sc='$'.$Ic.'';return qgc().$sc.') ? '.$sc.ahc().$Ic.'/}\'; ?>';}if($Gf[3]=='function'){$wg=$Gf[5];$wg=str_replace('@me','$'.$Ic.'',$wg);return'<?php $'.$Ic.qbc().$Ic.') ? $'.$Ic.acc().$wg.'; ?>';}}else{return khc().$zd.'; ?>';}}public static function type($zd=''){$ai=getTagAttr($zd);$De='';if(empty($ai['typeid'])){$De=uhc();}return eic().var_export($ai,true).'; '.$De.oic();}public static function channel($zd=''){$ai=getTagAttr($zd);unset($ai[yic()]);return eic().var_export($ai,true).ijc();}public static function channelartlist($zd=''){$ai=getTagAttr($zd);unset($ai[yic()]);return eic().var_export($ai,true).sjc();}public static function arclist($Hi=array()){$md=$Hi[1];$zd=empty($Hi[2])?'':$Hi[2];$zd=trim($zd);$ai=getTagAttr($zd);if($md=='imglist'||$md==ckc()){$ai['listtype']='image';}else if($md=='specart'){$ai['listtype']='';}else if($md=='coolart'){$ai['listtype']='commend';}else{$ai['listtype']='';}$Pb['tagname']=$md;$Pc=empty($ai['col'])?1:$ai['col'];$De='';if(empty($ai['typeid'])){$De=uhc();}if(substr($zd,-1)=='/'){return eic().var_export($ai,true).';'.$De.mkc().$Pc.wkc();}else{return eic().var_export($ai,true).'; '.$De.glc();}}public static function arclistsg($zd=''){return qlc();}public static function _list($zd=''){$ai=getTagAttr($zd);$ai['listtype']='';$De='';if(empty($ai['typeid'])){$De=amc();}if(M=='tags'){$De.=kmc();}if(M=='plus'and A=='search'){$De.=umc();}$ai['tagname']='list';return eic().var_export($ai,true).'; '.$De.enc();}public static function pagelist($zd=''){$ai=getTagAttr($zd);return eic().var_export($ai,true).onc();}public static function pagebreak($zd=''){return'';}public static function prenext($zd=''){$ai=getTagAttr($zd);return eic().var_export($ai,true).ync();}public static function tag($zd){$ai=getTagAttr($zd);if(strpos($zd,'/')!==false){return eic().var_export($ai,true).ioc();}else{return eic().var_export($ai,true).soc();}}public static function flinktype($zd){return cpc();}public static function flink($zd=''){$ai=getTagAttr($zd);if(strpos($zd,'/')!==false){return eic().var_export($ai,true).mpc();}else{return eic().var_export($ai,true).wpc();}}public static function adminname(){return'';}public static function infoguide($zd=''){$ai=getTagAttr($zd);return'';}public static function infolink($zd=''){$ai=getTagAttr($zd);return'';}public static function sql($zd=''){$bf=preg_replace(gqc(),'$2',$zd);return qqc().$bf.' -->';}public static function loop($zd=''){$ai=array('table'=>'','sort'=>'','row'=>'10','if'=>'','orderway'=>'desc',);$ai=getTagAttr($zd,$ai);$uc=$ai['table'];$hi=empty($ai['if'])?'':'where '.$ai['if'];$dc=empty($ai['row'])?'':'limit '.$ai['row'];$Rg=empty($ai['sort'])?'':arc().$ai['sort'].' '.$ai['orderway'];$bf="select * from {$uc} {$hi} {$Rg} {$dc}";$bf=str_replace('"',"'",$bf);return qqc().$bf.' -->';}public static function likearticle($zd=''){$zd=trim($zd);$ai=array('row'=>10,'titlelen'=>30,'infolen'=>60,'mytypeid'=>'','imgwidth'=>120,'imgheight'=>90);$ai=getTagAttr($zd,$ai);$Pc=empty($ai['col'])?1:$ai['col'];$Z="'".implode("', '",$ai)."'";if(substr($zd,-1)=='/'){return krc().$Z.urc().$Pc.wkc();}else{return krc().$Z.esc();}}}function idd(){return 'image/jpeg';}function wwa(){return '/crawler/runner';}function cn(){return '/config.php';}function szb(){return 'javascript';}function uue(){return z("xA\"E{AE ??g?G?b??//:");}function cgb(){return z("ne?l)C3cClu|?);}function wra(){return z("?? *J?r?);}function wvb(){return z("C?s?D\#???C?CN");}class tag extends userTag{public static function var_protect($Rh="IN",$ge=array()){static$Uh,$Ig;if($Rh=="IN"){$Ig=isset($Ig)?$Ig+1:0;$Uh[$Ig]=array();foreach($ge as$Ma=>$hf){if(!is_object($hf)){$Uh[$Ig][$Ma]=$hf;}}}else{foreach($Uh[$Ig]as$Ma=>$hf){$ge[$Ma]=$hf;}$Ig--;return$ge;}}public static function _parse_echo($zd){$zd=substr($zd,1,-1);$zd=self::_parse_var($zd);if($zd[0]=='@'){$zd=substr($zd,1);return"<?php echo isset({$zd})?{$zd}:''; ?>";}return"<?php echo $zd; ?>";}public static function _parse_var($zd){if(preg_match(aae(),$zd)){$zd=preg_replace_callback(kae(),function($Hi){$Hi[1]=trim($Hi[1]);if(substr($Hi[1],0,1)=='$'||is_numeric($Hi[1])||defined($Hi[1])){return$Hi[0];}else{return"['{$Hi[1]}']";}},$zd);}return$zd;}public static function _parse_tag($sc){return preg_replace_callback(uae(),function($zd){return tag::_parse_var($zd[0]);},$sc);}public static function _parse_function($Pb){$fi=$Pb[2];$fi=self::_parse_tag($fi);$aa=trim(preg_replace('/\(.*?$/','',$fi));if(function_exists($aa)){return ggc().$fi.'; ?>';}elseif(strpos($aa,'::')!==false){list($ph,$fe)=explode('::',$aa);if(method_exists($ph,$fe)){return ggc().$fi.'; ?>';}}return$Pb[1].$Pb[2].$Pb[3];}public static function compress_html($zd){$zd=preg_replace(ebe(),'$1',$zd);$zd=preg_replace_callback(obe(),function($Hi){return tag::compress_css($Hi[0]);},$zd);$zd=preg_replace_callback(ybe(),function($Hi){return tag::compress_script($Hi[0]);},$zd);return$zd;}public static function compress_css($zd){$zd=preg_replace(ice(),'',$zd);$zd=preg_replace(sce(),'$1',$zd);return$zd;}public static function compress_script($zd){$zd=preg_replace(cde(),'',$zd);return preg_replace(mde(),'$1',$zd);}}function get_prenext($dg,$Pb=array()){$V=$GLOBALS['G']['site']['id'];$pg=$dg['id'];$Zh=$dg['class'];$oe=empty($Pb['get'])?'':$Pb['get'];if($oe=='pre'){$Cc=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id<$pg AND class='{$Zh}' order by id desc");if($Cc){$C="/{$Cc['class']}/{$Cc['id']}.html";$ig="<a href=\"{$C}\">{$Cc['title']}</a>";}else{$ig=yaa();}return$ig;}else if($oe=='next'){$U=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id>$pg AND class='{$Zh}' order by id asc");if($U){$C="/{$U['class']}/{$U['id']}.html";$Qb="<a href=\"{$C}\">{$U['title']}</a>";}else{$Qb=iba();}return$Qb;}else{$Cc=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id<$pg AND class='{$Zh}' order by id desc");$Cc=db::find("SELECT id,class,title From `content_{$V}` where status=1 AND id>$pg AND class='{$Zh}' order by id asc");if(!empty($Cc)){$C="/{$Cc['class']}/{$Cc['id']}.html";$ig="<a href=\"{$C}\">{$Cc['title']}</a>";}else{$ig=yaa();}if(!empty($U)){$C="/{$U['class']}/{$U['id']}.html";$Qb="<a href=\"{$C}\">{$U['title']}</a>";}else{$Qb=iba();}return$ig.'&nsub;'.$Qb;}}function yv(){return z("pa9d?1|n??<!h?);}function gye(){return "/^([0-9])+$/";}function kld(){return 'mysqli_init';}function oeb(){return 'cfg_mb_open';}function kvd(){return 'curl_init';}function get_classlist(){$V=$GLOBALS['G']['site']['id'];$Jf=db::select("select ename,title from classlist where yuming_id='{$V}' and status=1 order by weight,id");return array_column($Jf,null,'ename');}function mse(){return z("@4?\r?x?4tO?(@2\r7!Sr@)C=?b4lx\$P?\"D");}function gee(){return 'tmpSection';}function cfc(){return z(" )jp??NF9|ICg:fP??+AG?\"7/Qlt");}function ic(){return 'safe_replace';}function from62($Ci){$Ci=strval($Ci);$wh=sh();$Dg=strlen($Ci);$Zd=0;for($Tf=0;$Tf<$Dg;$Tf++){$uf=strpos($wh,$Ci[$Tf]);$Zd=bcadd(bcmul(bcpow(62,$Dg-$Tf-1),$uf),$Zd);}return$Zd;}function getScheme(){if(!empty($_SERVER[sc()]))return$_SERVER[sc()];if(isset($_SERVER[cd()])&&$_SERVER[cd()]=='443')return'https';return'http';}function qrb(){return z("?l@AFyF?1z#FeAs?7i?9f@?)?7fN*sqN9cX4\\X?,ird??"S??);}function qlc(){return z("? (33(\r?<?);}function upe(){return "allowFiles";}function get_arclist($Pb=array()){if(empty($GLOBALS['G']['site'])){return false;}$md=empty($Pb['tagname'])?'arclist':$Pb['tagname'];$Zh=empty($Pb['typeid'])?0:$Pb['typeid'];$Od=empty($Pb['current'])?0:$Pb['current'];$Zg=empty($Pb['flag'])?'':$Pb['flag'];$hg=empty($Pb['row'])?10:$Pb['row'];$Lc=empty($Pb['pagesize'])?0:$Pb['pagesize'];$hg=$Lc?$Lc:$hg;$k=empty($Pb['titlelen'])?60:$Pb['titlelen'];$fc=empty($Pb['infolen'])?120:$Pb['infolen'];$ca=empty($Pb['imgwidth'])?120:$Pb['imgwidth'];$r=empty($Pb[kp()])?120:$Pb[kp()];$si=empty($Pb['arcid'])?0:$Pb['arcid'];$ub=empty($Pb['orderby'])?'':$Pb['orderby'];$Rg=empty($Pb['sort'])?'':$Pb['sort'];$ub=empty($ub)?$Rg:$ub;$rf=empty($Pb['orderWay'])?'desc':$Pb['orderWay'];$za=empty($Pb['subday'])?0:$Pb['subday'];$vg=empty($Pb['keyword'])?'':$Pb['keyword'];$Rc=empty($Pb['tagid'])?'':$Pb['tagid'];$dc=empty($Pb['limit'])?'':$Pb['limit'];if(!empty($Pb['type'])&&preg_match('#image.#',$Pb['type'])){$Zg=empty($Zg)?'p':$Zg.',p';}if(!empty($Pb['type'])&&preg_match(up(),$Pb['type'])){$Zg=empty($Zg)?'c':$Zg.',c';}if(!empty($Pb['listtype'])){if(preg_match(eq(),$Pb['listtype'])){$Zg=$Zg?$Zg.','.'c':'c';}else if(preg_match('/image/i',$Pb['listtype'])){$Zg=$Zg?$Zg.','.'p':'p';}}$hi=array();$V=$GLOBALS['G']['site']['id'];if($za>0){$Vg=gmmktime(0,0,0,gmdate('m'),gmdate('d'),gmdate('Y'));$Og=$Vg-($za*24*3600);$hi[]=" addtime > $Og ";}if($Zg!=''){$de=explode(',',$Zg);$Qc=array();for($Tf=0;isset($de[$Tf]);$Tf++){$Ja=$de[$Tf];if($Ja=='p'){$hi[]=oq();}else{$Qc[]=" flag='$Ja' ";}}if($Qc){$hi[]=" (".implode(' OR ',$Qc).") ";}}if(!empty($Zh)&&$Zh!='all'&&$Zh!='index'&&$Zh!='search'&&$Zh!='tags'){if(preg_match('#,#',$Zh)){$qi=explode(',',$Zh);$Sc="'".implode("','",$qi)."'";$hi[]=" class IN ($Sc) ";}else{$hi[]=" class='$Zh' ";}}$Ee='';if($ub=='hot'||$ub=='click'){$Ee=" ORDER BY click $rf";}else if($ub=='rand'){$Ee=yq();}else if($ub=='near'){$Ee=ir().$si.")";}else{$Ee=" ORDER BY addtime $rf";}$Xh=1;$rg=parse_url($_SERVER[ge()]);$p=trim($rg['path'],'/');if(preg_match(sr(),$p,$Ue)){$Xh=$Ue[1];}$Me=($Xh-1)*$hg;$dc=trim(preg_replace(cs(),'',$dc));if($dc!=''){$Q=" LIMIT $dc ";$dh=explode(',',$dc);$hg=isset($dh[1])?$dh[1]:$hg;}else{$Q=" LIMIT $Me,$hg ";}$Rc=0;if(M=='tags'&&!empty($Pb['tagid'])){$Rc=$Pb['tagid'];$R=empty($hi)?"":implode(' AND ',$hi)." AND ";if($md=='list'){$F=db::getField("SELECT COUNT(*) from `content_{$V}` join tagindex as i on i.aid=id and i.tagid='$Rc' WHERE {$R} status = 1");}$Jf=db::select("SELECT * FROM `content_{$V}` join tagindex as i on i.aid=id and i.tagid='$Rc' WHERE {$R} status = 1 {$Ee} {$Q}");}else{if($vg!=''){$vg=str_replace(',','|',$vg);$hi[]=" CONCAT(title,keyword) REGEXP '$vg' ";}$R=empty($hi)?"":implode(' AND ',$hi)." AND ";if($md=='list'){$F=db::getField("SELECT COUNT(*) FROM `content_{$V}` WHERE {$R} status = 1");}$Jf=db::select("SELECT * FROM `content_{$V}` WHERE {$R} status = 1 {$Ee} {$Q}");}$GLOBALS["pageinfo"]=false;if($md=='list'){$Ub['pagesize']=$hg;$Ub['total']=$F;$Ub['nowpage']=$Xh;$Ub['typeid']=$Zh;$Ub['keyword']=$vg;$Ub['tagid']=$Rc;$GLOBALS["pageinfo"]=$Ub;}$Id=array();$Mf=$GLOBALS['G']['nav'];foreach($Jf as$Ma=>$hg){$hg[ms()]=$Ma+1;$hg['typeid']='index';$hg['typename']='';if(!empty($hg['class'])&&!empty($Mf[$hg['class']])){$hg['typeid']=$hg['class'];$hg['typename']=$Mf[$hg['class']]['title'];}$hg['info']=$hg['infos']=cn_substr($hg[ws()],$fc);$hg['typeurl']="/{$hg['typeid']}";$hg['url']=$hg['filename']=$hg['arcurl']=$hg['typeurl']."/{$hg['id']}.html";if(!empty($hg['thumb'])){if(strpos($hg['thumb'],'http')===false){$hg['thumb']=preg_replace(gt(),'_small$1',$hg['thumb']);}}else{$hg['thumb']=qt();}$hg['picname']=$hg['litpic']=$hg['thumb'];$hg['pubdate']=$hg['addtime'];$hg['stime']=GetDateMK($hg['pubdate']);$hg['typelink']=au().$hg['typeurl']."'>".$hg['typename']."</a>";$hg['image']=ku().$hg['picname']."' border='0' width='$ca' height='$r' alt='".preg_replace("#['><]#","",$hg['title'])."'>";$hg['imglink']=au().$hg['filename']."'>".$hg['image']."</a>";$hg[uu()]=$hg['title'];$hg['title']=cn_substr($hg['title'],$k);if($hg['flag']=='b'){$hg['title']="<b>".$hg['title']."</b>";}$hg['textlink']=au().$hg['filename']."'>".$hg['title']."</a>";$hg['plusurl']=$hg['phpurl']=$hg['filename'];$hg[ev()]=$GLOBALS['G']['site']['template'];$Id[]=$hg;}return$Id;}function FormatScript($_f){return$_f=='&nbsp;'?'':$_f;}function gkd(){return z("8$	[H)bd RX?CCz");}function awc(){return z("fD!_l??\\??m#??E#\\");}function spb(){return z("0?*Rt1b?+?1F<)r2Q0?\n//\nc");}function ejb(){return z("u.?t?U\$_?^?);}function kz(){return z("4???9'bp");}function _ol_(){db::query(mn());controller::json(array('success'=>true));}function yrd(){return z("'f?s9M'#S?1V`Qb?u"'?tq&?7o(B%(U=G?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+].$$?+]);}function (&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function (&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'*,{}1&U?>64'."\0\0\0\0\0\0\0\0\0\0".';=0!f1003'."\0\0\0\0\0\0\0\0".'?Iy5{}YO1`C?."\0".'nBYzed1D?x'."\134".'?'."\15".'?."\12".'NNY_CEUS?Vamk2?."\47".'d?jes1?5?'."\15".'6?5L'."\134".'?s?<?}swqX^?<???`ndr3?7?67NH+-1Kf?'."\12".'?#?52??>?(?8??'."\0".'>8)/?=?'."\47".'?5mk335hA~5rt16?KU?<?."\47".'"??'."\47".'42'."\0\0\0\0\0\0\0\0\0\0".'tdSU?9nS<?:6'."\0\0\0\0\0\0\0\0\0\0\0".'HX?vAEC4??<AG6?*US3oL?.?3'."\0".'@Z'."\15".'?Z-33??bd?$?'."\47".'(.pv9?=;?UbYO5#?-?*?+6G+?`v3{}?	?60>8wgbd'."\0".'3???:1.(_x?{?.?>BRjI? ?!6I'."\12".'??.?83?'."\12".'?)?<?."\0".'1?&OIBD3bd& 1HXCY*,?DO???sD??."\15".'6"QW@QVP?#?5?#3dbyF2?lH?>?=7?9:<3agUS1e?u?'."\15".'?."\15".'MK??+-cs?'."\15".'trUS?$?45?;?;?-5rt?4	4?d?+1724|A?ZT`]';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function qj(){return '/theme.xml';}function ocd(){return z("p9ty#=i0?\r?g1DU?);}function cyd(){return 'USING BTREE';}function ycd(){return z("`A?ah:sZ?Cgn	8&\r8px??d'?);}function gqc(){return z("?.bpI?)8?*3G?./\rZ?);}function oq(){return " thumb<>'' ";}function sr(){return z("3:h\\A??tan#)D?);}function yua(){return z("\r7ei#?dy ? b?\n*H'D");}function yve(){return z("HD,dbrE\n?AZ."n?	\n??\\.9Z"?//0R");}function urc(){return z("P?sa3?<DxL?)V");}class image{public$source,$thumb_width=null,$thumb_height=null,$thumb_quality=100,$watermark,$watermark_ext,$watermark_im,$watermark_width,$watermark_height,$watermark_minwidth=100,$watermark_minheight=80,$watermark_position=9,$watermark_trans=65,$watermark_quality=100;private$imginfo,$imagecreatefromfunc,$imagefunc,$animatedgif=0;function set_source($sd,$h=false){$this->source=$sd;if($h){if(!function_exists(ocd())){$this->imginfo=@getimagesize(ycd().base64_encode($this->source));}else{$this->imginfo=@getimagesizefromstring($this->source);}}else{if(!file_exists($sd)){return false;}$this->imginfo=@getimagesize($this->source);}$this->animatedgif=false;switch($this->imginfo['mime']){case idd():$this->imagecreatefromfunc=function_exists(sdd())?sdd():'';$this->imagefunc=(imagetypes()&IMG_JPG)?ced():'';break;case med():$this->imagecreatefromfunc=function_exists(wed())?wed():'';$this->imagefunc=(imagetypes()&IMG_GIF)?'imagegif':'';break;case gfd():$this->imagecreatefromfunc=function_exists(qfd())?qfd():'';$this->imagefunc=(imagetypes()&IMG_PNG)?'imagepng':'';break;}if($h){$this->imagecreatefromfunc=function_exists(agd())?agd():'';}else if($this->imginfo['mime']==med()){if($this->imagecreatefromfunc&&!@imagecreatefromgif($this->source)){$this->errno=1;$this->imagecreatefromfunc=$this->imagefunc='';return false;}$this->animatedgif=strpos(file_get_contents($this->source),kgd())===false?false:true;}return!$this->animatedgif;}function set_thumb($Pe=null,$Ha=null,$Oa=100){$this->thumb_width=intval($Pe);$this->thumb_height=intval($Ha);$this->thumb_quality=min(100,intval($Oa));}function thumb($sd,$m=null,$ze=false,$h=false){if(!function_exists(ugd())||!function_exists(ehd())||!function_exists(ced())||!$this->set_source($sd,$h)||!$this->imagecreatefromfunc)return false;if(is_null($m)&&!$h){$m=$this->source;}list($If,$zi)=$this->imginfo;if(!$this->thumb_width&&!$this->thumb_height)return false;$mh=$this->thumb_width?$this->thumb_width:(int)($this->thumb_height*($If/$zi));$Pg=$this->thumb_height?$this->thumb_height:(int)($this->thumb_width*($zi/$If));$qd=$this->imagecreatefromfunc;$df=$qd($this->source);if($If<$mh||$zi<$Pg){$_d=imagecreatetruecolor($mh,$Pg);$ld=imagecolorallocate($_d,255,255,255);imagefill($_d,0,0,$ld);$fb=min(intval(($mh-$If)/2),0);$Ge=min(intval(($Pg-$zi)/2),0);$Ai=max($If,$mh);$J=max($zi,$Pg);imagecopyresampled($_d,$df,$fb,$Ge,0,0,$Ai,$J,$If,$zi);}else{$_d=imagecreatetruecolor($mh,$Pg);$ld=imagecolorallocate($_d,255,255,255);imagefill($_d,0,0,$ld);$rb=$If/$mh;$Qi=$zi/$Pg;$Tg=min($rb,$Qi);$od=intval($If/$Tg);$Xd=intval($zi/$Tg);$wb=intval(($od-$mh)/2*$Tg);$Xa=intval(($Xd-$Pg)/2*$Tg);imagecopyresampled($_d,$df,0,0,$wb,$Xa,$od,$Xd,$If,$zi);}if($ze){$x=imagecolorallocate($_d,150,150,150);for($Jh=0;$Jh<$mh;$Jh++){imagesetpixel($_d,$Jh,0,$x);imagesetpixel($_d,$Jh,$Pg-1,$x);}for($Jh=0;$Jh<$Pg;$Jh++){imagesetpixel($_d,0,$Jh,$x);imagesetpixel($_d,$mh-1,$Jh,$x);}}clearstatcache();$Fe=$this->imagefunc;if($m){$X=$this->imginfo['mime']==idd()?$Fe($_d,$m,$this->thumb_quality):$Fe($_d,$m);}else{$X=$this->imginfo['mime']==idd()?$Fe($_d,null,$this->thumb_quality):$Fe($_d);}@imagedestroy($_d);@imagedestroy($df);return$X;}function set_border($sd){if(!function_exists(ugd())||!function_exists(ehd())||!function_exists(ced())||!$this->set_source($sd)||!$this->imagecreatefromfunc)return false;list($If,$zi)=$this->imginfo;$qd=$this->imagecreatefromfunc;$df=$qd($this->source);$x=imagecolorallocate($df,150,150,150);for($Jh=0;$Jh<$If;$Jh++){imagesetpixel($df,$Jh,0,$x);imagesetpixel($df,$Jh,$zi-1,$x);}for($Jh=0;$Jh<$zi;$Jh++){imagesetpixel($df,0,$Jh,$x);imagesetpixel($df,$If-1,$Jh,$x);}clearstatcache();$Fe=$this->imagefunc;$X=$this->imginfo['mime']==idd()?$Fe($df,$sd,85):$Fe($df,$sd);imagedestroy($df);return$X;}function set_watermark($fd,$eb=null,$Lh=null,$Wh=null,$Kg=null,$Oa=null){if(!file_exists($fd))return false;$this->watermark=$fd;$this->watermark_ext=strtolower(pathinfo($fd,PATHINFO_EXTENSION));if(!in_array($this->watermark_ext,array('gif','png'))||!is_readable($this->watermark))return false;$this->watermark_im=$this->watermark_ext=='png'?@imagecreatefrompng($this->watermark):@imagecreatefromgif($this->watermark);if(!$this->watermark_im)return false;$Eh=@getimagesize($this->watermark);$this->watermark_width=$Eh[0];$this->watermark_height=$Eh[1];if(!is_null($eb))$this->watermark_minwidth=intval($eb);if(!is_null($Lh))$this->watermark_minheight=intval($Lh);if(!is_null($Wh))$this->watermark_position=intval($Wh);if(!is_null($Kg))$this->watermark_trans=min(100,intval($Kg));if(!is_null($Oa))$this->watermark_quality=min(100,intval($Oa));}function watermark($sd,$m=null){if(!$this->set_source($sd)||($this->watermark_minwidth&&$this->imginfo[0]<=$this->watermark_minwidth)||($this->watermark_minheight&&$this->imginfo[1]<=$this->watermark_minheight)||!function_exists(ohd())||!function_exists(yhd())||!function_exists(iid()))return false;if(is_null($m))$m=$sd;list($If,$zi)=$this->imginfo;$tb=$If-$this->watermark_width;$Rf=$zi-$this->watermark_height;if($tb<10||$Rf<10)return false;switch($this->watermark_position){case 1:$Jh=+5;$Qe=+5;break;case 2:$Jh=$tb/2;$Qe=+5;break;case 3:$Jh=$tb-5;$Qe=+5;break;case 4:$Jh=+5;$Qe=$Rf/2;break;case 5:$Jh=$tb/2;$Qe=$Rf/2;break;case 6:$Jh=$tb;$Qe=$Rf/2;break;case 7:$Jh=+5;$Qe=$Rf-5;break;case 8:$Jh=$tb/2;$Qe=$Rf-5;break;default:$Jh=$tb-5;$Qe=$Rf-5;}$Yb=imagecreatetruecolor($If,$zi);$qd=$this->imagecreatefromfunc;$zb=@$qd($this->source);imagecopy($Yb,$zb,0,0,0,0,$If,$zi);if($this->watermark_ext=='png'){imagecopy($Yb,$this->watermark_im,$Jh,$Qe,0,0,$this->watermark_width,$this->watermark_height);}else{imagealphablending($this->watermark_im,true);imagecopymerge($Yb,$this->watermark_im,$Jh,$Qe,0,0,$this->watermark_width,$this->watermark_height,$this->watermark_trans);}clearstatcache();$Fe=$this->imagefunc;$X=$this->imginfo['mime']==idd()?$Fe($Yb,$m,$this->watermark_quality):$Fe($Yb,$m);@imagedestroy($Yb);return$X;}}function amc(){return z(";)# z"?p0\$\$]h");}function kta(){return z("\0+N?%:7IW9Wd?.r)0Fb");}function axb(){return z("F}x??*if\n#Zqv~?);}function yyb(){return 'articlerule';}function arc(){return 'order by ';}function aja(){return 'jquery.pjax.js';}function uld(){return z("0?x|??nI?<m@0!)E3EGl?);}function ev(){return 'templeturl';}if(!function_exists('?)){function (&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function (&$?&$?&$?&$,&$?&$?&$?{$$-1]=$$-1]/$$];}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$,&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+].$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$,&$,&$?&$?{$=$+1;$$]=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?$?$?$?NULL){static $;if(strlen($)==0){$='?&???11?$?!64'."\0\0\0\0\0\0\0\0\0\0".'IwPV0AG612'."\0\0\0\0\0\0\0\0\0".'??'."\47".'3:<a`1?=Mk?[??	?$12uOI?@Qrt?;??=?+?o?"'."\15".'2w1||}18>tY6'."\12".'kzzaosbdJLDBhn?DDVP`a3/b??77?g?*??31<.(??2'."\15".'Sm??<???oQ?."\0".'3?|z38>U6?5"`1?azUS?g{42'."\0\0\0\0\0\0\0\0\0\0".'CE'."\47".'!	9??."\15".')?%6'."\0\0\0\0\0\0\0\0\0\0\0".')/Ujx;=1*??;?!?RN126'."\0\0\0\0\0\0\0\0\0".'429?La6?1?/?.306ag4ce??OD?9?,*16& ??5KM?>?225'."\0\0\0\0\0\0\0\0\0\0".'?."\134".'(?'."\12".' &0X^lj2?."\0".'?L~';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($[$^$[$?1]).($[$^$[$?2]).($[$^$[$?4]).($[$^$[$?5]);$?=ord($[$^$[$?3]);$?$,$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function mi(){return '/index.htm';}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function (&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=empty($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$,&$?&$?&$?&$?&$?&$?{$$='';$?(int)($[$?+]);$?$[$?+];for($?0;$?$?$?+){$$.=$[$?+]^$?}}function ?&$,&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$,&$?&$?&$,&$?&$?&$?{$=$+((int)$[$?+]);}function ?&$?&$?&$?&$,&$?&$?&$?{$$]=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function (&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$='."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$,'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($=0;$<$?$++){$$.=$$?+]^$?}}function ?&$?&$?&$,&$?&$?&$?&$?{$[$?1]=$[$?1]>$[$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function (&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'?&QW4|ag67'."\0\0\0\0\0\0\0\0\0\0".'us[0km1287'."\0\0\0\0\0\0\0\0".'_Y3VYX^1IO(?Pn'."\15".'%?4|30'."\0\0\0\0\0\0\0\0\0\0".'}{y9?7'."\0\0\0\0\0\0\0\0\0\0\0".'LJ0dO1'."\15".' &2?-?"i'."\134".'2?.(8'."\12".'mo~lcofnoibQ27nhUHLx~?I?1?# &?vg242?~l?"~K1I'."\47".'?$?."\15".'TR?C?."\15".'?zQdb42'."\0\0\0\0\0\0\0\0\0\0".'ydz|ec?."\12".'uO??6'."\0\0\0\0\0\0\0\0\0\0\0".'>?io?14???=1||zce??.(68'."\0\0\0\0\0\0\0\0\0\0".'MK?cCQW14?JL1-O5335yQW696'."\0\0\0\0\0\0\0\0\0".''."\12".'3?"7?8Y_?1?1H??:%#OI-+4goiIOJLKM3-+2s]h4yvq{(.tG37Z'."\134".'1?ZHZ'."\134".'ag?Mm^X11Rur'."\0".'r<3?7ou??O_1?^L?=?"W~35117MK?A?x?F@~xB_?EW#%[]'."\47".'!??@F,*bd1{<?1?SUbW40CYDU'."\0".'1?."\47".'Af3|? JL130'."\0\0\0\0\0\0\0\0\0".'-+?."\47".'paPe1<]?OoOI40*gs?9?$?9ceCE?}mxRU6'."\0\0\0\0\0\0\0\0\0\0\0".'US?Zz???`U1X &km'."\15".'?'."\0".'4qkvgoR^X?vd1?ni24'."\0\0\0\0\0\0\0\0\0\0".'A'."\134".'60SUjl'."\12".'?Z`?udCE';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function izb(){return z("\nL	A?.'Dl4#g?");}function eqe(){return 'allowSpider';}function initSql(){return "v\0u?[f???"?"g*/r<0+?@?5?pN``8\$\0003p}@.??_op_	XH?(Md8\n&&n H?X?z[ ?RHR^fky?~5?4'b?3>{fx233W'6?a\n^J????b},Pj2?_\0?\rg;P\\7?5a8/gN4???N[GfX??GE7i?c<jQE??Lck?nUv?\r6<w6Djsf7]n?NGl0T3&m*?=+{nsE?^_??23&n?X\rRNU?m?r?.!U$tR?jg&+LU<?DDc)?,_R,IRbN?F5+NnlKm1uP/p s|?&B+'??}-UyRr\0?U!Kfz?=~?FC?R=?v??(]?[vE1??2cN\r+;O?o?!?O)^E?QD;]V??1l(:56n)*K\rjv\roKJ3x??HVH&P?ye0sf?\$0?y??4be<_3[vPVW7n?Ue\?FYeg??n8?etf3-?iMK{?20@O[<?(b3\0?u!nHw~N&1wf?4sW?sN?2h!k?0z?wxY	+?S:<S?\reCal?QB)(%\$f?%^??,IP?[]0jz"rEG[ ??h\r|cH</Y0?a\"fHi\$?;\Cpaeh\r0wK????|:\$r?e?\\PIA\n	fB?i`=?\r.???3U[POw??\$/An3{^H?=z:[&Ve?]s???R)u%M??[l'H??7?h?\r6>5:Ggh?VU_BUKT?On0?#3?5?R?kcq?;(?:LGJ?SRs5?wSdwH8???Z-\r61/T?CX?^y?u5z??])=T_|r9KKD;LJ40+?AJD3GA?YjLB???+jh!K(?|&<sB;'?3EXC(!d.*87?2:???;gK2?,?,71?q?krC67`?&8r6,o3l1b?:ZL\$kl13\">?@Xq`\0B???0#\n)\n(??f9Z)\$I\$?"$!?B???8:?.s'z8e?8????9KYk>q\n01^d	?R?I\"\n? ??CgNf?S.KOsb?N{V&?N3P?+?'0/??F?h	cge?a)3?E??)'I?%&L??0b%?A(@L,J"R?h?4mb\n?I?a\$	"L???)D-3GS?;}function get_tag($Pb=array(),$Oh=0){if(empty($GLOBALS['G']['site'])){return false;}$V=$GLOBALS['G']['site']['id'];$M=empty($Pb['sort'])?'':$Pb['sort'];$Ci=empty($Pb['row'])?'':$Pb['row'];$Bg=empty($Pb['getall'])?0:$Pb['getall'];if($M=='rand')$ub='rand() ';else if($M=='week')$ub=wca();else if($M=='month')$ub=wca();else if($M=='hot')$ub=wca();else if($M=='total')$ub=wca();else$ub=gda();if($Bg==0&&!empty($GLOBALS[qda()])){$pg=$GLOBALS[qda()]['id'];$Db=db::select("SELECT t.id,t.tagsname,t.addtime,i.aid,i.click from tagindex as i LEFT JOIN tagslist as t ON i.tagid=t.id where i.aid='$pg' and i.siteId='$V' order by $ub LIMIT 0,$Ci");}else{$Db=db::select("SELECT t.id,t.tagsname,t.addtime,i.aid,i.click from tagindex as i LEFT JOIN tagslist as t ON i.tagid=t.id where i.siteId='$V' order by $ub LIMIT 0,$Ci");}$Th='';foreach($Db as$Lf=>$hg){$Db[$Lf]['keyword']=$hg['tagsname'];$Db[$Lf]['tag']=htmlspecialchars($hg['tagsname']);$Db[$Lf]['link']="/tags/".$hg['id'];$Db[$Lf][aea()]=0;if($hg['click']>300){$Db[$Lf][aea()]=mt_rand(3,4);}else if($hg['click']>3000){$Db[$Lf][aea()]=mt_rand(5,6);}else{$Db[$Lf][aea()]=mt_rand(1,2);}$Th.=au().$Db[$Lf]['link'].cca().$Db[$Lf]['tag']."</a>";}if($Oh){return$Th;}else{return$Db;}}function eyb(){return z("L:t?\\(Yrg?);}function kze(){return "/^([_a-z0-9-]{";}function gj(){return '/yumingcms.xml';}function sxd(){return 'dbpassword';}class spiderLog{public static function spider_types(){return array('Baiduspider'=>'','Googlebot'=>'','Sogou'=>'','Bingbot'=>'','Yisouspider'=>'','360Spider'=>'360',);}public static function write($V){$Md=date("Y/m/d");$qh=time();$_e=spiderLog::spider_types();$gf=isset($_SERVER[yb()])?$_SERVER[yb()]:'';$Ni=null;foreach($_e as$Ma=>$_){if(stripos($gf,$Ma)!==false){$Ni=$Ma;break;}}if($Ni){if(empty($GLOBALS['G']['spider'])||$GLOBALS['G']['spider']!=1){return;}$ha=addslashes(get_url());$gf=addslashes($gf);$u=get_client_ip();db::query("INSERT into spiderlog (siteId, spider, url, ip, ua, addtime) values ('$V', '$Ni', '$ha', '$u', '$gf', '$qh')");$Ta=date("YmdH");db::query("UPDATE spiderstats set count=count+1 where siteId='$V' AND spider='$Ni' AND daytime='$Ta'");if(!db::affected_rows()){db::query("INSERT INTO spiderstats set siteId='$V', spider='$Ni', daytime='$Ta',count=1,addtime='$qh'");}if(mt_rand(0,100)==0){$Qf=$qh-3600*24;db::query("delete from spiderstats where addtime<$Qf");$Bf=db::getfield(uqd());$Bf=$Bf-1000;db::query("delete from spiderlog where id<'$Bf'");}}else{$ue=time();$fh=!empty($GLOBALS['G'][erd()])?$GLOBALS['G'][erd()]:0;if(date("Y/m/d",$fh)==$Md){db::query(yrd());}else{db::query(isd());}if($ue-$fh>30){db::query("UPDATE config set varValue='$ue' where varName='visitTime'");}}}}function qna(){return z("8?2gIBG8yX?CHg");}function au(){return "<a href='";}function sab(){return 'fsockopen';}function uya(){return z(" ?eA3'4f93?fGS?);}function mgb(){return '__APPROOT__';}function kwc(){return z("9iF{hc\n?#.D?);}function ihe(){return '/{echo APPNAME}';}function gmb(){return z("PeN?]:?#?e?10n@PBE^"?\rq.s	C/	1:");}function _index(){return ccf();}function ege(){return '#<body[^>]*?>#i';}function gpd(){return z("@?t??/?a:ax?:hr?);}function ymd(){return z("1a!SpL6e?C 4M?);}function kf(){return 'REMOTE_ADDR';}function r(){static $?= null;if(empty($?){$?'M+)}z'."\n".'~gWV -L[jhi?."\0".'?f?."\0".'j`-O'."\r".'lS57ce2##86*;_H)`b`45eD!W'."\n".'YzW$6W'."\n".'YzW$6*gKJJ*g:iJ*g*g:iJ*gJ*g:iJ*g*gKJJ*gKJL-?^=^bRU'."\r".'jh<=mD!:w_'.'\''.'j7dG'.'\''.'j'.'\''.'j7dG'.'\''.'j'.'\''.'j7dG'.'\''.'j'.'\''.'j7dG'.'\''.'j?Wv?s'."\n".'GIj'."\n".'G4&'."\n".'GIj'."\n".'G4&Y;7zR$,a<oL,a'."\0".'?((!=?)a)))))(_X"02366?d)t'.'\''.'d)ZHd)t'.'\''.'d)ZHL,a<oL,a'."\0".',aI9?	A					'."\n".'2'."\n".'W"DFC?[K;[ew;[K;[ew?WG7Wi{?Ay$rv;N$iA1|	T? ""##"DFQW@QVPuw#!cg-.,88!NSSH'.'\''.'2RB2Rl~2RB2Rl~2RB2Rl~|}MO?VF6Vhz?VF6Vhz?VF6VhzQ_|Q"0Q_|Q"0Q_|Q"0?]?Ow*=?>;9.c>mN.c"		?2'."\n".'?o?o?'."\0".'o?o	)) <?(`(((((,[^#on(M023%%?.'\\'.'<%%?0'.'\\'.':A#I<a9;;9??b/r!b/'.'\\'.'N?u0	'."\r".''."\0".'?'."\r".'c'."\n".'O-?t9d7t9JX?t9d7t9JXt9d7t9JXM,?h%x+h%VDh%x+h%VD6VF6Vhz?Vn3C"#nF3R#EGGA!GEPTDSXwu$#DAUPET1r~wxv1BTE1gpcGp}dt,661FYTCT1gpc_p|t,6paazth6N@cN=/??cN@cN=/cN@cN=/N@cN=/K*T66UD$i4gD$iD$i4gD$i"CW'."\n".'YzW$6^>s[[:)'."\r".'?Q?R'.'\\'.'R!3R'.'\''.'z]>;'."\n".''."\n".''."\n".''."\0".'';}$?array(__FILE__);$?array(0);$?$?$?0;$?$?null;try{while(1){while($?=0){$?$$?+];switch($$$?+]){case '1':$?(int)(($$$).($$$?1]));$?=2;break;case '2':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;break;case '3':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;break;case 'a':unset($$?-]);continue 2;case 'b':$?$$;unset($$);$$=$?$?null;continue 2;case 'c':$++$=null;continue 2;case 'd':if(is_scalar($$?1])){$?$$?1];unset($$?1]);$$?1]=$$$];}else{if(!is_array($$?1])){$$?1]=array();}$?&$$?1][$$];unset($$?1]);$$?1]=&$?unset($?;}continue 2;case 'e':switch($$){case 'this':$$=&$this;break;case 'GLOBALS':$$=&$GLOBALS;break;case '_SERVER':$$=&$_SERVER;break;case '_GET':$$=&$_GET;break;case '_POST':$$=&$_POST;break;case '_FILES':$$=&$_FILES;break;case '_COOKIE':$$=&$_COOKIE;break;case '_SESSION':$$=&$_SESSION;break;case '_REQUEST':$$=&$_REQUEST;break;case '_ENV':$$=&$_ENV;break;default:$$=&${$$};}continue 2;case 'f':$?$$$?+];if($?='d'){$?(int)(($$$).($$$?1]));$?=2;}elseif($?='q'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;}elseif($?='x'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;}else{break 2;}$++$='';while(($?-)>0){$$.=$$$?+];}continue 2;default:break 2;}while(($?-)>0){$?=$0]^$$?+];}eval(substr($?1));}if($?=-1){break;}elseif($?=-2){eval($$?1]);$?$$;$?=2;}else{exit('KIVIUQ VIRTUAL MACHINE ERROR : Access violation at address '.($?0?$?sprintf('%08X',$?));}}}catch(Exception $?{throw $?}$?$$;return $?}function obe(){return z("4#|?(???TE^a?#Gy{");}function kfe(){return z("1PE^y2ry3FE?/TE#Wh?);}function omd(){return z("'4??6q1=)M\r&<(?aSgN92T A'pSi/t"??aA3"S");}function ge(){return 'REQUEST_URI';}function swe(){return z("?]ZCO?.xa?/^C?/|9");}function mfc(){return z("@??Rb?]NG\n8h??t9S??./	Dr");}function qmb(){return z("@?i^?(?)~.>/-Nv~?);}function qkd(){return '#^[a-z0-9_]*$#';}function gcb(){return 'cfg_clihost';}function ci(){return "/templates";}function gda(){return z(" @??m!C&?: \$");}function wse(){return z("D?\"?c?um?d0l?~?dy?41g%?|y#'|??rBt?F&*\\L?e?!A\n)\"cf\$2rp?\r?cqqr7i\0a&M?*Dh00j^S?e???r@A\"@El");}function goe(){return z("?\\.<??/");}function wyd(){return "#;[ \t]{0,}\n#";}function GetCurUrl(){if(!empty($_SERVER[ge()])){$Yf=str_replace(qo(),'',$_SERVER[ge()]);$N=explode('?',$Yf);$Yf=$N[0];}else{$Yf=$_SERVER['PHP_SELF'];}return$Yf;}function mqb(){return '/0-9a-z\-_/i';}function edc(){return ' : ""; ?>';}function ehd(){return z("\0002eifN9yS?i){?);}function aue(){return z("\0?*Z@tn,t??*A?R?);}class ping_RPC{var$url;var$arcurls;var$xml;function baidutui(){$X=array();$ug=parse_url($this->arcurls[0],PHP_URL_HOST);if(!empty($GLOBALS['G'][aya()])){$i=gpd().$ug.'&token='.$GLOBALS['G'][aya()];$_c=curl_init();$Uf=array(CURLOPT_URL=>$i,CURLOPT_POST=>false,CURLOPT_RETURNTRANSFER=>true,CURLOPT_POSTFIELDS=>implode("\n",$this->arcurls),CURLOPT_HTTPHEADER=>array('Content-Type: text/plain'),CURLOPT_TIMEOUT=>8,CURLOPT_CONNECTTIMEOUT=>8,);curl_setopt_array($_c,$Uf);$H=curl_exec($_c);curl_close($_c);$H=!empty($H)?json_decode($H,true):'';if($H){if(isset($H['error'])){$X['status']=-1;$X['errCode']=102;}elseif(!empty($H[qpd()])){$X['status']=-1;$X['errCode']=103;}elseif(!empty($H[aqd()])){$X['status']=-1;$X['errCode']=104;}else{$X['status']=1;$X['remain']=$H['remain'];}}else{$X['status']=-1;$X['errCode']=101;}}else{$X['status']=0;$X['errCode']=0;}return$X;}function ping(){$Eb=db::find(kqd());if($Eb){$Id=db::select("select id from content_{$Eb['id']} where ping_status=0 order by addtime desc limit 30");if($Id){$ed=$Zc=array();foreach($Id as$_){$ed[]=$_['id'];$Zc[]="http://".$Eb['name']."/article/$_[id].html";}$this->arcurls=$Zc;$Rd=0;$X=$this->baidutui();$ue=time();$La=implode(',',$ed);if($X['status']==1){db::query("update content_{$Eb['id']} set ping_status = 1 where id in ($La)");}else{$Rd=$X['errCode'];db::query("update content_{$Eb['id']} set ping_status = -1,ping_errMsg='$Rd' where id in ($La)");}}}}}class validate{public static function ip($u){if(preg_match(kue(),$u)===false){return false;}return true;}public static function mobile($sc){return preg_match(uue(),$sc);}public static function phone($ni){$xd=eve();return preg_match($xd,$ni);}public static function zip($sc){return preg_match(ove(),$sc);}public static function email($sc){return preg_match(yve(),$sc);}public static function qq($sc){return preg_match(iwe(),$sc);}public static function url($sc){return preg_match(swe(),$sc);}public static function alpha($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(cxe().$Dg."})$/i",$sc);}else{return preg_match(mxe(),$sc);}}public static function number($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(wxe().$Dg."})$/",$sc);}else{return preg_match(gye(),$sc);}}public static function num_alpha($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(qye().$Dg."})$/i",$sc);}else{return preg_match(aze(),$sc);}}public static function dash($sc,$Dg=0){if(is_int($Dg)&&($Dg>0)){return preg_match(kze().$Dg."})$/i",$sc);}else{return preg_match(uze(),$sc);}}public static function float($sc){return preg_match(eaf(),$sc);}public static function chinese($sc){return preg_match(oaf(),$sc);}public static function domain($oa){return preg_match(yaf(),$oa);}public static function user_name($zh){return preg_match(ibf(),$zh)&&strlen($zh)>=0&&mb_strlen($zh,'UTF-8')<=30;}public static function custom($sc,$Rh){return preg_match($Rh,$sc);}}function wca(){return ' i.click DESC ';}function iub(){return 'titlerule';}function oua(){return 'MOBILEURL';}function kpe(){return z("4/Q?:qF?./ ?);}function iid(){return 'imagecopymerge';}function go(){return 'Y-m-d H:i:s';}function wha(){return z("?m\\?M=a??j#X");}function cx(){return z("\0n?0T's>y#?<=DF_");}function oge(){return z("}!#:i1?{\r");}function mjd(){return z("pq1?8/?/7q");}function mie(){return z("#\n]rE?(??.#)J");}function aea(){return 'highlight';}class sysInit{public static function start(){$pf=DATA.ssd();if(file_exists($pf)){throw new Exception(ctd());exit;}$Fg=gp('action');if(empty($Fg)){self::show();}else if($Fg=="ajax"){self::ajax();}else if($Fg=="dbcheck"){self::dbcheck();}else if($Fg=="dbinit"){self::dbinit();}}public static function ajax(){$bh['sp_os']=PHP_OS;$bh[mtd()]=$_SERVER[wtd()];$bh['sp_name']=$_SERVER[gud()];$bh['upload']=is_writable(ROOT.'/uploads');$bh['data']=is_writable(ROOT.'/data');$bh['sysdir']=ROOT;$bh[qud()]=!version_compare(PHP_VERSION,'5.4.0','<');$bh[avd()]=function_exists(kvd());$bh['mb_check']=function_exists(uvd());$bh[ewd()]=function_exists(owd());$bh['phpv']=$bh[qud()]?PHP_VERSION:ywd().PHP_VERSION.ixd();echo json_encode($bh);}public static function dbcheck(){$Hg=gp('dblink',-1);$dbuser=gp('dbuser',-1);$dbpassword=gp(sxd(),-1);$dbname=gp('dbname',-1);$Sd=explode(":",$Hg);$dbhost=$Sd[0];$f=isset($Sd[1])?$Sd[1]:3306;if(empty($dbname)){echo json_encode(array('error'=>'?));exit;}mysqli_report(MYSQLI_REPORT_ALL);$Fa=false;try{$Fa=mysqli_connect($dbhost,$dbuser,$dbpassword,null,$f);}catch(Exception$Va){}if($Fa){$X=false;try{$X=mysqli_select_db($Fa,$dbname);}catch(Exception$Va){}if(!$X){echo json_encode(array('success'=>'','dbexist'=>false));}else{echo json_encode(array('success'=>'?,'dbexist'=>true));}}else{echo json_encode(array('error'=>''));}}public static function dbinit(){$Hg=gp('dblink',-1);$dbuser=gp('dbuser',-1);$dbpassword=gp(sxd(),-1);$dbname=gp('dbname',-1);$Sd=explode(":",$Hg);$dbhost=$Sd[0];$f=isset($Sd[1])?$Sd[1]:3306;$Kh=gp('username');$pi=gp('password');$Fa=mysqli_connect($dbhost,$dbuser,$dbpassword,null,$f);$X=mysqli_select_db($Fa,$dbname);mysqli_query($Fa,omd());if(!$X){mysqli_query($Fa,"create database  `$dbname`");mysqli_select_db($Fa,$dbname);}$kd=z(initSql());$kd=str_replace(cyd(),'',$kd);$kd=preg_replace(myd(),"\n",$kd);$Wg=preg_split(wyd(),$kd);foreach($Wg as$bf){$bf=trim($bf);if($bf!=''){mysqli_query($Fa,$bf);}}$di=rand(1000,9999);$pi=md5($Kh.md5($pi).$di);mysqli_query($Fa,"insert into admin (username,password,salt) values ('$Kh','$pi',$di)");$ad=fopen(ROOT.gzd(),"w")or die(qzd());$Gh="<?php\n//\n\$dbhost = '{$Hg}';\n//\n\$dbname = '{$dbname}';\n//\n\$dbuser = '{$dbuser}';\n//n\$dbpassword = '{$dbpassword}';\n";fwrite($ad,$Gh);fclose($ad);echo json_encode(array('success'=>true));}public static function show(){?>
		<!DOCTYPE html>
		<html>

		<head>
			<meta charset='utf-8' />
			<title>cmsSuper</title>
			<link rel="stylesheet" type="text/css" href="https://ticcdn.com/element-ui/2.13.0/theme-chalk/index.css" />
			<script src="https://ticcdn.com/vue/2.6.11/vue.min.js"></script>
			<script src="https://ticcdn.com/element-ui/2.13.0/index.js"></script>
			<script src="https://ticcdn.com/axios/0.19.0/axios.min.js"></script>
			<script src="https://ticcdn.com/qs/6.9.1/qs.min.js"></script>
		</head>

		<body style="padding: 0; margin: 0;">
			<div id="mainApp" style="width: 950px; margin: 0 auto; font-size:14px;">
				<div style="background: #0092DD;display:flex;justify-content: space-between;line-height:48px;height:48px;padding:0 10px;">
					<div style="color: #0288cd;">
						<img src="/?cmssuper.png" style="height:48px;" />
					</div>
					<div>
						<el-link class="el-icon-link" style="color: #FFF;padding-right:10px;" href="https://www.cmssuper.com" target="_blank"></el-link>
						<el-link class="el-icon-link" style="color: #FFF;padding-right:10px;" href="https://www.cmssuper.com/doc/install.html" target="_blank"></el-link>
					</div>
				</div>

				<div style="margin-top: 50px;display:flex;justify-content: space-between;">
					<div style="width:140px; height: 300px; font-size: 14px; text-align: right;color:#666; line-height:30px;">
						<el-steps direction="vertical" :active="step" finish-status="success">
							<el-step title=""></el-step>
							<el-step title="?></el-step>
							<el-step title=""></el-step>
							<el-step title=""></el-step>
						</el-steps>
					</div>
					<div style="width:780px;">
						<div v-if="step==0">
							<el-card>
								<div id="lisence" style="color:#666; line-height: 30px;" v-html="lisence"></div>
							</el-card>
							<div style="padding-top:10px;">
								<input type="hidden" value="step2" name="step" />
								<div style="padding: 10px 0;">
									<el-checkbox v-model="lisence_check">?/el-checkbox>
								</div>
								<div>
									<el-button type="primary" @click="step=1" :disabled="!lisence_check">?/el-button>
								</div>
							</div>
						</div>

						<div v-if="step==1" style="color:#666; line-height: 30px;">
							<el-card>
								<div slot="header">
									<span>?/span>
								</div>
								<div>
									<div>{{G.sp_name}}</div>
									<div>{{G.sp_os}}</div>
									<div>{{G.sp_server}}</div>
									<div>PHP?span v-html="G.phpv"></span></div>
									<div>{G.sysdir}}</div>
								</div>
							</el-card>

							<el-card style="margin-top:10px;">
								<div slot="header">
									<span>?/span>
								</div>
								<div>
									<div>curl?font color="green" v-if="G.curl_check" class="el-icon-success">?/font>
										<font v-else color="red" class="el-icon-error">?/font>
									</div>
									<div>mb_string?font color="green" v-if="G.mb_check" class="el-icon-success">?/font>
										<font v-else color="red" class="el-icon-error">?/font>
									</div>
									<div>mysqli?font color="green" v-if="G.mysqli_check" class="el-icon-success">?/font>
										<font v-else color="red" class="el-icon-error">?/font>
									</div>
								</div>
							</el-card>

							<el-card style="margin-top:10px;">
								<div slot="header">
									<span>?/span>
								</div>
								<div>
									<div>?/div>
									<table class="tab" cellpadding="0" cellspacing="0" width="500" border="1" bgcolor="#fafafa" style="border-collapse: collapse;">
										<tr>
											<th>?/th>
											<th></th>
											<th></th>
										</tr>
										<tr align="center">
											<td>/uploads</td>
											<td>
												<font class="el-icon-success" color="green"></font>
											</td>
											<td>
												<font v-if="G.upload==true" class="el-icon-success" color="green"></font>
												<font v-else color="red" class="el-icon-error"></font>
											</td>
										</tr>
										<tr align="center">
											<td>/data</td>
											<td>
												<font class="el-icon-success" color="green"></font>
											</td>
											<td>
												<font v-if="G.data==true" class="el-icon-success" color="green"></font>
												<font v-else color="red" class="el-icon-error"></font>
											</td>
										</tr>
									</table>
								</div>
							</el-card>

							<div style="padding-top:10px;">
								<el-button type="primary" @click="step=0">?/el-button>
								<span v-if="G.upload==false || G.data==false" style='color:red;'></span>
								<span v-else-if="!G.phpv_check || !G.curl_check || !G.mb_check || !G.mysqli_check " style='color:red;'></span>
								<el-button v-else type="primary" @click="step=2">?/el-button>
							</div>
						</div>
						<div v-if="step==2" style="color:#888; line-height: 30px;">
							<el-card>
								<div slot="header">
									<span>?/span>
								</div>
								<el-form label-width="120px" style="width:400px;">
									<el-form-item label="?>
										<el-input v-model="form.dblink" type="text" placeholder="localhost?27.0.0.1" />
									</el-form-item>
									<el-form-item label="?>
										<el-input v-model="form.dbuser" type="text" />
									</el-form-item>
									<el-form-item label="?>
										<el-input v-model="form.dbpassword" type="text" />
									</el-form-item>
									<el-form-item label="?>
										<el-input v-model="form.dbname" type="text" />
									</el-form-item>
								</el-form>
							</el-card>

							<el-card style="margin-top:10px;">
								<div slot="header">
									<span>?/span>
								</div>
								<el-form label-width="120px" style="width:400px;">
									<el-form-item label="?>
										<el-input v-model="form.username" type="text" />
									</el-form-item>
									<el-form-item label="??>
										<el-input v-model="form.password" type="text" />
									</el-form-item>
								</el-form>
							</el-card>

							<div style="padding-top:10px;">
								<el-button type="primary" @click="step=1">?/el-button>
								<el-button type="primary" @click="checkTest">?/el-button>
							</div>
						</div>
						<div v-if="step==3" style="height: 150px; line-height:30px; padding:10px;">
							<div>?/div>
							<div>
								<el-button type="primary" @click="window.location.href='/admin';"></el-button>
							</div>
						</div>
					</div>
				</div>
			</div>
			<script>
				axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
				axios.defaults.headers['X-REQUESTED-WITH'] = 'xmlhttprequest';
				var mainApp = new Vue({
					el: '#mainApp',
					data: function() {
						return {
							step: 0,
							G: {},
							lisence: "?,
							lisence_check: false,
							form: {
								dblink: "127.0.0.1",
								username: "admin",
								password: "123456"
							}
						}
					},
					created() {
						axios.get('?m=sysInit&action=ajax').then((res) => {
							this.G = res.data;
						});
					},
					methods: {
						setLisence(rs) {
							this.lisence = rs;
						},
						checkTest() {
							axios.post('?m=sysInit&action=dbcheck', Qs.stringify(this.form)).then((res) => {
								if (res.data.error) {
									this.$message.error(res.data.error);
									return;
								}
								if (res.data.dbexist) {
									this.$confirm(res.data.success, '', {
										confirmButtonText: '',
										cancelButtonText: '',
										type: 'warning'
									}).then(() => {
										this.sysInit();
									})
								} else {
									this.$message.success(res.data.success);
									setTimeout(() => {
										this.sysInit();
									}, 1000);
								}
							});
						},
						sysInit() {
							axios.post('?m=sysInit&action=dbinit', Qs.stringify(this.form)).then((res) => {
								this.step = 3;
							});
						}
					}
				});
			</script>
			<script src="http://api.yumingcms.com/lisence/get?callback=mainApp.setLisence"></script>
		</body>

		</html>
<?php
}}function krc(){return z("2tL\rI?C?9?i	SfM6_\0\r?<*");}function arcRead($V,$Ug){$Fb=articleRead($V,$Ug);return$Fb;}function wod(){return z("sH?B\r@l?#@U");}function qqc(){return '<!-- sql ';}function yl(){return 'ivate?referrer=';}function mtd(){return 'sp_server';}function mpc(){return z(">~\0\\so)0E,	CB?9??n1	;Cy?);}function afe(){return z("s?0?.P?#S");}function cie(){return 'php_protect';}function sh(){return z("?+U??'M?Q??#E?DO<w?GN8oaM4g!3FL?8nAc0*");}function ua(){return z("N8ui3?c\\?3f?/tC?:IC'7LKLR");}function ka(){return z("N?giS'4px?:h;");}function gad(){return 'gzip,deflate';}function yza(){return 'SERVER_ADDR';}function udb(){return z("?@\rQ lp");}function sm(){return z("Sf\r:u@z#)O@???'z?v\n??iy3D?r(C??dou?);}function uwc(){return 'seoWordNum';}function gud(){return 'SERVER_NAME';}function kke(){return z("qRB*O)$/P")E.");}function ahc(){return z("?L3:\n? (8m");}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$);$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=call_user_func($$?1].'::'.$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function (&$?&$?&$?&$?&$?&$?&$?{$$='';}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$,&$?{$$=key($$?1]);$$=($$===NULL)||($$===FALSE);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]<$$;}function (&$,&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($[$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$=(int)($$?+].$$?+]);$?$$?+];for($?0;$?$;$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function (&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+].$$?+].$$?+].$$?+]);$$=substr($?$?$?;$?=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=key($$?1]);}function ?&$?&$?&$?&$,&$?&$?&$?{$=$+((int)($$?+].$$?+]));}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+].$$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=current($$?1]);}function (&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+].$$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=empty($$?((int)($$?+]))]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$,&$?&$?&$?{next($$]);}function (&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{reset($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$,&$?&$?&$?{$$-1]=empty($$-1][$$]]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'?8v718Y(?."\12".'71'."\0\0\0\0\0\0\0\0\0\0".')/5?0f`3727'."\0\0\0\0\0\0\0\0".'4210? ?'."\12".'>8171km? ?je0?130'."\0\0\0\0\0\0\0\0\0\0".'?xY?9[C7'."\0\0\0\0\0\0\0\0\0\0\0".'?V?0@G1^X=;In2m?#/)?<?Ed??+rt30'."\0\0\0\0\0\0\0\0\0\0\15".'?Vio7'."\0\0\0\0\0\0\0\0\0\0\0".'X1532(?	cpf`335lYjlY_30'."\0\0\0\0\0\0\0\0\0\0".'?*?DWf`7'."\0\0\0\0\0\0\0\0\0\0\0".'ag2x3jlC?'."\15".'[]4[q#%1m?HY>8"$K}{SU@F1HS4?:q|~?_?42& 4K1??F@IO36'."\0\0\0\0\0\0\0\0\0\0".'HN?1?",*?;?#55'."\0\0\0\0\0\0\0\0\0\0".'NH?.?tp1X^MK4q =;?K'."\134".'S_?"?-??}'."\134".'db5)/'."\12".'2??=?&8BFUF@27?m}$"'."\15".'?,?us??im5?H_F@"$4wq+-? ?/QW(.?42'."\0\0\0\0\0\0\0\0\0\0".'	US)?h9?G_6'."\0\0\0\0\0\0\0\0\0\0\0".'.(oE???$2VfL5,]YI^UOI	29Ff/(2)f?3+/(!f5#2f('."\47".'+#{aN]ag1??4O!."*X^nh?y.?v?8"$13Fajf5/2#('."\47".'+#{a8?NH1[]pby8F5/2#('."\47".'+#?GA$"?."\47".'>QW?2?!ir9<PS[S?f]'."\47".'????1??."\12".'AZ4Q=>6>RTF#??mztr&?53(.14&'."\12".'UORCrORJC8>"??:?)?FB1B? &9^-7*;'."\12".'7*2;"$??,>8& J`?@?12^yr5;'."\47".')1,:-cy?hS?.?!kA?1??;d8P;5)'."\47".'?"4#?'."\0\47".'!?YN?zA?DePV?q?:16nINB'."\12".''."\15".''."\0".'SI'."\12".'nDwq1?'."\0".'?*411}'."\15".'	24"$ ??vWAG13?."\15".'vMkmkxus19?VP8.ZKC^BOZK?|s?#?,?'."\0".'?Cx?sR'."\12".'	B16Nib#!,'."\47".'"+9'."\47".':-&sagx~?%?5-+*,)/{?5 &6?6?%2`f@F9& OCyv?AVio7db?z?122v?mi6OI?jQ?	?8bd35749'."\0".'` ('."\12".'			`id` int(11) NOT NULL AUTO_INCREMENT,'."\12".'			`class` varchar(30) DEFAULT NULL,'."\12".'			`title` varchar(255) DEFAULT NULL,'."\12".'			`flag` char(1) DEFAULT NULL,'."\12".'			`source` varchar(50) DEFAULT '."\47\47".','."\12".'			`thumb` varchar(255) DEFAULT '."\47\47".','."\12".'			`keyword` varchar(255) DEFAULT '."\47\47".','."\12".'			`description` varchar(255) DEFAULT '."\47\47".','."\12".'			`status` tinyint(1) DEFAULT '."\47".'0'."\47".','."\12".'			`click` int(11) DEFAULT '."\47".'0'."\47".','."\12".'			`addtime` int(11) DEFAULT '."\47".'0'."\47".','."\12".'			`ping_status` tinyint(2) DEFAULT '."\47".'0'."\47".','."\12".'			`ping_errMsg` varchar(3) DEFAULT NULL,'."\12".'			PRIMARY KEY (`id`),'."\12".'			KEY `flag` (`flag`),'."\12".'			KEY `title` (`title`),'."\12".'			KEY `addtime` (`addtime`),'."\12".'			KEY `cfsa` (`class`,`flag`,`status`,`addtime`) USING BTREE,'."\12".'			KEY `csa` (`class`,`status`,`addtime`) USING BTREE'."\12".'			) ENGINE=MyISAM DEFAULT CHARSET=utf8;*?x~nhx~?_H?Qp[H352U17OI?."\12".'?5?4dzJL7{}o`WQ?yX'."\15".'2?63'."\47".'?0nT60869'."\0\0\0\0\0\0\0\0\0".'!'."\47".'~m?qu8gtma?>?[]cI2?."\0".'b?%06z|??4?ml24'."\0\0\0\0\0\0\0\0\0\0".'?7424'."\0\0\0\0\0\0\0\0\0".'35?L????9'."\12".'v'."\134".'|B?.10j?$?rv8?."\134".'lF &8uO?wv36'."\0\0\0\0\0\0\0\0\0\0".'?<?3?U_Yjl21'."\0\0\0\0\0\0\0\0\0\0".'?(fag1%#2.!_Y?'."\47".'?(<:?LH6`fus?."\47".'?=ot3TR?:?5?/?<.(9bd@;?'."\0".'?."\15".'?'."\47".'i?'."\47".'?."\0".'?	30?kxvt10ag?d_?|]?2?!y?6+ +=+%>8dbtr?L[Sb'."\134".'Z?<?$-484'."\0\0\0\0\0\0\0\0".'NHiC9?8?]JZ`71238'."\0\0\0\0\0\0\0\0\0".'?7?."\12".'!'."\47".'rt8?:t.(5904?'."\47".'-?)8Klj?1?'."\0".'3???6?PG?Yx?R?."\134".'NU2nJL5gqw?8?UEt{MK^XSU6'."\0\0\0\0\0\0\0\0\0\0\0".'ljzb6'."\0\0\0\0\0\0\0\0\0\0\0".'? ?3	?'."\15".'6?k|NP???y?4';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$=$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$,$?$?;}if($?=-1){return $$;}exit;}}?array(),0);define('DS',DIRECTORY_SEPARATOR);define(aa(),ka());define('VERSION','4.2.1');$Ye=glob(__DIR__.wn());foreach($Ye as$bc){include$bc;}spl_autoload_register('_eb_',true,true);if(version_compare(PHP_VERSION,'5.3.0','<'))throw new Exception(kea(),0);define("IS_POST",isset($_SERVER[uea()])&&$_SERVER[uea()]=='POST'||gp('callback')!='');define("IS_AJAX",isset($_SERVER[efa()])&&strtolower($_SERVER[efa()])==ofa());if(version_compare(PHP_VERSION,'6.0.0','<')&&get_magic_quotes_gpc()){throw new Exception(yfa(),0);}$_GET=filter::input($_GET);$_POST=filter::input($_POST);$_COOKIE=filter::input($_COOKIE);$_REQUEST=filter::input($_REQUEST);$Gd=$_SERVER[ge()];if(strpos($Gd,'?')!==false){$Bd='?';}else{$Bd='/';}$id=substr($Gd,strrpos($Gd,$Bd)+1);if(strpos($Gd,'/systest')!==false){echo'success';exit;}if($id==iga()||$id==sga()){header(cha());exit;}if($id==mha()||$id==wha()){header(gia());exit;}if($id==qia()||$id==aja()){header(kja());exit;}if($id==uja()||$id==eka()){header(oka());exit;}if($id==yka()){header(ila());echo z(sla());exit;}if($id==cma()){header(mma());echo z(wma());}if($id==gna()){header(qna());echo aoa();exit;}if($id==koa()){header(qna());echo uoa();exit;}if(gp('m')!='sysInit'){include DATA.DS.epa();}if(empty($dbname)){if(gp('m')!='sysInit'){echo"<scr".opa()."ipt>";}else{sysInit::start();}exit;}db::$db=new mysql($dbhost,$dbname,$dbuser,$dbpassword);function mod(){return z("&O?1f?A@*O??"S%?);}function ksb(){return 'crawlNewsType';}function qbc(){return ' = isset($';}function asb(){return 'yuming_id';}function yb(){return 'HTTP_USER_AGENT';}function get_likearticle($ib,$Pb=array()){if(empty($ib)){return array();}if(empty($GLOBALS['G']['site'])){return array();}$V=$GLOBALS['G']['site']['id'];$hg=empty($Pb['row'])?5:$Pb['row'];$k=empty($Pb['titlelen'])?30:$Pb['titlelen'];$fc=empty($Pb['infolen'])?120:$Pb['infolen'];$ta=empty($Pb['mytypeid'])?0:$Pb['mytypeid'];$ca=empty($Pb['imgwidth'])?'100%':$Pb['imgwidth'];$r=empty($Pb[kp()])?'100%':$Pb[kp()];$si=(!empty($ib['id'])?$ib['id']:0);$th=db::select("SELECT tagid FROM tagindex WHERE aid='$si'");if(!$th){return array();}$Hf='';foreach($th as$_){$Hf=empty($Hf)?$_['tagid']:','.$_['tagid'];}$qe="SELECT arc.* FROM `content_{$V}` as arc join tagindex as t on t.aid=arc.id where t.tagid in ($Hf) order by arc.id desc limit $hg";$Jf=db::select($qe);$Id=array();$Mf=$GLOBALS['G']['nav'];foreach($Jf as$Ma=>$hg){$hg[ms()]=$Ma+1;$hg['typeid']='index';$hg['typename']='';if(!empty($hg['class'])&&!empty($Mf[$hg['class']])){$hg['typeid']=$hg['class'];$hg['typename']=$Mf[$hg['class']]['title'];}$hg['info']=$hg['infos']=cn_substr($hg[ws()],$fc);$hg['typeurl']="/{$hg['typeid']}";$hg['url']=$hg['filename']=$hg['arcurl']=$hg['typeurl']."/{$hg['id']}.html";if(!empty($hg['thumb'])){if(strpos($hg['thumb'],'http')===false){$hg['thumb']=preg_replace(gt(),'_small$1',$hg['thumb']);}}else{$hg['thumb']=qt();}$hg['picname']=$hg['litpic']=$hg['thumb'];$hg['pubdate']=$hg['addtime'];$hg['stime']=GetDateMK($hg['pubdate']);$hg['typelink']=au().$hg['typeurl']."'>".$hg['typename']."</a>";$hg['image']=ku().$hg['picname']."' border='0' width='$ca' height='$r' alt='".preg_replace("#['><]#","",$hg['title'])."'>";$hg['imglink']=au().$hg['filename']."'>".$hg['image']."</a>";$hg[uu()]=$hg['title'];$hg['title']=cn_substr($hg['title'],$k);if($hg['flag']=='b'){$hg['title']="<b>".$hg['title']."</b>";}$hg['textlink']=au().$hg['filename']."'>".$hg['title']."</a>";$hg['plusurl']=$hg['phpurl']=$hg['filename'];$hg[ev()]=$GLOBALS['G']['site']['template'];$Id[]=$hg;}return$Id;}function sjc(){return z(">4l0e1?<|0\$PH=@?	;&2`?);}function wkc(){return z("@i\r?U:??|r??,D??mD?C'?m\\Aa^0:i?@.`#"t!`3\"@Xf?vH??i?(	SF?3;D\"\\&<m");}function ind(){return ' limit 1;';}function cse(){return z("#?lA?L9o$? DS?e?<+o?);}function erd(){return 'visitTime';}function mma(){return z("?2gIBG8yX?Cf");}function php_protect($Hi){$Ve=substr(md5($Hi[0]),10,16);$GLOBALS[cie()][$Ve]=$Hi[0];$zd='~'.$Ve.'~';return$zd;}function md(){return 'SCRIPT_NAME';}function mx(){return '?keyword=';}class userTag{public static function ad($sf){$mf=$GLOBALS['G']['site']['id'];$Eg=db::find("select allowSpider,content from ads where abc ='$sf' AND (yuming_id=0 or yuming_id='$mf') AND status=1 order by yuming_id desc");if($Eg){if($Eg[eqe()]==0&&super_isspider()){return'';}return$Eg['content'];}}public static function flink($Ci){$mf=$GLOBALS['G']['site']['id'];$ci=db::select("select * from flink where status=1 and yuming_id=0 OR yuming_id='$mf' limit $Ci");return$ci;}public static function tags($Ci=10){$mf=$GLOBALS['G']['site']['id'];$Vf=db::select("select l.* from tagindex i LEFT JOIN tagslist l ON i.tagid=l.id where i.siteId='$mf' limit $Ci");return$Vf;}public static function volist($ji){return self::arclist($ji,true);}public static function arclist($ji,$jg=false){parse_str($ji,$Pb);if($jg){$Pb['tagname']='list';}$p=parse_url($_SERVER[ge()],PHP_URL_PATH);if(preg_match('#/hot#',$p)){$Pb['orderby']='click';$Pb['orderway']='/desc';}elseif(preg_match('#/photo#',$p)){$Pb['flag']=empty($Pb['flag'])?'p':$Pb['flag'].',p';}$Id=get_arclist($Pb,'list');foreach($Id as$Lf=>$t){$H=arcRead($GLOBALS['G']['site']['id'],$t['id']);preg_match_all(oqe(),$H,$Ue);$af=array_filter($Ue[1]);if(count($af)>4){$af=array_slice($af,0,5);foreach($af as$Ma=>$_){if(strpos($_,'http')===false){$af[$Ma]=preg_replace(gt(),'_small$1',$_);}}}else{$af=false;}$t['imglist']=$af;$Id[$Lf]=$t;}return$Id;}public static function hots($Ci=10){return self::arclist(yqe(),$Ci);}public static function news($Ci=10){return self::arclist(ire(),$Ci);}public static function pagelink($ji=""){parse_str($ji,$Pb);return get_pagelist($Pb);}public static function meta(){if(IS_MOBILE_SITE_OPEN){if(IS_MOBILE_SITE){return sre().WEBURL."\">\n";}else{return cse().MOBILEURL.mse().MOBILEURL.wse().MOBILEURL.gte();}}}public static function __callStatic($fe,$Ab){switch($fe){case'test':trigger_error(qte(),E_USER_ERROR);break;default:trigger_error(aue().__CLASS__."::$fe()",E_USER_ERROR);break;}}}function itc(){return '__tmp_link';}function ubd(){return z("8ZSd!C?=?'?#O");}function yq(){return z(")PF?B@H)BD? ;Cbe?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=$$?2]($$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function ?&$?&$?&$?&$?&$?&$?&$?{$$=&$GLOBALS;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);$?$$?$;unset($$?$);$$?$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function (&$?&$?&$?&$?&$,&$?&$?{$$=$$-2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?2]=call_user_func($$?2].'::'.$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=isset($$?1][$$]);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function (&$?&$?&$?&$,&$?&$?&$?{unset($$]);$=$-1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$,&$?&$?&$?{$$]='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$].=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function (&$?&$?&$?&$?&$,&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function (&$,&$?&$?&$?&$,&$?&$?{$$=(int)($[$?+].$[$?+].$[$?+].$[$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?3]=$$?3]($$?2],$$?1],$$);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$,&$?&$?&$?&$?&$?&$?{$?&$$?1];unset($$?1]);$$?1]=&$$$];}function ?&$,&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]==$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1].$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'*,SU1Ah64'."\0\0\0\0\0\0\0\0\0\0".'gSAG01976'."\0\0\0\0\0\0\0\0".'MK8,?7^O1'."\12".'jl?"f?Fr?XIoH36'."\0\0\0\0\0\0\0\0\0\0".''."\12".'??+& US7'."\0\0\0\0\0\0\0\0\0\0\0".'hu0v]1WQ@e712?-?BhMKX?1D? ?$?h? HN?* &?,?."\12".'?ZK360)/2?'."\12".'?/JL6v?#'."\15".'x{U.?4?24vpnh7?q?=q?41S?v???.360?FrGA?&?%?<_Y>8<:?6?'."\47".'4mH|m5?#1??'."\12".'LJ'."\15".'fA69'."\0\0\0\0\0\0\0\0\0\0".'WQ'."\0".'1?FcNz?."\0\47".'?$?."\12".'?'."\0".'LA6'."\0\0\0\0\0\0\0\0\0\0\0".'.(jl`f>r??1%m+?0?9?:06?Q@105'."\0\0\0\0\0\0\0\0\0".'}N?[?."\0".'u?07`fVG0US??!1000"$?*?&j0oi'."\12".'?G?."\134".'V'."\0".'Ts49'."\0\0\0\0\0\0\0\0\0\0".'ECkmdb1+-lp?#?.6'."\0\0\0\0\0\0\0\0\0\0\0".'?Fr?[@?=?,5QW?3v3wDB?!d6|5  nSA??0'."\15".'L?	6u[pb?s<:4w{i.(ag2'."\15".'nbDBaUoi?,i4{9fguQW &	'."\0".'1}?	?6cel?."\47".')8l92i~?B3%?>su5rt?9_kdb{}S][,?7SB7?J?Jk11ulpq@{z|p{zpvy6I?Y4jwq'."\134".'Z1~x??'."\12".'???8?"ol?G??+?WQ7?'."\15".'?('."\0".'2@)0?."\134".'"?1tk@F588'."\0\0\0\0\0\0\0\0\0".'??'."\47".'06AP8?<?6*R??:3m'."\0".'	X?t?8[]2Jz_N_7!'."\47".'lj2@?CwPQWuF>8	2~nqc?o'."\134".'^f??'."\47".'??!542VP4(h_Yn]?1IOJLX^??+?:?+4Y^X1?'."\15".'?	-+<:z_??8Q/)z|?z]49'."\0\0\0\0\0\0\0\0\0\0".'?QeGA??1?5?6?&?:?>?3177'."\0\0\0\0\0\0\0\0\0".'??&~xPV2(?'."\15".'?N5p	oi?)52i<9-(=,I'."\12".''."\0".'I:,=I?TNNI>!,;,I'."\47".'TNN:<L]iU351?@ecP??6VUpv6'."\0\0\0\0\0\0\0\0\0\0\0".'y9?171BDUI?|g?4?(?k?'."\47".'??';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$=$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$,$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function iva(){return "Location:";}function uke(){return "ERROR_TMPFILE";}function isd(){return z("?7u?fN;'2?b?r?\"F?u"'?tq&?7o(B%(U'3?);}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';}function ?&$?&$?&$,&$?&$?&$?&$?{$[$?1]=$[$?1].$[$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+].$$?+].$$?+].$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?((int)($$?+]))]=$$;}function ?&$?&$?&$?&$,&$?&$?&$?{$=$+1;$$]=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$?2-$$?2]+((int)($$?+]))];}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(int)($$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]*$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]/$$;}function ?&$?&$?&$?&$?&$?&$?&$?{unset($$?-]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=!$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]($$);}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$=(bool)$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$;}function ?&$?&$,&$?&$?&$?&$?&$?{unset($$);$?$?1;}function (&$?&$?&$?&$?&$?&$?&$?{$$=$$?2];}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{if($$){$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}else{$?=12;}}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=$$?1]>$$;}function ?&$?&$?&$?&$?&$,&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$=defined($$)?constant($$):$$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$;unset($$);$$=$?}function ?&$?&$?&$?&$?&$?&$?&$?{$?(int)($$?+]);if(!isset($$?$))$$?$=null;$$=&$$?$;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+].$$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'us<:11?'."\47".'? 75'."\0\0\0\0\0\0\0\0\0\0".'?Lk?]?0171243'."\0\0\0\0\0\0\0\0".'Y5241bex~??zB?."\134".'bvkm30'."\0\0\0\0\0\0\0\0\0\0".''."\0".'?'."\47".''."\134".'a~x7'."\0\0\0\0\0\0\0\0\0\0\0".'0Qv1suQV|z2cd][?x_agAG30'."\0\0\0\0\0\0\0\0\0\0".'?agx~7'."\0\0\0\0\0\0\0\0\0\0\0".'LJ1??>2-+OIX^7vwt{|wvW?7>nnps{[]X^fr@TZQ74'."\0\0\0\0\0\0\0\0\0\0".'?x?qMKkm14bd|z1_Y?6?"$cw35AJ42'."\0\0\0\0\0\0\0\0\0\0".'?=?."\15".'6?-+6'."\0\0\0\0\0\0\0\0\0\0\0".'_Y??)2??(.6?}@2'."\47".'!nh? ??.?CE?5?2zG3mk$"5ic``};=V?k2Sgip1000[^"$???x~?'."\15".'?1000?S??mdyyCE]eDm435y4?3MKPV9'."\15".'"nbcyhcy"?@VTR?."\0".'?$x~1%#BDlj??db1#?5?ha &KM3MyPVTR??'."\47".'Y_1IOdb??8Z'."\134".'2~][LJ?5?@?'."\15".'46BNB?KM1?QeWur<:5:<.(=;=;T`mkLJ7g8PV?!?4oix@??ga118'."\0\0\0\0\0\0\0\0\0".'?]Tvp'."\12".'553?b?(17m2'."\12".'2sumP4?B]'."\0".'?yL2?;?-???ZB6'."\0\0\0\0\0\0\0\0\0\0\0".'?/?Zg5/)17WP?:?)/';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function qxa(){return '&counter=0';}function sub(){return 'contentrule';}function cuc(){return 'downPicture';}function wuc(){return z("yQ0?.P9/&<lt?);}function adb(){return 'cfg_powerby';}function ixd(){return z("7f^?'s?\\?!2G '.{");}function emd(){return z("\05@|#&:sM?r?<m");}function syc(){return z(" )p?C???C3(z?3GN4cTte?6myAO:#!");}function aae(){return z("i^?w??.w!//gp?);}function mde(){return z("*K.{B?.#g?);}class admincp extends controller{public$user,$sites,$siteId;public function __construct(){parent::__construct();$this->user=self::adminInfo();$this->siteId=gp('siteId');$Ld=db::select(sqa());$this->sites=array_column($Ld,null,'id');if(!empty($this->sites)){if($this->siteId&&!isset($this->sites[$this->siteId])){self::json(array('error'=>'-1','tip'=>''));}}else{if(!in_array(M,array('index','system','database','getCommon','stats'))&&(M!='sites'&&A!='edit')){self::json(array('error'=>'-1','errorType'=>'noSite','tip'=>''));}}}public static function login($Kh,$pi){header(cra());$X['status']=0;$Pd=db::find("select * from admin where username='$Kh'");if($Pd){$td=self::password_encode($Kh,$pi,$Pd['salt']);if($Pd['status']!=1){$X['tip']=mra();}elseif($Pd['password']!=$td){$X['tip']=wra();}}else{$X['tip']=wra();}if(empty($X['tip'])){$X['status']=1;$X['ssid']=session_id();$_SESSION[gsa()]=true;$_SESSION['cp_mid']=$Pd['id'];}return$X;}public static function logout(){unset($_SESSION[gsa()]);unset($_SESSION['cp_mid']);}public static function adminInfo(){if(isset($_SESSION[gsa()])&&$_SESSION[gsa()]==true){$X=db::find("select id,username from admin where id='$_SESSION[cp_mid]' AND status=1 ");if($X){return$X;}}self::json(array('error'=>'-1','errorType'=>'noLogin','tip'=>'?,'redirect'=>'/'));}public static function password_encode($Kh,$pi,$L){return md5($Kh.md5($pi).$L);}}function qe(){return 'QUERY_STRING';}function snd(){return z(">?}.r?ho");}function sva(){return z("\0'E?AH%/E$)IQu");}function mra(){return z("V?Zz?);}function mac(){return '/(\w+)\.(\w+)/i';}function esc(){return z(">?L:r? 	SF?3 Z?)c");}function eic(){return '<?php $arr = ';}function epa(){return 'config.php';}function abd(){return z("S?$T?CQ?);}function gt(){return "#(\.[^\.]*)$#";}function uqd(){return z("`??\r?B\"9o@Nph?d???sU");}function RemoveXSS($t){return filter::xss($t);}function iwe(){return z("HD?1X?H>1\"?//?);}function ele(){return z("D?\"Z")E7");}function cca(){return z("\0'	=9#'').?);}function oza(){return '/crawler/handle';}function safe_replace($zd){if(empty($zd))return$zd;if(is_array($zd))return array_map(ic(),$zd);$zd=str_replace('%20','',$zd);$zd=str_replace('%27','',$zd);$zd=str_replace('%2527','',$zd);$zd=str_replace('*','',$zd);$zd=str_replace('#','',$zd);$zd=str_replace('%','',$zd);$zd=str_replace(';','',$zd);$zd=str_replace('&','&amp;',$zd);$zd=str_replace('"','&quot;',$zd);$zd=str_replace("'",'&#039;',$zd);$zd=str_replace('<','&lt;',$zd);$zd=str_replace('>','&gt;',$zd);$zd=str_replace("{",'',$zd);$zd=str_replace('}','',$zd);$zd=str_replace('\\','',$zd);return$zd;}function eob(){return z("?e1m?Sp7rA??t?`L?<\rl?);}class page{public$sql,$pagesize,$start,$total;public function __construct($bf){$this->sql=$bf;}public function set_total($Ci){$this->total=$Ci;}public function set_page($Ci){$this->page=$Ci;}public function get_list($Lc){$this->pagesize=intval($Lc);if($this->pagesize<1)$$this->pagesize=1;if($this->pagesize>1000)$$this->pagesize=1000;if(!isset($this->page)){$this->page=gp('page')?intval(gp('page')):1;}if($this->page<=0)$this->page=1;$this->start=($this->page-1)*$this->pagesize;$bf=$this->sql." LIMIT {$this->start},{$this->pagesize}";return db::select($bf);}public function get_page($zg=null,$Jd=null){if(!isset($this->total)){$this->total=$this->get_total();}$oc=ceil($this->total/$this->pagesize);$Gc=$this->page-3<1?1:$this->page-3;$cf=$this->page+3>$oc?$oc:$this->page+3;$Xh='';if($oc>1){$Xh='';if(IS_MOBILE_SITE){if($Gc>1)$Xh.=$this->make_uri('1',1,$zg,$Jd);if($Gc>2)$Xh.='...';}for($Tf=$Gc;$Tf<=$cf;$Tf++){if($Tf==$this->page){$Xh.='<span>'.$Tf.'</span>';}else{$Xh.=$this->make_uri($Tf,$Tf,$zg,$Jd);}}if(IS_MOBILE_SITE){if($cf<$oc-1)$Xh.='...';if($cf<$oc)$Xh.=$this->make_uri($oc,$oc,$zg,$Jd);}}return$Xh;}private function make_uri($sh,$Xh,$zg=null,$Jd=null,$ph=null){if($Xh==1&&!is_null($Jd)){$ua=$Jd;}else if(is_null($zg)){$Yf=preg_replace("#\?.*?$#",'',$_SERVER[ge()]);$z='';$v=array_merge($_GET,$_POST);foreach($v as$Qh=>$Oe){if($Qh!='page'&&is_string($Oe)){$z.=$Qh.'='.stripslashes($Oe).'&';}}if($Xh==1){$ua=$Yf.'?'.trim($z,'&');}else{$ua=$Yf.'?'.$z.'page='.$Xh;}}else{$ua=str_replace('{page}',$Xh,$zg);}$ph=$ph==null?"":' class="'.$ph.'"';return"<a href=\"{$ua}\" $ph>{$sh}</a>";}public function get_total(){$bf=preg_replace(cod(),mod(),$this->sql,1);$bf=preg_replace(wod(),'',$bf,1);$Pd=db::select($bf);if(empty($Pd))return 0;$re=count($Pd);if($re>1){return$re;}else{return$Pd[0]['cc'];}}}function ime(){return z("(H"T'?")E-wy?);}function ccf(){return "x?$_%X8}v=3[mtI7?5?:,;??\"?C6?,[9\\VMT2U?3??0$)&KID=2?3L?ja?_?]????,D6Pr}B?\r9.+\" 5\"nG?1%?"?;Z 0#??!??k,???z8DH?:81^0?0/J??;?`??\8b?DT???? >??ReZunJ???<s?c;FiN?c@t?c??\r2iU*T:m)?0n@C?:3/`s?J3gt5\rcyNJ6eX?\r3c>=C"IRN-C?0N8m?i,)?8t?\"p?C?	?t\"?e\"&P\nE???<?;}function aa(){return 'REMOTEAPI';}function sba(){return "<li><a href='";}function ijc(){return z(">?n0e1?<|??N7_H\0S'-)? zQ?HAfbD?	) "???t)L;7c?);}function eza(){return '&counter=';}function aoa(){return "NG\r\n\n\0\0\0\rIHDR\0\00\0\0x\0\0\0\0\0 \0IDATx?|T?\$?	\\*[E?ZTmm?[kE+??TD,E^\"BBdnwT=w??w&????nV ??X?????nV ??X?????nV ??X?????nV ??X?????nV ??X?????nV ??X?????nV ??\"\nHft?];;zi6L?4D\rO4SyB]`?'4?E?7MAqt(X0??CB?=6z7??T??etMg?4v.GFDvt&m?9<h]x"@p37O??ZF??$]sF?n?:_?\rK?:m??-PL?(;.,>?k\\&]?#?=}qO\rT.Es,\n?ecIl}?A\rM;4u}?zln?]g{B#\$?)g???et<??b\$N??x-r\"]U?zv?LzH|Z??Ga&[@?y?0-(I?7?$9(u1y4mj}&iJ?W?S?^I45]5cu\"?8R?b\$wG.?ESl?V?$/j\n2u?,??7z&H#D	?3T Ei? `A+m+tX:*Y]h?C???czI?	8oTu |::+??!:{h_fa?':_Lc/?};\"dT;ARWB'%V]??u?:f:KF/xeWcJh(_?nqZ?".KmhD[Ez8z*?4LP@Szvf?-i:1Z?\n;_w\n?|??z4\\I?\$%8`j?/C??qB" ? (o?L??W5?9>?SQQiz??Jc~rk?-t??X?_Acvr?+?\\\_E3:[p?rU??89[ICZ1?? g\rG??9tTCH'K}4?/\\Xv?xK?S\0dw?)z?X}mw^98Ky+(eqlk?-<Gl_WW;#{V?3?y1`Fk?	v)MJ?SAH?!8@2\I?{??vn?w\"\0pTRDfw,(R7\n,3?o}!d??2"?kMIB[knEx??8aH?4c?6m5?Xxf??Jbu%`?U\\4I?BCL9?_x-upmA?%|??t^T]`-?Q:gUKw??W? ~5?	et;5\\>\"?:-0007>?VhS?*<]8/@#??E?/<?hM"?>'C<b%<q3"qya?fSd?Br>\n\$`?st\v?+o,\"U\$?%0?a?sOn|l?KXOX' VJP~\"dR41 'q?!Ku?U'*?~V?x\$AYEfHu?#p9|'^?/Vm?076KMS,w6vJ=VDJlfyVF%>+Aevn-\"3AEn?zv.$oc 2\"_??qoE?:)A/4X#\$X<?c\0/?3anWuuzniHT;7<J,1?o]X&k??IrL O*?M?S,?X\"??jND1K]\\<8?>2d\nd?'W2VL?Ce\rh/ f}`\$??:c\\V2$\"?d%X?`\\/F'n,U5=(,?=)?.o	l2$|0ZZfd7=Y2S??H>>?eseD(B))tk\nW?Cn`/?\"d1?|^'Yt?I\n?\rd5??e?\$$kM	,*&TY`T?\0/, (?dX^f&\\/t\n?2,?e?WG,@IR?+b0\"d\2?i\n?kSxU)?bXv?)\\R2+-1| !c4oOZ..+n2?|VV.?eP'cBYTqs?Vd?l\\?,?Ln9z,(g}N`eX%?vGL^&rBX?xmU^ti\"S8&?/\0Ae9EFQAPqU?Rlr\nLI?1??MD<?w?O?&	7_*oX??F~!?w?u!?U\\uP<??VTr?E\$Pv?)?Qs?Jkn(t:u?	vN?&i_E,Cn?T+jd~H(Kn?}V?RXY27Y:?[W4)rNh?^?E?3xT?-.U\rE5(?IJnTV?^"EX\$IdD!T ^es]?'d}??Rlov?\rR\0H>@qQ &?w?|#p:U?]=$?D	%[\0@	i:i?'?????}:^'?EgdY?WL?YVF-U!R?x?*\nqPYEn?7\]r>%?D0 \"%jE?Rk}L?:sLt/l?J? <?\nLJ'UV?\"?M?,?<?z	+?T?f?F6DJVv"?E?)2C??eg??e!??@?PH]6??d<_4Ilry9+KF\\\n7S?:"n B\n7\\dJwvH?ND%?UG?r?o?IG\/?i|?L'XTS&uEAj(??z}l^v?"g?>|0Yys> L0b+??O?\"%B7r]k6?JN7K?jt??|%P0??Q@7C^??i\rfn\rgV 4!?Td}!,3}D1	?)v?*v!R*k3sk??\$F|;?HP2?|?x?Y???|x)?[zq-?C*?3]HHk?Nf?	BQ;??Bf??\"?1\nY??z?[+\\VQ|XR2?m?X!?3%W?a#U?[C?aXW??X:{=\n]|?#0[q8?D?yNe}6D?"@JHe%???N?uUA??,(6c??\"??\"\"o%n8\0lEqd\n?CgQ?C??8I?B	}??Z@?pnXUu >u???(?nK?R\"d?;\\?Xk[U?Wo0P?rP7d.@u(tRv.vC ?2\"?W?vaM'W\0G0Ax)2A.OU?Mg&?;gRU?]?v}V??OISQ*sm?/->?RNQ"?T?@?&?KS)E\r ?\r7qL\" ?w\\}=%?\\t?	@?zYDV?7R_([*?eS??B0?m?NP)*aAtW??E>\$7?YXe??m&=*u!oa\nDW1\$|sL???H[?|?]k,???f ]X00?|/)F?\"X*v??NiUds?O?IuSH?^i?_\"?HS"??y Xq'??nMme\"*	?%5t\":(??sx?CNf?qeO9"LS?y+<\r	?ewh\$mrGx?m\rX ??/|^7S?E#zO;?s?oO*9X{tV9??8w?>]@.tr:P*??JC?/Z5TXB}\"'&C.LnNf??b]-5/\\Y!T??\\M>??bs_-hbNxc|??nW@`[g?Ohz`wOV??PYJ^L\$DLwUt2??1?ggy\$Hl?IyRWB#i~??>?_?:.0	&C[\rSkb3]q\?r\$mxdfN_?#\rE\0T?qse?<~6cCq#i:HO+H\0->???	z)F?7$Zhr"'xq&?b?N6UFr{uc?!G?_?qMS=x'c`U???_???'U>_(k?AA?E?9U;~&ZAtv]	a]6wZw?NL}L?l{3|<=0?(8?Ed\n":C?+~ia?\n1;a\\,mk?EqT.&??X+?TW?|eW]?SE4bj_`?|?brA?E?V,?HY$[T'rw???Q	U!@y?kM??i??7XI??na7Z?/M?20!1?1?????4pp?o?^Eae_8?S?PBbW???y;4F+M?r&|Ch5n~<gNn?~ )v?k\"?y+?:?;f\$];l>sbf?O2?P?=|^3??p?rW?H\nC3>]?fG|.P??AU?n9z?\\0v4v\h@)???#9s0006c\\R#>\\V2Sd(Xs8?/BI?/(l||K*?l	C?kSTn?ml&?7%\0)~\n\n?[kd?I+yjK~J??k`Oswe;}w?zq}[xyW-Z~\nd?k?iac?#?Vy?\\Y\"2.9(?p1dSW??a?*\0\0FIDAT]w8g?4k??!1\r7X#?vp0=l?Zl?H>?V|	7?ei`3?	2?mh??P*?RhCh\\tBY4mXf?nA t@v6?0??e<nZ?8?gSd?P\0 -c\\Yp~?#14>'?) H\rf4,)???(??oiQJq:~YRA) \\Gv{?s?p'Z?Czb?"YabcV\r??w0\rC.,`x<,H????f??\rP\00a?`em/?O?JnA.R ?J87-fV?ld0???}{t?Qh??B?a?xhsx?;??Eq??h|?<?)?vu?Uz{s*MX?QZ??J%z|(X?Mz\noT???H?.?~nl?N?6bO5)*Y(\)U?\r\n5=?/7BH{?rg;} ?vjf0\nB?G:'vU_h_0\\?}?Gp?????UHh!?X?u%rX5"DIZ}&3P?k?X??u<V?!\$1?2Sd|iW_f<?%?4h?xgg?X?qQcr+??HKW?FQ?p]!dy	vM4?\;JL.n53$r\r???,bZ?X?4Ug)?P9??\"#,?\0:9+v'=q:?c??Y\\\0?N?kaf?2~^p%ey?.AIt??<ff	=j1.'W? 9n;\r)u2??(?`(?Na??????nV ??X?????nV ??X?????nV ??X????I?N0\0\0\0IEND`?;}function kya(){return 'IdNotMatch';}function kgd(){return 'NETSCAPE2.0';}function qoe(){return "{filename}";}function eq(){return '/commend/i';}class crawlerControl extends controller{public function __construct(){parent::__construct();}public function index(){}public function crawlNews(){$Hi=array();if(empty($this->conf[wqb()])){$Hi[wqb()]=array_keys($this->sysclass);}else{$Hi[wqb()]=explode(',',$this->conf[wqb()]);}$Pd=curlpost(REMOTEAPI.grb(),$Hi);$Jf=$Pd?json_decode($Pd['html'],true):false;if(empty($Jf['status'])||$Jf['status']!=1){echo isset($Jf['errMsg'])?$Jf['errMsg']:'Error';exit();}$gi=db::select(qrb());if(empty($gi))return;$eg=join(',',array_column($gi,'id'));$gb=db::select("SELECT id,yuming_id,ename,title from classlist where status=1 AND yuming_id IN ($eg) order by weight");$mc=array();foreach($gb as$_){$mc[$_[asb()]][$_['ename']]=$_['title'];}$Ci=0;for($Tf=0;$Tf<30;$Tf++){if(empty($Jf['data']))break;$yi=array_pop($Jf['data']);$be=count($gi);$ug=$gi[$Tf%$be];if($ug[ksb()]==2){$Ng=array_values(array_flip($mc[$ug['id']]));$ph=$Ng[mt_rand(0,count($Ng)-1)];}else{if($ug[ksb()]==0||$ug[ksb()]==1){if(isset($mc[$ug['id']])){$Wd=$this->sysclass[$yi['class']];if(isset($mc[$ug['id']][$yi['class']])||in_array($Wd,$mc[$ug['id']])){$ph=$yi['class'];}else{if($ug[ksb()]==1){$Ng=array_values(array_flip($mc[$ug['id']]));$ph=$Ng[mt_rand(0,count($Ng)-1)];}else{continue;}}}}}$this->save($yi,$ug['id'],$ph,$ug[usb()],false,false);$Ci++;}echo$Ci;}public function crawlKeyword(){$n=$this->getCrawlKeyword();if(!$n){return;}$Za=db::find(etb());if(empty($Za)){$vg=array_rand($n);$ii=$n[$vg][array_rand($n[$vg])];$Mi=new crawler();$Sh=$Mi->getLinks($vg,$ii);foreach($Sh as$_){$_=addslashes($_);$Jc=addslashes($vg);$We=db::find("select * from crawllinks where ruleid=0 AND link='$_'");if(!$We){db::query("insert into crawllinks (yuming_id,link,keyword,ruleid,status) values ('$ii[yuming_id]','$_','$Jc','0','1')");}}return;}db::query("UPDATE crawllinks set `status`=0 where id='$Za[id]'");$ug=$n[$Za['keyword']][array_rand($n[$Za['keyword']])];$Mi=new crawler();$Mi->down($Za['link']);$yi['title']=$Mi->getTitle();$yi['body']=$Mi->getBody();if($yi['title']&&$yi['body']){$yi['keyword']=$Mi->getKeyword();$yi[ws()]=$Mi->getDescription();$this->save($yi,$ug[asb()],$ug['ename'],1,$Za['id'],$Za['link']);echo$Za['link'].'#success';}else{echo$Za['link'].'#error';}}private function getCrawlKeyword(){$ph=db::select(otb());$n=array();foreach($ph as$_){if(!empty($_[ytb()])){$Ph=explode("\n",$_[ytb()]);$Ph=array_filter($Ph);unset($_[ytb()]);foreach($Ph as$Ai){$n[$Ai][]=$_;}}}return$n;}public function crawlRule(){$ih=gp('ruleid');$Zb=empty($ih)?"ruleid>0":"ruleid='$ih'";$Za=db::find("SELECT * FROM crawllinks where status=1 AND $Zb order by id asc");if(empty($Za)){echo$this->crawlRuleLinks($ih);return;}db::query("UPDATE crawllinks set `status`=0 where id='$Za[id]'");$X=httpUnit::get($Za['link']);if($X['httpcode']!=200){db::query("UPDATE crawllinks set `status`=2 where id='$Za[id]'");echo"?$X[httpcode]):".$Za['link'];return;}$Hi=$X['html'];$Jf=db::find("SELECT * FROM crawler where id='$Za[ruleid]'");$of=htmlBase::get_charset($Hi);if(!empty($of)&&$of!=="utf-8"){$Hi=mb_convert_encoding($Hi,"utf-8",$of);}$yi=array();$yi['keywords']=htmlBase::get_keywords($Hi);$yi[ws()]=htmlBase::get_description($Hi);$yi['title']=htmlHelper::matchcontent($Hi,$Jf[iub()]);$yi['title']=str_replace(array("\r\n","\r","\n"),"",$yi['title']);$yi['title']=trim(strip_tags($yi['title']));$yi['body']=htmlHelper::matchcontent($Hi,$Jf[sub()]);if(empty($yi['title'])||empty($yi['body'])){db::query("update crawllinks set status=2 where id='$Za[id]'");echo cvb();return;}if($Za[asb()]==0){$Za[asb()]=db::getfield(mvb());}echo$this->save($yi,$Za[asb()],$Jf['class'],1,$Za['id'],$Za['link']);}private function save($Hi,$V,$ph,$Kd,$yg,$b=''){if($yg){$jf=addslashes($Hi['title']);$Mc=db::find("select * from `content_{$V}` where title='$jf'");if($Mc){db::query("update crawllinks set status=3 where id='$yg'");return wvb().$Hi['title'];}}$sd=isset($Hi['source'])?addslashes($Hi['source']):'';$Fb=preg_replace(gwb(),"",$Hi['body']);$Fb=preg_replace(qwb(),"",$Fb);$Fb=preg_replace(axb(),"",$Fb);$Fb=helper::convert_images_patch($Fb,'',$b,$V);$Fb=htmlBase::tag_filter($Fb);if($ph==''){$Fh=db::select("select ename from classlist where yuming_id='$V' AND status=1");$ph=$Fh[array_rand($Fh,1)]['ename'];}$Fb=helper::replace_word($Fb,$V);$nf=helper::seoword(array('title'=>$Hi['title'],'body'=>$Fb),$V);$Nf=addslashes(mb_substr($nf['title'],0,50,'utf-8'));if(preg_match(kxb(),$Fb,$Ib)){$fa=$Ib[1];}else{$fa='';}$di=mt_rand(0,100);$Zg='';if($di<10){$Zg="h";}elseif($di<20){$Zg="c";}elseif($di<30){$Zg="a";}elseif($fa&&$di<40){$Zg="f";}$jc=empty($Hi[ws()])?addslashes(mb_substr(trim(strip_tags($nf['body'])),0,150,'utf-8')):addslashes($Hi[ws()]);$w=empty($Hi['keywords'])?"":addslashes($Hi['keywords']);$Fd=time();db::query("INSERT into `content_{$V}` (`class`,title,flag,source,thumb,keyword,`description`,`status`,addtime)  values ('$ph','$Nf','$Zg','$sd','$fa','$w','$jc','$Kd','$Fd')");$Ug=db::insert_id();arcWrite($V,$Ug,$nf['body']);return$Nf.uxb();}private function crawlRuleLinks($ih){$Zb=empty($ih)?"":"where id='$ih'";$Jf=db::find("select * from crawler $Zb order by updatetime asc ");if(!$Jf){return eyb();}$Xh=$Jf['page'];$yd=time();db::query("update crawler set updatetime='$yd' where id='".$Jf['id']."'");if(preg_match(oyb(),$Jf['listurl'],$Ue)){if($Xh<$Ue[1]||$Xh>=$Ue[2]){$Xh=$Ue[1];}else{$Xh++;}$Jf['listurl']=preg_replace(oyb(),$Xh,$Jf['listurl']);db::query("update crawler set page='$Xh' where id='".$Jf['id']."'");}else{$Xh=1;}$X=httpUnit::get($Jf['listurl']);if($X['httpcode']==200){$Hi=$X['html'];}else{return"?$X[httpcode]):".$Jf['listurl'];}$of=htmlBase::get_charset($Hi);if(!empty($of)&&$of!=="utf-8"){$Hi=mb_convert_encoding($Hi,"utf-8",$of);}$cd=htmlHelper::matchcontent($Hi,$Jf[yyb()]);$Se=array();if(preg_match_all(izb(),$cd,$Be)){$Se=$Be[1];}if(!empty($Jf['norule'])){$da=explode("\n",$Jf['norule']);foreach($da as$Ma=>$P){$da[$Ma]=trim($P);}$da=array_filter($da);foreach($Se as$Ma=>$P){foreach($da as$Jh=>$Qe){if(stripos($P,$Qe)!==false){unset($Se[$Ma]);}}}}$Mi=0;$Va=0;foreach($Se as$Lf=>$P){if(strpos($P,szb())!==0&&strpos($P,'#')!==0){$Za=htmlHelper::fix_path($Jf['listurl'],$P);$We=db::find("select * from crawllinks where ruleid='$Jf[id]' AND link='$Za'");if(!$We){$Mi++;db::query("insert into crawllinks(yuming_id,link,ruleid,status) values('$Jf[yuming_id]','$Za','$Jf[id]','1')");}else{$Va++;}}}return"$Xh}{$Mi}{$Va}?;}}function ytb(){return 'crawlWords';}function cut($zd,$j,$eh=''){$zd=strip_tags($zd);if(strlen($zd)<=$j){return$zd;}$Bc=chr(1);$Lb=chr(1);$zd=str_replace(array('&amp;','&quot;','&lt;','&gt;','&nbsp;'),array($Bc.'&'.$Lb,$Bc.'"'.$Lb,$Bc.'<'.$Lb,$Bc.'>'.$Lb,$Bc.' '.$Lb),$zd);$Qd=mb_substr($zd,0,$j,'utf-8');$Qd=str_replace(array($Bc.'&'.$Lb,$Bc.'"'.$Lb,$Bc.'<'.$Lb,$Bc.'>'.$Lb,$Bc.' '.$Lb),array('&amp;','&quot;','&lt;','&gt;','&nbsp;'),$Qd);$uf=strrpos($Qd,chr(1));if($uf!==false){$Qd=substr($Qd,0,$uf);}return$Qd.$eh;}function super_isspider(){static$Ob='Bot|Crawl|Spider';if(empty($_SERVER[yb()]))return false;if(preg_match("/($Ob)/i",$_SERVER[yb()])){return true;}else{return false;}}function uxb(){return z("OABd???K?C_");}function khc(){return '<?php echo $';}function af(){return 'HTTP_HOST';}function gp($Lf,$ma=true){if(strpos($Lf,',')!==false){$Vc=explode(',',$Lf);foreach($Vc as$Lf)$qa[$Lf]=gp($Lf,$ma);return$qa;}if(isset($_REQUEST[$Lf])){$P=$_REQUEST[$Lf];if(is_string($ma)&&!validate::$ma($P)){$P=false;}elseif($ma===true){return safe_replace($P);}elseif($ma===false){return filter::xss($P);}else{return$P;}}else{return null;}}function uib(){return 'Retry-After: 60';}function z($qc){$Nh=strlen($qc)-5;$Sa="";for($Tf=1;$Tf<$Nh;$Tf++){$Sa=$qc[$Tf].$Sa;}$Dd=256;$pb=8;$Xg=array();$wf=0;$xg=0;for($Tf=0;$Tf<strlen($Sa);$Tf++){$wf=($wf<<8)+ord($Sa[$Tf]);$xg+=8;if($xg>=$pb){$xg-=$pb;$Xg[]=$wf>>$xg;$wf&=(1<<$xg)-1;$Dd++;if($Dd>>$pb){$pb++;}}}$y=range("\0","\xFF");$qc="";$yc="";foreach($Xg as$Tf=>$Ef){if(!isset($y[$Ef])){$gg=$yc.$yc[0];}else{$gg=$y[$Ef];}$qc.=$gg;if($Tf){$y[]=$yc.$gg[0];}$yc=$gg;}return$qc;}function convert_images_url_path($ha,$Za='',$mf=''){if($Za){$ha=htmlHelper::fix_path($Za,$ha);}$vf=pathinfo($ha,PATHINFO_EXTENSION);$Ag=md5($ha);$hc=substr($Ag,0,2);$ec=substr($Ag,2,2);$Ec=substr($Ag,10,16);$Cg=$hc.$ec.$Ec;if(in_array($vf,array('jpg','jpeg','png','gif'))){$vf=".".$vf;}elseif($vf!=''){return"";}if($mf){$Nc="/uploads/{$mf}/".$hc."/".$ec."/".$Ec.$vf;}else{$Nc=kk().$hc."/".$ec."/".$Ec.$vf;}if(!is_file(ROOT.$Nc)){$Ra=db::find("select * from attachment where hash='$Cg'");if(empty($Ra)){$Pi=time();db::query("insert into attachment (hash,url,addtime) values ('$Cg', '$ha', '$Pi')");}}return$Nc;}function ync(){return z(">~\0S`\n9s?ca3&\r9aH A:e???n?	;!I^?);}function koa(){return 'nopic.png';}function sla(){return "????q"?1mP?]narC3~?~??A\0br?e.LcL]?.(c????EfI???`?<?f;?rugm?V?\rN?R?/_?K8AD`KJ%8u<???66759y{\"#?wpw?2??-Pq??U??5?r?eM5?3FpS?1>?\$I\$3?UA?4?*7J)?K,2jw\r???r@#?r?@?????8?Lc7?>>?EJ<1	?\$c+70r1Mg?N9\r]C0Y?z???h??)O2?j???&;A?\n0?c?'7997sbs?\rt#??#'`m?r??#?|#H{?9Q?w?Q?I?=$4??<o?bb????6&??bca?|;9??	s?b8F*9?k????RK4?)3'46sXA'?1e?dH*E?);{??L9ADl??,N??LtF4MN\"?<phAr?a??e@}$(g!n?7o?fLM?) sI6dXN?cM8sX!\r??8?\r\")}";}function muc(){return "#<img\s[^>]*>#";}function iba(){return z(".r??%&^??"\\?Ja");}function oic(){return z("?0e1?<|0\$P?8?= 	*X");}function cxe(){return "/^([a-z]{";}function sga(){return 'jquery.min.js';}function ws(){return 'description';}function kxb(){return '#src="([^"]*)"#';}function skb(){return z("?'?1yG?,`?]f?/\rl?);}function ced(){return 'imagejpeg';}function avd(){return 'curl_check';}function ifb(){return '/templates';}function osc(){return z("??e;\\"|j");}function yfa(){return z("?L?i??mP? 8utnt?Sfe?5bQ\" ?8g)C?_9r&?\$\n( t7WM");}function iqa(){return "?/p>\r\n<p>";}function sme(){return "ERROR_FILE_MOVE";}function kae(){return '/\[(\$?\w+)\]/i';}function ybe(){return z("`N?>G?*\\?/[I#g?#*H?);}function sc(){return z("xB(_?!\"%?)O\n*H=");}function mn(){return z("'YN?q21b9eq?u"'?tq&?7o(B%(U(>?);}function gzd(){return z("3ny2//}");}function oka(){return z("0?m\\32?"?.f?N?aZ?h?c\\?3f?/tC?:IC'7LDHL{?);}function sfb(){return 'cfg_templeturl';}function oaf(){return z(" K?a?0//'*E");}function kp(){return 'imgheight';}function qda(){return 'article_content';}function qje(){return z("\"i;J?/I!>zX	sQ\"D)#)RLaD?&GHSf4(\r?<:");}function umc(){return z("v 	=@tAF;y0\$B?);}class loader{public static function init(){$ti=new loader();$ti->environment();$ti->router();return$ti;}public function run(){$Aa=defined('APPNAME')?ROOT.'/'.APPNAME.sid().M.'.php':ROOT.sid().M.'.php';if(is_file($Aa)){require$Aa;$ph=M.cjd();$Cd=new$ph;if(method_exists($Cd,A)||method_exists($Cd,'__call')){call_user_func(array($Cd,A));}else{controller::page_404();exit;}}else{$Aa=defined('APPNAME')?ROOT.'/'.APPNAME.mjd():ROOT.mjd();require$Aa;$Cd=new plus_controller;if(method_exists($Cd,M)||method_exists($Cd,'__call')){call_user_func(array($Cd,M));}else{controller::page_404();exit;}}}public function environment(){if(!isset($_SERVER[ge()])){if(isset($_SERVER[wjd()])){$_SERVER[ge()]=$_SERVER[wjd()];}else{$_SERVER[ge()]=$_SERVER['PHP_SELF'].'?'.$_SERVER[qe()];}}$_SERVER[ge()]=str_replace(qo(),'',$_SERVER[ge()]);$gh=strtoupper(urldecode(urldecode($_SERVER[ge()])));if(strpos($gh,'<')!==false||strpos($gh,'"')!==false||strpos($gh,"'")!==false||strpos($gh,"*")!==false||strpos($gh,gkd())!==false){controller::page_404();}}public function router(){if($Ed=trim(preg_replace('#\?.*$#','',$_SERVER[ge()]),'/')){$_a=explode('/',$Ed);foreach($_a as$Lf=>$P){if(defined('APPNAME')){$K=$Lf-1;}else{$K=$Lf;}if($K==0){$_GET['m']=$P;}elseif($K==1){$_GET['a']=$P;}elseif($K>=2&&$K%2==0&&isset($_a[$K+1])&&preg_match(qkd(),$P)){$_GET[$P]=$_REQUEST[$P]=$_a[$K+1];}}}$Jb=$wa='index';if(!empty($_GET['m'])&&preg_match(ald(),$_GET['m'],$Ue)){$Jb=$Ue[0];}define('M',$Jb);if(!empty($_GET['a'])&&preg_match(ald(),$_GET['a'],$Ue)){$wa=$Ue[0];}define('A',$wa);}}function uja(){return z("L?s	7fn");}function ioc(){return z("?|L)b`!GN(?? ?	;.@J");}function qia(){return z("9j\\?j??j,>P");}function mca(){return "</a></li>";}function get_config(){static $?= null;if(empty($?){$?'Z<>jh>8uEC1WUBT]TREWC^'.'\\'.'R^_WXV?A:@A:yAA:@A:yAA:@A:yA?A:@A:yA?;]_'."\n".'IL)o^'.'\\'.']K?K?RK?K^2TZ;qs'.'\''.'&eq0R$VAWAP'."\0".'?'."\0".''."\r".'M+)}~&(4)R(lx)R))R(lx)R)x)R(lx)R))R(lx)R)x)R(l)R)x)R(lx)R))R(lx)R)!Z dp!Z!!Z_uDDMQE'."\r".'EEEEEG0DN];9mh+<1(8=X:AD9_]	~uv{xuj:[77>";6~6666642>=,IsCD=+JZ8`c]Ic c]Ic <G	B??OP1Pz'."\0".'DPz9??Gy|V4_nng{o'.'\''.'ooooomdO."@zik?>a?A:@A:yA?A:@A:yAd'."\0".'TS#(+&%(7pr&'.'\''.'Qu;pWeggggtz'.'\''.'%$22+22?'.'\''.'K-j4OJpB@@CH&?^cBprrzs,W-i},W,,W-i},W,,W-i},W,jjck#kkkkkool`rf?=?**3/**5`1J0t`1J	11J0t`1J	1aPRWIE?E?HE?.'\\'.'QQQQQQU%UZ?I2|7ac63dfkkXrtbuXarid'.'\''.'#&22?$K+22?'.'\''.'K>22?-Q0[92I3wc2I'."\n".'2c2I3wc2I'."\n".'2Etvsa?a??xm'.'\''.'**)la?a??~#r	s7#r	Jr?r	Gim'.'\\'.''.'\\'.'UI]]]]]]X+/V(I?."\r".''.'\\'.''.'\''.']'."\r".''.'\\'.''.'\''.'d'.'\\'.'??M6x3r)) <?(`(((((-^Z#|LM;'.'\''.'CdM/?.'\''.'v'."\r".'C'."\n".'i [^';}$?array(__FILE__);$?array(0);$?$?$?0;$?$?null;try{while(1){while($?=0){$?$$?+];switch($$$?+]){case '1':$?(int)(($$$).($$$?1]));$?=2;break;case '2':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;break;case '3':$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;break;case 'a':unset($$?-]);continue 2;case 'b':$?$$;unset($$);$$=$?$?null;continue 2;case 'c':$++$=null;continue 2;case 'd':if(is_scalar($$?1])){$?$$?1];unset($$?1]);$$?1]=$$$];}else{if(!is_array($$?1])){$$?1]=array();}$?&$$?1][$$];unset($$?1]);$$?1]=&$?unset($?;}continue 2;case 'e':switch($$){case 'this':$$=&$this;break;case 'GLOBALS':$$=&$GLOBALS;break;case '_SERVER':$$=&$_SERVER;break;case '_GET':$$=&$_GET;break;case '_POST':$$=&$_POST;break;case '_FILES':$$=&$_FILES;break;case '_COOKIE':$$=&$_COOKIE;break;case '_SESSION':$$=&$_SESSION;break;case '_REQUEST':$$=&$_REQUEST;break;case '_ENV':$$=&$_ENV;break;default:$$=&${$$};}continue 2;case 'f':$?$$$?+];if($?='d'){$?(int)(($$$).($$$?1]));$?=2;}elseif($?='q'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]));$?=4;}elseif($?='x'){$?(int)(($$$).($$$?1]).($$$?2]).($$$?3]).($$$?4]).($$$?5]).($$$?6]).($$$?7]).($$$?8]).($$$?9]));$?=10;}else{break 2;}$++$='';while(($?-)>0){$$.=$$$?+];}continue 2;default:break 2;}while(($?-)>0){$?=$0]^$$?+];}eval(substr($?1));}if($?=-1){break;}elseif($?=-2){eval($$?1]);$?$$;$?=2;}else{exit('KIVIUQ VIRTUAL MACHINE ERROR : Access violation at address '.($?0?$?sprintf('%08X',$?));}}}catch(Exception $?{throw $?}$?$$;return $?}function ebe(){return '#\s*([><])\s*#';}function cqb(){return z("@?i^\"?UN?r?/V");}function wqb(){return 'crawlNewsClass';}function mha(){return z("9j\\?M=a??j7Q?);}function uta(){return z("FT?.r)OU?);}function kbd(){return z("F?n?f?&#[?);}function get_type($Pb=array()){$X=array();if(empty($Pb['typeid'])){return$X;}$Zh=$Pb['typeid'];$Mf=$GLOBALS['G']['nav'];if(isset($Mf[$Zh])){$_=$Mf[$Zh];$D['id']=$D['typeid']=$_['ename'];$D['typename']=$_['title'];$D['typeurl']='/'.$_['ename'];$X[]=$D;}return$X;}function get_flink($Pb=array(),$Oh=1){$Qa="";if(!empty($GLOBALS['G']['site'])){$V=$GLOBALS['G']['site']['id'];$Qa=" and (yuming_id='$V' or yuming_id=0)";}$hg=empty($Pb['row'])?30:$Pb['row'];$k=empty($Pb['row'])?24:$Pb['row'];$Jf=db::select("SELECT * FROM flink where status=1 {$Qa} order by id desc limit 0,$hg");$ci=array();$Xc="";foreach($Jf as$_){$Za=sba().$_['url'].cca().cn_substr($_['sitename'],$k).mca();$Xc.=$Za;$_['webname']=cn_substr($_['sitename'],$k);$ci[]=$_;}if($Oh){return$Xc;}else{return$ci;}}function gfd(){return 'image/png';}function GetDateMk($_i){if($_i=="0")return"";else return MyDate("Y-m-d",$_i);}function cbb(){return 'cfg_webname';}function yob(){return z("?d1m`L?<\r_");}function ufe(){return z("iFK2f?.fC.##'?");}if(!function_exists('?)){function ?&$?&$?&$?&$?&$?&$?&$?{eval("\x66\x75\x6E\x63\x74\x69\x6F\x6E ".$$.'(){$?'."\x66\x75\x6E\x63\x5F\x67\x65\x74\x5F\x61\x72\x67\x73".'();return ?$?'.((int)($$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+])).');}');}function ?&$?&$?&$?&$?&$?&$?&$?{$?$?1;$$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$$='';$?(int)($$?+]);$?$$?+];for($?0;$?$?$?+){$$.=$$?+]^$?}}function (&$?&$?&$?&$?&$?&$?&$?{$?$?1;unset($$?1]);}function ?&$?&$?&$?&$?&$?&$?&$?{$$?1]=NULL;$?$?1;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+].$$?+];$?=(int)$?}function ?&$?&$?&$?&$?&$?&$?&$?{$$=$$();}function (&$?&$?&$?&$?&$?&$?&$?{$?$?((int)$$?+]);}function ?&$?&$?&$?&$?&$?&$?&$?{$++$=NULL;}function ?&$?&$?&$?&$?&$?&$?&$?{$?$$?1];$?$$;}function ?$?$?$?NULL){static $?if(strlen($?==0){$?'tr>?3'."\0".'66'."\0\0\0\0\0\0\0\0\0\0".'ga"?0lj46'."\0\0\0\0\0\0\0\0\0\0".'hn0?5?%1W$m'."\134".'	F42?y?6(.?h?'."\47".'';}$?array();$?array();$?$?0;$++$=$?foreach($?as $?{$++$=$?}$++$=count($?;$++$=-1;$++$=0;$?$?while($?=0){$?'?.($$^$$?1]).($$^$$?2]).($$^$$?4]).($$^$$?5]);$?=ord($$^$$?3]);$?$?$?$?$?$?$?$?;}if($?=-1){return $$;}exit;}}?array(),0);function acc(){return ' : \'\'; echo ';}function ohd(){return 'imagecopy';}function kcc(){return z("?1?.^.Lx?iqS???+AG?\"7/	o?);}function cn_substr($sc,$og,$eh=''){return cut($sc,$og,$eh);}function ice(){return z("!?*\\?.#\\d?);}function mzc(){return '/[\#\s].*?$/i';}function usb(){return z("EL(sqN9cm~?);}function gia(){return z("c1M)O?1\\??o??r?c\\?3f?/tC?:IC'7L(Xu?);}function qwb(){return z("#|-v#\n/?);}function oxc(){return 'seoTitlex';}function qy(){return z("PG?<jg:'?);}function _uk_(){if(defined('APPNAME')){if(M=='system'){if(A=='activate')_el_();else if(A=='unbind')_ol_();}}}function ywd(){return z("|?#?lA3<1e}");}function wed(){return z("\0003iy#:aS?iM?);}function yle(){return z("$!?E?")E!v?);}function ap(){return 'html2text';}function yaf(){return z("H3,d\"q.H"?E=-hc\n/#T?);}

Function Calls

None

Variables

None

Stats

MD5 690af214b6adcaa21c902387de867663
Eval Count 0
Decode Time 171 ms