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 /* QQ 7530782 (7_5_3_0_7_8_2) crack it! */ $G['']=array("e2","563616c6075627f..

Decoded Output download

<?php  
/*  QQ 7530782 (7_5_3_0_7_8_2)   crack it! */ 
 $G['']=array("e2","563616c6075627f5274737","42",1,"e656c4274737","56d69647","b7","d7","07d636e6274737","a3274737",4,0,"274737265737","c6166756f5","274737f58636475666","56c69666f53796","f2",false,"9716272716f5e696","4656c69607d6f636f556b616d6","56d616e656371626","27863627274737","f5","56a796c61696275637","564716c607d65647","37562796078756","56d6964756b616d6","d696274727","5647962777","078607e2","e3f3b34796875602078607f3c3","27f6272756f527567676962747","a35647962777024772e61636","5346d6","47164737","76f6c6f57657265646","b636568636f556c69607d6f636","56c69666f55346d6","078607e25346d6f2","c6166747e696",true,"56a796c61696275637e657","3747e65647e6f636f5475676f556c69666","46e656","374737968756f556c69666","56279657175627f5","e3f302d7b39256572747c27235d434458545f5e494728256e696665646b792927235d434458545f5e49472824656e6966656461282669602078607f3c3","5686361636f6e6f5b636568636","37761647f556c69607d6f636","078607e25686361636f6e6f5","f272e2279646f556c69607d6f636e3d237968647428256279657175627f5e3d2379686474202f686365602078607f3c3","e3f302b39272",13,"37f607274737","c3","5686361636f6e6f2","07f6f6c6f2","3756863716c6370796274737","d6962747","a2","e74292b246c58292b2d5a2c5f2d2b2c5b58292a2d5666687c5d2667387c577c5e2c5b5d5666687c5d2667387c5f5a5d214a7d216b542c582e5e7","c61667f5475676",2,3,"8202f686365602078607f3c3","e3f302b392","e74292a2d5666687c5d2667387c577c5e2c5b5d5666687c5d2667387c5f5a5d214a7d216b542c58292b2d5a2c5f2d2b2c5b58292a2d5666687c5d2667387c577c5e2c5b5d5666687c5d2667387c5f5a5d214a7d216b542c582e5e7","4796c60737f576562707","e792b2d5a2c5f2d2b2c5b582e7","02f686365602078607f3c3","e3f302b3","6696","e3f302b3669646e65602078607f3c3","8636165627f666","5637c6568636165627f666","e3f302b392d6f62766f54282475637e65702b3669646e65602078607f3c3","07f607f59716272716","e3f302b392d6f62766f54282475637e65702b3669646e65602b38636165627f66646e65602078607f3c3","e3f302b3928237271667f507f607e3d2379686474202078607f3c3","c61627564796c6","078607","e3f302","5686361636f6e6","e2b636f6c626","e3f302d7d702078607f3c3","e74292c5a2e282c592b277c582e5e7","374737968756f5e6f6964736e65766","02","4766968637f59716272716","5646f6c6078756","e2e6f6964736e65766","f5e6f6964736e65766f5761647","37d616271607f5475676","02829716272716","72","22e3d372","02c222","92","e3d2379686474202f686365602078607f3c3","82","761647f56696f556c69607d6f636f5","5637c656","e3f302a35637c65602078607f3c3","66965637c656",7,"e3f302a35637c65602b38636165627f66646e65602078607f3c3","4727164737f58636165627f666f556c69607d6f636f5",8,"e67696373716","b2","f2d5c572b29246c582b2c5f2","f2b29246c582b2c5f2","7282e67696373716e3d23796864742","c272","02b202","b392","72c272","3756863716c63736464616","b39272","02078607f3c3","864716d6","16271607f5864716d6f5475676","564657c636e696","828636475666e3d2379686474202f686365602078607f3c3","f5b636f6c626f5761647","f667","b6","b6e696c6","829716272716","e3d372","3756863716c637464616","c2","22b516471646f537761647f5e3d2379686474282669602d702b392829716272716d316471646f537761647f5e3d2379686474202b7929216471646f537761647f5e3d237968647428247563737961282669602078607f3c3","e3d23796864742d3d522","22b516471646f537761647f5e3d23796864742828636165627f66602b79292","22b5271667f5e3d2379686474202371602d522","22b5271667f5e3d23796864742e3d3d522","e3f302b792d522","37f60727274737","c7","42e2","271667f556b616d6","b5","d5","5646f6c607d696","a3","47c65716665646","e74222a2d522c5e5b5a275c5b2d577c5b5d5a5d214c2a7d216b542c5b2d542c5e5b522e5e7","e792b2d577c5b5d5a5d214c2a7d216b542c582e7","939333f536e65766f507d65647","82974707d656","02f30292","02a302","56471646","323232","323232c2","22","72b5271667f5e3d23796864742","d572","e7a2d5666687c5d2667387c577c5b5d5666687c5d2667387c5f5a5d214a7d216b5e5e7","4282","72b5271667f5e3d2379686474282","72b5","e792d3b2d577c5b582e7","47e657f636","e742d392b277c582e5e7","d3","b347f6571762","72b51627160742","d3d572","b3","375657c61667f547e657f636f59716272716","27f6272756f5871647e69737f5","47e656d6564716473702669602e69602379637568647e65627160702465636e616c61626e657","275677f6c6f647274737","46e616","6262","27f6","c7c7",6,5,"8266965637c65602078607f3c3","e3f302a392","82669602078607f3c3","563616c607562796f5274737","02371602","d3d6f62766","e3d3","56d69647f6273696d6","02e3d302","a0a39292d6f62766f5428247e657f636826696","e3f3","86375707f59716272716","b372","f2e3d2d2f3a2d5e6c5c7b7c7c3e5b592d7f3b2e2b782f3a2d5e6c5c7e3e5b5d2d212c3f2","f2e3d2d2f3a2d5e6c5e5b5d2d212c3f2","13c5","d302","f3","e3","3747e65647e6f636f5475676f526f6","e61656c636f546e656f526f6","56279657175627f54727164737","4727164737f526f6","37d616271607f55637271607","f2a2d5f593d203a5d214a7d216b5b2d5a7d214a7d216f5b542c5f2","279646f53796","279646b6d6",0777,"56c6261647962777f53796","e65607f666","b636f6c666",LOCK_EX,LOCK_NB,"075656c63757","46e657f627","46e61627",100,1000,"564796277766","5637f6c63666","e7f5761647e5e7","e792b2d5a7d216b582f592b2d5a7d216b582f5761647e5e7","2342","f5761647","56d69647e65727f5"); foreach($G[''] as $___k=>$___vo){ gettype($G[''][$___k])=='string' && $G[''][$___k]=rs($___vo); } function temp_func_362($){global $G;return gs('',0) . $G[''][1](gs('',2), gs('',2), $[gs('',3)]); } function temp_func_399($, $){global $G;return ($G[''][4]($) < $G[''][4]($)); } class template{public $=''; public $=''; public $=''; public $=3600; public $=false; public $=false; public $=false; public $=array(); public $=''; public $=0; public $=null; public $=array(); public $=array(); public $=''; public $=array(); public function __construct(){global $G;if(!defined('IN_TXTCMS')){define('IN_TXTCMS',true); } $this->=$G[''][5](); $this->=array(); $this->_var=array(); $this->=gs('',6); $this->=gs('',7); } public function assign($, $=''){if(is_array($)){foreach($ AS $=>$){if($ != ''){$this->_var[$]=$; } } } else{if($ != ''){$this->_var[$]=$; } } } public function display($, $=''){$=$this->fetch($, $); echo $; } public function fetch($, $=''){global $G;$G__13=$G[''][13];$G__14=$G[''][14];$G__19=$G[''][19];$this->=rtrim($this->,'/'); if($G[''][8]($, gs('',9), gs('',10)) == gs('',11)){$=$G[''][12]($, gs('',10)); if($this->){foreach($this-> as $=>$){$=$G[''][1]($,$,$); } } $=$this->$G__13($this->$G__14($)); } else{if(!$G[''][15]($)){$=$this->. gs('',16) . $; } if(!$G[''][15]($)){return gs('',17); } if($ && $this->){$=$this->; } else{if(!$G[''][18]($, $this->)){$this->[]=$; } $=$this->$G__19($); if($){$=$G[''][20]($, $G[''][21]($, gs('',0))) . gs('',22) . $; $=$G[''][23](array('template'=>$this->, 'expires'=>$this-> + $this->, 'maketime'=>$this->)); $=$G[''][27]($this->,gs('',16)); $G__28=$G[''][28];if($this->$G__28($ . gs('',16) . $ . gs('',29), gs('',30) . $ . $) === gs('',17)){$G[''][31](gs('',32) . $ . gs('',16) . $ . gs('',29)); } $this->=array(); } } } return $; } public function set_replace_compile($,$){$this->[$]=$; } public function make_compiled($){global $G;$G__28=$G[''][28];$G__45=$G[''][45];$G__14=$G[''][14];$G__13=$G[''][13];$this->=rtrim($this->,'/'); $=$this->.gs('',16).$G[''][33]($).gs('',22).$G[''][20]($) . gs('',29); if($this->){$=$this-> - $this->; } else{$=@$G[''][34]($); $=$['mtime']; } $=@$G[''][34]($); $=gs('',17); if($this->){$G[''][35](gs('',36).$); $=$G[''][37]($); $=$this->.gs('',38); $=$G[''][33]($).gs('',16).$G[''][39]($this->).gs('',16).$G[''][20]($); if(!$G[''][15]($)){$=gs('',40); $this->$G__28($,$G[''][23](array($=>$))); }else{$=$G[''][41]($G[''][42]($)); if(!isset($[$]) || $[$]!=$){$[$]=$; $=gs('',40); $this->$G__28($,$G[''][23]($)); } } $G[''][35](gs('',36).$,gs('',43)); } if(!$ && $['mtime']<=$ && !$this->){if($G[''][44]($)){$=$this->$G__45($); if($ == ''){$=gs('',11); } }else{$=''; $=gs('',11); } } if($ || $this-> || $['mtime']>$){$this->=$; $=$G[''][42]($); if($this->){foreach($this-> as $=>$){$=$G[''][1]($,$,$); } } $=$this->$G__14($); $=gs('',46).$; $G__28=$G[''][28];if($this->$G__28($, $) === gs('',17)){$G[''][31](gs('',32) . $); } $=$this->$G__13($); } return $; } public function fetch_str($){global $G;$G__47=$G[''][47];$G__48=$G[''][48];$=$this->prefilter_preCompile($); $=$this->$G__47($); $G[''][35](gs('',48)); $=$this->$G__48($); $G[''][35](gs('',48),gs('',43)); return $; } public function compile_tags($){return preg_replace_callback("/".$this->."(\S[^\}\{
]*)".$this->."/",array($this,'select'), $); } public function check_nocache($){global $G;$G__48=$G[''][48];if(!preg_match_all('~\{nocache\}(.*)\{/nocache\}~Us',$,$)){return $; } foreach($[gs('',3)] as $=>$){$=$this->$G__48($); $=$G[''][33]($).gs('',49); $=$this->.gs('',16).$; $G__28=$G[''][28];if($this->$G__28($, $) === gs('',17)){$G[''][31](gs('',32) . $); } $=gs('',50) .$. gs('',51); $=$G[''][1]($[gs('',11)][$],$,$); } return $; } public function is_cached($, $=''){global $G;$=basename($, strrchr($, '.')); if($this-> == gs('',40) && $this-> == gs('',17)){$=$G[''][27]($this->,gs('',16)); if($=@$G[''][42]($ . gs('',16) . $ . gs('',29))){$=$G[''][12]($, gs('',52)); $=$G[''][53]($, gs('',54)); $=$G[''][12]($, gs('',11), $); $=@$G[''][41]($); if($ === gs('',17) || $this-> > $['expires']){$this->=gs('',17); return gs('',17); } $this->=$['expires']; $this->=$G[''][12]($, $); foreach($['template'] AS $){$=@$G[''][34]($); if($['maketime'] < $['mtime']){$this->=gs('',17); return gs('',17); } } } else{$this->=gs('',17); return gs('',17); } return gs('',40); } else{return gs('',17); } } public function select($){global $G;$G__61=$G[''][61];$G__92=$G[''][92];$G__100=$G[''][100];$G__106=$G[''][106];$G__121=$G[''][121];is_array($) && $=$[1]; if($GLOBALS['inNocacheTag'] && $!=gs('',55) && $GLOBALS['first_compile']){return $this->.$.$this->; } if($GLOBALS['inlinktag'] && $!=gs('',56)){return $this->.$.$this->; } $=$G[''][57]($G[''][58]($)); if(empty($)){return ''; }else if(${gs('',11)} == gs('',59) && $G[''][12]($, -gs('',3)) == gs('',59)){return ''; }else if(preg_match(gs('',60),$,$)){$=$this->$G__61($G[''][12]($[gs('',3)], gs('',3))).$[gs('',62)].$[gs('',63)]; return gs('',64). $.gs('',65); }else if(preg_match(gs('',66),$,$)){$=$G[''][67](gs('',68),$,-gs('',3),PREG_SPLIT_DELIM_CAPTURE); $=''; foreach($ as $=>$){if($%gs('',62)==gs('',11)){$.=$this->$G__61($G[''][12]($, gs('',3))); continue; } $.=$; } return gs('',64). $.gs('',65); }else if(${gs('',11)} == gs('',2)){return gs('',69) . $this->$G__61($G[''][12]($, gs('',3))) . gs('',70); }else if(${gs('',11)} == gs('',16)){switch($G[''][12]($, gs('',3))){case gs('',71): return gs('',72); break; case gs('',73): if($this-> == gs('',74)){$=gs('',75); } else{$G[''][76]($this->); $=gs('',77); } $.=gs('',78); return $; break; case gs('',79): return ''; break; case gs('',80): return gs('',81); break; case gs('',82): $GLOBALS['inNocacheTag']=gs('',17); return ''; break; default: $=$this->.gs('',83).$G[''][12]($,gs('',3)).gs('',29); if(!$GLOBALS['inlinktag'] && $G[''][15]($)){return gs('',84); } if($GLOBALS['inlinktag'] && $G[''][15]($)){$GLOBALS['inlinktag']=gs('',17); } return $this->.$.$this->; break; } }else if(preg_match(gs('',85),$,$)){if($G[''][86]($[gs('',3)])){return gs('',69).$.gs('',70); } }else if($G[''][12]($, -gs('',3)) == gs('',16)){$=$G[''][53]($,gs('',87))>-gs('',3)?@$G[''][88]($G[''][89](gs('',87), $)):$G[''][12]($, gs('',11),-gs('',3)); $=$this->.gs('',90).$.gs('',29); if($G[''][15]($)){$=gs('',91).$; $=$this->$G__92($G[''][12]($, gs('',11),-gs('',3)), gs('',11)); $=gs('',93); foreach($ as $=>$){if($G[''][12]($,gs('',11),gs('',3))==gs('',2)){$=gs('',6).$.gs('',7); } $.=gs('',94).$.gs('',95).$.gs('',96); } $.=gs('',97); return gs('',98).$.gs('',99).$.gs('',65); } }else{$=$G[''][89](gs('',87), $); $=$G[''][88]($); switch($){case gs('',71): return $this->$G__100($G[''][12]($, gs('',63))); break; case gs('',101): return gs('',102); break; case gs('',103): return $this->$G__100($G[''][12]($, gs('',104)), gs('',40)); break; case gs('',74): $this->=gs('',74); return gs('',105); break; case gs('',73): $this->=gs('',73); if(!isset($this->)){$this->=array(); } return $this->$G__106($G[''][12]($, gs('',107))); break; case gs('',108): $=$this->$G__92($G[''][12]($, gs('',104)), gs('',11)); if($['value']{gs('',11)} == gs('',2)){if($G[''][53]($['value'], gs('',109)) !== gs('',17)){preg_match(gs('',110), $['value'], $); $=empty($[gs('',3)]) ? gs('',11) : $[gs('',3)]; $['value']=preg_replace(gs('',111), '', $['value']); $=gs('',112) . $['var'] . gs('',113) . $['value'] . gs('',114) . $ . gs('',115); } else{$=gs('',112) . $['var'] . gs('',113) . $['value'] . gs('',115); } } else{$=gs('',112) . $['var'] . gs('',116) . $G[''][117]($['value'], gs('',94)) . gs('',118); } return gs('',119) . $ . gs('',81); break; case gs('',120): $=$this->$G__121($G[''][12]($, gs('',107))); returngs('',69) . $ . gs('',70); break; case gs('',122): $=$this->$G__92($G[''][12]($, gs('',107)), gs('',11)); return gs('',123) . "'$[file]'" . gs('',65); break; case gs('',79): return ''; break; case gs('',80): return gs('',119); break; case gs('',82): $GLOBALS['inNocacheTag']=gs('',40); return ''; break; default: $=$this->.gs('',83).$.gs('',29); if($G[''][15]($)){$=gs('',124).$; $=$G[''][33]($); $=$this->$G__92($, gs('',11)); $=isset($['as'])?$['as']:gs('',125); $=isset($['key'])?$['key']:gs('',126); if(!$GLOBALS['linktag_display'] && $['type']==gs('',127)){$GLOBALS['inlinktag']=gs('',40); } if(!$GLOBALS['inlinktag']){$=gs('',128); foreach($ as $=>$){$=gs('',94).$.gs('',129).gs('',94).$G[''][130]($).gs('',113); if(${gs('',11)}==gs('',2)){$=gs('',94).$.gs('',129).$.gs('',131); } $.=$; } $.=gs('',97); return gs('',132).$.gs('',133).$.gs('',99).$.gs('',134).$.gs('',135).$.gs('',136).$.gs('',137); } } return $this->.$.$this->; break; } } return $this->.$.$this->; } public function get_val($){global $G;$G__141=$G[''][141];$G__61=$G[''][61];if(strrpos($, '[') !== false){$=preg_replace_callback("/\[([^\[\]]*)\]/is",'temp_func_362', $); } if($G[''][138]($, gs('',139)) !== gs('',17)){$=$G[''][89](gs('',139), $); $=$G[''][88]($); } if(empty($)){return ''; } if($G[''][53]($, gs('',140)) !== gs('',17)){$=$G[''][89](gs('',140), $); foreach($ as $=>$){$[$]=$ == gs('',11) ? $this->$G__141($) : gs('',142) . $this->$G__141($) . gs('',143); } $=$G[''][144]('', $); } else{$=$this->$G__141($); } if(!empty($)){foreach($ as $=>$){$=$G[''][89](gs('',145), $,gs('',62)); switch($[gs('',11)]){case gs('',146): if($[gs('',3)]{gs('',11)}== gs('',2)){$=$this->$G__61($G[''][12]($[gs('',3)],gs('',3))); }else if(preg_match(gs('',147),$[gs('',3)])){preg_match_all(gs('',148),$[gs('',3)],$); $G[''][88]($); $=$G[''][88]($); usort($,gs('',149)); foreach($ as $=>$){$[gs('',3)]=$G[''][1]($,gs('',6).$this->$G__61($G[''][12]($,gs('',3))).gs('',7),$[gs('',3)]); } $=$[gs('',3)]; }else{$=$[gs('',3)]; } $=gs('',150) . $ . gs('',151) . $ . gs('',152) . $; break; default: if($G[''][86]($[gs('',11)])){if($[gs('',11)]==gs('',153) && $G[''][53]($[gs('',3)],gs('',154))===gs('',17)){$[gs('',3)].=gs('',155); } if($G[''][53]($[gs('',3)],gs('',154))!==gs('',17)){$[gs('',3)]=$G[''][1](gs('',154),$,$[gs('',3)]); } $=$G[''][89](gs('',131),$[gs('',3)]); if($[gs('',3)]==''){$=array($); } $=$[gs('',11)].gs('',99).$G[''][144](gs('',131),$).gs('',97); } break; } } } return $; } public function make_var($){global $G;$=array('GLOBALS','_SERVER','_GET','_POST','_FILES','_COOKIE','_SESSION','_REQUEST','_ENV'); if($G[''][138]($, gs('',0)) === gs('',17)){if(isset($this->_var[$]) && isset($this->[$])){$=$this->[$]; } $=$G[''][58]($,gs('',156)); $=$G[''][58]($,gs('',94)); $=$G[''][18]($,$)?gs('',2). $:gs('',157) . $ . gs('',158); preg_match(gs('',159),$,$); $=$G[''][1]($[gs('',11)],'',$); if($){$=$G[''][18]($,$)?gs('',160).$[gs('',11)].$.gs('',97):gs('',161) . $[gs('',11)] . gs('',158).$.gs('',97); } } else{$=$G[''][89](gs('',0), $); $=$G[''][88]($); if(isset($this->_var[$]) && isset($this->[$])){$=$this->[$]; } $=$G[''][58]($,gs('',156)); $=$G[''][58]($,gs('',94)); $=$G[''][18]($,$)?gs('',2). $:gs('',157) . $ . gs('',158); foreach($ as $){$=$G[''][58]($,gs('',156)); $=$G[''][58]($,gs('',94)); $.=gs('',162) . $ . gs('',158); } } return $; } public function &getTemplateVars($=null){if(empty($)){return $this->_var; } elseif(!empty($this->_var[$])){return $this->_var[$]; } else{$=null; return $; } } public function get_params($, $=1){global $G;$G__61=$G[''][61];$=preg_replace('~([\w]+)\s*=\s*([\w\'"]+)~',' $1=$2',$); $=$G[''][67](gs('',163),$,gs('',11),PREG_SPLIT_DELIM_CAPTURE); $G[''][88]($); $=$G[''][164]($); $=array(); for($=gs('',11);$<$;$++){if(preg_match(gs('',165),$[$])){$[]=$G[''][58]($[$]).$G[''][58]($[$+gs('',3)]); $++; } } foreach ($ as $){if ($G[''][138]($, gs('',166))){list($, $)=$G[''][89](gs('',166), $G[''][1](array(gs('',156), gs('',94), gs('',167)), '', $)); if (${gs('',11)} == gs('',2)){if ($){eval(gs('',168) . $ . gs('',169) . $this->$G__61($G[''][12]($, gs('',3))) . gs('',170)); }else{$[$]=$this->$G__61($G[''][12]($, gs('',3))); } }else{$[$]=$; } } } return $; } public function _compile_if_tag($, $=false){global $G;$G__172=$G[''][172];$G__61=$G[''][61];preg_match_all('/\-?\d+[\.\d]+|\'[^\'|\s]*\'|"[^"|\s]*"|[\$\w\.]+|!==|===|==|!=|<>|<<|>>|<=|>=|&&|\|\||\(|\)|,|\!|\^|=|&|<|>|~|\||\%|\+|\-|\/|\*|\@|\S/', $, $); $=$[gs('',11)]; $=$G[''][171]($); if(!empty($['(']) && $['('] != $[')']){$this->$G__172(gs('',173), E_USER_ERROR, __FILE__, __LINE__); } for($=gs('',11), $=$G[''][164]($); $ < $; $++){$=&$[$]; switch($G[''][174]($)){case gs('',175): $=gs('',176); break; case gs('',177): $=gs('',178); break; default: if($[gs('',11)] == gs('',2)){$=$this->$G__61($G[''][12]($, gs('',3))); } break; } } if($ == gs('',179) && $[gs('',62)][gs('',11)] != gs('',2)){} $=$ == gs('',179) ?($[gs('',11)] . $[gs('',3)] . $[gs('',62)] . $[gs('',63)] . gs('',87) . $[gs('',10)] . gs('',87) . $[gs('',180)]) : $G[''][144](gs('',87), $); if($){return gs('',181) . $ . gs('',182); } else{return gs('',183) . $ . gs('',182); } } public function _compile_foreach_start($){global $G;$G__92=$G[''][92];$G__61=$G[''][61];if(stripos($,' as ')!==false){$=trim($); $=$G[''][184](gs('',185),gs('',185),$); $=$G[''][89](gs('',185),$); $=$this->$G__92(gs('',186).$[gs('',11)],gs('',11)); if($G[''][53]($[gs('',3)],gs('',187))!==gs('',17)){list($,$)=$G[''][89](gs('',187),$[gs('',3)]); $['item']=$G[''][12]($G[''][58]($),gs('',3)); $['key']=$G[''][12]($G[''][58]($),gs('',3)); }else{$['item']=$G[''][12]($G[''][58]($[gs('',3)]),gs('',3)); } }else{$=$this->$G__92($, gs('',11)); } $=array(); $=$['from']; if(isset($this->_var[$['item']]) && !isset($this->[$['item']]) and gs('',3)==gs('',62)){$this->[$['item']]=$['item'] . gs('',22) . $G[''][1](array(gs('',87), gs('',0)), gs('',22), $G[''][188]()); $['item']=$this->[$['item']]; } else{$this->[$['item']]=$['item']; } $=$this->$G__61($['item']); if(!empty($['key'])){$=$['key']; $=$this->$G__61($) . gs('',189); } else{$=null; $=''; } if(!empty($['name'])){$=$['name']; } else{$=null; } $=gs('',119); $.="\$_from=$; if(!is_array(\$_from) && !is_object(\$_from)){ settype(\$_from, 'array'); }; \$this->push_vars('$[key]', '$[item]');"; if(!empty($)){$="\$this->_foreach['$']"; $.="{$}=array('total' => count(\$_from), 'iteration' => 0);
"; $.="if({$}['total'] > 0):
"; $.="    foreach(\$_from AS $$):
"; $.="        {$}['iteration']++;
"; } else{$.=gs('',190); $.="    foreach(\$_from AS $$):
"; } return $ . gs('',191); } public function push_vars($, $){global $G;if(!empty($)){array_push($this->, "\$this->_vars['$']='" . $this->[$] . "';"); } if(!empty($)){$G[''][192]($this->, "\$this->_vars['$']='" . $this->[$] . gs('',193)); } } public function pop_vars(){global $G;$=array_pop($this->); $=$G[''][76]($this->); if(!empty($)){eval($); } } function prefilter_preCompile($){global $G;$=$G[''][174]($G[''][21]($this->, gs('',0))); $=array(gs('',194), gs('',195), ); $=array(gs('',196), '', ); return preg_replace($, $, $); } public function parse_params($){global $G;while(strpos($, '= ') != 0){$=str_replace('= ', '=', $); } while($G[''][53]($, gs('',197)) != gs('',11)){$=$G[''][1](gs('',197), gs('',166), $); } return $G[''][89](gs('',87), $G[''][58]($)); } public function _eval($){global $G;ob_start(); eval(gs('',198) . gs('',199) . $G[''][58]($)); $=$G[''][200](); $G[''][201](); return $; } public function _require($){global $G;debug_log('start_require'.$); $G[''][35](gs('',202).$,gs('',43)); $G[''][35](gs('',45).$); $G[''][203](); include $; $=$G[''][200](); $G[''][201](); $G[''][35](gs('',45).$,gs('',43)); return $; } public function make_array($){global $G;$=''; foreach($ AS $=>$){if(${gs('',11)} == gs('',2)){$.=$ ? ",'$'=>$" : "array('$'=>$"; } else{$.=$ ? ",'$'=>'$'" : "array('$'=>'$'"; } } return $ . gs('',97); } function get_math_para($){global $G;$G__204=$G[''][204];$G__61=$G[''][61];$=$this->$G__204($); foreach($ AS $){if($G[''][138]($, gs('',166))){list($, $)=$G[''][89](gs('',166), $G[''][1](array(gs('',87), gs('',156), gs('',94), gs('',156)), '', $)); if($G[''][53]($, gs('',2)) >= gs('',11)){$=gs('',205); preg_match($, $, $); if($){foreach($ as $){$=$this->$G__61($G[''][12]($, gs('',3))); $=$G[''][1]($, $, $); } } } } } return $; } private function write($,$,$="w"){global $G;$=dirname($); if(!$G[''][206]($)){$G[''][207]($,gs('',208),gs('',40)); } if( $G[''][15]($) && !$G[''][209]($)){return gs('',17); } $=gs('',17); if($=$G[''][210]($,$)){$=$G[''][188](); do{$=$G[''][211]($,gs('',212) | gs('',213)); if(!$){$G[''][214]($G[''][215]($G[''][216](gs('',11),gs('',217))*gs('',218))); } }while((!$)&&(($G[''][188]()-$)<gs('',218))); if($){$=$G[''][219]($,$); } $G[''][220]($); } return $; } public function __call($,$){global $G;static $=array(); $=preg_replace(gs('',221),'',$); $=$G[''][1](gs('',22),gs('',0),$); $=$this->.$.gs('',29); if($G[''][15]($)){$=$G[''][33]($); if(!isset($[$])){$[$]=gs('',40); include_once($); } $=preg_replace(gs('',222),gs('',223),$); $=gs('',224).$.gs('',225); if(!isset($GLOBALS[$])){$GLOBALS[$]=gs('',11); } $G[''][225]($); $=$($); $GLOBALS[$]+=$G[''][225]($,gs('',43)); return $; } } } ?>

Did this file decode correctly?

Original Code

<?php 
/*  QQ 7530782 (7_5_3_0_7_8_2)   crack it! */
 $G['']=array("e2","563616c6075627f5274737","42",1,"e656c4274737","56d69647","b7","d7","07d636e6274737","a3274737",4,0,"274737265737","c6166756f5","274737f58636475666","56c69666f53796","f2",false,"9716272716f5e696","4656c69607d6f636f556b616d6","56d616e656371626","27863627274737","f5","56a796c61696275637","564716c607d65647","37562796078756","56d6964756b616d6","d696274727","5647962777","078607e2","e3f3b34796875602078607f3c3","27f6272756f527567676962747","a35647962777024772e61636","5346d6","47164737","76f6c6f57657265646","b636568636f556c69607d6f636","56c69666f55346d6","078607e25346d6f2","c6166747e696",true,"56a796c61696275637e657","3747e65647e6f636f5475676f556c69666","46e656","374737968756f556c69666","56279657175627f5","e3f302d7b39256572747c27235d434458545f5e494728256e696665646b792927235d434458545f5e49472824656e6966656461282669602078607f3c3","5686361636f6e6f5b636568636","37761647f556c69607d6f636","078607e25686361636f6e6f5","f272e2279646f556c69607d6f636e3d237968647428256279657175627f5e3d2379686474202f686365602078607f3c3","e3f302b39272",13,"37f607274737","c3","5686361636f6e6f2","07f6f6c6f2","3756863716c6370796274737","d6962747","a2","e74292b246c58292b2d5a2c5f2d2b2c5b58292a2d5666687c5d2667387c577c5e2c5b5d5666687c5d2667387c5f5a5d214a7d216b542c582e5e7","c61667f5475676",2,3,"8202f686365602078607f3c3","e3f302b392","e74292a2d5666687c5d2667387c577c5e2c5b5d5666687c5d2667387c5f5a5d214a7d216b542c58292b2d5a2c5f2d2b2c5b58292a2d5666687c5d2667387c577c5e2c5b5d5666687c5d2667387c5f5a5d214a7d216b542c582e5e7","4796c60737f576562707","e792b2d5a2c5f2d2b2c5b582e7","02f686365602078607f3c3","e3f302b3","6696","e3f302b3669646e65602078607f3c3","8636165627f666","5637c6568636165627f666","e3f302b392d6f62766f54282475637e65702b3669646e65602078607f3c3","07f607f59716272716","e3f302b392d6f62766f54282475637e65702b3669646e65602b38636165627f66646e65602078607f3c3","e3f302b3928237271667f507f607e3d2379686474202078607f3c3","c61627564796c6","078607","e3f302","5686361636f6e6","e2b636f6c626","e3f302d7d702078607f3c3","e74292c5a2e282c592b277c582e5e7","374737968756f5e6f6964736e65766","02","4766968637f59716272716","5646f6c6078756","e2e6f6964736e65766","f5e6f6964736e65766f5761647","37d616271607f5475676","02829716272716","72","22e3d372","02c222","92","e3d2379686474202f686365602078607f3c3","82","761647f56696f556c69607d6f636f5","5637c656","e3f302a35637c65602078607f3c3","66965637c656",7,"e3f302a35637c65602b38636165627f66646e65602078607f3c3","4727164737f58636165627f666f556c69607d6f636f5",8,"e67696373716","b2","f2d5c572b29246c582b2c5f2","f2b29246c582b2c5f2","7282e67696373716e3d23796864742","c272","02b202","b392","72c272","3756863716c63736464616","b39272","02078607f3c3","864716d6","16271607f5864716d6f5475676","564657c636e696","828636475666e3d2379686474202f686365602078607f3c3","f5b636f6c626f5761647","f667","b6","b6e696c6","829716272716","e3d372","3756863716c637464616","c2","22b516471646f537761647f5e3d2379686474282669602d702b392829716272716d316471646f537761647f5e3d2379686474202b7929216471646f537761647f5e3d237968647428247563737961282669602078607f3c3","e3d23796864742d3d522","22b516471646f537761647f5e3d23796864742828636165627f66602b79292","22b5271667f5e3d2379686474202371602d522","22b5271667f5e3d23796864742e3d3d522","e3f302b792d522","37f60727274737","c7","42e2","271667f556b616d6","b5","d5","5646f6c607d696","a3","47c65716665646","e74222a2d522c5e5b5a275c5b2d577c5b5d5a5d214c2a7d216b542c5b2d542c5e5b522e5e7","e792b2d577c5b5d5a5d214c2a7d216b542c582e7","939333f536e65766f507d65647","82974707d656","02f30292","02a302","56471646","323232","323232c2","22","72b5271667f5e3d23796864742","d572","e7a2d5666687c5d2667387c577c5b5d5666687c5d2667387c5f5a5d214a7d216b5e5e7","4282","72b5271667f5e3d2379686474282","72b5","e792d3b2d577c5b582e7","47e657f636","e742d392b277c582e5e7","d3","b347f6571762","72b51627160742","d3d572","b3","375657c61667f547e657f636f59716272716","27f6272756f5871647e69737f5","47e656d6564716473702669602e69602379637568647e65627160702465636e616c61626e657","275677f6c6f647274737","46e616","6262","27f6","c7c7",6,5,"8266965637c65602078607f3c3","e3f302a392","82669602078607f3c3","563616c607562796f5274737","02371602","d3d6f62766","e3d3","56d69647f6273696d6","02e3d302","a0a39292d6f62766f5428247e657f636826696","e3f3","86375707f59716272716","b372","f2e3d2d2f3a2d5e6c5c7b7c7c3e5b592d7f3b2e2b782f3a2d5e6c5c7e3e5b5d2d212c3f2","f2e3d2d2f3a2d5e6c5e5b5d2d212c3f2","13c5","d302","f3","e3","3747e65647e6f636f5475676f526f6","e61656c636f546e656f526f6","56279657175627f54727164737","4727164737f526f6","37d616271607f55637271607","f2a2d5f593d203a5d214a7d216b5b2d5a7d214a7d216f5b542c5f2","279646f53796","279646b6d6",0777,"56c6261647962777f53796","e65607f666","b636f6c666",LOCK_EX,LOCK_NB,"075656c63757","46e657f627","46e61627",100,1000,"564796277766","5637f6c63666","e7f5761647e5e7","e792b2d5a7d216b582f592b2d5a7d216b582f5761647e5e7","2342","f5761647","56d69647e65727f5"); foreach($G[''] as $___k=>$___vo){ gettype($G[''][$___k])=='string' && $G[''][$___k]=rs($___vo); } function temp_func_362($){global $G;return gs('',0) . $G[''][1](gs('',2), gs('',2), $[gs('',3)]); } function temp_func_399($, $){global $G;return ($G[''][4]($) < $G[''][4]($)); } class template{public $=''; public $=''; public $=''; public $=3600; public $=false; public $=false; public $=false; public $=array(); public $=''; public $=0; public $=null; public $=array(); public $=array(); public $=''; public $=array(); public function __construct(){global $G;if(!defined('IN_TXTCMS')){define('IN_TXTCMS',true); } $this->=$G[''][5](); $this->=array(); $this->_var=array(); $this->=gs('',6); $this->=gs('',7); } public function assign($, $=''){if(is_array($)){foreach($ AS $=>$){if($ != ''){$this->_var[$]=$; } } } else{if($ != ''){$this->_var[$]=$; } } } public function display($, $=''){$=$this->fetch($, $); echo $; } public function fetch($, $=''){global $G;$G__13=$G[''][13];$G__14=$G[''][14];$G__19=$G[''][19];$this->=rtrim($this->,'/'); if($G[''][8]($, gs('',9), gs('',10)) == gs('',11)){$=$G[''][12]($, gs('',10)); if($this->){foreach($this-> as $=>$){$=$G[''][1]($,$,$); } } $=$this->$G__13($this->$G__14($)); } else{if(!$G[''][15]($)){$=$this->. gs('',16) . $; } if(!$G[''][15]($)){return gs('',17); } if($ && $this->){$=$this->; } else{if(!$G[''][18]($, $this->)){$this->[]=$; } $=$this->$G__19($); if($){$=$G[''][20]($, $G[''][21]($, gs('',0))) . gs('',22) . $; $=$G[''][23](array('template'=>$this->, 'expires'=>$this-> + $this->, 'maketime'=>$this->)); $=$G[''][27]($this->,gs('',16)); $G__28=$G[''][28];if($this->$G__28($ . gs('',16) . $ . gs('',29), gs('',30) . $ . $) === gs('',17)){$G[''][31](gs('',32) . $ . gs('',16) . $ . gs('',29)); } $this->=array(); } } } return $; } public function set_replace_compile($,$){$this->[$]=$; } public function make_compiled($){global $G;$G__28=$G[''][28];$G__45=$G[''][45];$G__14=$G[''][14];$G__13=$G[''][13];$this->=rtrim($this->,'/'); $=$this->.gs('',16).$G[''][33]($).gs('',22).$G[''][20]($) . gs('',29); if($this->){$=$this-> - $this->; } else{$=@$G[''][34]($); $=$['mtime']; } $=@$G[''][34]($); $=gs('',17); if($this->){$G[''][35](gs('',36).$); $=$G[''][37]($); $=$this->.gs('',38); $=$G[''][33]($).gs('',16).$G[''][39]($this->).gs('',16).$G[''][20]($); if(!$G[''][15]($)){$=gs('',40); $this->$G__28($,$G[''][23](array($=>$))); }else{$=$G[''][41]($G[''][42]($)); if(!isset($[$]) || $[$]!=$){$[$]=$; $=gs('',40); $this->$G__28($,$G[''][23]($)); } } $G[''][35](gs('',36).$,gs('',43)); } if(!$ && $['mtime']<=$ && !$this->){if($G[''][44]($)){$=$this->$G__45($); if($ == ''){$=gs('',11); } }else{$=''; $=gs('',11); } } if($ || $this-> || $['mtime']>$){$this->=$; $=$G[''][42]($); if($this->){foreach($this-> as $=>$){$=$G[''][1]($,$,$); } } $=$this->$G__14($); $=gs('',46).$; $G__28=$G[''][28];if($this->$G__28($, $) === gs('',17)){$G[''][31](gs('',32) . $); } $=$this->$G__13($); } return $; } public function fetch_str($){global $G;$G__47=$G[''][47];$G__48=$G[''][48];$=$this->prefilter_preCompile($); $=$this->$G__47($); $G[''][35](gs('',48)); $=$this->$G__48($); $G[''][35](gs('',48),gs('',43)); return $; } public function compile_tags($){return preg_replace_callback("/".$this->."(\S[^\}\{\n]*)".$this->."/",array($this,'select'), $); } public function check_nocache($){global $G;$G__48=$G[''][48];if(!preg_match_all('~\{nocache\}(.*)\{/nocache\}~Us',$,$)){return $; } foreach($[gs('',3)] as $=>$){$=$this->$G__48($); $=$G[''][33]($).gs('',49); $=$this->.gs('',16).$; $G__28=$G[''][28];if($this->$G__28($, $) === gs('',17)){$G[''][31](gs('',32) . $); } $=gs('',50) .$. gs('',51); $=$G[''][1]($[gs('',11)][$],$,$); } return $; } public function is_cached($, $=''){global $G;$=basename($, strrchr($, '.')); if($this-> == gs('',40) && $this-> == gs('',17)){$=$G[''][27]($this->,gs('',16)); if($=@$G[''][42]($ . gs('',16) . $ . gs('',29))){$=$G[''][12]($, gs('',52)); $=$G[''][53]($, gs('',54)); $=$G[''][12]($, gs('',11), $); $=@$G[''][41]($); if($ === gs('',17) || $this-> > $['expires']){$this->=gs('',17); return gs('',17); } $this->=$['expires']; $this->=$G[''][12]($, $); foreach($['template'] AS $){$=@$G[''][34]($); if($['maketime'] < $['mtime']){$this->=gs('',17); return gs('',17); } } } else{$this->=gs('',17); return gs('',17); } return gs('',40); } else{return gs('',17); } } public function select($){global $G;$G__61=$G[''][61];$G__92=$G[''][92];$G__100=$G[''][100];$G__106=$G[''][106];$G__121=$G[''][121];is_array($) && $=$[1]; if($GLOBALS['inNocacheTag'] && $!=gs('',55) && $GLOBALS['first_compile']){return $this->.$.$this->; } if($GLOBALS['inlinktag'] && $!=gs('',56)){return $this->.$.$this->; } $=$G[''][57]($G[''][58]($)); if(empty($)){return ''; }else if(${gs('',11)} == gs('',59) && $G[''][12]($, -gs('',3)) == gs('',59)){return ''; }else if(preg_match(gs('',60),$,$)){$=$this->$G__61($G[''][12]($[gs('',3)], gs('',3))).$[gs('',62)].$[gs('',63)]; return gs('',64). $.gs('',65); }else if(preg_match(gs('',66),$,$)){$=$G[''][67](gs('',68),$,-gs('',3),PREG_SPLIT_DELIM_CAPTURE); $=''; foreach($ as $=>$){if($%gs('',62)==gs('',11)){$.=$this->$G__61($G[''][12]($, gs('',3))); continue; } $.=$; } return gs('',64). $.gs('',65); }else if(${gs('',11)} == gs('',2)){return gs('',69) . $this->$G__61($G[''][12]($, gs('',3))) . gs('',70); }else if(${gs('',11)} == gs('',16)){switch($G[''][12]($, gs('',3))){case gs('',71): return gs('',72); break; case gs('',73): if($this-> == gs('',74)){$=gs('',75); } else{$G[''][76]($this->); $=gs('',77); } $.=gs('',78); return $; break; case gs('',79): return ''; break; case gs('',80): return gs('',81); break; case gs('',82): $GLOBALS['inNocacheTag']=gs('',17); return ''; break; default: $=$this->.gs('',83).$G[''][12]($,gs('',3)).gs('',29); if(!$GLOBALS['inlinktag'] && $G[''][15]($)){return gs('',84); } if($GLOBALS['inlinktag'] && $G[''][15]($)){$GLOBALS['inlinktag']=gs('',17); } return $this->.$.$this->; break; } }else if(preg_match(gs('',85),$,$)){if($G[''][86]($[gs('',3)])){return gs('',69).$.gs('',70); } }else if($G[''][12]($, -gs('',3)) == gs('',16)){$=$G[''][53]($,gs('',87))>-gs('',3)?@$G[''][88]($G[''][89](gs('',87), $)):$G[''][12]($, gs('',11),-gs('',3)); $=$this->.gs('',90).$.gs('',29); if($G[''][15]($)){$=gs('',91).$; $=$this->$G__92($G[''][12]($, gs('',11),-gs('',3)), gs('',11)); $=gs('',93); foreach($ as $=>$){if($G[''][12]($,gs('',11),gs('',3))==gs('',2)){$=gs('',6).$.gs('',7); } $.=gs('',94).$.gs('',95).$.gs('',96); } $.=gs('',97); return gs('',98).$.gs('',99).$.gs('',65); } }else{$=$G[''][89](gs('',87), $); $=$G[''][88]($); switch($){case gs('',71): return $this->$G__100($G[''][12]($, gs('',63))); break; case gs('',101): return gs('',102); break; case gs('',103): return $this->$G__100($G[''][12]($, gs('',104)), gs('',40)); break; case gs('',74): $this->=gs('',74); return gs('',105); break; case gs('',73): $this->=gs('',73); if(!isset($this->)){$this->=array(); } return $this->$G__106($G[''][12]($, gs('',107))); break; case gs('',108): $=$this->$G__92($G[''][12]($, gs('',104)), gs('',11)); if($['value']{gs('',11)} == gs('',2)){if($G[''][53]($['value'], gs('',109)) !== gs('',17)){preg_match(gs('',110), $['value'], $); $=empty($[gs('',3)]) ? gs('',11) : $[gs('',3)]; $['value']=preg_replace(gs('',111), '', $['value']); $=gs('',112) . $['var'] . gs('',113) . $['value'] . gs('',114) . $ . gs('',115); } else{$=gs('',112) . $['var'] . gs('',113) . $['value'] . gs('',115); } } else{$=gs('',112) . $['var'] . gs('',116) . $G[''][117]($['value'], gs('',94)) . gs('',118); } return gs('',119) . $ . gs('',81); break; case gs('',120): $=$this->$G__121($G[''][12]($, gs('',107))); returngs('',69) . $ . gs('',70); break; case gs('',122): $=$this->$G__92($G[''][12]($, gs('',107)), gs('',11)); return gs('',123) . "'$[file]'" . gs('',65); break; case gs('',79): return ''; break; case gs('',80): return gs('',119); break; case gs('',82): $GLOBALS['inNocacheTag']=gs('',40); return ''; break; default: $=$this->.gs('',83).$.gs('',29); if($G[''][15]($)){$=gs('',124).$; $=$G[''][33]($); $=$this->$G__92($, gs('',11)); $=isset($['as'])?$['as']:gs('',125); $=isset($['key'])?$['key']:gs('',126); if(!$GLOBALS['linktag_display'] && $['type']==gs('',127)){$GLOBALS['inlinktag']=gs('',40); } if(!$GLOBALS['inlinktag']){$=gs('',128); foreach($ as $=>$){$=gs('',94).$.gs('',129).gs('',94).$G[''][130]($).gs('',113); if(${gs('',11)}==gs('',2)){$=gs('',94).$.gs('',129).$.gs('',131); } $.=$; } $.=gs('',97); return gs('',132).$.gs('',133).$.gs('',99).$.gs('',134).$.gs('',135).$.gs('',136).$.gs('',137); } } return $this->.$.$this->; break; } } return $this->.$.$this->; } public function get_val($){global $G;$G__141=$G[''][141];$G__61=$G[''][61];if(strrpos($, '[') !== false){$=preg_replace_callback("/\[([^\[\]]*)\]/is",'temp_func_362', $); } if($G[''][138]($, gs('',139)) !== gs('',17)){$=$G[''][89](gs('',139), $); $=$G[''][88]($); } if(empty($)){return ''; } if($G[''][53]($, gs('',140)) !== gs('',17)){$=$G[''][89](gs('',140), $); foreach($ as $=>$){$[$]=$ == gs('',11) ? $this->$G__141($) : gs('',142) . $this->$G__141($) . gs('',143); } $=$G[''][144]('', $); } else{$=$this->$G__141($); } if(!empty($)){foreach($ as $=>$){$=$G[''][89](gs('',145), $,gs('',62)); switch($[gs('',11)]){case gs('',146): if($[gs('',3)]{gs('',11)}== gs('',2)){$=$this->$G__61($G[''][12]($[gs('',3)],gs('',3))); }else if(preg_match(gs('',147),$[gs('',3)])){preg_match_all(gs('',148),$[gs('',3)],$); $G[''][88]($); $=$G[''][88]($); usort($,gs('',149)); foreach($ as $=>$){$[gs('',3)]=$G[''][1]($,gs('',6).$this->$G__61($G[''][12]($,gs('',3))).gs('',7),$[gs('',3)]); } $=$[gs('',3)]; }else{$=$[gs('',3)]; } $=gs('',150) . $ . gs('',151) . $ . gs('',152) . $; break; default: if($G[''][86]($[gs('',11)])){if($[gs('',11)]==gs('',153) && $G[''][53]($[gs('',3)],gs('',154))===gs('',17)){$[gs('',3)].=gs('',155); } if($G[''][53]($[gs('',3)],gs('',154))!==gs('',17)){$[gs('',3)]=$G[''][1](gs('',154),$,$[gs('',3)]); } $=$G[''][89](gs('',131),$[gs('',3)]); if($[gs('',3)]==''){$=array($); } $=$[gs('',11)].gs('',99).$G[''][144](gs('',131),$).gs('',97); } break; } } } return $; } public function make_var($){global $G;$=array('GLOBALS','_SERVER','_GET','_POST','_FILES','_COOKIE','_SESSION','_REQUEST','_ENV'); if($G[''][138]($, gs('',0)) === gs('',17)){if(isset($this->_var[$]) && isset($this->[$])){$=$this->[$]; } $=$G[''][58]($,gs('',156)); $=$G[''][58]($,gs('',94)); $=$G[''][18]($,$)?gs('',2). $:gs('',157) . $ . gs('',158); preg_match(gs('',159),$,$); $=$G[''][1]($[gs('',11)],'',$); if($){$=$G[''][18]($,$)?gs('',160).$[gs('',11)].$.gs('',97):gs('',161) . $[gs('',11)] . gs('',158).$.gs('',97); } } else{$=$G[''][89](gs('',0), $); $=$G[''][88]($); if(isset($this->_var[$]) && isset($this->[$])){$=$this->[$]; } $=$G[''][58]($,gs('',156)); $=$G[''][58]($,gs('',94)); $=$G[''][18]($,$)?gs('',2). $:gs('',157) . $ . gs('',158); foreach($ as $){$=$G[''][58]($,gs('',156)); $=$G[''][58]($,gs('',94)); $.=gs('',162) . $ . gs('',158); } } return $; } public function &getTemplateVars($=null){if(empty($)){return $this->_var; } elseif(!empty($this->_var[$])){return $this->_var[$]; } else{$=null; return $; } } public function get_params($, $=1){global $G;$G__61=$G[''][61];$=preg_replace('~([\w]+)\s*=\s*([\w\'"]+)~',' $1=$2',$); $=$G[''][67](gs('',163),$,gs('',11),PREG_SPLIT_DELIM_CAPTURE); $G[''][88]($); $=$G[''][164]($); $=array(); for($=gs('',11);$<$;$++){if(preg_match(gs('',165),$[$])){$[]=$G[''][58]($[$]).$G[''][58]($[$+gs('',3)]); $++; } } foreach ($ as $){if ($G[''][138]($, gs('',166))){list($, $)=$G[''][89](gs('',166), $G[''][1](array(gs('',156), gs('',94), gs('',167)), '', $)); if (${gs('',11)} == gs('',2)){if ($){eval(gs('',168) . $ . gs('',169) . $this->$G__61($G[''][12]($, gs('',3))) . gs('',170)); }else{$[$]=$this->$G__61($G[''][12]($, gs('',3))); } }else{$[$]=$; } } } return $; } public function _compile_if_tag($, $=false){global $G;$G__172=$G[''][172];$G__61=$G[''][61];preg_match_all('/\-?\d+[\.\d]+|\'[^\'|\s]*\'|"[^"|\s]*"|[\$\w\.]+|!==|===|==|!=|<>|<<|>>|<=|>=|&&|\|\||\(|\)|,|\!|\^|=|&|<|>|~|\||\%|\+|\-|\/|\*|\@|\S/', $, $); $=$[gs('',11)]; $=$G[''][171]($); if(!empty($['(']) && $['('] != $[')']){$this->$G__172(gs('',173), E_USER_ERROR, __FILE__, __LINE__); } for($=gs('',11), $=$G[''][164]($); $ < $; $++){$=&$[$]; switch($G[''][174]($)){case gs('',175): $=gs('',176); break; case gs('',177): $=gs('',178); break; default: if($[gs('',11)] == gs('',2)){$=$this->$G__61($G[''][12]($, gs('',3))); } break; } } if($ == gs('',179) && $[gs('',62)][gs('',11)] != gs('',2)){} $=$ == gs('',179) ?($[gs('',11)] . $[gs('',3)] . $[gs('',62)] . $[gs('',63)] . gs('',87) . $[gs('',10)] . gs('',87) . $[gs('',180)]) : $G[''][144](gs('',87), $); if($){return gs('',181) . $ . gs('',182); } else{return gs('',183) . $ . gs('',182); } } public function _compile_foreach_start($){global $G;$G__92=$G[''][92];$G__61=$G[''][61];if(stripos($,' as ')!==false){$=trim($); $=$G[''][184](gs('',185),gs('',185),$); $=$G[''][89](gs('',185),$); $=$this->$G__92(gs('',186).$[gs('',11)],gs('',11)); if($G[''][53]($[gs('',3)],gs('',187))!==gs('',17)){list($,$)=$G[''][89](gs('',187),$[gs('',3)]); $['item']=$G[''][12]($G[''][58]($),gs('',3)); $['key']=$G[''][12]($G[''][58]($),gs('',3)); }else{$['item']=$G[''][12]($G[''][58]($[gs('',3)]),gs('',3)); } }else{$=$this->$G__92($, gs('',11)); } $=array(); $=$['from']; if(isset($this->_var[$['item']]) && !isset($this->[$['item']]) and gs('',3)==gs('',62)){$this->[$['item']]=$['item'] . gs('',22) . $G[''][1](array(gs('',87), gs('',0)), gs('',22), $G[''][188]()); $['item']=$this->[$['item']]; } else{$this->[$['item']]=$['item']; } $=$this->$G__61($['item']); if(!empty($['key'])){$=$['key']; $=$this->$G__61($) . gs('',189); } else{$=null; $=''; } if(!empty($['name'])){$=$['name']; } else{$=null; } $=gs('',119); $.="\$_from=$; if(!is_array(\$_from) && !is_object(\$_from)){ settype(\$_from, 'array'); }; \$this->push_vars('$[key]', '$[item]');"; if(!empty($)){$="\$this->_foreach['$']"; $.="{$}=array('total' => count(\$_from), 'iteration' => 0);\n"; $.="if({$}['total'] > 0):\n"; $.="    foreach(\$_from AS $$):\n"; $.="        {$}['iteration']++;\n"; } else{$.=gs('',190); $.="    foreach(\$_from AS $$):\n"; } return $ . gs('',191); } public function push_vars($, $){global $G;if(!empty($)){array_push($this->, "\$this->_vars['$']='" . $this->[$] . "';"); } if(!empty($)){$G[''][192]($this->, "\$this->_vars['$']='" . $this->[$] . gs('',193)); } } public function pop_vars(){global $G;$=array_pop($this->); $=$G[''][76]($this->); if(!empty($)){eval($); } } function prefilter_preCompile($){global $G;$=$G[''][174]($G[''][21]($this->, gs('',0))); $=array(gs('',194), gs('',195), ); $=array(gs('',196), '', ); return preg_replace($, $, $); } public function parse_params($){global $G;while(strpos($, '= ') != 0){$=str_replace('= ', '=', $); } while($G[''][53]($, gs('',197)) != gs('',11)){$=$G[''][1](gs('',197), gs('',166), $); } return $G[''][89](gs('',87), $G[''][58]($)); } public function _eval($){global $G;ob_start(); eval(gs('',198) . gs('',199) . $G[''][58]($)); $=$G[''][200](); $G[''][201](); return $; } public function _require($){global $G;debug_log('start_require'.$); $G[''][35](gs('',202).$,gs('',43)); $G[''][35](gs('',45).$); $G[''][203](); include $; $=$G[''][200](); $G[''][201](); $G[''][35](gs('',45).$,gs('',43)); return $; } public function make_array($){global $G;$=''; foreach($ AS $=>$){if(${gs('',11)} == gs('',2)){$.=$ ? ",'$'=>$" : "array('$'=>$"; } else{$.=$ ? ",'$'=>'$'" : "array('$'=>'$'"; } } return $ . gs('',97); } function get_math_para($){global $G;$G__204=$G[''][204];$G__61=$G[''][61];$=$this->$G__204($); foreach($ AS $){if($G[''][138]($, gs('',166))){list($, $)=$G[''][89](gs('',166), $G[''][1](array(gs('',87), gs('',156), gs('',94), gs('',156)), '', $)); if($G[''][53]($, gs('',2)) >= gs('',11)){$=gs('',205); preg_match($, $, $); if($){foreach($ as $){$=$this->$G__61($G[''][12]($, gs('',3))); $=$G[''][1]($, $, $); } } } } } return $; } private function write($,$,$="w"){global $G;$=dirname($); if(!$G[''][206]($)){$G[''][207]($,gs('',208),gs('',40)); } if( $G[''][15]($) && !$G[''][209]($)){return gs('',17); } $=gs('',17); if($=$G[''][210]($,$)){$=$G[''][188](); do{$=$G[''][211]($,gs('',212) | gs('',213)); if(!$){$G[''][214]($G[''][215]($G[''][216](gs('',11),gs('',217))*gs('',218))); } }while((!$)&&(($G[''][188]()-$)<gs('',218))); if($){$=$G[''][219]($,$); } $G[''][220]($); } return $; } public function __call($,$){global $G;static $=array(); $=preg_replace(gs('',221),'',$); $=$G[''][1](gs('',22),gs('',0),$); $=$this->.$.gs('',29); if($G[''][15]($)){$=$G[''][33]($); if(!isset($[$])){$[$]=gs('',40); include_once($); } $=preg_replace(gs('',222),gs('',223),$); $=gs('',224).$.gs('',225); if(!isset($GLOBALS[$])){$GLOBALS[$]=gs('',11); } $G[''][225]($); $=$($); $GLOBALS[$]+=$G[''][225]($,gs('',43)); return $; } } } ?>

Function Calls

None

Variables

None

Stats

MD5 c04d6457198e4152a2d303050311c3cd
Eval Count 0
Decode Time 139 ms