/* Decoded by unphp.net */ 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"
".${${"GLOBALS"}["etwzxebddypv"]};}function reset(){$this->sql="";$this->result="";$this->where="";$this->order="";$this->limit="";$this->table="";}function debug(){echo"
servername: ".$this->servername;echo"
username: ".$this->username;echo"
password: ".$this->password;echo"
database: ".$this->database;echo"
".$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("Bản quyền chỉ sử dụng cho 1 website. không được nhân bản. Vui lòng liên hệ bi96.developer@gmail.com");}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"
".${${"GLOBALS"}["etwzxebddypv"]};}function reset(){$this->sql="";$this->result="";$this->where="";$this->order="";$this->limit="";$this->table="";}function debug(){echo"
servername: ".$this->servername;echo"
username: ".$this->username;echo"
password: ".$this->password;echo"
database: ".$this->database;echo"
".$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("");} ?>