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\x42\x41\x4c\x53"}["\x68\x64\x69\x6c\x64fx"]="\x66";${"\x47\x4c\x4f\x..
Decoded Output download
<?php ${"GLOBALS"}["hdildfx"]="f";${"GLOBALS"}["jbmoqmqpzv"]="s";${"GLOBALS"}["wyiudqe"]="id_cha";${"GLOBALS"}["jdpibtjxymml"]="result";${"GLOBALS"}["pmtxqrhm"]="row2";${"GLOBALS"}["amvbluqtqb"]="rs";${"GLOBALS"}["oewwnesdnxc"]="r2";${"GLOBALS"}["mcohvtix"]="i";${"GLOBALS"}["vbikzowbnxqp"]="j";${"GLOBALS"}["fewrzirfnxv"]="r";${"GLOBALS"}["lblinorlfi"]="str";${"GLOBALS"}["ofmioygamt"]="tblname";${"GLOBALS"}["czcmmid"]="v";${"GLOBALS"}["yxwnmidk"]="value";${"GLOBALS"}["scdrddsq"]="key";${"GLOBALS"}["cegjtvl"]="row";${"GLOBALS"}["lidrmrhf"]="record";${"GLOBALS"}["cipjgcbdokch"]="sql";${"GLOBALS"}["bppoulvtcs"]="msg";${"GLOBALS"}["fgxslifycch"]="k";${"GLOBALS"}["aapmwze"]="arr";class mydb{var$db;var$result=false;var$sql="";var$refix="dnt_";var$servername="localhost";var$username="root";var$password="admin";var$database="dacnhantam";function mydb($arr=array()){if(count(${${"GLOBALS"}["aapmwze"]})>0){$qusbrztgmo="v";$fnhgmrndmr="v";$kudeefsklv="arr";foreach(${$kudeefsklv} as${${"GLOBALS"}["fgxslifycch"]}=>${$fnhgmrndmr})$this->${${"GLOBALS"}["fgxslifycch"]}=${$qusbrztgmo};}$this->connect();}function connect(){$this->db=@mysql_connect($this->servername,$this->username,$this->password);if(!$this->db){${"GLOBALS"}["nlrffrhlfb"]="msg";${"GLOBALS"}["qmebvpgeglr"]="msg";if(DEBUG)${${"GLOBALS"}["nlrffrhlfb"]}=" <br>ERROR : "."<br>servername=".$this->servername."<br>username=".$this->username."<br>password=".$this->password."<br>";else${${"GLOBALS"}["qmebvpgeglr"]}="<br>Can not open a connection to a MySQL Server<br>";die(${${"GLOBALS"}["bppoulvtcs"]});}if(!mysql_select_db($this->database,$this->db)){${"GLOBALS"}["oarcilckwvv"]="msg";$dbtayqldef="msg";if(DEBUG)${${"GLOBALS"}["oarcilckwvv"]}=" <br>ERROR : "."<br>database=".$this->database."<br>";else${$dbtayqldef}="<br>Can not connect to a database<br>";die(${${"GLOBALS"}["bppoulvtcs"]});}mysql_query("SET NAMES "utf8\"",$this->db);}function query($sql){$this->sql=str_replace("#_",$this->refix,${${"GLOBALS"}["cipjgcbdokch"]});$this->result=mysql_query($this->sql,$this->db);if($this->result==false){if(DEBUG)die("<br>ERROR : $sql <br>");else die("<br>ERROR : syntax error <br>");}return$this->result;}function num_rows($record){return mysql_num_rows(${${"GLOBALS"}["lidrmrhf"]});}function fetch($record){$zlhfcv="record";return mysql_fetch_assoc(${$zlhfcv});}function mk_arr($record){$rjigasfi="row";${${"GLOBALS"}["aapmwze"]}=array();while(${$rjigasfi}=mysql_fetch_assoc(${${"GLOBALS"}["lidrmrhf"]}))${${"GLOBALS"}["aapmwze"]}[]=${${"GLOBALS"}["cegjtvl"]};return${${"GLOBALS"}["aapmwze"]};}function insert($tblname,$arr){${${"GLOBALS"}["scdrddsq"]}=" (";${"GLOBALS"}["lkxywdcrpsa"]="arr";${"GLOBALS"}["jxqckrrtsfn"]="v";${"GLOBALS"}["awkbjbyk"]="sql";$rhjhmdupuyld="k";${${"GLOBALS"}["yxwnmidk"]}=" values (";${"GLOBALS"}["qybtssmgoi"]="value";foreach(${${"GLOBALS"}["lkxywdcrpsa"]} as${$rhjhmdupuyld}=>${${"GLOBALS"}["jxqckrrtsfn"]}){${"GLOBALS"}["brlilpt"]="key";${"GLOBALS"}["ydpnxsbohyi"]="k";${${"GLOBALS"}["brlilpt"]}.=${${"GLOBALS"}["ydpnxsbohyi"]}.",";${${"GLOBALS"}["yxwnmidk"]}.="'".$this->themdau(${${"GLOBALS"}["czcmmid"]})."',";}${${"GLOBALS"}["scdrddsq"]}{strlen(${${"GLOBALS"}["scdrddsq"]})-1}=")";${"GLOBALS"}["stlkgk"]="value";${${"GLOBALS"}["qybtssmgoi"]}{strlen(${${"GLOBALS"}["stlkgk"]})-1}=")";${${"GLOBALS"}["cipjgcbdokch"]}="insert into ".$this->refix.${${"GLOBALS"}["ofmioygamt"]}.${${"GLOBALS"}["scdrddsq"]}.${${"GLOBALS"}["yxwnmidk"]};return$this->query(${${"GLOBALS"}["awkbjbyk"]});}function select($sql,$str="",$where=""){${"GLOBALS"}["akvktltq"]="sql";${"GLOBALS"}["jihfak"]="row";${"GLOBALS"}["kkypibgt"]="str";if(${${"GLOBALS"}["kkypibgt"]}=="")${${"GLOBALS"}["lblinorlfi"]}="*";${"GLOBALS"}["nullpvbzvpe"]="row";$dvijuuvs="arr";${"GLOBALS"}["rbylpqjl"]="sql";${"GLOBALS"}["lkevbxdhal"]="arr";$jgmjieayt="where";${"GLOBALS"}["ugwrbqop"]="sql";if(!is_int(strpos(${${"GLOBALS"}["ugwrbqop"]},"select")))${${"GLOBALS"}["rbylpqjl"]}="select ".${${"GLOBALS"}["lblinorlfi"]}." from ".$this->refix.${${"GLOBALS"}["akvktltq"]}." ".${$jgmjieayt};$this->query(${${"GLOBALS"}["cipjgcbdokch"]});${${"GLOBALS"}["lkevbxdhal"]}=array();while(${${"GLOBALS"}["jihfak"]}=mysql_fetch_assoc($this->result))${$dvijuuvs}[]=${${"GLOBALS"}["nullpvbzvpe"]};return${${"GLOBALS"}["aapmwze"]};}function select_cay($id=0){${"GLOBALS"}["gsmvzvtjjwe"]="rs";$jvtisa="r";$efndmiiq="i";${"GLOBALS"}["wrxkenv"]="id";${$jvtisa}=array();$tvcviwu="rs";${$efndmiiq}=0;$yrxfrxbkep="j";if(${${"GLOBALS"}["wrxkenv"]}==0){${"GLOBALS"}["bcbfmdk"]="row";$crwfyvkny="i";${${"GLOBALS"}["bcbfmdk"]}=array("id"=>0,"ten_vi"=>"----","id_cha"=>-1,"stt"=>0);${${"GLOBALS"}["fewrzirfnxv"]}[${$crwfyvkny}++]=${${"GLOBALS"}["cegjtvl"]};}${$tvcviwu}=$this->select("pro_cat","","where id_cha={$id} order by stt,ten_vi");for(${$yrxfrxbkep}=0;${${"GLOBALS"}["vbikzowbnxqp"]}<count(${${"GLOBALS"}["gsmvzvtjjwe"]});${${"GLOBALS"}["vbikzowbnxqp"]}++){$dtgxfp="r";${"GLOBALS"}["stcmmwqrnv"]="row2";$gqnjkdgiwxgl="r2";${"GLOBALS"}["xcqqgtygdy"]="j";${"GLOBALS"}["umnatmt"]="rs";${$dtgxfp}[${${"GLOBALS"}["mcohvtix"]}++]=${${"GLOBALS"}["umnatmt"]}[${${"GLOBALS"}["xcqqgtygdy"]}];${${"GLOBALS"}["oewwnesdnxc"]}=$this->select_cay(${${"GLOBALS"}["amvbluqtqb"]}[${${"GLOBALS"}["vbikzowbnxqp"]}]["id"]);foreach(${$gqnjkdgiwxgl} as${${"GLOBALS"}["stcmmwqrnv"]}){$sdfcjy="i";${${"GLOBALS"}["pmtxqrhm"]}["ten_vi"]="- ".${${"GLOBALS"}["pmtxqrhm"]}["ten_vi"];${${"GLOBALS"}["fewrzirfnxv"]}[${$sdfcjy}++]=${${"GLOBALS"}["pmtxqrhm"]};}}return${${"GLOBALS"}["fewrzirfnxv"]};}function select_cay_2($table,$id_cha=0,$s=" "){$hllqohoqvun="result";${"GLOBALS"}["tdqdscutuec"]="table";${"GLOBALS"}["qqnslnecr"]="i";$hkziisbupgx="i";$eywoiel="r";$cjhrdrhujlq="r";${${"GLOBALS"}["jdpibtjxymml"]}=array();${$eywoiel}=$this->select(${${"GLOBALS"}["tdqdscutuec"]},"id, ten_vi, ten_en","where id_cha={$id_cha} order by stt");for(${${"GLOBALS"}["qqnslnecr"]}=0;${$hkziisbupgx}<count(${$cjhrdrhujlq});${${"GLOBALS"}["mcohvtix"]}++){$nhqjgklhoy="r2";$yivgvwiqq="table";$pwvdrg="i";$twspwj="j";${"GLOBALS"}["fsfsrjv"]="result";${"GLOBALS"}["mmfwfdt"]="i";${"GLOBALS"}["fnybcfz"]="j";$iopkbxmtx="r2";$xazfpe="r";if(${${"GLOBALS"}["wyiudqe"]}){$ysexjhnatnvn="s";$romlji="i";$ibnjrwlpb="i";${${"GLOBALS"}["fewrzirfnxv"]}[${$ibnjrwlpb}]["ten_vi"]=${$ysexjhnatnvn}.${${"GLOBALS"}["fewrzirfnxv"]}[${$romlji}]["ten_vi"];}${"GLOBALS"}["flgkbsntnu"]="r2";${${"GLOBALS"}["jdpibtjxymml"]}[]=${${"GLOBALS"}["fewrzirfnxv"]}[${$pwvdrg}];${$nhqjgklhoy}=$this->select_cay_2(${$yivgvwiqq},${$xazfpe}[${${"GLOBALS"}["mmfwfdt"]}]["id"]);for(${${"GLOBALS"}["vbikzowbnxqp"]}=0;${${"GLOBALS"}["vbikzowbnxqp"]}<count(${$iopkbxmtx});${$twspwj}++)${${"GLOBALS"}["fsfsrjv"]}[]=${${"GLOBALS"}["flgkbsntnu"]}[${${"GLOBALS"}["fnybcfz"]}];}return${$hllqohoqvun};}function update($tblname,$arr,$where=""){$fkfjieiozelo="sql";${"GLOBALS"}["hlvgvqltdk"]="v";${"GLOBALS"}["jjilovunov"]="arr";${"GLOBALS"}["toupvyxn"]="sql";$clsxvmoed="where";${${"GLOBALS"}["toupvyxn"]}="update ".$this->refix.${${"GLOBALS"}["ofmioygamt"]}." set ";$qwdlujc="k";${"GLOBALS"}["buodrsbx"]="k";$leatyls="sql";foreach(${${"GLOBALS"}["jjilovunov"]} as${$qwdlujc}=>${${"GLOBALS"}["hlvgvqltdk"]})${${"GLOBALS"}["cipjgcbdokch"]}.=${${"GLOBALS"}["buodrsbx"]}."='".$this->themdau(${${"GLOBALS"}["czcmmid"]})."',";${${"GLOBALS"}["cipjgcbdokch"]}{strlen(${$fkfjieiozelo})-1}=" ";${"GLOBALS"}["bmevbwv"]="sql";${${"GLOBALS"}["bmevbwv"]}.=${$clsxvmoed};return$this->query(${$leatyls});}function delete($tblname,$where=""){${"GLOBALS"}["tijufkcety"]="tblname";return$this->query("delete from ".$this->refix.${${"GLOBALS"}["tijufkcety"]}." {$where}");}function themdau($s){${"GLOBALS"}["sktdtxwx"]="s";${${"GLOBALS"}["sktdtxwx"]}=addslashes(${${"GLOBALS"}["jbmoqmqpzv"]});return${${"GLOBALS"}["jbmoqmqpzv"]};}function dump($arr,$f=0){echo"<pre>";$dwedtipcuy="arr";if(${${"GLOBALS"}["hdildfx"]})var_dump(${${"GLOBALS"}["aapmwze"]});else print_r(${$dwedtipcuy});echo"<pre>";}}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x64\x69\x6c\x64fx"]="\x66";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x62m\x6f\x71m\x71\x70\x7a\x76"]="s";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x79\x69\x75\x64\x71\x65"]="\x69\x64_\x63ha";${"G\x4c\x4fB\x41L\x53"}["\x6a\x64\x70i\x62\x74\x6axym\x6dl"]="\x72\x65s\x75\x6c\x74";${"G\x4c\x4f\x42\x41\x4cS"}["p\x6dt\x78\x71\x72\x68\x6d"]="\x72o\x77\x32";${"\x47L\x4f\x42ALS"}["\x61\x6dvbl\x75\x71\x74q\x62"]="\x72\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x65\x77wn\x65\x73\x64nx\x63"]="\x722";${"G\x4c\x4f\x42\x41\x4cS"}["mc\x6f\x68\x76\x74\x69x"]="i";${"GLOB\x41\x4cS"}["\x76\x62ik\x7a\x6f\x77b\x6e\x78\x71p"]="\x6a";${"GL\x4f\x42\x41\x4c\x53"}["f\x65\x77\x72\x7a\x69\x72\x66nx\x76"]="r";${"G\x4cOB\x41\x4cS"}["\x6c\x62\x6c\x69\x6eo\x72\x6c\x66i"]="\x73t\x72";${"\x47L\x4f\x42A\x4cS"}["\x6f\x66\x6d\x69\x6f\x79g\x61m\x74"]="\x74blna\x6d\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x63z\x63\x6d\x6d\x69\x64"]="\x76";${"\x47\x4c\x4fB\x41L\x53"}["\x79\x78\x77\x6e\x6d\x69\x64\x6b"]="\x76\x61lue";${"\x47L\x4f\x42\x41\x4cS"}["\x73\x63\x64r\x64ds\x71"]="\x6b\x65\x79";${"\x47L\x4fB\x41\x4c\x53"}["\x63\x65\x67j\x74\x76l"]="\x72\x6f\x77";${"G\x4c\x4f\x42\x41\x4cS"}["\x6c\x69\x64\x72\x6d\x72\x68\x66"]="r\x65\x63\x6frd";${"\x47L\x4f\x42\x41\x4c\x53"}["\x63\x69\x70\x6a\x67\x63\x62\x64\x6fk\x63\x68"]="\x73\x71\x6c";${"\x47\x4cOB\x41LS"}["\x62\x70\x70\x6ful\x76\x74\x63s"]="msg";${"\x47LO\x42A\x4c\x53"}["\x66gx\x73\x6c\x69\x66\x79\x63\x63\x68"]="k";${"\x47L\x4fBAL\x53"}["\x61\x61\x70\x6dwz\x65"]="\x61\x72\x72";class mydb{var$db;var$result=false;var$sql="";var$refix="\x64n\x74_";var$servername="\x6co\x63a\x6c\x68os\x74";var$username="roo\x74";var$password="ad\x6d\x69n";var$database="\x64ac\x6eha\x6eta\x6d";function mydb($arr=array()){if(count(${${"\x47\x4cO\x42A\x4c\x53"}["\x61a\x70m\x77\x7a\x65"]})>0){$qusbrztgmo="\x76";$fnhgmrndmr="\x76";$kudeefsklv="\x61\x72\x72";foreach(${$kudeefsklv} as${${"\x47\x4cOBA\x4cS"}["\x66\x67\x78\x73\x6cif\x79\x63\x63\x68"]}=>${$fnhgmrndmr})$this->${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66gxs\x6cif\x79\x63\x63h"]}=${$qusbrztgmo};}$this->connect();}function connect(){$this->db=@mysql_connect($this->servername,$this->username,$this->password);if(!$this->db){${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x6c\x72\x66f\x72\x68\x6cf\x62"]="\x6dsg";${"\x47LOBAL\x53"}["q\x6de\x62v\x70\x67\x65\x67\x6cr"]="\x6d\x73\x67";if(DEBUG)${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x6cr\x66fr\x68\x6c\x66\x62"]}="\t\x3cb\x72>ER\x52O\x52 :\x20"."\x3cb\x72>s\x65rv\x65r\x6e\x61m\x65=".$this->servername."<br\x3eu\x73ern\x61\x6d\x65\x3d".$this->username."\x3c\x62r\x3ep\x61s\x73w\x6fr\x64=".$this->password."\x3c\x62\x72\x3e";else${${"\x47L\x4f\x42\x41\x4cS"}["q\x6de\x62\x76p\x67egl\x72"]}="<b\x72>\x43\x61\x6e \x6eot\x20open \x61 c\x6f\x6enect\x69o\x6e t\x6f a \x4dy\x53Q\x4c Ser\x76\x65\x72\x3c\x62\x72\x3e";die(${${"GL\x4f\x42A\x4cS"}["\x62\x70\x70ou\x6cv\x74\x63s"]});}if(!mysql_select_db($this->database,$this->db)){${"\x47\x4c\x4fB\x41L\x53"}["\x6f\x61r\x63i\x6cc\x6b\x77v\x76"]="m\x73\x67";$dbtayqldef="m\x73g";if(DEBUG)${${"G\x4cO\x42\x41\x4c\x53"}["o\x61r\x63i\x6cckwv\x76"]}="\t<\x62\x72\x3eERR\x4f\x52 : "."\x3cb\x72>\x64\x61t\x61\x62\x61se\x3d".$this->database."<\x62\x72>";else${$dbtayqldef}="<b\x72\x3eCa\x6e\x20n\x6f\x74 \x63o\x6e\x6eect\x20to \x61 d\x61t\x61\x62\x61se\x3cbr\x3e";die(${${"\x47LO\x42\x41\x4c\x53"}["\x62\x70\x70o\x75l\x76t\x63\x73"]});}mysql_query("SET\x20NA\x4d\x45\x53\x20\x22\x75t\x668\"",$this->db);}function query($sql){$this->sql=str_replace("#\x5f",$this->refix,${${"\x47\x4c\x4f\x42AL\x53"}["\x63ip\x6a\x67c\x62\x64\x6fk\x63\x68"]});$this->result=mysql_query($this->sql,$this->db);if($this->result==false){if(DEBUG)die("<b\x72>ER\x52OR : $sql\x20\x3cbr>");else die("<br>E\x52\x52OR :\x20\x73y\x6e\x74ax e\x72\x72o\x72\x20<\x62\x72>");}return$this->result;}function num_rows($record){return mysql_num_rows(${${"\x47\x4cO\x42\x41LS"}["\x6c\x69d\x72\x6d\x72h\x66"]});}function fetch($record){$zlhfcv="rec\x6f\x72d";return mysql_fetch_assoc(${$zlhfcv});}function mk_arr($record){$rjigasfi="\x72ow";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x61\x70m\x77\x7a\x65"]}=array();while(${$rjigasfi}=mysql_fetch_assoc(${${"\x47\x4cO\x42AL\x53"}["\x6ci\x64\x72mr\x68f"]}))${${"\x47\x4cO\x42\x41L\x53"}["\x61\x61p\x6dwz\x65"]}[]=${${"\x47\x4c\x4fBA\x4c\x53"}["\x63e\x67j\x74\x76\x6c"]};return${${"\x47LO\x42A\x4c\x53"}["\x61\x61\x70\x6d\x77\x7ae"]};}function insert($tblname,$arr){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x63\x64\x72\x64\x64\x73\x71"]}="\x20(";${"\x47\x4cOB\x41\x4c\x53"}["\x6c\x6b\x78ywdc\x72\x70\x73\x61"]="\x61\x72r";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x78\x71c\x6b\x72\x72t\x73\x66n"]="v";${"\x47\x4cO\x42A\x4c\x53"}["\x61\x77\x6bb\x6ab\x79\x6b"]="\x73\x71\x6c";$rhjhmdupuyld="\x6b";${${"\x47\x4c\x4f\x42AL\x53"}["\x79\x78\x77\x6e\x6did\x6b"]}=" v\x61l\x75es\x20(";${"\x47\x4cOB\x41\x4cS"}["\x71\x79\x62\x74\x73sm\x67\x6fi"]="\x76\x61\x6c\x75\x65";foreach(${${"GL\x4f\x42\x41L\x53"}["l\x6b\x78\x79\x77\x64\x63\x72p\x73a"]} as${$rhjhmdupuyld}=>${${"\x47LO\x42\x41L\x53"}["\x6ax\x71\x63\x6b\x72rts\x66\x6e"]}){${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x72\x6ci\x6c\x70\x74"]="\x6be\x79";${"\x47L\x4f\x42A\x4c\x53"}["y\x64\x70\x6ex\x73\x62\x6fhy\x69"]="\x6b";${${"GLO\x42\x41L\x53"}["b\x72li\x6c\x70\x74"]}.=${${"G\x4c\x4f\x42AL\x53"}["\x79\x64pn\x78\x73b\x6fh\x79\x69"]}.",";${${"GLOB\x41\x4cS"}["\x79\x78\x77\x6e\x6di\x64\x6b"]}.="'".$this->themdau(${${"G\x4cO\x42ALS"}["\x63\x7a\x63m\x6d\x69\x64"]})."\x27,";}${${"GL\x4fBA\x4c\x53"}["sc\x64rdd\x73\x71"]}{strlen(${${"GL\x4fBA\x4c\x53"}["\x73\x63drddsq"]})-1}=")";${"\x47\x4cOB\x41L\x53"}["s\x74lk\x67\x6b"]="\x76al\x75\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["q\x79\x62t\x73\x73\x6d\x67\x6f\x69"]}{strlen(${${"\x47L\x4fBA\x4c\x53"}["\x73\x74\x6c\x6bgk"]})-1}=")";${${"\x47L\x4fB\x41\x4c\x53"}["\x63i\x70jgc\x62\x64o\x6b\x63\x68"]}="\x69n\x73e\x72t \x69\x6et\x6f ".$this->refix.${${"\x47LO\x42AL\x53"}["\x6ff\x6di\x6fy\x67a\x6d\x74"]}.${${"\x47\x4c\x4f\x42AL\x53"}["s\x63\x64\x72\x64\x64\x73q"]}.${${"\x47L\x4f\x42A\x4cS"}["\x79\x78\x77\x6e\x6d\x69\x64k"]};return$this->query(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x77\x6bb\x6aby\x6b"]});}function select($sql,$str="",$where=""){${"\x47LO\x42\x41LS"}["\x61\x6b\x76\x6bt\x6c\x74q"]="\x73q\x6c";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x69\x68\x66\x61\x6b"]="\x72ow";${"G\x4c\x4fB\x41\x4c\x53"}["\x6b\x6by\x70ib\x67\x74"]="\x73\x74\x72";if(${${"G\x4c\x4fBALS"}["\x6b\x6b\x79\x70\x69b\x67\x74"]}=="")${${"GLO\x42AL\x53"}["l\x62\x6c\x69\x6eo\x72l\x66\x69"]}="*";${"GL\x4fB\x41\x4c\x53"}["\x6e\x75\x6c\x6c\x70\x76\x62\x7a\x76\x70\x65"]="\x72\x6f\x77";$dvijuuvs="\x61r\x72";${"GLOB\x41L\x53"}["\x72\x62ylp\x71\x6a\x6c"]="sql";${"\x47LO\x42\x41L\x53"}["lke\x76bxd\x68\x61l"]="\x61rr";$jgmjieayt="\x77\x68\x65r\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x75gw\x72\x62q\x6f\x70"]="\x73q\x6c";if(!is_int(strpos(${${"\x47L\x4f\x42A\x4c\x53"}["\x75g\x77r\x62\x71o\x70"]},"\x73\x65\x6ce\x63t")))${${"\x47L\x4fBAL\x53"}["\x72\x62y\x6c\x70\x71j\x6c"]}="s\x65\x6c\x65c\x74\x20".${${"G\x4cOBA\x4cS"}["\x6c\x62l\x69n\x6frl\x66\x69"]}." \x66\x72\x6fm ".$this->refix.${${"\x47\x4c\x4f\x42\x41LS"}["\x61k\x76k\x74\x6c\x74\x71"]}." ".${$jgmjieayt};$this->query(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x69\x70\x6a\x67\x63b\x64\x6fk\x63h"]});${${"\x47\x4cO\x42\x41L\x53"}["\x6c\x6bev\x62\x78\x64\x68\x61l"]}=array();while(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x69\x68f\x61k"]}=mysql_fetch_assoc($this->result))${$dvijuuvs}[]=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x75\x6cl\x70v\x62\x7a\x76\x70e"]};return${${"\x47\x4c\x4f\x42\x41L\x53"}["a\x61\x70\x6dw\x7a\x65"]};}function select_cay($id=0){${"GL\x4fB\x41\x4c\x53"}["\x67\x73mv\x7a\x76\x74jj\x77\x65"]="\x72s";$jvtisa="\x72";$efndmiiq="i";${"\x47L\x4f\x42A\x4cS"}["\x77\x72\x78ken\x76"]="\x69d";${$jvtisa}=array();$tvcviwu="\x72\x73";${$efndmiiq}=0;$yrxfrxbkep="\x6a";if(${${"G\x4c\x4fBA\x4c\x53"}["\x77rx\x6b\x65\x6e\x76"]}==0){${"\x47\x4cO\x42\x41L\x53"}["\x62\x63bfmdk"]="\x72\x6fw";$crwfyvkny="\x69";${${"GL\x4fB\x41\x4c\x53"}["bcbf\x6d\x64\x6b"]}=array("\x69\x64"=>0,"ten_\x76i"=>"----","i\x64\x5f\x63\x68\x61"=>-1,"\x73t\x74"=>0);${${"\x47\x4c\x4fB\x41LS"}["\x66e\x77r\x7a\x69rf\x6ex\x76"]}[${$crwfyvkny}++]=${${"G\x4cO\x42\x41\x4cS"}["\x63\x65\x67jt\x76\x6c"]};}${$tvcviwu}=$this->select("\x70ro\x5fc\x61t","","wher\x65\x20\x69d\x5fc\x68\x61={$id} ord\x65r\x20\x62\x79\x20st\x74,\x74\x65\x6e\x5f\x76\x69");for(${$yrxfrxbkep}=0;${${"\x47L\x4fB\x41\x4cS"}["\x76b\x69\x6bz\x6f\x77\x62n\x78qp"]}<count(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x73\x6d\x76\x7a\x76\x74j\x6aw\x65"]});${${"\x47LO\x42\x41L\x53"}["v\x62\x69\x6b\x7ao\x77b\x6e\x78\x71\x70"]}++){$dtgxfp="r";${"\x47LO\x42\x41\x4cS"}["\x73\x74\x63\x6d\x6dwqrn\x76"]="\x72\x6f\x772";$gqnjkdgiwxgl="\x722";${"\x47\x4cOB\x41\x4c\x53"}["\x78c\x71\x71\x67\x74\x79\x67\x64\x79"]="\x6a";${"\x47\x4c\x4f\x42\x41L\x53"}["u\x6dnatm\x74"]="r\x73";${$dtgxfp}[${${"\x47L\x4f\x42AL\x53"}["\x6d\x63\x6f\x68\x76\x74\x69\x78"]}++]=${${"G\x4c\x4f\x42\x41\x4cS"}["\x75m\x6e\x61t\x6d\x74"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x63\x71q\x67t\x79\x67\x64y"]}];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6fe\x77\x77\x6e\x65s\x64\x6e\x78\x63"]}=$this->select_cay(${${"\x47LO\x42\x41\x4c\x53"}["\x61\x6dv\x62\x6c\x75\x71\x74qb"]}[${${"G\x4cO\x42\x41\x4c\x53"}["v\x62i\x6b\x7a\x6fw\x62\x6e\x78q\x70"]}]["i\x64"]);foreach(${$gqnjkdgiwxgl} as${${"\x47\x4cO\x42\x41LS"}["\x73\x74cm\x6d\x77q\x72\x6ev"]}){$sdfcjy="i";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x6d\x74x\x71\x72\x68\x6d"]}["\x74\x65n_\x76\x69"]="- ".${${"G\x4c\x4f\x42\x41\x4cS"}["p\x6dt\x78\x71\x72\x68\x6d"]}["t\x65n\x5fvi"];${${"GL\x4fB\x41\x4c\x53"}["\x66e\x77\x72z\x69r\x66\x6exv"]}[${$sdfcjy}++]=${${"\x47L\x4f\x42AL\x53"}["\x70m\x74\x78\x71\x72\x68m"]};}}return${${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x65\x77\x72\x7a\x69\x72\x66n\x78\x76"]};}function select_cay_2($table,$id_cha=0,$s="&n\x62\x73p\x3b&\x6ebs\x70;\x26\x6eb\x73p;\x26nbs\x70;\x26n\x62s\x70\x3b\x26\x6ebs\x70\x3b"){$hllqohoqvun="re\x73\x75\x6ct";${"G\x4c\x4f\x42A\x4cS"}["\x74\x64\x71\x64\x73\x63\x75\x74u\x65\x63"]="\x74abl\x65";${"\x47\x4cO\x42\x41L\x53"}["q\x71\x6es\x6c\x6eecr"]="\x69";$hkziisbupgx="\x69";$eywoiel="\x72";$cjhrdrhujlq="r";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x64\x70\x69\x62\x74jx\x79\x6d\x6dl"]}=array();${$eywoiel}=$this->select(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x64\x71ds\x63ut\x75e\x63"]},"\x69d, t\x65\x6e_\x76\x69, t\x65\x6e_en","w\x68\x65re \x69\x64_c\x68a\x3d{$id_cha}\x20o\x72d\x65\x72 b\x79\x20st\x74");for(${${"\x47\x4c\x4f\x42\x41L\x53"}["q\x71\x6e\x73\x6cn\x65\x63\x72"]}=0;${$hkziisbupgx}<count(${$cjhrdrhujlq});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dco\x68v\x74\x69x"]}++){$nhqjgklhoy="\x72\x32";$yivgvwiqq="ta\x62l\x65";$pwvdrg="\x69";$twspwj="\x6a";${"G\x4cOB\x41\x4cS"}["fs\x66sr\x6a\x76"]="\x72\x65\x73\x75\x6c\x74";${"\x47L\x4f\x42AL\x53"}["\x6d\x6d\x66\x77fdt"]="i";${"\x47\x4c\x4f\x42AL\x53"}["fn\x79\x62cf\x7a"]="j";$iopkbxmtx="\x722";$xazfpe="r";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x79i\x75d\x71\x65"]}){$ysexjhnatnvn="\x73";$romlji="i";$ibnjrwlpb="i";${${"\x47L\x4f\x42\x41\x4cS"}["\x66\x65\x77\x72zi\x72\x66n\x78\x76"]}[${$ibnjrwlpb}]["t\x65\x6e_v\x69"]=${$ysexjhnatnvn}.${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x65\x77rzir\x66\x6exv"]}[${$romlji}]["t\x65n_v\x69"];}${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x6cg\x6b\x62\x73n\x74\x6eu"]="r\x32";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x64\x70ibtj\x78\x79\x6d\x6dl"]}[]=${${"\x47\x4cO\x42\x41L\x53"}["\x66\x65w\x72zi\x72f\x6ex\x76"]}[${$pwvdrg}];${$nhqjgklhoy}=$this->select_cay_2(${$yivgvwiqq},${$xazfpe}[${${"\x47LO\x42\x41L\x53"}["\x6d\x6d\x66\x77f\x64\x74"]}]["\x69d"]);for(${${"\x47L\x4f\x42\x41\x4cS"}["\x76b\x69\x6b\x7ao\x77\x62n\x78\x71\x70"]}=0;${${"G\x4c\x4fB\x41L\x53"}["\x76\x62\x69\x6bz\x6f\x77\x62\x6e\x78\x71\x70"]}<count(${$iopkbxmtx});${$twspwj}++)${${"\x47LO\x42\x41\x4c\x53"}["fs\x66s\x72j\x76"]}[]=${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x6cg\x6b\x62\x73\x6e\x74\x6e\x75"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x6e\x79\x62c\x66z"]}];}return${$hllqohoqvun};}function update($tblname,$arr,$where=""){$fkfjieiozelo="\x73q\x6c";${"\x47\x4cO\x42\x41L\x53"}["\x68l\x76\x67v\x71l\x74\x64k"]="\x76";${"\x47\x4c\x4fBAL\x53"}["\x6aji\x6co\x76\x75\x6e\x6f\x76"]="\x61rr";${"\x47LOB\x41\x4c\x53"}["\x74\x6fu\x70\x76yx\x6e"]="sq\x6c";$clsxvmoed="\x77h\x65r\x65";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74o\x75\x70\x76y\x78n"]}="\x75\x70\x64\x61t\x65\x20".$this->refix.${${"\x47L\x4fB\x41\x4c\x53"}["o\x66\x6d\x69\x6f\x79\x67a\x6d\x74"]}."\x20s\x65t ";$qwdlujc="\x6b";${"\x47L\x4f\x42\x41\x4cS"}["\x62u\x6f\x64\x72\x73b\x78"]="\x6b";$leatyls="\x73ql";foreach(${${"\x47\x4cOB\x41L\x53"}["jji\x6co\x76\x75\x6eov"]} as${$qwdlujc}=>${${"\x47\x4c\x4fB\x41LS"}["\x68l\x76g\x76q\x6c\x74d\x6b"]})${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x69\x70\x6a\x67\x63b\x64\x6fk\x63\x68"]}.=${${"GL\x4f\x42\x41\x4c\x53"}["\x62\x75o\x64r\x73\x62x"]}."\x3d\x27".$this->themdau(${${"\x47\x4cOB\x41L\x53"}["\x63\x7ac\x6d\x6d\x69d"]})."',";${${"\x47\x4c\x4f\x42A\x4cS"}["\x63\x69\x70\x6a\x67\x63\x62d\x6fk\x63h"]}{strlen(${$fkfjieiozelo})-1}=" ";${"GL\x4f\x42\x41L\x53"}["bm\x65\x76\x62w\x76"]="\x73\x71l";${${"GLO\x42A\x4c\x53"}["\x62\x6d\x65\x76\x62\x77\x76"]}.=${$clsxvmoed};return$this->query(${$leatyls});}function delete($tblname,$where=""){${"\x47\x4c\x4f\x42\x41\x4cS"}["ti\x6au\x66k\x63\x65t\x79"]="\x74\x62l\x6ea\x6d\x65";return$this->query("\x64\x65\x6cet\x65 fro\x6d ".$this->refix.${${"G\x4cO\x42\x41\x4cS"}["\x74\x69jufk\x63\x65\x74\x79"]}." {$where}");}function themdau($s){${"\x47L\x4f\x42ALS"}["\x73\x6b\x74dtxwx"]="s";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x6btdt\x78wx"]}=addslashes(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6ab\x6do\x71\x6d\x71\x70z\x76"]});return${${"G\x4cO\x42\x41\x4c\x53"}["\x6a\x62\x6d\x6f\x71m\x71\x70\x7a\x76"]};}function dump($arr,$f=0){echo"\x3c\x70r\x65\x3e";$dwedtipcuy="\x61\x72\x72";if(${${"GLO\x42\x41\x4c\x53"}["\x68\x64\x69\x6c\x64f\x78"]})var_dump(${${"G\x4c\x4f\x42\x41\x4cS"}["a\x61\x70\x6d\x77z\x65"]});else print_r(${$dwedtipcuy});echo"<pre\x3e";}}
?>
Function Calls
None |
Stats
MD5 | 589fc70e1d506217c81deb008ccbb185 |
Eval Count | 0 |
Decode Time | 63 ms |