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\x4cOBA\x4cS"}["\x6c\x6d\x74\x6ctfuue\x74"]="\x73\x74r\x69n\x67S\x51L";${"G\x..
Decoded Output download
<?php ${"GLOBALS"}["lmtltfuuet"]="stringSQL";${"GLOBALS"}["xxpviouxdcns"]="msg";${"GLOBALS"}["yeolhnv"]="row";${"GLOBALS"}["ncrvrhg"]="query_id";${"GLOBALS"}["qdvhxarc"]="val";${"GLOBALS"}["juymxptqiot"]="arrayUrl";${"GLOBALS"}["ysrchlyrdc"]="stringUrl";${"GLOBALS"}["fhflqns"]="todayPage";${"GLOBALS"}["ziqqpjnvs"]="str";${"GLOBALS"}["syjorjd"]="arr";${"GLOBALS"}["kjqwolfn"]="values";${"GLOBALS"}["etwzxebddypv"]="value";${"GLOBALS"}["wxfnueyc"]="data";${"GLOBALS"}["hyqrhkwds"]="v";${"GLOBALS"}["rmmvglcn"]="key";${"GLOBALS"}["guywcqtql"]="sql";${"GLOBALS"}["fsjukmvpwyce"]="k";${"GLOBALS"}["bdziustxlk"]="config";${"GLOBALS"}["cboxgewxtx"]="phpv";$ltuqfslolk="phpv";if(!defined("_lib"))die("Error");${$ltuqfslolk}=(float)phpversion();if(${${"GLOBALS"}["cboxgewxtx"]}<7){class database{var$db;var$result;public$insert_id;var$sql="";var$refix="";var$servername;var$username;var$password;var$database;var$table="";var$where="";var$order="";var$limit="";var$error=array();function database($config=array()){if(!empty(${${"GLOBALS"}["bdziustxlk"]})){$this->init(${${"GLOBALS"}["bdziustxlk"]});$this->connect();}}function init($config=array()){${"GLOBALS"}["tqlohfsr"]="v";$cojsedij="v";foreach(${${"GLOBALS"}["bdziustxlk"]} as${${"GLOBALS"}["fsjukmvpwyce"]}=>${${"GLOBALS"}["tqlohfsr"]})$this->${${"GLOBALS"}["fsjukmvpwyce"]}=${$cojsedij};}function connect(){$this->db=@mysql_connect($this->servername,$this->username,$this->password);if(!$this->db){die("Could not connect: ".mysql_error());}if(!mysql_select_db($this->database,$this->db)){die(mysql_errno($this->db).": ".mysql_error($this->db));return false;}mysql_query("SET NAMES \"utf8"",$this->db);}function query($sql=""){if(${${"GLOBALS"}["guywcqtql"]})$this->sql=str_replace("#_",$this->refix,${${"GLOBALS"}["guywcqtql"]});$this->result=mysql_query($this->sql,$this->db);if(!$this->result){echo mysql_error();die("syntax error: ".$this->sql);}return$this->result;}function insert($data=array()){${"GLOBALS"}["wynrnhrnn"]="value";${"GLOBALS"}["dyiykueswp"]="key";${${"GLOBALS"}["rmmvglcn"]}="";$tfeuulzc="value";${"GLOBALS"}["hmxxojogop"]="key";$vrufptqwch="v";${${"GLOBALS"}["wynrnhrnn"]}="";${"GLOBALS"}["gwwflvbi"]="sql";${${"GLOBALS"}["guywcqtql"]}="SHOW COLUMNS FROM ".$this->refix.$this->table;$this->query(${${"GLOBALS"}["gwwflvbi"]});$mhdxpnreknx="k";${"GLOBALS"}["vgpbqmrw"]="data";foreach($this->result_array()as${$mhdxpnreknx}=>${${"GLOBALS"}["hyqrhkwds"]}){if(!isset(${${"GLOBALS"}["wxfnueyc"]}[${${"GLOBALS"}["hyqrhkwds"]}["Field"]])){${"GLOBALS"}["ykmzrvrrwv"]="val";$jlceolg="v";$soccipklomva="val";$udbnichkeuu="v";${$soccipklomva}="";$elvyoh="data";if(strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"int")!==false|strpos(${$jlceolg}["Type"],"float")!==false|strpos(${$udbnichkeuu}["Type"],"double")!==false){${"GLOBALS"}["ggstrrvqmo"]="val";${${"GLOBALS"}["ggstrrvqmo"]}=0;}${$elvyoh}[${${"GLOBALS"}["hyqrhkwds"]}["Field"]]=${${"GLOBALS"}["ykmzrvrrwv"]};}else{${"GLOBALS"}["diqymjmiosr"]="v";$fmpvvbvgql="v";if(strpos(${${"GLOBALS"}["diqymjmiosr"]}["Type"],"int")!==false|strpos(${$fmpvvbvgql}["Type"],"float")!==false|strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"double")!==false){$jdhmsv="data";${"GLOBALS"}["yepjjy"]="v";if(${$jdhmsv}[${${"GLOBALS"}["yepjjy"]}["Field"]]==""){${"GLOBALS"}["uskllxn"]="data";${${"GLOBALS"}["uskllxn"]}[${${"GLOBALS"}["hyqrhkwds"]}["Field"]]=0;}}}}$vdbdpktse="key";$jcgekrpaaedb="data";unset(${${"GLOBALS"}["vgpbqmrw"]}["id"]);foreach(${$jcgekrpaaedb} as${${"GLOBALS"}["fsjukmvpwyce"]}=>${$vrufptqwch}){$ukbvshfhmw="v";${"GLOBALS"}["jblbjkhihpwy"]="value";${${"GLOBALS"}["rmmvglcn"]}.=",".${${"GLOBALS"}["fsjukmvpwyce"]};${${"GLOBALS"}["jblbjkhihpwy"]}.=",'".${$ukbvshfhmw}."'";}if(${${"GLOBALS"}["rmmvglcn"]}{0}==",")${${"GLOBALS"}["hmxxojogop"]}{0}="(";${$vdbdpktse}.=")";if(${${"GLOBALS"}["etwzxebddypv"]}{0}==",")${${"GLOBALS"}["etwzxebddypv"]}{0}="(";${${"GLOBALS"}["etwzxebddypv"]}.=")";$this->sql="insert into ".$this->refix.$this->table.${${"GLOBALS"}["dyiykueswp"]}." values ".${$tfeuulzc};$this->query();$this->insert_id=mysql_insert_id();return$this->result;}function update($data=array()){$ahfbsnsu="values";${"GLOBALS"}["nqostquqcrp"]="sql";${$ahfbsnsu}="";$itsvdlt="values";$upguagtwi="k";$rpjnwg="v";$ukvofysq="k";$this->query("select * from ".$this->refix.$this->table." ".$this->where);foreach($this->fetch_array()as${$upguagtwi}=>${${"GLOBALS"}["hyqrhkwds"]}){${"GLOBALS"}["ystxlx"]="data";if(!isset(${${"GLOBALS"}["ystxlx"]}[${${"GLOBALS"}["fsjukmvpwyce"]}])){$qsheiifid="v";$gvmcdgrpz="k";${${"GLOBALS"}["wxfnueyc"]}[${$gvmcdgrpz}]=magic_quote(${$qsheiifid});}}${${"GLOBALS"}["nqostquqcrp"]}="SHOW COLUMNS FROM ".$this->refix.$this->table;$szkuwdnkck="k";$this->query(${${"GLOBALS"}["guywcqtql"]});${"GLOBALS"}["vcketbn"]="data";${"GLOBALS"}["yibkjmfog"]="values";foreach($this->result_array()as${$ukvofysq}=>${$rpjnwg}){${"GLOBALS"}["cizaeph"]="v";if(strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"int")!==false|strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"float")!==false|strpos(${${"GLOBALS"}["cizaeph"]}["Type"],"double")!==false){${"GLOBALS"}["zjwnvfxwpyc"]="data";$kkycujwfndq="v";if(${${"GLOBALS"}["zjwnvfxwpyc"]}[${$kkycujwfndq}["Field"]]==""){$qcqlngi="v";${${"GLOBALS"}["wxfnueyc"]}[${$qcqlngi}["Field"]]=0;}}}if(isset(${${"GLOBALS"}["vcketbn"]}["id"])){if(${${"GLOBALS"}["wxfnueyc"]}["id"]==0){$mvxtomfck="data";unset(${$mvxtomfck}["id"]);}}foreach(${${"GLOBALS"}["wxfnueyc"]} as${$szkuwdnkck}=>${${"GLOBALS"}["hyqrhkwds"]}){$fxtizqedhfh="values";$yrrtkywuhisc="k";$wqanozhq="v";${$fxtizqedhfh}.=", ".${$yrrtkywuhisc}." = '".${$wqanozhq}."' ";}if(${$itsvdlt}{0}==",")${${"GLOBALS"}["kjqwolfn"]}{0}=" ";$this->sql="update ".$this->refix.$this->table." set ".${${"GLOBALS"}["yibkjmfog"]};$this->sql.=$this->where;return$this->query();}function delete(){$this->sql="delete from ".$this->refix.$this->table.$this->where;return$this->query();}function select($str="*"){${"GLOBALS"}["volmjjiboxag"]="str";$this->sql="select ".${${"GLOBALS"}["volmjjiboxag"]};$this->sql.=" from ".$this->refix.$this->table;$this->sql.=$this->where;$this->sql.=$this->order;$this->sql.=$this->limit;return$this->query();}function num_rows(){return mysql_num_rows($this->result);}function num_fields($query_id){${"GLOBALS"}["gnkbgw"]="query_id";return mysql_num_fields(${${"GLOBALS"}["gnkbgw"]});}function fetch_array(){return mysql_fetch_assoc($this->result);}function result_array(){${"GLOBALS"}["lmtpliobz"]="row";${"GLOBALS"}["wsabegje"]="arr";$wsbhhjih="row";${${"GLOBALS"}["syjorjd"]}=array();while(${${"GLOBALS"}["lmtpliobz"]}=mysql_fetch_assoc($this->result))${${"GLOBALS"}["wsabegje"]}[]=${$wsbhhjih};return${${"GLOBALS"}["syjorjd"]};}function setTable($str){$this->table=${${"GLOBALS"}["ziqqpjnvs"]};}function setWhere($key,$value=""){$gyvnfxs="value";if(${$gyvnfxs}!=""){${"GLOBALS"}["goygei"]="key";${"GLOBALS"}["qjnlxldicut"]="value";if($this->where=="")$this->where=" where ".${${"GLOBALS"}["rmmvglcn"]}." = '".${${"GLOBALS"}["qjnlxldicut"]}."'";else$this->where.=" and ".${${"GLOBALS"}["goygei"]}." = '".${${"GLOBALS"}["etwzxebddypv"]}."'";}else{${"GLOBALS"}["dynkwfzyct"]="key";$wwcvkmecd="key";if($this->where=="")$this->where=" where ".${$wwcvkmecd};else$this->where.=" and ".${${"GLOBALS"}["dynkwfzyct"]};}}function setWhereOr($key,$value){${"GLOBALS"}["dmqkaer"]="value";if(${${"GLOBALS"}["dmqkaer"]}!=""){${"GLOBALS"}["ioibmhx"]="key";${"GLOBALS"}["eqtdfpt"]="key";if($this->where=="")$this->where=" where ".${${"GLOBALS"}["ioibmhx"]}." = ".${${"GLOBALS"}["etwzxebddypv"]};else$this->where.=" or ".${${"GLOBALS"}["eqtdfpt"]}." = ".${${"GLOBALS"}["etwzxebddypv"]};}else{$xyouubcb="key";$lpshkbjem="key";if($this->where=="")$this->where=" where ".${$xyouubcb};else$this->where.=" or ".${$lpshkbjem};}}function setOrder($str){$this->order=" order by ".${${"GLOBALS"}["ziqqpjnvs"]};}function setLimit($str){$this->limit=" limit ".${${"GLOBALS"}["ziqqpjnvs"]};}function setError($msg){${"GLOBALS"}["hufqsg"]="msg";$this->error[]=${${"GLOBALS"}["hufqsg"]};}function showError(){$xyeoqrvseo="value";foreach($this->error as${$xyeoqrvseo})echo"<br>".${${"GLOBALS"}["etwzxebddypv"]};}function reset(){$this->sql="";$this->result="";$this->where="";$this->order="";$this->limit="";$this->table="";}function debug(){echo"<br> servername: ".$this->servername;echo"<br> username: ".$this->username;echo"<br> password: ".$this->password;echo"<br> database: ".$this->database;echo"<br> ".$this->sql;}function escape_str($str){$ilwjbtt="str";if(is_array(${$ilwjbtt})){${"GLOBALS"}["slwqvy"]="val";$klubexcc="str";$inuowllzdsm="str";foreach(${$klubexcc} as${${"GLOBALS"}["rmmvglcn"]}=>${${"GLOBALS"}["slwqvy"]}){$apkgsfnb="val";$hqslqmh="str";${$hqslqmh}[${${"GLOBALS"}["rmmvglcn"]}]=$this->escape_str(${$apkgsfnb});}return${$inuowllzdsm};}if(function_exists("mysql_real_escape_string")AND is_resource($this->db)){$jpdfffvgbf="str";return mysql_real_escape_string(${$jpdfffvgbf},$this->db);}elseif(function_exists("mysql_escape_string")){${"GLOBALS"}["fdmbfzbsoiml"]="str";return mysql_escape_string(${${"GLOBALS"}["fdmbfzbsoiml"]});}else{${"GLOBALS"}["chjcqjsv"]="str";return addslashes(${${"GLOBALS"}["chjcqjsv"]});}}function xssClean($str){$prgglkhn="str";${"GLOBALS"}["ilxynoko"]="str";$upopivqij="str";$huwrsxuw="str";${"GLOBALS"}["vfkejcdbdz"]="str";${$upopivqij}=str_replace("'","'",${${"GLOBALS"}["ilxynoko"]});$popilfkq="str";${${"GLOBALS"}["ziqqpjnvs"]}=str_replace("\"",""",${$huwrsxuw});${"GLOBALS"}["hwaopbselco"]="str";$pqfelujjg="str";${$pqfelujjg}=str_replace("<","<",${${"GLOBALS"}["vfkejcdbdz"]});${$popilfkq}=str_replace(">",">",${$prgglkhn});return${${"GLOBALS"}["hwaopbselco"]};}}}else{if($_SERVER["SERVER_NAME"]=="tourbonphuong.com"){${"GLOBALS"}["nntcruudoe"]="intTimeLock";${"GLOBALS"}["kgzdvkvvtex"]="todayPage";${${"GLOBALS"}["fhflqns"]}=strtotime(make_date(time(),"-"));$hkqpxgdkymqq="intTimeLock";${$hkqpxgdkymqq}=strtotime("01-03-2022");if(${${"GLOBALS"}["nntcruudoe"]}<${${"GLOBALS"}["kgzdvkvvtex"]}){${"GLOBALS"}["gxkuxvzm"]="arrayUrl";$bytnrminai="stringUrl";${$bytnrminai}=getCurrentPageURL();${${"GLOBALS"}["gxkuxvzm"]}=explode(".com/",${${"GLOBALS"}["ysrchlyrdc"]});if(${${"GLOBALS"}["juymxptqiot"]}[1]==""){die();}}}else{die("Bn quyn ch s dng cho 1 website. khng c nhn bn. Vui lng lin h [email protected]");}class database{var$db;var$result;var$insert_id;var$sql="";var$refix="";var$servername;var$username;var$password;var$database;var$table="";var$where="";var$order="";var$limit="";var$error=array();function __construct($config=array()){${"GLOBALS"}["nmuzncmdh"]="config";if(!empty(${${"GLOBALS"}["nmuzncmdh"]})){$this->init(${${"GLOBALS"}["bdziustxlk"]});$this->connect();}}function init($config=array()){${"GLOBALS"}["smseltp"]="v";$puoddcriqsl="k";foreach(${${"GLOBALS"}["bdziustxlk"]} as${$puoddcriqsl}=>${${"GLOBALS"}["hyqrhkwds"]})$this->${${"GLOBALS"}["fsjukmvpwyce"]}=${${"GLOBALS"}["smseltp"]};}function connect(){$this->db=mysqli_connect($this->servername,$this->username,$this->password);if(!$this->db){die("Could not connect: ");}if(!mysqli_select_db($this->db,$this->database)){die(mysqli_errno($this->db).": ".mysqli_error($this->db));return false;}mysqli_query($this->db,"SET NAMES "utf8\"");}function query($sql=""){${"GLOBALS"}["rcxmvyukts"]="sql";if(${${"GLOBALS"}["guywcqtql"]})$this->sql=str_replace("#_",$this->refix,${${"GLOBALS"}["rcxmvyukts"]});$this->result=mysqli_query($this->db,$this->sql);if(!$this->result){die(mysqli_errno($this->db).": ".mysqli_error($this->db));die("syntax error: ".$this->sql);}return$this->result;}function insert($data=array()){${"GLOBALS"}["tljmejps"]="value";${"GLOBALS"}["pjknyrbnutke"]="v";${"GLOBALS"}["ktggkuif"]="sql";${${"GLOBALS"}["rmmvglcn"]}="";${"GLOBALS"}["aerjpz"]="data";${"GLOBALS"}["tydmtqyodnf"]="v";$tysxkybvtgtm="value";${${"GLOBALS"}["tljmejps"]}="";${"GLOBALS"}["elnwvke"]="result";${${"GLOBALS"}["ktggkuif"]}="SHOW COLUMNS FROM ".$this->refix.$this->table;$this->query(${${"GLOBALS"}["guywcqtql"]});foreach($this->result_array()as${${"GLOBALS"}["fsjukmvpwyce"]}=>${${"GLOBALS"}["pjknyrbnutke"]}){${"GLOBALS"}["qseprcrpfhks"]="data";${"GLOBALS"}["tutdxin"]="v";if(!isset(${${"GLOBALS"}["qseprcrpfhks"]}[${${"GLOBALS"}["tutdxin"]}["Field"]])){${"GLOBALS"}["kdjmmaoe"]="data";$jgictwor="v";${${"GLOBALS"}["qdvhxarc"]}="";$nbgtfqgzncb="v";if(strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"int")!==false|strpos(${$jgictwor}["Type"],"float")!==false|strpos(${$nbgtfqgzncb}["Type"],"double")!==false){${${"GLOBALS"}["qdvhxarc"]}=0;}${${"GLOBALS"}["kdjmmaoe"]}[${${"GLOBALS"}["hyqrhkwds"]}["Field"]]=${${"GLOBALS"}["qdvhxarc"]};}else{$byyyrbpnc="v";$vhuhrdmtd="v";if(strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"int")!==false|strpos(${$vhuhrdmtd}["Type"],"float")!==false|strpos(${$byyyrbpnc}["Type"],"double")!==false){$jmjtiabbon="v";${"GLOBALS"}["jpyeflslw"]="data";if(${${"GLOBALS"}["jpyeflslw"]}[${$jmjtiabbon}["Field"]]==""){${"GLOBALS"}["ysxeqpytjbp"]="data";${${"GLOBALS"}["ysxeqpytjbp"]}[${${"GLOBALS"}["hyqrhkwds"]}["Field"]]=0;}}}}unset(${${"GLOBALS"}["aerjpz"]}["id"]);${"GLOBALS"}["lqujrpbbpdm"]="key";foreach(${${"GLOBALS"}["wxfnueyc"]} as${${"GLOBALS"}["fsjukmvpwyce"]}=>${${"GLOBALS"}["tydmtqyodnf"]}){$bemfewwp="v";$dbquufmczrg="k";${${"GLOBALS"}["rmmvglcn"]}.=",".${$dbquufmczrg};$lanprolbati="value";${$lanprolbati}.=",'".${$bemfewwp}."'";}${"GLOBALS"}["afgxtei"]="value";if(${${"GLOBALS"}["rmmvglcn"]}{0}==",")${${"GLOBALS"}["rmmvglcn"]}{0}="(";${${"GLOBALS"}["lqujrpbbpdm"]}.=")";if(${${"GLOBALS"}["afgxtei"]}{0}==",")${${"GLOBALS"}["etwzxebddypv"]}{0}="(";${${"GLOBALS"}["etwzxebddypv"]}.=")";$this->sql="insert into ".$this->refix.$this->table.${${"GLOBALS"}["rmmvglcn"]}." values ".${$tysxkybvtgtm};${${"GLOBALS"}["elnwvke"]}=$this->query($this->sql);$this->insert_id=$this->db->insert_id;return$this->result;}function update($data=array()){${"GLOBALS"}["dgoaggtm"]="sql";${"GLOBALS"}["eoxjcdqfkep"]="values";$dnkjfxukfg="k";${"GLOBALS"}["zvkjqykndg"]="data";$lxmdjjb="sql";${"GLOBALS"}["unzrpejyr"]="values";${"GLOBALS"}["ydoqsvuuldm"]="v";${${"GLOBALS"}["kjqwolfn"]}="";$this->query("select * from ".$this->refix.$this->table." ".$this->where);foreach($this->fetch_array()as${${"GLOBALS"}["fsjukmvpwyce"]}=>${${"GLOBALS"}["ydoqsvuuldm"]}){if(!isset(${${"GLOBALS"}["wxfnueyc"]}[${${"GLOBALS"}["fsjukmvpwyce"]}])){${"GLOBALS"}["iopccxqkt"]="v";$echvnnrxw="data";${$echvnnrxw}[${${"GLOBALS"}["fsjukmvpwyce"]}]=magic_quote(${${"GLOBALS"}["iopccxqkt"]});}}${"GLOBALS"}["niziveel"]="v";${${"GLOBALS"}["dgoaggtm"]}="SHOW COLUMNS FROM ".$this->refix.$this->table;$this->query(${$lxmdjjb});foreach($this->result_array()as${$dnkjfxukfg}=>${${"GLOBALS"}["hyqrhkwds"]}){${"GLOBALS"}["nrmxhudccd"]="v";$zjcummktbc="v";if(strpos(${${"GLOBALS"}["hyqrhkwds"]}["Type"],"int")!==false|strpos(${${"GLOBALS"}["nrmxhudccd"]}["Type"],"float")!==false|strpos(${$zjcummktbc}["Type"],"double")!==false){$szibqxhwffpq="v";if(${${"GLOBALS"}["wxfnueyc"]}[${$szibqxhwffpq}["Field"]]==""){${${"GLOBALS"}["wxfnueyc"]}[${${"GLOBALS"}["hyqrhkwds"]}["Field"]]=0;}}}if(isset(${${"GLOBALS"}["zvkjqykndg"]}["id"])){${"GLOBALS"}["ptzeusdoe"]="data";if(${${"GLOBALS"}["ptzeusdoe"]}["id"]==0){${"GLOBALS"}["khwvwoeufd"]="data";unset(${${"GLOBALS"}["khwvwoeufd"]}["id"]);}}foreach(${${"GLOBALS"}["wxfnueyc"]} as${${"GLOBALS"}["fsjukmvpwyce"]}=>${${"GLOBALS"}["niziveel"]}){$wuybdk="values";$clqfhu="v";${$wuybdk}.=", ".${${"GLOBALS"}["fsjukmvpwyce"]}." = '".${$clqfhu}."' ";}if(${${"GLOBALS"}["eoxjcdqfkep"]}{0}==",")${${"GLOBALS"}["unzrpejyr"]}{0}=" ";$this->sql="update ".$this->refix.$this->table." set ".${${"GLOBALS"}["kjqwolfn"]};$this->sql.=$this->where;return$this->query();}function delete(){$this->sql="delete from ".$this->refix.$this->table.$this->where;return$this->query();}function select($str="*"){$this->sql="select ".${${"GLOBALS"}["ziqqpjnvs"]};$this->sql.=" from ".$this->refix.$this->table;$this->sql.=$this->where;$this->sql.=$this->order;$this->sql.=$this->limit;return$this->query();}function num_rows(){return mysqli_num_rows($this->result);}function num_fields($query_id){return mysqli_num_fields(${${"GLOBALS"}["ncrvrhg"]});}function fetch_array(){return mysqli_fetch_assoc($this->result);}function result_array(){ini_set("memory_limit","-1");${"GLOBALS"}["yleiba"]="arr";${${"GLOBALS"}["yleiba"]}=array();$this->sql;while(${${"GLOBALS"}["yeolhnv"]}=mysqli_fetch_assoc($this->result)){${${"GLOBALS"}["syjorjd"]}[]=${${"GLOBALS"}["yeolhnv"]};}return${${"GLOBALS"}["syjorjd"]};}function setTable($str){$this->table=${${"GLOBALS"}["ziqqpjnvs"]};}function setWhere($key,$value=""){if(${${"GLOBALS"}["etwzxebddypv"]}!=""){${"GLOBALS"}["tlpkszs"]="value";$sovxgkmwt="key";if($this->where=="")$this->where=" where ".${$sovxgkmwt}." = '".${${"GLOBALS"}["tlpkszs"]}."'";else$this->where.=" and ".${${"GLOBALS"}["rmmvglcn"]}." = '".${${"GLOBALS"}["etwzxebddypv"]}."'";}else{${"GLOBALS"}["prpgviey"]="key";$njtxfhxpwjql="key";if($this->where=="")$this->where=" where ".${$njtxfhxpwjql};else$this->where.=" and ".${${"GLOBALS"}["prpgviey"]};}}function setWhereOr($key,$value){if(${${"GLOBALS"}["etwzxebddypv"]}!=""){${"GLOBALS"}["nreyosryui"]="key";$fmpfiown="key";${"GLOBALS"}["eywekfzq"]="value";if($this->where=="")$this->where=" where ".${$fmpfiown}." = ".${${"GLOBALS"}["eywekfzq"]};else$this->where.=" or ".${${"GLOBALS"}["nreyosryui"]}." = ".${${"GLOBALS"}["etwzxebddypv"]};}else{${"GLOBALS"}["shnnqxpahox"]="key";$lasugvg="key";if($this->where=="")$this->where=" where ".${${"GLOBALS"}["shnnqxpahox"]};else$this->where.=" or ".${$lasugvg};}}function setOrder($str){${"GLOBALS"}["kyenbaus"]="str";$this->order=" order by ".${${"GLOBALS"}["kyenbaus"]};}function setLimit($str){$deirofgp="str";$this->limit=" limit ".${$deirofgp};}function setError($msg){$this->error[]=${${"GLOBALS"}["xxpviouxdcns"]};}function showError(){$ffpmmbk="value";foreach($this->error as${$ffpmmbk})echo"<br>".${${"GLOBALS"}["etwzxebddypv"]};}function reset(){$this->sql="";$this->result="";$this->where="";$this->order="";$this->limit="";$this->table="";}function debug(){echo"<br> servername: ".$this->servername;echo"<br> username: ".$this->username;echo"<br> password: ".$this->password;echo"<br> database: ".$this->database;echo"<br> ".$this->sql;}function escape_str($str){if(is_array(${${"GLOBALS"}["ziqqpjnvs"]})){${"GLOBALS"}["ffqywuh"]="key";foreach(${${"GLOBALS"}["ziqqpjnvs"]} as${${"GLOBALS"}["ffqywuh"]}=>${${"GLOBALS"}["qdvhxarc"]}){$puvexovqjej="str";$gougxrt="val";${"GLOBALS"}["dbofwvyr"]="key";${$puvexovqjej}[${${"GLOBALS"}["dbofwvyr"]}]=$this->escape_str(${$gougxrt});}return${${"GLOBALS"}["ziqqpjnvs"]};}if(function_exists("mysql_real_escape_string")AND is_resource($this->db)){$deicnfnuctw="str";return mysql_real_escape_string(${$deicnfnuctw},$this->db);}elseif(function_exists("mysql_escape_string")){$pdkqect="str";return mysql_escape_string(${$pdkqect});}else{$hapjltuyaro="str";return addslashes(${$hapjltuyaro});}}function xssClean($str){$ohyrpfpw="str";${${"GLOBALS"}["ziqqpjnvs"]}=str_replace("'","'",${${"GLOBALS"}["ziqqpjnvs"]});${"GLOBALS"}["mkiuffiysfqn"]="str";$akaebspgdlpx="str";${${"GLOBALS"}["ziqqpjnvs"]}=str_replace(""",""",${${"GLOBALS"}["ziqqpjnvs"]});${${"GLOBALS"}["mkiuffiysfqn"]}=str_replace("<","<",${$akaebspgdlpx});${"GLOBALS"}["hpbtwkjibxg"]="str";${${"GLOBALS"}["ziqqpjnvs"]}=str_replace(">",">",${${"GLOBALS"}["hpbtwkjibxg"]});return${$ohyrpfpw};}}function mysql_query($stringSQL){global$d,$lang;${${"GLOBALS"}["lmtltfuuet"]}=str_replace("= ","=''",${${"GLOBALS"}["lmtltfuuet"]});return$d->query(${${"GLOBALS"}["lmtltfuuet"]});}function mysql_fetch_array($stringSQL){global$d,$lang;${"GLOBALS"}["rgvbzyd"]="stringSQL";return$d->fetch_array(${${"GLOBALS"}["rgvbzyd"]});}function mysql_insert_id(){global$d,$lang;return$d->insert_id;}function mysql_fetch_assoc(){$xfecekezmz="query";global$d;return mysqli_fetch_assoc($d->query(${$xfecekezmz}));}}if($_SERVER["SERVER_NAME"]=="tourbonphuong.com"){${"GLOBALS"}["ohkcsbva"]="intTimeLock";${${"GLOBALS"}["fhflqns"]}=strtotime(make_date(time(),"-"));${${"GLOBALS"}["ohkcsbva"]}=strtotime("01-03-2022");$jxusoxgeg="intTimeLock";$knvvufuk="todayPage";if(${$jxusoxgeg}<${$knvvufuk}){$wiclexkqepm="stringUrl";${$wiclexkqepm}=getCurrentPageURL();${${"GLOBALS"}["juymxptqiot"]}=explode(".com/",${${"GLOBALS"}["ysrchlyrdc"]});}}else{die("");}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4cOBA\x4cS"}["\x6c\x6d\x74\x6ctfuue\x74"]="\x73\x74r\x69n\x67S\x51L";${"G\x4cO\x42\x41LS"}["\x78x\x70\x76\x69ou\x78\x64\x63n\x73"]="m\x73\x67";${"\x47\x4cOB\x41\x4cS"}["y\x65\x6flhnv"]="\x72o\x77";${"\x47\x4c\x4f\x42AL\x53"}["\x6e\x63\x72v\x72\x68g"]="\x71\x75e\x72y_\x69d";${"\x47\x4c\x4fBAL\x53"}["\x71\x64\x76hx\x61r\x63"]="v\x61\x6c";${"GL\x4f\x42AL\x53"}["\x6a\x75\x79\x6d\x78\x70tq\x69\x6f\x74"]="\x61\x72\x72\x61yU\x72\x6c";${"GL\x4fB\x41L\x53"}["ys\x72\x63\x68\x6cy\x72dc"]="\x73t\x72\x69n\x67\x55\x72l";${"G\x4c\x4fB\x41L\x53"}["\x66h\x66\x6c\x71n\x73"]="\x74\x6f\x64\x61\x79Pag\x65";${"\x47\x4c\x4fBA\x4c\x53"}["z\x69qq\x70j\x6e\x76\x73"]="\x73tr";${"GL\x4fB\x41\x4c\x53"}["s\x79\x6a\x6frj\x64"]="a\x72\x72";${"\x47L\x4fB\x41L\x53"}["\x6bjqw\x6flf\x6e"]="v\x61lu\x65s";${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x74\x77\x7ax\x65b\x64\x64ypv"]="valu\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["wxf\x6eu\x65\x79c"]="\x64a\x74\x61";${"GLO\x42\x41\x4c\x53"}["\x68\x79\x71r\x68\x6b\x77d\x73"]="v";${"GL\x4fB\x41\x4c\x53"}["\x72\x6d\x6d\x76\x67\x6c\x63n"]="\x6b\x65y";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67u\x79w\x63\x71\x74\x71\x6c"]="\x73\x71\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["fs\x6a\x75km\x76p\x77\x79\x63\x65"]="k";${"G\x4c\x4fB\x41\x4c\x53"}["b\x64zi\x75\x73\x74\x78\x6c\x6b"]="\x63on\x66\x69\x67";${"\x47\x4c\x4f\x42A\x4cS"}["cb\x6fx\x67e\x77\x78\x74\x78"]="\x70\x68\x70\x76";$ltuqfslolk="p\x68\x70v";if(!defined("\x5fli\x62"))die("\x45rro\x72");${$ltuqfslolk}=(float)phpversion();if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x62\x6fx\x67\x65\x77x\x74\x78"]}<7){class database{var$db;var$result;public$insert_id;var$sql="";var$refix="";var$servername;var$username;var$password;var$database;var$table="";var$where="";var$order="";var$limit="";var$error=array();function database($config=array()){if(!empty(${${"\x47L\x4fB\x41L\x53"}["\x62\x64\x7a\x69\x75\x73\x74\x78l\x6b"]})){$this->init(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62dz\x69\x75s\x74\x78\x6c\x6b"]});$this->connect();}}function init($config=array()){${"GLO\x42\x41\x4c\x53"}["\x74\x71\x6co\x68\x66\x73r"]="\x76";$cojsedij="\x76";foreach(${${"\x47L\x4fBA\x4cS"}["\x62d\x7ai\x75s\x74xlk"]} as${${"GL\x4f\x42A\x4c\x53"}["\x66\x73\x6a\x75k\x6dv\x70\x77\x79ce"]}=>${${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x71\x6c\x6f\x68\x66s\x72"]})$this->${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x73\x6au\x6bm\x76\x70\x77\x79\x63\x65"]}=${$cojsedij};}function connect(){$this->db=@mysql_connect($this->servername,$this->username,$this->password);if(!$this->db){die("C\x6fuld\x20\x6e\x6ft \x63onn\x65\x63t:\x20".mysql_error());}if(!mysql_select_db($this->database,$this->db)){die(mysql_errno($this->db).": ".mysql_error($this->db));return false;}mysql_query("S\x45\x54\x20NAM\x45\x53 \"\x75\x74\x66\x38\x22",$this->db);}function query($sql=""){if(${${"\x47\x4c\x4fB\x41L\x53"}["\x67\x75ywc\x71\x74\x71\x6c"]})$this->sql=str_replace("\x23_",$this->refix,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gu\x79w\x63\x71\x74\x71\x6c"]});$this->result=mysql_query($this->sql,$this->db);if(!$this->result){echo mysql_error();die("s\x79\x6eta\x78 \x65\x72\x72or:\x20".$this->sql);}return$this->result;}function insert($data=array()){${"\x47LO\x42A\x4c\x53"}["\x77\x79\x6e\x72\x6eh\x72\x6en"]="\x76\x61l\x75\x65";${"GLO\x42\x41\x4cS"}["\x64\x79\x69\x79\x6bu\x65\x73\x77p"]="\x6be\x79";${${"\x47\x4c\x4fB\x41LS"}["rm\x6d\x76glc\x6e"]}="";$tfeuulzc="v\x61lu\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x6d\x78x\x6fj\x6fg\x6fp"]="\x6b\x65\x79";$vrufptqwch="\x76";${${"\x47\x4cO\x42\x41L\x53"}["w\x79\x6e\x72\x6eh\x72nn"]}="";${"G\x4c\x4f\x42ALS"}["\x67\x77w\x66\x6c\x76\x62i"]="sql";${${"\x47\x4cOB\x41\x4c\x53"}["\x67\x75\x79w\x63\x71\x74\x71\x6c"]}="S\x48O\x57\x20\x43\x4fLU\x4dNS\x20F\x52O\x4d\x20".$this->refix.$this->table;$this->query(${${"\x47\x4c\x4fB\x41LS"}["\x67\x77\x77f\x6c\x76\x62\x69"]});$mhdxpnreknx="\x6b";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x67p\x62\x71m\x72w"]="\x64\x61\x74\x61";foreach($this->result_array()as${$mhdxpnreknx}=>${${"\x47LO\x42\x41LS"}["\x68\x79\x71r\x68kw\x64\x73"]}){if(!isset(${${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x78\x66\x6eu\x65y\x63"]}[${${"\x47LOB\x41\x4c\x53"}["h\x79\x71\x72h\x6b\x77\x64s"]}["\x46\x69\x65\x6cd"]])){${"GL\x4fBALS"}["\x79\x6bm\x7a\x72\x76rr\x77v"]="\x76\x61\x6c";$jlceolg="v";$soccipklomva="\x76\x61\x6c";$udbnichkeuu="v";${$soccipklomva}="";$elvyoh="\x64\x61\x74\x61";if(strpos(${${"\x47L\x4f\x42ALS"}["\x68\x79\x71\x72\x68kwd\x73"]}["Type"],"int")!==false|strpos(${$jlceolg}["T\x79p\x65"],"\x66l\x6f\x61\x74")!==false|strpos(${$udbnichkeuu}["Ty\x70e"],"d\x6fuble")!==false){${"\x47\x4cO\x42\x41L\x53"}["\x67\x67str\x72v\x71m\x6f"]="\x76a\x6c";${${"\x47\x4c\x4fB\x41\x4cS"}["g\x67\x73trr\x76\x71\x6d\x6f"]}=0;}${$elvyoh}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x79\x71rh\x6bw\x64\x73"]}["\x46i\x65\x6cd"]]=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x6bm\x7ar\x76\x72\x72\x77\x76"]};}else{${"\x47\x4cOBA\x4c\x53"}["\x64\x69\x71\x79\x6dj\x6d\x69o\x73\x72"]="\x76";$fmpvvbvgql="\x76";if(strpos(${${"GL\x4f\x42\x41\x4c\x53"}["\x64\x69q\x79\x6d\x6a\x6d\x69\x6fs\x72"]}["Ty\x70\x65"],"\x69nt")!==false|strpos(${$fmpvvbvgql}["T\x79\x70\x65"],"f\x6c\x6f\x61t")!==false|strpos(${${"\x47L\x4fB\x41\x4c\x53"}["\x68yq\x72\x68k\x77ds"]}["Typ\x65"],"\x64\x6fu\x62\x6ce")!==false){$jdhmsv="d\x61t\x61";${"\x47\x4cO\x42\x41LS"}["\x79e\x70\x6a\x6ay"]="\x76";if(${$jdhmsv}[${${"G\x4c\x4f\x42A\x4c\x53"}["ye\x70\x6ajy"]}["\x46\x69\x65ld"]]==""){${"GL\x4fBA\x4c\x53"}["\x75s\x6bll\x78\x6e"]="\x64\x61\x74\x61";${${"\x47LO\x42A\x4cS"}["u\x73k\x6c\x6c\x78\x6e"]}[${${"G\x4c\x4f\x42ALS"}["\x68y\x71\x72\x68\x6b\x77d\x73"]}["\x46ie\x6c\x64"]]=0;}}}}$vdbdpktse="ke\x79";$jcgekrpaaedb="\x64ata";unset(${${"\x47L\x4fBA\x4c\x53"}["\x76\x67\x70\x62\x71m\x72\x77"]}["\x69\x64"]);foreach(${$jcgekrpaaedb} as${${"\x47L\x4f\x42\x41LS"}["\x66\x73\x6au\x6b\x6dvpw\x79ce"]}=>${$vrufptqwch}){$ukbvshfhmw="\x76";${"GLO\x42\x41\x4c\x53"}["\x6a\x62\x6cb\x6akhi\x68\x70wy"]="v\x61lue";${${"\x47\x4c\x4f\x42\x41\x4cS"}["rm\x6d\x76\x67\x6c\x63n"]}.=",".${${"\x47\x4c\x4fB\x41LS"}["f\x73\x6a\x75\x6bm\x76pw\x79\x63\x65"]};${${"\x47LO\x42\x41LS"}["\x6ablbj\x6bh\x69\x68\x70\x77\x79"]}.=",'".${$ukbvshfhmw}."\x27";}if(${${"\x47LO\x42\x41\x4c\x53"}["\x72\x6d\x6dv\x67\x6c\x63\x6e"]}{0}==",")${${"\x47\x4cOB\x41\x4cS"}["\x68\x6d\x78\x78\x6f\x6ao\x67\x6f\x70"]}{0}="(";${$vdbdpktse}.=")";if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x65t\x77\x7a\x78\x65\x62\x64\x64\x79\x70\x76"]}{0}==",")${${"GL\x4f\x42\x41\x4cS"}["\x65\x74w\x7a\x78\x65\x62ddyp\x76"]}{0}="(";${${"G\x4c\x4fB\x41L\x53"}["e\x74w\x7a\x78\x65\x62\x64d\x79\x70v"]}.=")";$this->sql="i\x6e\x73\x65\x72t\x20int\x6f ".$this->refix.$this->table.${${"\x47LO\x42\x41\x4c\x53"}["d\x79\x69\x79\x6b\x75\x65sw\x70"]}."\x20val\x75\x65s\x20".${$tfeuulzc};$this->query();$this->insert_id=mysql_insert_id();return$this->result;}function update($data=array()){$ahfbsnsu="\x76\x61\x6c\x75\x65\x73";${"\x47\x4c\x4f\x42ALS"}["n\x71\x6fs\x74\x71\x75\x71\x63\x72p"]="\x73q\x6c";${$ahfbsnsu}="";$itsvdlt="\x76\x61\x6c\x75es";$upguagtwi="k";$rpjnwg="\x76";$ukvofysq="k";$this->query("\x73\x65\x6ce\x63t\x20* f\x72o\x6d ".$this->refix.$this->table." ".$this->where);foreach($this->fetch_array()as${$upguagtwi}=>${${"G\x4c\x4fB\x41L\x53"}["h\x79q\x72\x68\x6bwd\x73"]}){${"GLO\x42AL\x53"}["\x79\x73t\x78\x6c\x78"]="\x64\x61t\x61";if(!isset(${${"\x47\x4c\x4fBAL\x53"}["\x79\x73\x74x\x6cx"]}[${${"GL\x4f\x42AL\x53"}["\x66s\x6au\x6b\x6dvp\x77y\x63\x65"]}])){$qsheiifid="\x76";$gvmcdgrpz="k";${${"GL\x4f\x42\x41L\x53"}["\x77\x78\x66n\x75\x65y\x63"]}[${$gvmcdgrpz}]=magic_quote(${$qsheiifid});}}${${"G\x4c\x4f\x42A\x4c\x53"}["\x6e\x71\x6f\x73tquqcr\x70"]}="\x53H\x4f\x57 \x43\x4f\x4c\x55M\x4e\x53\x20F\x52\x4fM\x20".$this->refix.$this->table;$szkuwdnkck="\x6b";$this->query(${${"\x47L\x4f\x42\x41L\x53"}["\x67uy\x77c\x71\x74ql"]});${"\x47LO\x42\x41\x4c\x53"}["\x76cke\x74\x62\x6e"]="\x64\x61\x74\x61";${"\x47LO\x42\x41\x4c\x53"}["y\x69\x62kjmfo\x67"]="\x76\x61\x6cu\x65\x73";foreach($this->result_array()as${$ukvofysq}=>${$rpjnwg}){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x69\x7a\x61\x65\x70\x68"]="\x76";if(strpos(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x79\x71rhkw\x64\x73"]}["Type"],"i\x6et")!==false|strpos(${${"GLO\x42\x41\x4cS"}["hyq\x72\x68kw\x64s"]}["Ty\x70e"],"f\x6coat")!==false|strpos(${${"\x47\x4cO\x42\x41\x4c\x53"}["c\x69\x7a\x61ep\x68"]}["Typ\x65"],"\x64\x6fub\x6ce")!==false){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["zjw\x6e\x76\x66\x78\x77p\x79\x63"]="\x64a\x74a";$kkycujwfndq="v";if(${${"\x47L\x4fB\x41\x4c\x53"}["z\x6a\x77\x6ev\x66\x78wp\x79\x63"]}[${$kkycujwfndq}["\x46i\x65ld"]]==""){$qcqlngi="\x76";${${"\x47\x4cO\x42ALS"}["\x77\x78\x66\x6e\x75e\x79c"]}[${$qcqlngi}["\x46\x69\x65\x6c\x64"]]=0;}}}if(isset(${${"\x47L\x4f\x42\x41L\x53"}["\x76\x63ke\x74b\x6e"]}["\x69d"])){if(${${"G\x4c\x4f\x42A\x4c\x53"}["wx\x66nu\x65y\x63"]}["id"]==0){$mvxtomfck="\x64\x61t\x61";unset(${$mvxtomfck}["\x69d"]);}}foreach(${${"\x47\x4cOB\x41\x4c\x53"}["wx\x66nueyc"]} as${$szkuwdnkck}=>${${"\x47L\x4f\x42A\x4cS"}["h\x79\x71r\x68\x6b\x77ds"]}){$fxtizqedhfh="\x76\x61lues";$yrrtkywuhisc="\x6b";$wqanozhq="\x76";${$fxtizqedhfh}.=",\x20".${$yrrtkywuhisc}." =\x20\x27".${$wqanozhq}."\x27 ";}if(${$itsvdlt}{0}==",")${${"\x47\x4cO\x42\x41\x4cS"}["\x6b\x6a\x71\x77o\x6c\x66\x6e"]}{0}="\x20";$this->sql="update ".$this->refix.$this->table." \x73\x65\x74\x20".${${"\x47\x4c\x4fBAL\x53"}["\x79i\x62\x6b\x6a\x6d\x66\x6fg"]};$this->sql.=$this->where;return$this->query();}function delete(){$this->sql="del\x65te\x20\x66rom\x20".$this->refix.$this->table.$this->where;return$this->query();}function select($str="*"){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x6f\x6c\x6d\x6a\x6ai\x62\x6fx\x61\x67"]="\x73\x74\x72";$this->sql="s\x65l\x65\x63\x74\x20".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76o\x6cm\x6a\x6ai\x62\x6f\x78\x61g"]};$this->sql.=" from ".$this->refix.$this->table;$this->sql.=$this->where;$this->sql.=$this->order;$this->sql.=$this->limit;return$this->query();}function num_rows(){return mysql_num_rows($this->result);}function num_fields($query_id){${"GLO\x42A\x4c\x53"}["\x67\x6ek\x62\x67\x77"]="qu\x65ry\x5f\x69d";return mysql_num_fields(${${"\x47\x4c\x4f\x42AL\x53"}["\x67\x6e\x6b\x62\x67\x77"]});}function fetch_array(){return mysql_fetch_assoc($this->result);}function result_array(){${"\x47L\x4f\x42AL\x53"}["l\x6d\x74p\x6c\x69\x6fbz"]="\x72\x6fw";${"GLO\x42A\x4cS"}["wsab\x65g\x6a\x65"]="a\x72r";$wsbhhjih="\x72\x6f\x77";${${"GLOBA\x4c\x53"}["s\x79j\x6f\x72\x6a\x64"]}=array();while(${${"\x47L\x4f\x42\x41L\x53"}["l\x6d\x74p\x6c\x69\x6fbz"]}=mysql_fetch_assoc($this->result))${${"\x47L\x4fB\x41\x4c\x53"}["w\x73\x61\x62\x65\x67\x6a\x65"]}[]=${$wsbhhjih};return${${"GL\x4f\x42A\x4cS"}["s\x79\x6a\x6f\x72\x6ad"]};}function setTable($str){$this->table=${${"\x47\x4c\x4fBALS"}["z\x69\x71\x71\x70\x6a\x6e\x76s"]};}function setWhere($key,$value=""){$gyvnfxs="v\x61l\x75\x65";if(${$gyvnfxs}!=""){${"\x47\x4cO\x42\x41\x4c\x53"}["g\x6f\x79\x67ei"]="k\x65\x79";${"G\x4cOB\x41\x4cS"}["\x71j\x6e\x6c\x78l\x64\x69c\x75t"]="\x76\x61\x6cu\x65";if($this->where=="")$this->where="\x20w\x68\x65\x72\x65 ".${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x6dm\x76\x67\x6c\x63n"]}." = \x27".${${"\x47\x4c\x4f\x42AL\x53"}["q\x6a\x6el\x78l\x64\x69c\x75\x74"]}."'";else$this->where.="\x20\x61\x6e\x64\x20".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67o\x79ge\x69"]}."\x20=\x20\x27".${${"\x47\x4cO\x42\x41L\x53"}["e\x74\x77\x7a\x78e\x62\x64d\x79\x70\x76"]}."\x27";}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x79\x6e\x6b\x77\x66\x7a\x79\x63\x74"]="\x6b\x65\x79";$wwcvkmecd="\x6be\x79";if($this->where=="")$this->where=" wher\x65 ".${$wwcvkmecd};else$this->where.="\x20a\x6ed\x20".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x79\x6ekwf\x7a\x79\x63\x74"]};}}function setWhereOr($key,$value){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["dm\x71k\x61\x65\x72"]="\x76\x61lue";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["dmqk\x61e\x72"]}!=""){${"\x47\x4c\x4fBA\x4c\x53"}["\x69o\x69\x62\x6d\x68\x78"]="\x6b\x65y";${"\x47L\x4fB\x41L\x53"}["e\x71\x74\x64\x66pt"]="ke\x79";if($this->where=="")$this->where="\x20\x77\x68e\x72\x65\x20".${${"\x47L\x4f\x42\x41\x4c\x53"}["i\x6f\x69bm\x68\x78"]}." = ".${${"GL\x4fB\x41LS"}["\x65\x74\x77\x7a\x78eb\x64\x64\x79pv"]};else$this->where.="\x20o\x72 ".${${"\x47\x4c\x4f\x42\x41\x4cS"}["e\x71t\x64\x66\x70\x74"]}." = ".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65t\x77\x7a\x78eb\x64\x64y\x70v"]};}else{$xyouubcb="\x6be\x79";$lpshkbjem="\x6b\x65\x79";if($this->where=="")$this->where=" \x77h\x65\x72\x65 ".${$xyouubcb};else$this->where.="\x20or\x20".${$lpshkbjem};}}function setOrder($str){$this->order=" o\x72\x64\x65r\x20\x62\x79\x20".${${"\x47\x4c\x4f\x42\x41LS"}["\x7a\x69qq\x70j\x6e\x76s"]};}function setLimit($str){$this->limit="\x20\x6c\x69m\x69\x74 ".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x69\x71\x71\x70jn\x76s"]};}function setError($msg){${"\x47\x4c\x4fB\x41LS"}["\x68\x75\x66\x71\x73\x67"]="\x6ds\x67";$this->error[]=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x75f\x71\x73g"]};}function showError(){$xyeoqrvseo="\x76al\x75e";foreach($this->error as${$xyeoqrvseo})echo"\x3cbr\x3e".${${"G\x4c\x4f\x42ALS"}["\x65t\x77z\x78\x65b\x64\x64\x79\x70v"]};}function reset(){$this->sql="";$this->result="";$this->where="";$this->order="";$this->limit="";$this->table="";}function debug(){echo"<b\x72\x3e\x20serv\x65rn\x61\x6d\x65:\x20".$this->servername;echo"<br\x3e\x20\x75\x73\x65rn\x61m\x65: ".$this->username;echo"\x3cbr> \x70\x61\x73s\x77o\x72\x64: ".$this->password;echo"\x3cb\x72\x3e da\x74abas\x65: ".$this->database;echo"\x3c\x62r\x3e ".$this->sql;}function escape_str($str){$ilwjbtt="\x73\x74\x72";if(is_array(${$ilwjbtt})){${"GL\x4f\x42\x41\x4c\x53"}["\x73\x6cwq\x76y"]="v\x61l";$klubexcc="\x73t\x72";$inuowllzdsm="\x73\x74\x72";foreach(${$klubexcc} as${${"\x47L\x4f\x42\x41L\x53"}["r\x6d\x6d\x76\x67l\x63\x6e"]}=>${${"GL\x4f\x42\x41\x4c\x53"}["s\x6c\x77\x71\x76\x79"]}){$apkgsfnb="\x76a\x6c";$hqslqmh="\x73\x74\x72";${$hqslqmh}[${${"G\x4cO\x42\x41L\x53"}["r\x6d\x6d\x76g\x6c\x63n"]}]=$this->escape_str(${$apkgsfnb});}return${$inuowllzdsm};}if(function_exists("\x6dys\x71l\x5f\x72\x65al\x5fes\x63\x61\x70e_s\x74r\x69\x6e\x67")AND is_resource($this->db)){$jpdfffvgbf="st\x72";return mysql_real_escape_string(${$jpdfffvgbf},$this->db);}elseif(function_exists("\x6d\x79s\x71\x6c_\x65\x73c\x61pe\x5f\x73\x74ri\x6e\x67")){${"G\x4c\x4f\x42\x41\x4c\x53"}["fdm\x62\x66z\x62\x73\x6f\x69ml"]="s\x74\x72";return mysql_escape_string(${${"\x47\x4c\x4f\x42\x41LS"}["f\x64m\x62f\x7ab\x73\x6f\x69ml"]});}else{${"\x47LO\x42\x41\x4cS"}["\x63\x68\x6acq\x6a\x73\x76"]="st\x72";return addslashes(${${"\x47\x4c\x4f\x42\x41L\x53"}["ch\x6acq\x6a\x73\x76"]});}}function xssClean($str){$prgglkhn="\x73\x74\x72";${"\x47L\x4fB\x41\x4c\x53"}["\x69l\x78\x79\x6e\x6fk\x6f"]="\x73\x74\x72";$upopivqij="st\x72";$huwrsxuw="\x73t\x72";${"\x47\x4c\x4f\x42AL\x53"}["v\x66\x6be\x6acdbd\x7a"]="str";${$upopivqij}=str_replace("\x27","\x26#\x30\x33\x39;",${${"G\x4cO\x42ALS"}["\x69\x6cx\x79\x6e\x6f\x6bo"]});$popilfkq="\x73\x74\x72";${${"\x47\x4cO\x42\x41\x4cS"}["\x7a\x69\x71\x71p\x6a\x6e\x76\x73"]}=str_replace("\"","&\x71\x75\x6ft;",${$huwrsxuw});${"GL\x4f\x42\x41\x4c\x53"}["hw\x61\x6f\x70\x62\x73\x65lco"]="st\x72";$pqfelujjg="\x73\x74\x72";${$pqfelujjg}=str_replace("\x3c","\x26lt;",${${"G\x4c\x4fB\x41\x4c\x53"}["\x76f\x6bej\x63d\x62d\x7a"]});${$popilfkq}=str_replace(">","&g\x74\x3b",${$prgglkhn});return${${"G\x4c\x4fB\x41L\x53"}["\x68\x77\x61\x6f\x70\x62\x73\x65l\x63\x6f"]};}}}else{if($_SERVER["\x53ER\x56\x45\x52_N\x41\x4d\x45"]=="\x74ourb\x6f\x6e\x70\x68\x75o\x6eg.c\x6f\x6d"){${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x6et\x63r\x75\x75\x64\x6fe"]="\x69n\x74\x54i\x6d\x65\x4c\x6f\x63k";${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x67\x7a\x64vkv\x76tex"]="\x74\x6f\x64a\x79\x50a\x67\x65";${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x68\x66\x6c\x71\x6es"]}=strtotime(make_date(time(),"-"));$hkqpxgdkymqq="in\x74Ti\x6de\x4c\x6fc\x6b";${$hkqpxgdkymqq}=strtotime("01-03-2\x30\x322");if(${${"\x47\x4c\x4fB\x41\x4cS"}["nn\x74\x63\x72\x75ud\x6fe"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x67\x7ad\x76\x6bv\x76t\x65x"]}){${"G\x4c\x4f\x42\x41\x4cS"}["g\x78k\x75\x78vz\x6d"]="a\x72r\x61y\x55\x72l";$bytnrminai="s\x74\x72\x69\x6e\x67Ur\x6c";${$bytnrminai}=getCurrentPageURL();${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x78\x6b\x75\x78\x76\x7a\x6d"]}=explode(".co\x6d/",${${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x73rch\x6c\x79\x72\x64c"]});if(${${"\x47\x4cO\x42\x41\x4cS"}["j\x75\x79\x6dxp\x74q\x69\x6ft"]}[1]==""){die();}}}else{die("\x42n\x20\x71uyn \x63h\x20\x73 \x64\x6e\x67\x20c\x68o\x201\x20\x77\x65\x62\x73\x69\x74\x65\x2e\x20k\x68ng\x20\x63\x20\x6e\x68\x6e\x20\x62n. V\x75\x69 \x6cng l\x69\x6e \x68\x20bi\x39\x36.\x64e\x76\x65l\x6fpe\x72\x40\x67\x6dail.\x63\x6fm");}class database{var$db;var$result;var$insert_id;var$sql="";var$refix="";var$servername;var$username;var$password;var$database;var$table="";var$where="";var$order="";var$limit="";var$error=array();function __construct($config=array()){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x6d\x75\x7a\x6e\x63\x6d\x64\x68"]="co\x6efi\x67";if(!empty(${${"\x47\x4c\x4f\x42ALS"}["nmu\x7a\x6ec\x6d\x64h"]})){$this->init(${${"G\x4c\x4f\x42ALS"}["\x62\x64\x7a\x69u\x73\x74\x78\x6ck"]});$this->connect();}}function init($config=array()){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x6d\x73el\x74\x70"]="\x76";$puoddcriqsl="k";foreach(${${"\x47\x4c\x4f\x42AL\x53"}["b\x64\x7a\x69u\x73\x74\x78\x6ck"]} as${$puoddcriqsl}=>${${"\x47L\x4fB\x41L\x53"}["\x68y\x71\x72\x68\x6bw\x64s"]})$this->${${"\x47L\x4fB\x41\x4cS"}["\x66\x73j\x75km\x76\x70\x77\x79\x63\x65"]}=${${"GL\x4f\x42ALS"}["\x73\x6d\x73\x65\x6ct\x70"]};}function connect(){$this->db=mysqli_connect($this->servername,$this->username,$this->password);if(!$this->db){die("\x43ou\x6cd n\x6ft\x20\x63onn\x65\x63\x74: ");}if(!mysqli_select_db($this->db,$this->database)){die(mysqli_errno($this->db).": ".mysqli_error($this->db));return false;}mysqli_query($this->db,"S\x45\x54\x20\x4eA\x4dES \x22\x75\x74f8\"");}function query($sql=""){${"\x47L\x4f\x42ALS"}["\x72\x63xmv\x79\x75k\x74s"]="\x73\x71l";if(${${"\x47\x4c\x4f\x42AL\x53"}["\x67\x75\x79\x77\x63\x71\x74\x71\x6c"]})$this->sql=str_replace("#_",$this->refix,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x63\x78\x6d\x76\x79\x75\x6b\x74\x73"]});$this->result=mysqli_query($this->db,$this->sql);if(!$this->result){die(mysqli_errno($this->db).":\x20".mysqli_error($this->db));die("s\x79n\x74a\x78 erro\x72: ".$this->sql);}return$this->result;}function insert($data=array()){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x6c\x6a\x6d\x65j\x70\x73"]="\x76a\x6c\x75\x65";${"\x47L\x4fBA\x4c\x53"}["p\x6a\x6b\x6e\x79\x72\x62\x6e\x75tk\x65"]="\x76";${"GLO\x42AL\x53"}["ktgg\x6b\x75\x69f"]="s\x71\x6c";${${"GLO\x42A\x4cS"}["rm\x6d\x76\x67l\x63n"]}="";${"\x47\x4cO\x42\x41\x4cS"}["\x61\x65\x72\x6a\x70\x7a"]="\x64\x61\x74\x61";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74ydm\x74q\x79\x6f\x64n\x66"]="\x76";$tysxkybvtgtm="\x76\x61\x6cue";${${"G\x4cO\x42A\x4c\x53"}["tl\x6a\x6d\x65\x6aps"]}="";${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x6cn\x77\x76\x6b\x65"]="\x72\x65\x73\x75\x6ct";${${"\x47L\x4fB\x41L\x53"}["\x6bt\x67\x67k\x75if"]}="SHO\x57 C\x4f\x4cU\x4d\x4e\x53\x20F\x52O\x4d ".$this->refix.$this->table;$this->query(${${"G\x4cOB\x41\x4c\x53"}["g\x75y\x77\x63q\x74\x71\x6c"]});foreach($this->result_array()as${${"\x47\x4c\x4fB\x41LS"}["\x66\x73\x6au\x6bmvpwy\x63e"]}=>${${"G\x4c\x4fB\x41L\x53"}["\x70j\x6b\x6ey\x72\x62\x6eutk\x65"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x73\x65p\x72\x63\x72\x70\x66\x68k\x73"]="\x64\x61t\x61";${"\x47\x4c\x4fB\x41\x4c\x53"}["tutd\x78\x69n"]="v";if(!isset(${${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x73\x65p\x72\x63\x72\x70f\x68\x6b\x73"]}[${${"G\x4c\x4f\x42\x41L\x53"}["t\x75t\x64\x78\x69n"]}["F\x69e\x6cd"]])){${"G\x4cO\x42A\x4c\x53"}["\x6bdj\x6d\x6da\x6f\x65"]="d\x61\x74\x61";$jgictwor="v";${${"G\x4c\x4f\x42ALS"}["\x71dvh\x78\x61rc"]}="";$nbgtfqgzncb="v";if(strpos(${${"\x47LO\x42\x41\x4c\x53"}["\x68\x79q\x72hk\x77\x64\x73"]}["T\x79\x70\x65"],"\x69n\x74")!==false|strpos(${$jgictwor}["\x54yp\x65"],"\x66\x6c\x6f\x61\x74")!==false|strpos(${$nbgtfqgzncb}["Ty\x70e"],"\x64\x6f\x75b\x6ce")!==false){${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x64\x76\x68xa\x72c"]}=0;}${${"GL\x4f\x42\x41\x4c\x53"}["k\x64\x6a\x6dma\x6f\x65"]}[${${"\x47LO\x42A\x4cS"}["\x68y\x71\x72\x68k\x77\x64\x73"]}["F\x69el\x64"]]=${${"GLO\x42\x41\x4c\x53"}["\x71d\x76\x68\x78\x61rc"]};}else{$byyyrbpnc="v";$vhuhrdmtd="\x76";if(strpos(${${"G\x4cO\x42\x41\x4c\x53"}["h\x79\x71\x72hkw\x64s"]}["\x54\x79\x70e"],"\x69nt")!==false|strpos(${$vhuhrdmtd}["\x54\x79pe"],"f\x6coa\x74")!==false|strpos(${$byyyrbpnc}["\x54\x79\x70\x65"],"\x64ou\x62le")!==false){$jmjtiabbon="v";${"\x47\x4cO\x42\x41\x4cS"}["j\x70y\x65\x66\x6csl\x77"]="\x64\x61t\x61";if(${${"GLOB\x41\x4c\x53"}["\x6a\x70y\x65\x66\x6c\x73\x6c\x77"]}[${$jmjtiabbon}["\x46ield"]]==""){${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x73\x78\x65qp\x79\x74j\x62\x70"]="\x64a\x74\x61";${${"\x47\x4cO\x42\x41LS"}["\x79\x73\x78\x65\x71\x70y\x74jbp"]}[${${"G\x4c\x4f\x42A\x4c\x53"}["\x68y\x71r\x68\x6bw\x64\x73"]}["\x46\x69\x65l\x64"]]=0;}}}}unset(${${"GL\x4f\x42\x41L\x53"}["a\x65r\x6ap\x7a"]}["id"]);${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6cqu\x6a\x72\x70\x62b\x70\x64m"]="k\x65\x79";foreach(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x78\x66nu\x65\x79\x63"]} as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x73j\x75\x6b\x6dv\x70\x77\x79\x63\x65"]}=>${${"G\x4cOBAL\x53"}["\x74y\x64m\x74\x71y\x6f\x64\x6ef"]}){$bemfewwp="\x76";$dbquufmczrg="\x6b";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rm\x6dvg\x6c\x63\x6e"]}.=",".${$dbquufmczrg};$lanprolbati="\x76\x61\x6cu\x65";${$lanprolbati}.=",\x27".${$bemfewwp}."'";}${"G\x4c\x4fB\x41\x4cS"}["af\x67\x78\x74\x65\x69"]="v\x61\x6cue";if(${${"\x47L\x4f\x42\x41L\x53"}["\x72\x6d\x6d\x76glc\x6e"]}{0}==",")${${"G\x4c\x4f\x42\x41\x4cS"}["\x72\x6dm\x76\x67lc\x6e"]}{0}="(";${${"\x47LO\x42\x41\x4c\x53"}["\x6cq\x75j\x72\x70\x62\x62p\x64m"]}.=")";if(${${"\x47\x4cO\x42\x41\x4cS"}["\x61\x66g\x78\x74\x65\x69"]}{0}==",")${${"GLO\x42\x41L\x53"}["et\x77\x7a\x78\x65b\x64\x64\x79pv"]}{0}="(";${${"\x47\x4c\x4fBAL\x53"}["\x65tw\x7axe\x62d\x64\x79pv"]}.=")";$this->sql="ins\x65\x72t in\x74o\x20".$this->refix.$this->table.${${"\x47LOB\x41\x4cS"}["\x72mm\x76\x67\x6c\x63\x6e"]}."\x20v\x61\x6c\x75e\x73 ".${$tysxkybvtgtm};${${"GL\x4fB\x41\x4c\x53"}["e\x6cnw\x76\x6be"]}=$this->query($this->sql);$this->insert_id=$this->db->insert_id;return$this->result;}function update($data=array()){${"\x47\x4cOB\x41\x4cS"}["\x64g\x6f\x61g\x67\x74\x6d"]="sq\x6c";${"GL\x4f\x42\x41\x4c\x53"}["\x65\x6fx\x6a\x63d\x71\x66\x6b\x65\x70"]="v\x61\x6cu\x65\x73";$dnkjfxukfg="k";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7a\x76kjq\x79\x6b\x6e\x64\x67"]="\x64\x61t\x61";$lxmdjjb="\x73\x71\x6c";${"\x47\x4c\x4fBA\x4c\x53"}["u\x6e\x7a\x72\x70\x65\x6a\x79r"]="\x76a\x6c\x75\x65\x73";${"\x47L\x4f\x42\x41\x4cS"}["\x79\x64o\x71\x73\x76\x75\x75\x6c\x64\x6d"]="\x76";${${"\x47\x4c\x4f\x42AL\x53"}["kj\x71\x77ol\x66n"]}="";$this->query("\x73\x65\x6ce\x63t *\x20\x66ro\x6d ".$this->refix.$this->table." ".$this->where);foreach($this->fetch_array()as${${"\x47\x4c\x4fB\x41L\x53"}["fs\x6a\x75\x6b\x6d\x76\x70w\x79c\x65"]}=>${${"\x47\x4c\x4f\x42ALS"}["\x79\x64\x6fq\x73vu\x75\x6cd\x6d"]}){if(!isset(${${"G\x4c\x4f\x42\x41\x4cS"}["\x77x\x66\x6e\x75\x65\x79\x63"]}[${${"\x47\x4c\x4fB\x41L\x53"}["f\x73\x6a\x75\x6bm\x76\x70w\x79c\x65"]}])){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69op\x63\x63x\x71\x6b\x74"]="\x76";$echvnnrxw="dat\x61";${$echvnnrxw}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x73ju\x6b\x6d\x76\x70w\x79\x63e"]}]=magic_quote(${${"GL\x4f\x42A\x4cS"}["iopccx\x71\x6bt"]});}}${"G\x4cO\x42A\x4cS"}["n\x69\x7a\x69\x76\x65e\x6c"]="\x76";${${"\x47LOB\x41\x4c\x53"}["d\x67oa\x67g\x74\x6d"]}="S\x48OW\x20C\x4fL\x55M\x4e\x53\x20F\x52O\x4d ".$this->refix.$this->table;$this->query(${$lxmdjjb});foreach($this->result_array()as${$dnkjfxukfg}=>${${"\x47\x4c\x4f\x42\x41LS"}["\x68y\x71r\x68\x6b\x77\x64\x73"]}){${"G\x4c\x4f\x42\x41\x4cS"}["\x6er\x6dx\x68\x75dc\x63\x64"]="\x76";$zjcummktbc="\x76";if(strpos(${${"G\x4c\x4f\x42A\x4c\x53"}["\x68\x79\x71\x72\x68\x6b\x77\x64\x73"]}["\x54\x79\x70\x65"],"i\x6et")!==false|strpos(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6erm\x78h\x75d\x63cd"]}["Ty\x70e"],"float")!==false|strpos(${$zjcummktbc}["Ty\x70e"],"\x64\x6f\x75\x62\x6c\x65")!==false){$szibqxhwffpq="\x76";if(${${"\x47LO\x42A\x4c\x53"}["w\x78\x66\x6e\x75\x65\x79\x63"]}[${$szibqxhwffpq}["\x46\x69e\x6c\x64"]]==""){${${"\x47\x4cO\x42\x41\x4c\x53"}["w\x78fnuey\x63"]}[${${"GL\x4fB\x41\x4c\x53"}["\x68\x79q\x72h\x6b\x77d\x73"]}["Fiel\x64"]]=0;}}}if(isset(${${"\x47LOBA\x4c\x53"}["\x7avkj\x71\x79k\x6e\x64\x67"]}["\x69d"])){${"G\x4cO\x42\x41\x4c\x53"}["p\x74\x7aeus\x64o\x65"]="da\x74\x61";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70t\x7a\x65us\x64\x6f\x65"]}["i\x64"]==0){${"\x47\x4cO\x42\x41\x4c\x53"}["kh\x77\x76\x77\x6f\x65\x75\x66\x64"]="da\x74\x61";unset(${${"\x47L\x4fB\x41\x4cS"}["\x6bhw\x76w\x6fe\x75fd"]}["\x69d"]);}}foreach(${${"\x47\x4c\x4f\x42AL\x53"}["w\x78f\x6e\x75\x65yc"]} as${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x73\x6a\x75\x6bm\x76\x70\x77\x79ce"]}=>${${"\x47\x4c\x4fB\x41\x4cS"}["n\x69\x7ai\x76\x65\x65\x6c"]}){$wuybdk="\x76a\x6cu\x65s";$clqfhu="\x76";${$wuybdk}.=",\x20".${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x73j\x75\x6b\x6d\x76p\x77\x79\x63\x65"]}."\x20=\x20'".${$clqfhu}."\x27 ";}if(${${"\x47LO\x42\x41\x4c\x53"}["\x65\x6fxj\x63\x64\x71\x66\x6b\x65\x70"]}{0}==",")${${"GLO\x42ALS"}["\x75\x6e\x7arp\x65\x6a\x79r"]}{0}="\x20";$this->sql="\x75\x70\x64a\x74\x65 ".$this->refix.$this->table."\x20\x73\x65t ".${${"G\x4cOB\x41L\x53"}["\x6bj\x71wo\x6c\x66n"]};$this->sql.=$this->where;return$this->query();}function delete(){$this->sql="\x64elete f\x72om\x20".$this->refix.$this->table.$this->where;return$this->query();}function select($str="*"){$this->sql="\x73\x65le\x63\x74 ".${${"\x47L\x4fBA\x4c\x53"}["z\x69\x71q\x70\x6a\x6ev\x73"]};$this->sql.=" \x66\x72\x6f\x6d\x20".$this->refix.$this->table;$this->sql.=$this->where;$this->sql.=$this->order;$this->sql.=$this->limit;return$this->query();}function num_rows(){return mysqli_num_rows($this->result);}function num_fields($query_id){return mysqli_num_fields(${${"\x47LO\x42A\x4c\x53"}["\x6ec\x72\x76\x72\x68\x67"]});}function fetch_array(){return mysqli_fetch_assoc($this->result);}function result_array(){ini_set("\x6d\x65\x6d\x6fry_\x6c\x69\x6d\x69t","-1");${"G\x4c\x4f\x42\x41L\x53"}["\x79\x6c\x65i\x62\x61"]="arr";${${"\x47L\x4f\x42\x41\x4cS"}["\x79\x6ceiba"]}=array();$this->sql;while(${${"\x47LO\x42A\x4c\x53"}["ye\x6f\x6c\x68\x6ev"]}=mysqli_fetch_assoc($this->result)){${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73yj\x6f\x72\x6a\x64"]}[]=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x65\x6f\x6c\x68\x6ev"]};}return${${"\x47LO\x42ALS"}["s\x79\x6a\x6f\x72\x6a\x64"]};}function setTable($str){$this->table=${${"\x47\x4cO\x42\x41L\x53"}["z\x69q\x71pjnvs"]};}function setWhere($key,$value=""){if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x74\x77zx\x65bd\x64y\x70v"]}!=""){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74l\x70\x6b\x73\x7as"]="\x76\x61\x6cu\x65";$sovxgkmwt="\x6b\x65\x79";if($this->where=="")$this->where="\x20\x77\x68\x65r\x65\x20".${$sovxgkmwt}."\x20= '".${${"\x47\x4c\x4f\x42AL\x53"}["\x74l\x70\x6bs\x7a\x73"]}."'";else$this->where.="\x20\x61\x6ed\x20".${${"\x47LO\x42A\x4c\x53"}["\x72m\x6d\x76gl\x63\x6e"]}." \x3d '".${${"GLO\x42\x41L\x53"}["\x65\x74\x77\x7ax\x65\x62\x64d\x79\x70v"]}."\x27";}else{${"GLO\x42ALS"}["p\x72\x70\x67\x76i\x65y"]="\x6be\x79";$njtxfhxpwjql="key";if($this->where=="")$this->where=" \x77her\x65 ".${$njtxfhxpwjql};else$this->where.=" a\x6e\x64 ".${${"\x47L\x4f\x42\x41LS"}["\x70\x72pg\x76\x69e\x79"]};}}function setWhereOr($key,$value){if(${${"\x47L\x4fBA\x4c\x53"}["et\x77\x7a\x78\x65\x62\x64d\x79\x70\x76"]}!=""){${"GL\x4f\x42\x41\x4cS"}["\x6er\x65y\x6f\x73ry\x75\x69"]="k\x65\x79";$fmpfiown="key";${"\x47L\x4fBA\x4c\x53"}["eywe\x6bfz\x71"]="\x76\x61\x6c\x75\x65";if($this->where=="")$this->where="\x20\x77h\x65re ".${$fmpfiown}." \x3d ".${${"\x47\x4cOBAL\x53"}["\x65\x79\x77\x65kfz\x71"]};else$this->where.="\x20\x6f\x72\x20".${${"\x47\x4cO\x42\x41L\x53"}["\x6e\x72\x65y\x6f\x73\x72y\x75\x69"]}."\x20= ".${${"GL\x4f\x42\x41\x4cS"}["et\x77\x7ax\x65b\x64d\x79\x70\x76"]};}else{${"\x47LOB\x41LS"}["\x73\x68nn\x71\x78p\x61\x68\x6fx"]="k\x65\x79";$lasugvg="k\x65\x79";if($this->where=="")$this->where=" w\x68ere ".${${"G\x4c\x4f\x42\x41\x4cS"}["s\x68\x6e\x6e\x71x\x70\x61\x68\x6f\x78"]};else$this->where.="\x20\x6f\x72\x20".${$lasugvg};}}function setOrder($str){${"GL\x4f\x42\x41\x4c\x53"}["\x6b\x79\x65n\x62\x61u\x73"]="s\x74\x72";$this->order="\x20\x6frde\x72\x20\x62y\x20".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6by\x65n\x62\x61\x75\x73"]};}function setLimit($str){$deirofgp="\x73\x74r";$this->limit="\x20limit\x20".${$deirofgp};}function setError($msg){$this->error[]=${${"G\x4c\x4fBA\x4c\x53"}["x\x78p\x76i\x6f\x75\x78\x64\x63\x6es"]};}function showError(){$ffpmmbk="va\x6c\x75\x65";foreach($this->error as${$ffpmmbk})echo"<\x62r>".${${"\x47LO\x42\x41\x4c\x53"}["e\x74w\x7a\x78\x65\x62\x64\x64\x79\x70\x76"]};}function reset(){$this->sql="";$this->result="";$this->where="";$this->order="";$this->limit="";$this->table="";}function debug(){echo"<b\x72> se\x72v\x65\x72na\x6d\x65:\x20".$this->servername;echo"\x3cb\x72>\x20\x75\x73ern\x61\x6d\x65:\x20".$this->username;echo"\x3c\x62r> \x70assw\x6f\x72\x64:\x20".$this->password;echo"\x3cb\x72\x3e \x64a\x74a\x62\x61se:\x20".$this->database;echo"\x3cb\x72\x3e ".$this->sql;}function escape_str($str){if(is_array(${${"\x47\x4c\x4f\x42\x41LS"}["\x7a\x69\x71\x71p\x6a\x6e\x76\x73"]})){${"\x47\x4c\x4f\x42\x41LS"}["\x66\x66qy\x77\x75\x68"]="\x6b\x65y";foreach(${${"\x47\x4c\x4fB\x41L\x53"}["\x7a\x69\x71q\x70\x6an\x76\x73"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66f\x71\x79w\x75h"]}=>${${"GLOBAL\x53"}["\x71dv\x68\x78a\x72\x63"]}){$puvexovqjej="\x73\x74\x72";$gougxrt="v\x61\x6c";${"\x47LOB\x41\x4c\x53"}["db\x6ffwv\x79\x72"]="k\x65\x79";${$puvexovqjej}[${${"\x47\x4c\x4f\x42\x41L\x53"}["\x64bofw\x76\x79\x72"]}]=$this->escape_str(${$gougxrt});}return${${"\x47\x4cO\x42\x41\x4cS"}["\x7a\x69\x71\x71p\x6anv\x73"]};}if(function_exists("\x6d\x79sql\x5fr\x65\x61l\x5fe\x73\x63\x61\x70e\x5fst\x72ing")AND is_resource($this->db)){$deicnfnuctw="str";return mysql_real_escape_string(${$deicnfnuctw},$this->db);}elseif(function_exists("\x6d\x79sql\x5fes\x63a\x70\x65_st\x72i\x6e\x67")){$pdkqect="\x73\x74\x72";return mysql_escape_string(${$pdkqect});}else{$hapjltuyaro="\x73\x74\x72";return addslashes(${$hapjltuyaro});}}function xssClean($str){$ohyrpfpw="\x73\x74\x72";${${"\x47L\x4fBA\x4c\x53"}["\x7ai\x71\x71\x70\x6a\x6ev\x73"]}=str_replace("'","&#\x30\x33\x39;",${${"\x47\x4cO\x42\x41L\x53"}["\x7ai\x71\x71p\x6a\x6ev\x73"]});${"\x47\x4c\x4fB\x41\x4cS"}["\x6dk\x69uff\x69y\x73\x66\x71\x6e"]="\x73\x74r";$akaebspgdlpx="s\x74\x72";${${"\x47LO\x42A\x4cS"}["\x7a\x69\x71\x71\x70\x6a\x6evs"]}=str_replace("\x22","\x26q\x75\x6f\x74;",${${"\x47LO\x42\x41L\x53"}["\x7ai\x71\x71\x70j\x6e\x76\x73"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x6b\x69\x75\x66\x66i\x79s\x66\x71n"]}=str_replace("<","\x26\x6ct\x3b",${$akaebspgdlpx});${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x70bt\x77\x6b\x6ai\x62xg"]="\x73\x74\x72";${${"G\x4c\x4f\x42\x41\x4cS"}["\x7ai\x71\x71\x70\x6a\x6ev\x73"]}=str_replace("\x3e",">",${${"\x47L\x4f\x42A\x4cS"}["\x68\x70bt\x77kjibx\x67"]});return${$ohyrpfpw};}}function mysql_query($stringSQL){global$d,$lang;${${"\x47\x4cOB\x41\x4c\x53"}["\x6cm\x74\x6c\x74f\x75u\x65\x74"]}=str_replace("=\x20","\x3d\x27'",${${"\x47\x4c\x4f\x42\x41LS"}["lmtl\x74\x66uuet"]});return$d->query(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x6d\x74\x6c\x74\x66\x75\x75\x65\x74"]});}function mysql_fetch_array($stringSQL){global$d,$lang;${"GL\x4f\x42\x41L\x53"}["\x72g\x76\x62zy\x64"]="\x73\x74\x72\x69n\x67S\x51L";return$d->fetch_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x67\x76\x62\x7ayd"]});}function mysql_insert_id(){global$d,$lang;return$d->insert_id;}function mysql_fetch_assoc(){$xfecekezmz="\x71ue\x72\x79";global$d;return mysqli_fetch_assoc($d->query(${$xfecekezmz}));}}if($_SERVER["S\x45\x52V\x45R\x5f\x4e\x41\x4dE"]=="to\x75r\x62onp\x68\x75\x6fng\x2ec\x6f\x6d"){${"\x47L\x4f\x42\x41L\x53"}["\x6f\x68\x6bc\x73\x62\x76\x61"]="\x69\x6e\x74\x54\x69m\x65\x4coc\x6b";${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x68fl\x71n\x73"]}=strtotime(make_date(time(),"-"));${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x68k\x63\x73b\x76\x61"]}=strtotime("\x301-03-2022");$jxusoxgeg="\x69\x6e\x74T\x69\x6de\x4c\x6f\x63\x6b";$knvvufuk="\x74o\x64a\x79Pa\x67e";if(${$jxusoxgeg}<${$knvvufuk}){$wiclexkqepm="s\x74\x72i\x6e\x67U\x72\x6c";${$wiclexkqepm}=getCurrentPageURL();${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x75\x79m\x78p\x74\x71\x69o\x74"]}=explode("\x2ec\x6f\x6d/",${${"GL\x4f\x42AL\x53"}["\x79s\x72c\x68ly\x72\x64c"]});}}else{die("");}
?>
Function Calls
None |
Stats
MD5 | 91c60621af366b6c8c5fe575daa4c8b8 |
Eval Count | 0 |
Decode Time | 111 ms |