Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
gotoO825; O985:define("\110\x44\x4f\115\x5f\111\116\x46\117\x5f\105\116\x44",1); define(..
Decoded Output download
<? gotoO825;
O985:define("HDOM_INFO_END",1);
define("HDOM_INFO_QUOTE",2);
define("HDOM_INFO_SPACE",3);
define("HDOM_INFO_TEXT",4);
define("HDOM_INFO_INNER",5);
gotoO104;
O969:define("HDOM_TYPE_UNKNOWN",6);
define("HDOM_QUOTE_DOUBLE",0);
define("HDOM_QUOTE_SINGLE",1);
define("HDOM_QUOTE_NO",3);
define("HDOM_INFO_BEGIN",0);
gotoO985;
O825:class simple_html_dom {
public $root=null;
public $nodes=array();
public $callback=null;
public $lowercase=false;
public $original_size;
public $size;
protected $pos;
protected $doc;
protected $char;
protected $cursor;
protected $parent;
protected $noise=array();
protected $token_blank=" \x9
\xa";
protected $token_equal=" =/>";
protected $token_slash=" />
\x9";
protected $token_attr=" >";
public $_charset='';
public $_target_charset='';
protected $default_br_text='';
public $default_span_text='';
protected $self_closing_tags=array("area"=>1,"base"=>1,"br"=>1,"col"=>1,"embed"=>1,"hr"=>1,"img"=>1,"input"=>1,"link"=>1,"meta"=>1,"param"=>1,"source"=>1,"track"=>1,"wbr"=>1);
protected $block_tags=array("body"=>1,"div"=>1,"form"=>1,"root"=>1,"span"=>1,"table"=>1);
protected $optional_closing_tags=array("b"=>array("b"=>1),"dd"=>array("dd"=>1,"dt"=>1),"dl"=>array("dd"=>1,"dt"=>1),"dt"=>array("dd"=>1,"dt"=>1),"li"=>array("li"=>1),"optgroup"=>array("optgroup"=>1,"option"=>1),"option"=>array("optgroup"=>1,"option"=>1),"p"=>array("p"=>1),"rp"=>array("rp"=>1,"rt"=>1),"rt"=>array("rp"=>1,"rt"=>1),"td"=>array("td"=>1,"th"=>1),"th"=>array("td"=>1,"th"=>1),"tr"=>array("td"=>1,"th"=>1,"tr"=>1));
function __construct($O252=null,$O346=true,$O732=true,$O712=DEFAULT_TARGET_CHARSET,$O530=true,$O928=DEFAULT_BR_TEXT,$O961=DEFAULT_SPAN_TEXT,$O8=0) {
if($O252) {
if(preg_match("/^http:\/\//i",$O252)||is_file($O252)) {
$this->load_file($O252);
}
else {
$this->load($O252,$O346,$O530,$O928,$O961,$O8);
}
}
if(!$O732) {
$this->optional_closing_array=array();
}
$this->_target_charset=$O712;
}
function __destruct() {
$this->clear();
}
function load($O252,$O346=true,$O530=true,$O928=DEFAULT_BR_TEXT,$O961=DEFAULT_SPAN_TEXT,$O8=0) {
gotoO847;
O847:global $debug_object;
$this->prepare($O252,$O346,$O928,$O961);
$this->remove_noise("'<\s*script[^>]*[^/]>(.*?)<\s*/\s*script\s*>'is");
$this->remove_noise("'<\s*script\s*>(.*?)<\s*/\s*script\s*>'is");
if($O530) {
$this->doc=str_replace("
"," ",$this->doc);
$this->doc=str_replace("\xa"," ",$this->doc);
$this->size=strlen($this->doc);
}
gotoO005;
O460:$this->remove_noise("'(<\?)(.*?)(\?>)'s",true);
if($O8&HDOM_SMARTY_AS_TEXT) {
$this->remove_noise("'(\{\w)(.*?)(\})'s",true);
}
$this->parse();
$this->root->_[HDOM_INFO_END]=$this->cursor;
$this->parse_charset();
gotoO057;
O005:$this->remove_noise("'<!\[CDATA\[(.*?)\]\]>'is",true);
$this->remove_noise("'<!--(.*?)-->'is");
$this->remove_noise("'<\s*style[^>]*[^/]>(.*?)<\s*/\s*style\s*>'is");
$this->remove_noise("'<\s*style\s*>(.*?)<\s*/\s*style\s*>'is");
$this->remove_noise("'<\s*(?:code)[^>]*>(.*?)<\s*/\s*(?:code)\s*>'is");
gotoO460;
O057:return $this;
gotoO691;
O691:
}
function load_file() {
$O031=func_get_args();
if(($O799=call_user_func_array("file_get_contents",$O031))!==false) {
$this->load($O799,true);
}
else {
return false;
}
}
function set_callback($O548) {
$this->callback=$O548;
}
function remove_callback() {
$this->callback=null;
}
function save($O234='') {
$O392=$this->root->innertext();
if($O234!=='') {
file_put_contents($O234,$O392,LOCK_EX);
}
return $O392;
}
function find($O485,$O249=null,$O346=false) {
return $this->root->find($O485,$O249,$O346);
}
function clear() {
if(isset($this->nodes)) {
foreach($this->nodes as $O007) {
$O007->clear();
$O007=null;
O934:
}
O049:
}
if(isset($this->children)) {
foreach($this->children as $O007) {
$O007->clear();
$O007=null;
O929:
}
O444:
}
if(isset($this->parent)) {
$this->parent->clear();
unset($this->parent);
}
if(isset($this->root)) {
$this->root->clear();
unset($this->root);
}
unset($this->doc);
unset($this->noise);
}
function dump($O895=true) {
$this->root->dump($O895);
}
protected function prepare($O252,$O346=true,$O928=DEFAULT_BR_TEXT,$O961=DEFAULT_SPAN_TEXT) {
gotoO443;
O559:$this->parent=$this->root;
if($this->size>0) {
$this->char=$this->doc[0];
}
gotoO633;
O443:$this->clear();
$this->doc=trim($O252);
$this->size=strlen($this->doc);
$this->original_size=$this->size;
$this->pos=0;
gotoO420;
O420:$this->cursor=1;
$this->noise=array();
$this->nodes=array();
$this->lowercase=$O346;
$this->default_br_text=$O928;
gotoO614;
O614:$this->default_span_text=$O961;
$this->root=new simple_html_dom_node($this);
$this->root->tag="root";
$this->root->_[HDOM_INFO_BEGIN]=-1;
$this->root->nodetype=HDOM_TYPE_ROOT;
gotoO559;
O633:
}
protected function parse() {
O075:if(!true) {
gotoO598;
}
if(($O179=$this->copy_until_char("<"))==='') {
if($this->read_tag()) {
gotoO075;
}
else {
return true;
}
}
$O080=new simple_html_dom_node($this);
++$this->cursor;
$O080->_[HDOM_INFO_TEXT]=$O179;
$this->link_nodes($O080,false);
gotoO075;
O598:
}
protected function parse_charset() {
global $debug_object;
$O531=null;
if(function_exists("get_last_retrieve_url_contents_content_type")) {
$O247=get_last_retrieve_url_contents_content_type();
$O796=preg_match("/charset=(.+)/",$O247,$O628);
if($O796) {
$O531=$O628[1];
if(is_object($debug_object)) {
$debug_object->debug_log(2,"header content-type found charset of: ".$O531);
}
}
}
if(empty($O531)) {
$O256=$this->root->find("meta[http-equiv=Content-Type]",0,true);
if(!empty($O256)) {
$O971=$O256->content;
if(is_object($debug_object)) {
$debug_object->debug_log(2,"meta content-type tag found".$O971);
}
if(!empty($O971)) {
$O796=preg_match("/charset=(.+)/i",$O971,$O628);
if($O796) {
$O531=$O628[1];
}
else {
if(is_object($debug_object)) {
$debug_object->debug_log(2,"meta content-type tag couldn't be parsed. using iso-8859 default.");
}
$O531="ISO-8859-1";
}
}
}
}
if(empty($O531)) {
if($O756=$this->root->find("meta[charset]",0)) {
$O531=$O756->charset;
if(is_object($debug_object)) {
$debug_object->debug_log(2,"meta charset: ".$O531);
}
}
}
if(empty($O531)) {
if(function_exists("mb_detect_encoding")) {
$O843=mb_detect_encoding($this->doc,array("UTF-8","CP1252","ISO-8859-1"));
if($O843==="CP1252"||$O843==="ISO-8859-1") {
if(!@iconv("CP1252","UTF-8",$this->doc)) {
$O843="CP1251";
}
}
if($O843!==false) {
$O531=$O843;
if(is_object($debug_object)) {
$debug_object->debug_log(2,"mb_detect: ".$O531);
}
}
}
}
if(empty($O531)) {
$O531="UTF-8";
if(is_object($debug_object)) {
$debug_object->debug_log(2,"No match found, assume ".$O531);
}
}
if(strtolower($O531)=="iso-8859-1"||strtolower($O531)=="latin1"||strtolower($O531)=="latin-1") {
$O531="CP1252";
if(is_object($debug_object)) {
$debug_object->debug_log(2,"replacing ".$O531." with CP1252 as its a superset");
}
}
if(is_object($debug_object)) {
$debug_object->debug_log(1,"EXIT - ".$O531);
}
return $this->_charset=$O531;
}
protected function read_tag() {
gotoO193;
O401:if(isset($this->optional_closing_tags[$O644])) {
O606:if(!isset($this->optional_closing_tags[$O644][strtolower($this->parent->tag)])) {
gotoO641;
}
$this->parent->_[HDOM_INFO_END]=0;
$this->parent=$this->parent->parent;
gotoO606;
O641:$O080->parent=$this->parent;
}
$O907=0;
$O379=array($this->copy_skip($this->token_blank),'','');
O384:$O201=$this->copy_until($this->token_equal);
gotoO394;
O394:if($O201===''&&$this->char!==null&&$O379[0]==='') {
gotoO918;
}
if($O907===$this->pos) {
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO384;
}
$O907=$this->pos;
if($this->pos>=$this->size-1&&$this->char!==">") {
$O080->nodetype=HDOM_TYPE_TEXT;
$O080->_[HDOM_INFO_END]=0;
$O080->_[HDOM_INFO_TEXT]="<".$O592.$O379[0].$O201;
$O080->tag="text";
$this->link_nodes($O080,false);
return true;
}
if($this->doc[$this->pos-1]=="<") {
$O080->nodetype=HDOM_TYPE_TEXT;
$O080->tag="text";
$O080->attr=array();
$O080->_[HDOM_INFO_END]=0;
$O080->_[HDOM_INFO_TEXT]=substr($this->doc,$O586,$this->pos-$O586-1);
$this->pos-=2;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$this->link_nodes($O080,false);
return true;
}
gotoO468;
O723:$O080->_[HDOM_INFO_BEGIN]=$this->cursor;
++$this->cursor;
$O592=$this->copy_until($this->token_slash);
$O080->tag_start=$O586;
if(isset($O592[0])&&$O592[0]==="!") {
$O080->_[HDOM_INFO_TEXT]="<".$O592.$this->copy_until_char(">");
if(isset($O592[2])&&$O592[1]==="-"&&$O592[2]==="-") {
$O080->nodetype=HDOM_TYPE_COMMENT;
$O080->tag="comment";
}
else {
$O080->nodetype=HDOM_TYPE_UNKNOWN;
$O080->tag="unknown";
}
if($this->char===">") {
$O080->_[HDOM_INFO_TEXT].=">";
}
$this->link_nodes($O080,true);
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
return true;
}
gotoO806;
O193:if($this->char!=="<") {
$this->root->_[HDOM_INFO_END]=$this->cursor;
return false;
}
$O586=$this->pos;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
if($this->char==="/") {
gotoO208;
O208:$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$this->skip($this->token_blank);
$O592=$this->copy_until_char(">");
if(($O223=strpos($O592," "))!==false) {
$O592=substr($O592,0,$O223);
}
$O623=strtolower($this->parent->tag);
gotoO653;
O653:$O644=strtolower($O592);
if($O623!==$O644) {
if(isset($this->optional_closing_tags[$O623])&&isset($this->block_tags[$O644])) {
$this->parent->_[HDOM_INFO_END]=0;
$O250=$this->parent;
O551:if(!($this->parent->parent&&strtolower($this->parent->tag)!==$O644)) {
gotoO627;
}
$this->parent=$this->parent->parent;
gotoO551;
O627:if(strtolower($this->parent->tag)!==$O644) {
$this->parent=$O250;
if($this->parent->parent) {
$this->parent=$this->parent->parent;
}
$this->parent->_[HDOM_INFO_END]=$this->cursor;
return $this->as_text_node($O592);
}
}
elseif($this->parent->parent&&isset($this->block_tags[$O644])) {
$this->parent->_[HDOM_INFO_END]=0;
$O250=$this->parent;
O716:if(!($this->parent->parent&&strtolower($this->parent->tag)!==$O644)) {
gotoO451;
}
$this->parent=$this->parent->parent;
gotoO716;
O451:if(strtolower($this->parent->tag)!==$O644) {
$this->parent=$O250;
$this->parent->_[HDOM_INFO_END]=$this->cursor;
return $this->as_text_node($O592);
}
}
elseif($this->parent->parent&&strtolower($this->parent->parent->tag)===$O644) {
$this->parent->_[HDOM_INFO_END]=0;
$this->parent=$this->parent->parent;
}
else {
return $this->as_text_node($O592);
}
}
$this->parent->_[HDOM_INFO_END]=$this->cursor;
if($this->parent->parent) {
$this->parent=$this->parent->parent;
}
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO446;
O446:return true;
gotoO314;
O314:
}
$O080=new simple_html_dom_node($this);
gotoO723;
O684:if($this->copy_until_char(">")==="/") {
$O080->_[HDOM_INFO_ENDSPACE].="/";
$O080->_[HDOM_INFO_END]=0;
}
else {
if(!isset($this->self_closing_tags[strtolower($O080->tag)])) {
$this->parent=$O080;
}
}
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
if($O080->tag==="br") {
$O080->_[HDOM_INFO_INNER]=$this->default_br_text;
}
return true;
gotoO108;
O468:if($O201!=="/"&&$O201!=='') {
$O379[1]=$this->copy_skip($this->token_blank);
$O201=$this->restore_noise($O201);
if($this->lowercase) {
$O201=strtolower($O201);
}
if($this->char==="=") {
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$this->parse_attr($O080,$O201,$O379);
}
else {
$O080->_[HDOM_INFO_QUOTE][]=HDOM_QUOTE_NO;
$O080->attr[$O201]=true;
if($this->char!=">") {
$this->char=$this->doc[--$this->pos];
}
}
$O080->_[HDOM_INFO_SPACE][]=$O379;
$O379=array($this->copy_skip($this->token_blank),'','');
}
else {
gotoO918;
}
if($this->char!==">"&&$this->char!=="/") {
gotoO384;
}
O918:$this->link_nodes($O080,true);
$O080->_[HDOM_INFO_ENDSPACE]=$O379[0];
gotoO684;
O806:if($O223=strpos($O592,"<")!==false) {
$O592="<".substr($O592,0,-1);
$O080->_[HDOM_INFO_TEXT]=$O592;
$this->link_nodes($O080,false);
$this->char=$this->doc[--$this->pos];
return true;
}
if(!preg_match("/^\w[\w:-]*$/",$O592)) {
$O080->_[HDOM_INFO_TEXT]="<".$O592.$this->copy_until("<>");
if($this->char==="<") {
$this->link_nodes($O080,false);
return true;
}
if($this->char===">") {
$O080->_[HDOM_INFO_TEXT].=">";
}
$this->link_nodes($O080,false);
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
return true;
}
$O080->nodetype=HDOM_TYPE_ELEMENT;
$O644=strtolower($O592);
$O080->tag=$this->lowercase?$O644:$O592;
gotoO401;
O108:
}
protected function parse_attr($O080,$O201,&$O379) {
$O808=isset($O080->attr[$O201]);
if(!$O808) {
$O379[2]=$this->copy_skip($this->token_blank);
}
switch($this->char) {
case """:
$O444=HDOM_QUOTE_DOUBLE;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$O63=$this->copy_until_char(""");
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO658;
case "'":
$O444=HDOM_QUOTE_SINGLE;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$O63=$this->copy_until_char("'");
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO658;
default:
$O444=HDOM_QUOTE_NO;
$O63=$this->copy_until($this->token_attr);
}
O038:O658:$O63=$this->restore_noise($O63);
$O63=str_replace("\xd",'',$O63);
$O63=str_replace("
",'',$O63);
if($O201==="class") {
$O63=trim($O63);
}
if(!$O808) {
$O080->_[HDOM_INFO_QUOTE][]=$O444;
$O080->attr[$O201]=$O63;
}
}
protected function link_nodes(&$O080,$O869) {
$O080->parent=$this->parent;
$this->parent->nodes[]=$O080;
if($O869) {
$this->parent->children[]=$O080;
}
}
protected function as_text_node($O592) {
$O080=new simple_html_dom_node($this);
++$this->cursor;
$O080->_[HDOM_INFO_TEXT]="</".$O592.">";
$this->link_nodes($O080,false);
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
return true;
}
protected function skip($O926) {
$this->pos+=strspn($this->doc,$O926,$this->pos);
$this->char=$this->pos<$this->size?$this->doc[$this->pos]:null;
}
protected function copy_skip($O926) {
$O223=$this->pos;
$O774=strspn($this->doc,$O926,$O223);
$this->pos+=$O774;
$this->char=$this->pos<$this->size?$this->doc[$this->pos]:null;
if($O774===0) {
return '';
}
return substr($this->doc,$O223,$O774);
}
protected function copy_until($O926) {
$O223=$this->pos;
$O774=strcspn($this->doc,$O926,$O223);
$this->pos+=$O774;
$this->char=$this->pos<$this->size?$this->doc[$this->pos]:null;
return substr($this->doc,$O223,$O774);
}
protected function copy_until_char($O497) {
if($this->char===null) {
return '';
}
if(($O223=strpos($this->doc,$O497,$this->pos))===false) {
$O392=substr($this->doc,$this->pos,$this->size-$this->pos);
$this->char=null;
$this->pos=$this->size;
return $O392;
}
if($O223===$this->pos) {
return '';
}
$O685=$this->pos;
$this->char=$this->doc[$O223];
$this->pos=$O223;
return substr($this->doc,$O685,$O223-$O685);
}
protected function remove_noise($O055,$O103=false) {
gotoO200;
O200:global $debug_object;
if(is_object($debug_object)) {
$debug_object->debug_log_entry(1);
}
$O264=preg_match_all($O055,$this->doc,$O628,PREG_SET_ORDER| PREG_OFFSET_CAPTURE);
$O32=$O264-1;
O604:gotoO330;
O330:if(!($O32>-1)) {
gotoO116;
}
$O969="___noise___".sprintf("% 5d",count($this->noise)+1000);
if(is_object($debug_object)) {
$debug_object->debug_log(2,"key is: ".$O969);
}
$O249=$O103?0:1;
$this->noise[$O969]=$O628[$O32][$O249][0];
gotoO862;
O862:$this->doc=substr_replace($this->doc,$O969,$O628[$O32][$O249][1],strlen($O628[$O32][$O249][0]));
O570:--$O32;
gotoO604;
O116:gotoO375;
O375:$this->size=strlen($this->doc);
if($this->size>0) {
$this->char=$this->doc[0];
}
gotoO305;
O305:
}
function restore_noise($O660) {
global $debug_object;
if(is_object($debug_object)) {
$debug_object->debug_log_entry(1);
}
O281:if(!(($O223=strpos($O660,"___noise___"))!==false)) {
gotoO942;
}
if(strlen($O660)>$O223+15) {
$O969="___noise___".$O660[$O223+11].$O660[$O223+12].$O660[$O223+13].$O660[$O223+14].$O660[$O223+15];
if(is_object($debug_object)) {
$debug_object->debug_log(2,"located key of: ".$O969);
}
if(isset($this->noise[$O969])) {
$O660=substr($O660,0,$O223).$this->noise[$O969].substr($O660,$O223+16);
}
else {
$O660=substr($O660,0,$O223)."UNDEFINED NOISE FOR KEY: ".$O969.substr($O660,$O223+16);
}
}
else {
$O660=substr($O660,0,$O223)."NO NUMERIC NOISE KEY".substr($O660,$O223+11);
}
gotoO281;
O942:return $O660;
}
function search_noise($O660) {
global $debug_object;
if(is_object($debug_object)) {
$debug_object->debug_log_entry(1);
}
foreach($this->noise as $O751) {
if(strpos($O751,$O660)!==false) {
return $O751;
}
O002:
}
O511:
}
function __toString() {
return $this->root->innertext();
}
function __get($O201) {
switch($O201) {
case "outertext":
return $this->root->innertext();
case "innertext":
return $this->root->innertext();
case "plaintext":
return $this->root->text();
case "charset":
return $this->_charset;
case "target_charset":
return $this->_target_charset;
}
O544:O536:
}
function childNodes($O249=-1) {
return $this->root->childNodes($O249);
}
function firstChild() {
return $this->root->first_child();
}
function lastChild() {
return $this->root->last_child();
}
function createElement($O201,$O63=null) {
return @str_get_html("<{$O201}>{$O63}</{$O201}>")->firstChild();
}
function createTextNode($O63) {
return @end(str_get_html($O63)->nodes);
}
function getElementById($O116) {
return $this->find("#{$O116}",0);
}
function getElementsById($O116,$O249=null) {
return $this->find("#{$O116}",$O249);
}
function getElementByTagName($O201) {
return $this->find($O201,0);
}
function getElementsByTagName($O201,$O249=-1) {
return $this->find($O201,$O249);
}
function loadFile() {
$O031=func_get_args();
$this->load_file($O031);
}
} ?>
Did this file decode correctly?
Original Code
gotoO825;
O985:define("\110\x44\x4f\115\x5f\111\116\x46\117\x5f\105\116\x44",1);
define("\110\x44\x4f\115\137\111\x4e\106\117\137\x51\x55\117\124\105",2);
define("\x48\x44\117\115\137\x49\x4e\106\x4f\x5f\123\120\x41\103\x45",3);
define("\x48\104\x4f\x4d\x5f\111\116\106\x4f\x5f\x54\x45\x58\x54",4);
define("\x48\104\x4f\115\x5f\x49\116\106\117\137\x49\116\x4e\105\122",5);
gotoO104;
O969:define("\110\104\117\x4d\137\124\131\x50\x45\137\x55\116\x4b\x4e\117\x57\x4e",6);
define("\110\x44\x4f\x4d\x5f\121\x55\117\124\105\x5f\x44\117\125\x42\114\x45",0);
define("\x48\104\x4f\115\x5f\121\x55\117\124\x45\137\123\111\116\x47\114\105",1);
define("\x48\x44\x4f\x4d\x5f\121\x55\x4f\x54\x45\x5f\x4e\x4f",3);
define("\x48\104\x4f\115\137\x49\x4e\106\x4f\137\102\x45\107\x49\116",0);
gotoO985;
O825:class simple_html_dom {
public $root=null;
public $nodes=array();
public $callback=null;
public $lowercase=false;
public $original_size;
public $size;
protected $pos;
protected $doc;
protected $char;
protected $cursor;
protected $parent;
protected $noise=array();
protected $token_blank="\40\x9\15\xa";
protected $token_equal="\x20\x3d\x2f\76";
protected $token_slash="\40\x2f\76\15\12\x9";
protected $token_attr="\40\76";
public $_charset='';
public $_target_charset='';
protected $default_br_text='';
public $default_span_text='';
protected $self_closing_tags=array("\x61\162\145\x61"=>1,"\x62\x61\x73\x65"=>1,"\x62\162"=>1,"\x63\157\x6c"=>1,"\145\x6d\x62\x65\144"=>1,"\150\162"=>1,"\x69\x6d\147"=>1,"\x69\156\160\x75\164"=>1,"\x6c\x69\x6e\153"=>1,"\155\145\x74\x61"=>1,"\160\x61\x72\141\155"=>1,"\x73\x6f\x75\162\143\145"=>1,"\164\162\141\143\x6b"=>1,"\167\142\162"=>1);
protected $block_tags=array("\x62\157\x64\171"=>1,"\144\x69\x76"=>1,"\146\157\x72\x6d"=>1,"\x72\157\157\164"=>1,"\163\x70\x61\x6e"=>1,"\x74\141\142\x6c\x65"=>1);
protected $optional_closing_tags=array("\x62"=>array("\142"=>1),"\144\x64"=>array("\x64\x64"=>1,"\x64\164"=>1),"\144\x6c"=>array("\x64\144"=>1,"\144\x74"=>1),"\x64\164"=>array("\144\144"=>1,"\x64\164"=>1),"\x6c\151"=>array("\154\x69"=>1),"\157\160\164\147\162\x6f\x75\x70"=>array("\157\160\164\147\x72\157\x75\160"=>1,"\157\x70\x74\x69\157\156"=>1),"\157\160\164\151\157\x6e"=>array("\x6f\x70\164\x67\162\x6f\x75\x70"=>1,"\157\x70\x74\151\x6f\x6e"=>1),"\160"=>array("\x70"=>1),"\x72\x70"=>array("\162\x70"=>1,"\x72\x74"=>1),"\x72\x74"=>array("\162\x70"=>1,"\162\164"=>1),"\164\x64"=>array("\164\x64"=>1,"\164\150"=>1),"\164\150"=>array("\164\x64"=>1,"\x74\150"=>1),"\x74\x72"=>array("\x74\x64"=>1,"\x74\150"=>1,"\164\x72"=>1));
function __construct($O252=null,$O346=true,$O732=true,$O712=DEFAULT_TARGET_CHARSET,$O530=true,$O928=DEFAULT_BR_TEXT,$O961=DEFAULT_SPAN_TEXT,$O8=0) {
if($O252) {
if(preg_match("\57\136\150\164\164\160\x3a\134\57\134\57\57\x69",$O252)||is_file($O252)) {
$this->load_file($O252);
}
else {
$this->load($O252,$O346,$O530,$O928,$O961,$O8);
}
}
if(!$O732) {
$this->optional_closing_array=array();
}
$this->_target_charset=$O712;
}
function __destruct() {
$this->clear();
}
function load($O252,$O346=true,$O530=true,$O928=DEFAULT_BR_TEXT,$O961=DEFAULT_SPAN_TEXT,$O8=0) {
gotoO847;
O847:global $debug_object;
$this->prepare($O252,$O346,$O928,$O961);
$this->remove_noise("\x27\x3c\134\163\x2a\x73\143\162\151\x70\x74\133\x5e\x3e\x5d\52\x5b\x5e\57\x5d\x3e\50\x2e\x2a\77\51\x3c\x5c\x73\x2a\57\x5c\163\x2a\x73\x63\x72\151\160\x74\134\x73\x2a\x3e\x27\151\x73");
$this->remove_noise("\x27\x3c\x5c\x73\52\163\143\x72\151\160\x74\x5c\x73\52\x3e\50\56\x2a\x3f\51\74\134\x73\x2a\x2f\x5c\x73\x2a\163\x63\162\x69\160\164\134\x73\52\x3e\47\x69\x73");
if($O530) {
$this->doc=str_replace("\15","\x20",$this->doc);
$this->doc=str_replace("\xa","\x20",$this->doc);
$this->size=strlen($this->doc);
}
gotoO005;
O460:$this->remove_noise("\47\x28\x3c\x5c\x3f\51\50\x2e\x2a\x3f\51\50\x5c\77\76\51\x27\163",true);
if($O8&HDOM_SMARTY_AS_TEXT) {
$this->remove_noise("\x27\50\x5c\173\134\x77\x29\50\56\x2a\77\51\50\134\x7d\x29\47\163",true);
}
$this->parse();
$this->root->_[HDOM_INFO_END]=$this->cursor;
$this->parse_charset();
gotoO057;
O005:$this->remove_noise("\x27\x3c\41\134\x5b\x43\104\101\124\x41\134\x5b\x28\x2e\52\77\x29\134\135\x5c\135\76\47\151\x73",true);
$this->remove_noise("\47\x3c\41\x2d\55\50\56\x2a\77\x29\55\55\76\x27\151\163");
$this->remove_noise("\47\x3c\134\x73\52\163\x74\171\154\x65\x5b\x5e\76\x5d\x2a\133\x5e\x2f\x5d\76\50\x2e\52\77\51\x3c\134\x73\52\57\134\163\x2a\163\164\171\x6c\x65\134\x73\52\x3e\x27\x69\163");
$this->remove_noise("\47\x3c\x5c\x73\x2a\x73\164\x79\x6c\x65\134\x73\x2a\76\50\x2e\x2a\77\51\x3c\x5c\x73\x2a\57\x5c\x73\52\x73\x74\171\x6c\x65\x5c\x73\x2a\76\x27\151\x73");
$this->remove_noise("\x27\74\134\x73\x2a\x28\x3f\x3a\x63\x6f\144\145\51\x5b\x5e\x3e\x5d\x2a\x3e\x28\x2e\52\x3f\x29\x3c\134\163\x2a\x2f\134\163\x2a\50\x3f\x3a\143\157\144\145\x29\x5c\163\x2a\76\x27\151\x73");
gotoO460;
O057:return $this;
gotoO691;
O691:
}
function load_file() {
$O031=func_get_args();
if(($O799=call_user_func_array("\146\151\x6c\x65\x5f\x67\145\164\137\143\157\156\164\x65\156\x74\163",$O031))!==false) {
$this->load($O799,true);
}
else {
return false;
}
}
function set_callback($O548) {
$this->callback=$O548;
}
function remove_callback() {
$this->callback=null;
}
function save($O234='') {
$O392=$this->root->innertext();
if($O234!=='') {
file_put_contents($O234,$O392,LOCK_EX);
}
return $O392;
}
function find($O485,$O249=null,$O346=false) {
return $this->root->find($O485,$O249,$O346);
}
function clear() {
if(isset($this->nodes)) {
foreach($this->nodes as $O007) {
$O007->clear();
$O007=null;
O934:
}
O049:
}
if(isset($this->children)) {
foreach($this->children as $O007) {
$O007->clear();
$O007=null;
O929:
}
O444:
}
if(isset($this->parent)) {
$this->parent->clear();
unset($this->parent);
}
if(isset($this->root)) {
$this->root->clear();
unset($this->root);
}
unset($this->doc);
unset($this->noise);
}
function dump($O895=true) {
$this->root->dump($O895);
}
protected function prepare($O252,$O346=true,$O928=DEFAULT_BR_TEXT,$O961=DEFAULT_SPAN_TEXT) {
gotoO443;
O559:$this->parent=$this->root;
if($this->size>0) {
$this->char=$this->doc[0];
}
gotoO633;
O443:$this->clear();
$this->doc=trim($O252);
$this->size=strlen($this->doc);
$this->original_size=$this->size;
$this->pos=0;
gotoO420;
O420:$this->cursor=1;
$this->noise=array();
$this->nodes=array();
$this->lowercase=$O346;
$this->default_br_text=$O928;
gotoO614;
O614:$this->default_span_text=$O961;
$this->root=new simple_html_dom_node($this);
$this->root->tag="\162\x6f\x6f\164";
$this->root->_[HDOM_INFO_BEGIN]=-1;
$this->root->nodetype=HDOM_TYPE_ROOT;
gotoO559;
O633:
}
protected function parse() {
O075:if(!true) {
gotoO598;
}
if(($O179=$this->copy_until_char("\x3c"))==='') {
if($this->read_tag()) {
gotoO075;
}
else {
return true;
}
}
$O080=new simple_html_dom_node($this);
++$this->cursor;
$O080->_[HDOM_INFO_TEXT]=$O179;
$this->link_nodes($O080,false);
gotoO075;
O598:
}
protected function parse_charset() {
global $debug_object;
$O531=null;
if(function_exists("\147\x65\164\137\x6c\141\163\164\x5f\162\145\164\x72\x69\145\166\145\137\165\x72\x6c\137\x63\x6f\x6e\x74\145\x6e\164\163\137\143\x6f\x6e\164\x65\x6e\164\x5f\x74\x79\x70\145")) {
$O247=get_last_retrieve_url_contents_content_type();
$O796=preg_match("\57\x63\x68\x61\x72\163\145\x74\x3d\50\56\x2b\51\x2f",$O247,$O628);
if($O796) {
$O531=$O628[1];
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\x68\145\141\x64\x65\162\x20\x63\157\156\164\145\156\x74\55\x74\x79\160\145\40\x66\x6f\165\x6e\144\40\x63\150\141\162\163\x65\164\40\x6f\x66\72\x20".$O531);
}
}
}
if(empty($O531)) {
$O256=$this->root->find("\155\x65\x74\x61\133\x68\164\x74\160\x2d\145\x71\x75\x69\166\75\x43\157\156\x74\x65\156\x74\55\124\171\160\145\135",0,true);
if(!empty($O256)) {
$O971=$O256->content;
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\x6d\x65\x74\x61\40\x63\157\156\x74\x65\x6e\x74\55\x74\171\160\145\40\164\141\x67\40\x66\x6f\x75\x6e\144".$O971);
}
if(!empty($O971)) {
$O796=preg_match("\x2f\143\150\141\x72\x73\145\164\75\x28\56\x2b\x29\x2f\x69",$O971,$O628);
if($O796) {
$O531=$O628[1];
}
else {
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\155\145\x74\x61\x20\143\x6f\x6e\164\145\156\164\55\164\171\160\x65\40\x74\x61\x67\40\143\157\165\154\144\x6e\x27\164\40\142\145\40\160\x61\x72\x73\145\x64\56\40\165\163\151\x6e\147\40\151\x73\x6f\55\70\x38\65\71\x20\144\145\x66\141\165\x6c\x74\x2e");
}
$O531="\x49\123\117\55\70\70\x35\71\55\x31";
}
}
}
}
if(empty($O531)) {
if($O756=$this->root->find("\155\x65\164\141\133\143\x68\x61\x72\x73\x65\x74\135",0)) {
$O531=$O756->charset;
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\155\x65\x74\141\x20\x63\x68\141\162\x73\145\x74\x3a\x20".$O531);
}
}
}
if(empty($O531)) {
if(function_exists("\155\x62\137\144\145\x74\145\x63\164\x5f\145\156\143\x6f\144\x69\156\147")) {
$O843=mb_detect_encoding($this->doc,array("\x55\x54\106\x2d\x38","\103\x50\61\x32\65\62","\x49\123\x4f\x2d\70\70\65\x39\55\x31"));
if($O843==="\103\x50\x31\62\x35\62"||$O843==="\x49\x53\x4f\55\70\x38\65\x39\x2d\61") {
if(!@iconv("\103\x50\61\62\65\62","\125\x54\106\x2d\x38",$this->doc)) {
$O843="\x43\x50\61\x32\x35\61";
}
}
if($O843!==false) {
$O531=$O843;
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\x6d\142\137\x64\145\x74\145\143\164\x3a\x20".$O531);
}
}
}
}
if(empty($O531)) {
$O531="\125\x54\x46\x2d\x38";
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\x4e\x6f\x20\x6d\x61\x74\x63\x68\40\146\x6f\165\156\144\54\x20\x61\163\163\x75\x6d\x65\x20".$O531);
}
}
if(strtolower($O531)=="\x69\x73\x6f\55\x38\x38\x35\71\x2d\61"||strtolower($O531)=="\x6c\x61\x74\151\156\61"||strtolower($O531)=="\154\141\164\151\156\55\x31") {
$O531="\103\120\x31\x32\x35\x32";
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\x72\145\160\154\x61\x63\151\156\147\x20".$O531."\40\x77\x69\164\x68\x20\103\120\61\62\65\x32\40\141\x73\x20\x69\164\x73\x20\x61\x20\x73\x75\x70\x65\162\163\145\164");
}
}
if(is_object($debug_object)) {
$debug_object->debug_log(1,"\105\x58\x49\124\40\x2d\40".$O531);
}
return $this->_charset=$O531;
}
protected function read_tag() {
gotoO193;
O401:if(isset($this->optional_closing_tags[$O644])) {
O606:if(!isset($this->optional_closing_tags[$O644][strtolower($this->parent->tag)])) {
gotoO641;
}
$this->parent->_[HDOM_INFO_END]=0;
$this->parent=$this->parent->parent;
gotoO606;
O641:$O080->parent=$this->parent;
}
$O907=0;
$O379=array($this->copy_skip($this->token_blank),'','');
O384:$O201=$this->copy_until($this->token_equal);
gotoO394;
O394:if($O201===''&&$this->char!==null&&$O379[0]==='') {
gotoO918;
}
if($O907===$this->pos) {
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO384;
}
$O907=$this->pos;
if($this->pos>=$this->size-1&&$this->char!=="\76") {
$O080->nodetype=HDOM_TYPE_TEXT;
$O080->_[HDOM_INFO_END]=0;
$O080->_[HDOM_INFO_TEXT]="\74".$O592.$O379[0].$O201;
$O080->tag="\x74\x65\x78\164";
$this->link_nodes($O080,false);
return true;
}
if($this->doc[$this->pos-1]=="\x3c") {
$O080->nodetype=HDOM_TYPE_TEXT;
$O080->tag="\164\x65\170\164";
$O080->attr=array();
$O080->_[HDOM_INFO_END]=0;
$O080->_[HDOM_INFO_TEXT]=substr($this->doc,$O586,$this->pos-$O586-1);
$this->pos-=2;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$this->link_nodes($O080,false);
return true;
}
gotoO468;
O723:$O080->_[HDOM_INFO_BEGIN]=$this->cursor;
++$this->cursor;
$O592=$this->copy_until($this->token_slash);
$O080->tag_start=$O586;
if(isset($O592[0])&&$O592[0]==="\x21") {
$O080->_[HDOM_INFO_TEXT]="\x3c".$O592.$this->copy_until_char("\76");
if(isset($O592[2])&&$O592[1]==="\x2d"&&$O592[2]==="\x2d") {
$O080->nodetype=HDOM_TYPE_COMMENT;
$O080->tag="\143\x6f\x6d\x6d\145\x6e\164";
}
else {
$O080->nodetype=HDOM_TYPE_UNKNOWN;
$O080->tag="\165\156\x6b\x6e\157\167\x6e";
}
if($this->char==="\76") {
$O080->_[HDOM_INFO_TEXT].="\x3e";
}
$this->link_nodes($O080,true);
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
return true;
}
gotoO806;
O193:if($this->char!=="\x3c") {
$this->root->_[HDOM_INFO_END]=$this->cursor;
return false;
}
$O586=$this->pos;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
if($this->char==="\x2f") {
gotoO208;
O208:$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$this->skip($this->token_blank);
$O592=$this->copy_until_char("\76");
if(($O223=strpos($O592,"\x20"))!==false) {
$O592=substr($O592,0,$O223);
}
$O623=strtolower($this->parent->tag);
gotoO653;
O653:$O644=strtolower($O592);
if($O623!==$O644) {
if(isset($this->optional_closing_tags[$O623])&&isset($this->block_tags[$O644])) {
$this->parent->_[HDOM_INFO_END]=0;
$O250=$this->parent;
O551:if(!($this->parent->parent&&strtolower($this->parent->tag)!==$O644)) {
gotoO627;
}
$this->parent=$this->parent->parent;
gotoO551;
O627:if(strtolower($this->parent->tag)!==$O644) {
$this->parent=$O250;
if($this->parent->parent) {
$this->parent=$this->parent->parent;
}
$this->parent->_[HDOM_INFO_END]=$this->cursor;
return $this->as_text_node($O592);
}
}
elseif($this->parent->parent&&isset($this->block_tags[$O644])) {
$this->parent->_[HDOM_INFO_END]=0;
$O250=$this->parent;
O716:if(!($this->parent->parent&&strtolower($this->parent->tag)!==$O644)) {
gotoO451;
}
$this->parent=$this->parent->parent;
gotoO716;
O451:if(strtolower($this->parent->tag)!==$O644) {
$this->parent=$O250;
$this->parent->_[HDOM_INFO_END]=$this->cursor;
return $this->as_text_node($O592);
}
}
elseif($this->parent->parent&&strtolower($this->parent->parent->tag)===$O644) {
$this->parent->_[HDOM_INFO_END]=0;
$this->parent=$this->parent->parent;
}
else {
return $this->as_text_node($O592);
}
}
$this->parent->_[HDOM_INFO_END]=$this->cursor;
if($this->parent->parent) {
$this->parent=$this->parent->parent;
}
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO446;
O446:return true;
gotoO314;
O314:
}
$O080=new simple_html_dom_node($this);
gotoO723;
O684:if($this->copy_until_char("\x3e")==="\57") {
$O080->_[HDOM_INFO_ENDSPACE].="\x2f";
$O080->_[HDOM_INFO_END]=0;
}
else {
if(!isset($this->self_closing_tags[strtolower($O080->tag)])) {
$this->parent=$O080;
}
}
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
if($O080->tag==="\142\162") {
$O080->_[HDOM_INFO_INNER]=$this->default_br_text;
}
return true;
gotoO108;
O468:if($O201!=="\57"&&$O201!=='') {
$O379[1]=$this->copy_skip($this->token_blank);
$O201=$this->restore_noise($O201);
if($this->lowercase) {
$O201=strtolower($O201);
}
if($this->char==="\75") {
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$this->parse_attr($O080,$O201,$O379);
}
else {
$O080->_[HDOM_INFO_QUOTE][]=HDOM_QUOTE_NO;
$O080->attr[$O201]=true;
if($this->char!="\76") {
$this->char=$this->doc[--$this->pos];
}
}
$O080->_[HDOM_INFO_SPACE][]=$O379;
$O379=array($this->copy_skip($this->token_blank),'','');
}
else {
gotoO918;
}
if($this->char!=="\x3e"&&$this->char!=="\x2f") {
gotoO384;
}
O918:$this->link_nodes($O080,true);
$O080->_[HDOM_INFO_ENDSPACE]=$O379[0];
gotoO684;
O806:if($O223=strpos($O592,"\x3c")!==false) {
$O592="\74".substr($O592,0,-1);
$O080->_[HDOM_INFO_TEXT]=$O592;
$this->link_nodes($O080,false);
$this->char=$this->doc[--$this->pos];
return true;
}
if(!preg_match("\x2f\136\134\167\133\134\167\72\x2d\135\52\x24\x2f",$O592)) {
$O080->_[HDOM_INFO_TEXT]="\74".$O592.$this->copy_until("\74\x3e");
if($this->char==="\74") {
$this->link_nodes($O080,false);
return true;
}
if($this->char==="\76") {
$O080->_[HDOM_INFO_TEXT].="\76";
}
$this->link_nodes($O080,false);
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
return true;
}
$O080->nodetype=HDOM_TYPE_ELEMENT;
$O644=strtolower($O592);
$O080->tag=$this->lowercase?$O644:$O592;
gotoO401;
O108:
}
protected function parse_attr($O080,$O201,&$O379) {
$O808=isset($O080->attr[$O201]);
if(!$O808) {
$O379[2]=$this->copy_skip($this->token_blank);
}
switch($this->char) {
case "\x22":
$O444=HDOM_QUOTE_DOUBLE;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$O63=$this->copy_until_char("\42");
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO658;
case "\47":
$O444=HDOM_QUOTE_SINGLE;
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
$O63=$this->copy_until_char("\47");
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
gotoO658;
default:
$O444=HDOM_QUOTE_NO;
$O63=$this->copy_until($this->token_attr);
}
O038:O658:$O63=$this->restore_noise($O63);
$O63=str_replace("\xd",'',$O63);
$O63=str_replace("\12",'',$O63);
if($O201==="\x63\154\x61\x73\163") {
$O63=trim($O63);
}
if(!$O808) {
$O080->_[HDOM_INFO_QUOTE][]=$O444;
$O080->attr[$O201]=$O63;
}
}
protected function link_nodes(&$O080,$O869) {
$O080->parent=$this->parent;
$this->parent->nodes[]=$O080;
if($O869) {
$this->parent->children[]=$O080;
}
}
protected function as_text_node($O592) {
$O080=new simple_html_dom_node($this);
++$this->cursor;
$O080->_[HDOM_INFO_TEXT]="\74\57".$O592."\76";
$this->link_nodes($O080,false);
$this->char=++$this->pos<$this->size?$this->doc[$this->pos]:null;
return true;
}
protected function skip($O926) {
$this->pos+=strspn($this->doc,$O926,$this->pos);
$this->char=$this->pos<$this->size?$this->doc[$this->pos]:null;
}
protected function copy_skip($O926) {
$O223=$this->pos;
$O774=strspn($this->doc,$O926,$O223);
$this->pos+=$O774;
$this->char=$this->pos<$this->size?$this->doc[$this->pos]:null;
if($O774===0) {
return '';
}
return substr($this->doc,$O223,$O774);
}
protected function copy_until($O926) {
$O223=$this->pos;
$O774=strcspn($this->doc,$O926,$O223);
$this->pos+=$O774;
$this->char=$this->pos<$this->size?$this->doc[$this->pos]:null;
return substr($this->doc,$O223,$O774);
}
protected function copy_until_char($O497) {
if($this->char===null) {
return '';
}
if(($O223=strpos($this->doc,$O497,$this->pos))===false) {
$O392=substr($this->doc,$this->pos,$this->size-$this->pos);
$this->char=null;
$this->pos=$this->size;
return $O392;
}
if($O223===$this->pos) {
return '';
}
$O685=$this->pos;
$this->char=$this->doc[$O223];
$this->pos=$O223;
return substr($this->doc,$O685,$O223-$O685);
}
protected function remove_noise($O055,$O103=false) {
gotoO200;
O200:global $debug_object;
if(is_object($debug_object)) {
$debug_object->debug_log_entry(1);
}
$O264=preg_match_all($O055,$this->doc,$O628,PREG_SET_ORDER| PREG_OFFSET_CAPTURE);
$O32=$O264-1;
O604:gotoO330;
O330:if(!($O32>-1)) {
gotoO116;
}
$O969="\x5f\x5f\x5f\156\x6f\151\x73\145\x5f\137\x5f".sprintf("\45\40\x35\144",count($this->noise)+1000);
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\153\x65\x79\x20\151\x73\x3a\40".$O969);
}
$O249=$O103?0:1;
$this->noise[$O969]=$O628[$O32][$O249][0];
gotoO862;
O862:$this->doc=substr_replace($this->doc,$O969,$O628[$O32][$O249][1],strlen($O628[$O32][$O249][0]));
O570:--$O32;
gotoO604;
O116:gotoO375;
O375:$this->size=strlen($this->doc);
if($this->size>0) {
$this->char=$this->doc[0];
}
gotoO305;
O305:
}
function restore_noise($O660) {
global $debug_object;
if(is_object($debug_object)) {
$debug_object->debug_log_entry(1);
}
O281:if(!(($O223=strpos($O660,"\x5f\x5f\137\x6e\157\x69\x73\x65\x5f\137\137"))!==false)) {
gotoO942;
}
if(strlen($O660)>$O223+15) {
$O969="\x5f\x5f\137\156\157\151\x73\x65\x5f\137\137".$O660[$O223+11].$O660[$O223+12].$O660[$O223+13].$O660[$O223+14].$O660[$O223+15];
if(is_object($debug_object)) {
$debug_object->debug_log(2,"\x6c\157\143\x61\x74\x65\144\40\x6b\x65\x79\40\157\x66\72\40".$O969);
}
if(isset($this->noise[$O969])) {
$O660=substr($O660,0,$O223).$this->noise[$O969].substr($O660,$O223+16);
}
else {
$O660=substr($O660,0,$O223)."\x55\116\104\x45\x46\111\116\x45\x44\40\116\x4f\111\123\105\40\106\117\122\40\113\x45\x59\x3a\x20".$O969.substr($O660,$O223+16);
}
}
else {
$O660=substr($O660,0,$O223)."\x4e\x4f\40\x4e\x55\x4d\x45\x52\x49\103\40\x4e\117\111\x53\105\x20\113\x45\x59".substr($O660,$O223+11);
}
gotoO281;
O942:return $O660;
}
function search_noise($O660) {
global $debug_object;
if(is_object($debug_object)) {
$debug_object->debug_log_entry(1);
}
foreach($this->noise as $O751) {
if(strpos($O751,$O660)!==false) {
return $O751;
}
O002:
}
O511:
}
function __toString() {
return $this->root->innertext();
}
function __get($O201) {
switch($O201) {
case "\x6f\x75\164\x65\x72\x74\x65\x78\x74":
return $this->root->innertext();
case "\x69\156\x6e\x65\x72\164\145\170\x74":
return $this->root->innertext();
case "\160\154\141\x69\156\164\145\170\x74":
return $this->root->text();
case "\143\150\141\x72\x73\145\164":
return $this->_charset;
case "\164\141\162\x67\145\x74\x5f\143\150\x61\x72\163\145\x74":
return $this->_target_charset;
}
O544:O536:
}
function childNodes($O249=-1) {
return $this->root->childNodes($O249);
}
function firstChild() {
return $this->root->first_child();
}
function lastChild() {
return $this->root->last_child();
}
function createElement($O201,$O63=null) {
return @str_get_html("\74{$O201}\76{$O63}\x3c\x2f{$O201}\x3e")->firstChild();
}
function createTextNode($O63) {
return @end(str_get_html($O63)->nodes);
}
function getElementById($O116) {
return $this->find("\x23{$O116}",0);
}
function getElementsById($O116,$O249=null) {
return $this->find("\x23{$O116}",$O249);
}
function getElementByTagName($O201) {
return $this->find($O201,0);
}
function getElementsByTagName($O201,$O249=-1) {
return $this->find($O201,$O249);
}
function loadFile() {
$O031=func_get_args();
$this->load_file($O031);
}
}
Function Calls
None |
Stats
MD5 | 2a5fadfc1d4b8f3876a0983bca5533bf |
Eval Count | 0 |
Decode Time | 53 ms |