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 ${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x73i\x62\x74\x77q\x70kj"]="i\x74e\x6ds";${"G\x4c\x..
Decoded Output download
<?php ${"GLOBALS"}["vsibtwqpkj"]="items";${"GLOBALS"}["gzoifvmk"]="hienthi";${"GLOBALS"}["sgtxuor"]="pageSize";${"GLOBALS"}["iofeizhcf"]="offset";${"GLOBALS"}["drgtveofg"]="item";${"GLOBALS"}["hlndmto"]="totalRows";${"GLOBALS"}["lnlnrvq"]="categoryData";${"GLOBALS"}["gbcxrpg"]="cat_array";${"GLOBALS"}["hpyijdc"]="sql_sp";${"GLOBALS"}["yuutgx"]="id_catt";${"GLOBALS"}["nncgkxbrux"]="data";${"GLOBALS"}["akquexjh"]="id";${"GLOBALS"}["nfqwoylbacuk"]="url_link";${"GLOBALS"}["jyeilqnjg"]="bg";${"GLOBALS"}["gedtkhy"]="page";${"GLOBALS"}["ovxbyrygp"]="dem";${"GLOBALS"}["jwaoqglsdnd"]="where";${"GLOBALS"}["gtbawgbjtqt"]="sqlUPDATE_ORDER";${"GLOBALS"}["sglzgcvcy"]="resultUPDATE_ORDER";${"GLOBALS"}["xjhtdynkkhy"]="id_up";${"GLOBALS"}["lrmgyts"]="cats";${"GLOBALS"}["fdpeotbw"]="count";${"GLOBALS"}["gnoewn"]="multi";${"GLOBALS"}["ejytvkbhc"]="sql";${"GLOBALS"}["oxyqmpe"]="i";${"GLOBALS"}["vlhpuwfu"]="id_array";${"GLOBALS"}["hwleqi"]="template";${"GLOBALS"}["nccvixbo"]="template";$mvcdixcc="template";${"GLOBALS"}["snvyeviuvst"]="template";${"GLOBALS"}["kojnpjvgswb"]="template";${"GLOBALS"}["tdkvpsjob"]="template";$paitmrmwrfrp="template";${"GLOBALS"}["qlyjndreqj"]="template";$vwkghonfxgd="act";${"GLOBALS"}["voxixkt"]="template";${"GLOBALS"}["utmnsct"]="template";${"GLOBALS"}["uetzeh"]="template";if(!defined("_source"))die("Error");switch(${$vwkghonfxgd}){case"man_city":get_citys();${${"GLOBALS"}["uetzeh"]}="place/citys";break;case"add_city":${${"GLOBALS"}["snvyeviuvst"]}="place/city_add";break;case"edit_city":get_city();${${"GLOBALS"}["tdkvpsjob"]}="place/city_add";break;case"save_city":save_city();break;case"delete_city":delete_city();break;case"man_dist":get_dists();${${"GLOBALS"}["snvyeviuvst"]}="place/dists";break;case"add_dist":${${"GLOBALS"}["kojnpjvgswb"]}="place/dist_add";break;case"edit_dist":get_dist();${${"GLOBALS"}["qlyjndreqj"]}="place/dist_add";break;case"save_dist":save_dist();break;case"delete_dist":delete_dist();break;case"man_ward":get_wards();${${"GLOBALS"}["hwleqi"]}="place/wards";break;case"add_ward":${${"GLOBALS"}["utmnsct"]}="place/ward_add";break;case"edit_ward":get_ward();${$mvcdixcc}="place/ward_add";break;case"save_ward":save_ward();break;case"delete_ward":delete_ward();break;case"man_street":get_streets();${${"GLOBALS"}["snvyeviuvst"]}="place/streets";break;case"add_street":${${"GLOBALS"}["voxixkt"]}="place/street_add";break;case"edit_street":get_street();${$paitmrmwrfrp}="place/street_add";break;case"save_street":save_street();break;case"delete_street":delete_street();break;default:${${"GLOBALS"}["nccvixbo"]}="index";}function get_citys(){$qqgvfrvkr="pageSize";$ktnqqofmuwj="pageSize";${"GLOBALS"}["ugacyyfaxd"]="offset";global$d,$items,$url_link,$totalRows,$pageSize,$offset;$rsooemvsxgcx="totalRows";if(!empty($_POST)){$kboksqdtds="multi";$guieyybyfo="multi";${"GLOBALS"}["nljgvkflulrv"]="count";${$kboksqdtds}=$_REQUEST["multi"];${${"GLOBALS"}["vlhpuwfu"]}=$_POST["iddel"];${${"GLOBALS"}["nljgvkflulrv"]}=count(${${"GLOBALS"}["vlhpuwfu"]});if(${$guieyybyfo}=="show"){$xuqwenfk="count";$xeoyaux="i";for(${${"GLOBALS"}["oxyqmpe"]}=0;${$xeoyaux}<${$xuqwenfk};${${"GLOBALS"}["oxyqmpe"]}++){${"GLOBALS"}["ywmprgqe"]="id_array";${"GLOBALS"}["iapyukgq"]="sql";${${"GLOBALS"}["ejytvkbhc"]}="UPDATE table_place_city SET hienthi =1 WHERE id = ".${${"GLOBALS"}["ywmprgqe"]}[${${"GLOBALS"}["oxyqmpe"]}]."";mysql_query(${${"GLOBALS"}["iapyukgq"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_city");}if(${${"GLOBALS"}["gnoewn"]}=="hide"){${"GLOBALS"}["quitggcy"]="i";$tdjoerf="i";$vbqnifuargt="i";for(${${"GLOBALS"}["quitggcy"]}=0;${$vbqnifuargt}<${${"GLOBALS"}["fdpeotbw"]};${$tdjoerf}++){$vnpxqtrxk="sql";${"GLOBALS"}["kqgenxy"]="i";$fmhkkeuwew="id_array";${$vnpxqtrxk}="UPDATE table_place_city SET hienthi =0 WHERE id = ".${$fmhkkeuwew}[${${"GLOBALS"}["kqgenxy"]}]."";mysql_query(${${"GLOBALS"}["ejytvkbhc"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_city");}if(${${"GLOBALS"}["gnoewn"]}=="del"){$ytobkr="i";for(${$ytobkr}=0;${${"GLOBALS"}["oxyqmpe"]}<${${"GLOBALS"}["fdpeotbw"]};${${"GLOBALS"}["oxyqmpe"]}++){$ksrkdh="sql";${"GLOBALS"}["afhvtmyrtm"]="id_array";${"GLOBALS"}["phnhxyxnaccf"]="sql";${$ksrkdh}="delete from table_place_city where id = ".${${"GLOBALS"}["afhvtmyrtm"]}[${${"GLOBALS"}["oxyqmpe"]}]."";mysql_query(${${"GLOBALS"}["phnhxyxnaccf"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_city");}}${"GLOBALS"}["wcwuvjneu"]="sql";if($_REQUEST["hienthi"]!=""){$rbkcoupowb="id_up";${"GLOBALS"}["usknhqkvmk"]="id_up";${"GLOBALS"}["lkhrxqxqxg"]="sql_sp";$plpbgtys="hienthi";${$rbkcoupowb}=$_REQUEST["hienthi"];${${"GLOBALS"}["lkhrxqxqxg"]}="SELECT id,hienthi FROM table_place_city where id='".${${"GLOBALS"}["usknhqkvmk"]}."' ";$wlypvycxefj="sql_sp";$d->query(${$wlypvycxefj});${"GLOBALS"}["lyyiieyh"]="cats";${${"GLOBALS"}["lrmgyts"]}=$d->result_array();${$plpbgtys}=${${"GLOBALS"}["lyyiieyh"]}[0]["hienthi"];$cvyysjnacvo="hienthi";if(${$cvyysjnacvo}==0){$flwdnwn="sqlUPDATE_ORDER";${$flwdnwn}="UPDATE table_place_city SET hienthi =1 WHERE id = ".${${"GLOBALS"}["xjhtdynkkhy"]}."";${${"GLOBALS"}["sglzgcvcy"]}=mysql_query(${${"GLOBALS"}["gtbawgbjtqt"]})or die("Not query sqlUPDATE_ORDER");}else{$jxcropuabm="sqlUPDATE_ORDER";${${"GLOBALS"}["gtbawgbjtqt"]}="UPDATE table_place_city SET hienthi =0 WHERE id = ".${${"GLOBALS"}["xjhtdynkkhy"]}."";${${"GLOBALS"}["sglzgcvcy"]}=mysql_query(${$jxcropuabm})or die("Not query sqlUPDATE_ORDER");}}${"GLOBALS"}["patponhmhty"]="page";$rnsnqpzkyzx="page";if($_REQUEST["key"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" where ten like '%".$_REQUEST["key"]."%'";}$tbmvns="sql";${"GLOBALS"}["woqaloycx"]="sql";${$tbmvns}="SELECT count(id) AS numrows FROM #_place_city $where";$envfxaur="page";$d->query(${${"GLOBALS"}["woqaloycx"]});${"GLOBALS"}["hpwcyewjit"]="dem";${${"GLOBALS"}["ovxbyrygp"]}=$d->fetch_array();${$rsooemvsxgcx}=${${"GLOBALS"}["hpwcyewjit"]}["numrows"];${${"GLOBALS"}["patponhmhty"]}=$_GET["p"];${$qqgvfrvkr}=10;$ucfbfvecpk="sql";${${"GLOBALS"}["ugacyyfaxd"]}=5;if(${${"GLOBALS"}["gedtkhy"]}=="")${${"GLOBALS"}["gedtkhy"]}=1;else${${"GLOBALS"}["gedtkhy"]}=$_GET["p"];${$rnsnqpzkyzx}--;${${"GLOBALS"}["jyeilqnjg"]}=${$ktnqqofmuwj}*${$envfxaur};${${"GLOBALS"}["wcwuvjneu"]}="SELECT * from #_place_city $where order by id limit $bg,$pageSize";$khplxqlifa="items";$d->query(${$ucfbfvecpk});${$khplxqlifa}=$d->result_array();${${"GLOBALS"}["nfqwoylbacuk"]}="index.php?com=place&act=man_city";}function get_city(){$gnurcfkkpje="id";global$d,$item;${"GLOBALS"}["vbnoaqjeu"]="id";${$gnurcfkkpje}=isset($_GET["id"])?themdau($_GET["id"]):"";${"GLOBALS"}["uuwirf"]="id";if(!${${"GLOBALS"}["vbnoaqjeu"]})transfer("Khng nhn c d liu","index.php?com=place&act=man_city");${${"GLOBALS"}["ejytvkbhc"]}="select * from #_place_city where id='".${${"GLOBALS"}["uuwirf"]}."'";${"GLOBALS"}["vpnlasgdhqa"]="item";$d->query(${${"GLOBALS"}["ejytvkbhc"]});if($d->num_rows()==0)transfer("D liu khng c thc","index.php?com=place&act=man_city");${${"GLOBALS"}["vpnlasgdhqa"]}=$d->fetch_array();}function save_city(){global$d;if(empty($_POST))transfer("Khng nhn c d liu","index.php?com=place&act=man_city");${"GLOBALS"}["loeqldlzlfd"]="id";${${"GLOBALS"}["akquexjh"]}=isset($_POST["id"])?themdau($_POST["id"]):"";if(${${"GLOBALS"}["loeqldlzlfd"]}){${"GLOBALS"}["hvsxrdtezzn"]="data";$gvkvuohxfsx="id";$bbveskjhyy="data";${${"GLOBALS"}["akquexjh"]}=themdau($_POST["id"]);${$bbveskjhyy}["ten"]=$_POST["name"];${${"GLOBALS"}["nncgkxbrux"]}["tenkhongdau"]=changeTitle($_POST["name"]);${${"GLOBALS"}["nncgkxbrux"]}["stt"]=$_POST["num"];$hmcyecloisa="data";${${"GLOBALS"}["hvsxrdtezzn"]}["ship"]=$_POST["ship"];${${"GLOBALS"}["nncgkxbrux"]}["hienthi"]=isset($_POST["active"])?1:0;${$hmcyecloisa}["ngaysua"]=time();$d->setTable("place_city");$d->setWhere("id",${$gvkvuohxfsx});if($d->update(${${"GLOBALS"}["nncgkxbrux"]})){redirect("index.php?com=place&act=man_city&curPage=".$_REQUEST["curPage"]."");}else transfer("Cp nht d liu b li","index.php?com=place&act=man_city");}else{$gphhduerwa="data";${"GLOBALS"}["zavuhefkqe"]="data";$fwoxoidybil="data";${$gphhduerwa}["ten"]=$_POST["name"];$lpumpdohs="data";${"GLOBALS"}["fhredzip"]="data";${${"GLOBALS"}["nncgkxbrux"]}["tenkhongdau"]=changeTitle($_POST["name"]);${$fwoxoidybil}["stt"]=$_POST["num"];${$lpumpdohs}["ship"]=$_POST["ship"];${${"GLOBALS"}["zavuhefkqe"]}["hienthi"]=isset($_POST["active"])?1:0;${${"GLOBALS"}["nncgkxbrux"]}["ngaytao"]=time();$d->setTable("place_city");if($d->insert(${${"GLOBALS"}["fhredzip"]})){redirect("index.php?com=place&act=man_city");}else transfer("Lu d liu b li","index.php?com=place&act=man_city");}}function delete_city(){global$d;if($_REQUEST["id_cat"]!=""){${${"GLOBALS"}["yuutgx"]}="&id_cat=".$_REQUEST["id_cat"];}if($_REQUEST["curPage"]!=""){${${"GLOBALS"}["yuutgx"]}.="&curPage=".$_REQUEST["curPage"];}if(isset($_GET["id"])){${"GLOBALS"}["yjunkjqwy"]="sql";$wwrvywrljhs="id";${$wwrvywrljhs}=themdau($_GET["id"]);$d->reset();${${"GLOBALS"}["ejytvkbhc"]}="delete from #_place_city where id='".${${"GLOBALS"}["akquexjh"]}."'";if($d->query(${${"GLOBALS"}["yjunkjqwy"]}))redirect("index.php?com=place&act=man_city".${${"GLOBALS"}["yuutgx"]}."");else transfer("Xa d liu b li","index.php?com=place&act=man_city");}else transfer("Khng nhn c d liu","index.php?com=place&act=man_city");}function get_dists(){${"GLOBALS"}["sbfywnpnwtq"]="page";global$d,$items,$url_link,$totalRows,$pageSize,$offset;if(!empty($_POST)){${"GLOBALS"}["cuorbv"]="id_array";$cozyemclmj="multi";$knvstzjrbhk="count";${$cozyemclmj}=$_REQUEST["multi"];${${"GLOBALS"}["cuorbv"]}=$_POST["iddel"];${"GLOBALS"}["cxmyjll"]="id_array";${"GLOBALS"}["dfyzebacgf"]="multi";$tplfghy="multi";${$knvstzjrbhk}=count(${${"GLOBALS"}["cxmyjll"]});if(${${"GLOBALS"}["gnoewn"]}=="show"){${"GLOBALS"}["eftbbdlxansy"]="i";${"GLOBALS"}["jrdmuud"]="i";for(${${"GLOBALS"}["jrdmuud"]}=0;${${"GLOBALS"}["oxyqmpe"]}<${${"GLOBALS"}["fdpeotbw"]};${${"GLOBALS"}["eftbbdlxansy"]}++){$iwdeindl="id_array";$kovghlmoyym="sql";${"GLOBALS"}["wtfliisrm"]="sql";${$kovghlmoyym}="UPDATE table_place_dist SET hienthi =1 WHERE id = ".${$iwdeindl}[${${"GLOBALS"}["oxyqmpe"]}]."";mysql_query(${${"GLOBALS"}["wtfliisrm"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_dist");}if(${$tplfghy}=="hide"){$vxxjwvktkt="i";$uooylmqmhcn="i";for(${${"GLOBALS"}["oxyqmpe"]}=0;${$vxxjwvktkt}<${${"GLOBALS"}["fdpeotbw"]};${$uooylmqmhcn}++){${"GLOBALS"}["losloxwive"]="id_array";$lnapixoc="sql";${${"GLOBALS"}["ejytvkbhc"]}="UPDATE table_place_dist SET hienthi =0 WHERE id = ".${${"GLOBALS"}["losloxwive"]}[${${"GLOBALS"}["oxyqmpe"]}]."";mysql_query(${$lnapixoc})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_dist");}if(${${"GLOBALS"}["dfyzebacgf"]}=="del"){$erqlnmtcszn="i";${"GLOBALS"}["pdntfbdjkrf"]="i";${"GLOBALS"}["wjswzqumdis"]="count";for(${${"GLOBALS"}["oxyqmpe"]}=0;${${"GLOBALS"}["pdntfbdjkrf"]}<${${"GLOBALS"}["wjswzqumdis"]};${$erqlnmtcszn}++){$wosgrwnojldb="sql";$cmfavqinvfts="sql";$uxmekgnboab="i";${$wosgrwnojldb}="delete from table_place_dist where id = ".${${"GLOBALS"}["vlhpuwfu"]}[${$uxmekgnboab}]."";mysql_query(${$cmfavqinvfts})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_dist");}}${"GLOBALS"}["tivxbzrvipki"]="offset";${"GLOBALS"}["mqellimttvn"]="page";${"GLOBALS"}["jxealhdbmgq"]="dem";if($_REQUEST["hienthi"]!=""){${${"GLOBALS"}["xjhtdynkkhy"]}=$_REQUEST["hienthi"];${"GLOBALS"}["tswexwm"]="cats";${${"GLOBALS"}["hpyijdc"]}="SELECT id,hienthi FROM table_place_dist where id='".${${"GLOBALS"}["xjhtdynkkhy"]}."' ";$jwpckyzmd="sql_sp";${"GLOBALS"}["pmoeqbwujym"]="hienthi";$d->query(${$jwpckyzmd});${${"GLOBALS"}["tswexwm"]}=$d->result_array();${"GLOBALS"}["yiiiprjtssm"]="hienthi";${${"GLOBALS"}["pmoeqbwujym"]}=${${"GLOBALS"}["lrmgyts"]}[0]["hienthi"];if(${${"GLOBALS"}["yiiiprjtssm"]}==0){${"GLOBALS"}["lhrgtkdfi"]="sqlUPDATE_ORDER";$qgkxhdsccv="sqlUPDATE_ORDER";${"GLOBALS"}["ebbfaeoox"]="id_up";${${"GLOBALS"}["lhrgtkdfi"]}="UPDATE table_place_dist SET hienthi =1 WHERE id = ".${${"GLOBALS"}["ebbfaeoox"]}."";$ylktehkp="resultUPDATE_ORDER";${$ylktehkp}=mysql_query(${$qgkxhdsccv})or die("Not query sqlUPDATE_ORDER");}else{${"GLOBALS"}["obdtxdnww"]="id_up";${${"GLOBALS"}["gtbawgbjtqt"]}="UPDATE table_place_dist SET hienthi =0 WHERE id = ".${${"GLOBALS"}["obdtxdnww"]}."";${${"GLOBALS"}["sglzgcvcy"]}=mysql_query(${${"GLOBALS"}["gtbawgbjtqt"]})or die("Not query sqlUPDATE_ORDER");}}if((int)$_REQUEST["id_cat"]!=""){$pinucmyxnh="categoryData";${$pinucmyxnh}=get_id_child("place_cat",$_REQUEST["id_cat"]);${${"GLOBALS"}["gbcxrpg"]}=implode(",",${${"GLOBALS"}["lnlnrvq"]});${${"GLOBALS"}["jwaoqglsdnd"]}.=" where id_cat IN ($cat_array) ";}${"GLOBALS"}["exltbeb"]="sql";if($_REQUEST["id_city"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" where id_city = '".$_REQUEST["id_city"]."'";}if($_REQUEST["key"]!=""){${"GLOBALS"}["glfvjuuh"]="where";${${"GLOBALS"}["glfvjuuh"]}.=" where ten like '%".$_REQUEST["key"]."%'";}${${"GLOBALS"}["ejytvkbhc"]}="SELECT count(id) AS numrows FROM #_place_dist $where";$d->query(${${"GLOBALS"}["exltbeb"]});${"GLOBALS"}["cbozndlidi"]="pageSize";${"GLOBALS"}["waxpfiplqdh"]="items";${${"GLOBALS"}["jxealhdbmgq"]}=$d->fetch_array();${${"GLOBALS"}["hlndmto"]}=${${"GLOBALS"}["ovxbyrygp"]}["numrows"];${${"GLOBALS"}["sbfywnpnwtq"]}=$_GET["p"];${${"GLOBALS"}["cbozndlidi"]}=10;${"GLOBALS"}["hixhjvm"]="pageSize";${"GLOBALS"}["ynobfvx"]="sql";${${"GLOBALS"}["tivxbzrvipki"]}=5;if(${${"GLOBALS"}["gedtkhy"]}=="")${${"GLOBALS"}["mqellimttvn"]}=1;else${${"GLOBALS"}["gedtkhy"]}=$_GET["p"];${${"GLOBALS"}["gedtkhy"]}--;${${"GLOBALS"}["jyeilqnjg"]}=${${"GLOBALS"}["hixhjvm"]}*${${"GLOBALS"}["gedtkhy"]};${${"GLOBALS"}["ejytvkbhc"]}="SELECT * from #_place_dist $where order by id limit $bg,$pageSize";$d->query(${${"GLOBALS"}["ynobfvx"]});${${"GLOBALS"}["waxpfiplqdh"]}=$d->result_array();${${"GLOBALS"}["nfqwoylbacuk"]}="index.php?com=place&act=man_dist";}function get_dist(){${"GLOBALS"}["uqdgieum"]="sql";global$d,$item;${${"GLOBALS"}["akquexjh"]}=isset($_GET["id"])?themdau($_GET["id"]):"";${"GLOBALS"}["opydhrpwc"]="id";if(!${${"GLOBALS"}["opydhrpwc"]})transfer("Khng nhn c d liu","index.php?com=place&act=man_dist");$fxnysqdatf="id";${${"GLOBALS"}["ejytvkbhc"]}="select * from #_place_dist where id='".${$fxnysqdatf}."'";$d->query(${${"GLOBALS"}["uqdgieum"]});if($d->num_rows()==0)transfer("D liu khng c thc","index.php?com=place&act=man_dist");${${"GLOBALS"}["drgtveofg"]}=$d->fetch_array();}function save_dist(){global$d;$rnlkvr="id";if(empty($_POST))transfer("Khng nhn c d liu","index.php?com=place&act=man_dist");${$rnlkvr}=isset($_POST["id"])?themdau($_POST["id"]):"";if(${${"GLOBALS"}["akquexjh"]}){${"GLOBALS"}["ukfqsfy"]="data";${"GLOBALS"}["bofkegl"]="id";$uudqncazkti="data";${${"GLOBALS"}["bofkegl"]}=themdau($_POST["id"]);${"GLOBALS"}["ccihvbbxd"]="id";${${"GLOBALS"}["nncgkxbrux"]}["id_city"]=(int)$_POST["id_city"];${${"GLOBALS"}["nncgkxbrux"]}["ten"]=$_POST["name"];${${"GLOBALS"}["nncgkxbrux"]}["tenkhongdau"]=changeTitle($_POST["name"]);${${"GLOBALS"}["nncgkxbrux"]}["stt"]=$_POST["num"];${${"GLOBALS"}["ukfqsfy"]}["gia"]=$_POST["gia"];${${"GLOBALS"}["nncgkxbrux"]}["hienthi"]=isset($_POST["active"])?1:0;${$uudqncazkti}["ngaysua"]=time();$d->setTable("place_dist");$d->setWhere("id",${${"GLOBALS"}["ccihvbbxd"]});if($d->update(${${"GLOBALS"}["nncgkxbrux"]})){redirect("index.php?com=place&act=man_dist&curPage=".$_REQUEST["curPage"]."");}else transfer("Cp nht d liu b li","index.php?com=place&act=man_dist");}else{$naejylxqd="data";${"GLOBALS"}["iarzbobllhj"]="data";${"GLOBALS"}["udmcppys"]="data";${"GLOBALS"}["jdijrniyyw"]="data";${${"GLOBALS"}["nncgkxbrux"]}["id_city"]=(int)$_POST["id_city"];${${"GLOBALS"}["udmcppys"]}["ten"]=$_POST["name"];${${"GLOBALS"}["jdijrniyyw"]}["tenkhongdau"]=changeTitle($_POST["name"]);${$naejylxqd}["stt"]=$_POST["num"];${"GLOBALS"}["llamasjx"]="data";${${"GLOBALS"}["llamasjx"]}["gia"]=$_POST["gia"];${"GLOBALS"}["ugiitivd"]="data";${${"GLOBALS"}["iarzbobllhj"]}["hienthi"]=isset($_POST["active"])?1:0;${${"GLOBALS"}["nncgkxbrux"]}["ngaytao"]=time();$d->setTable("place_dist");if($d->insert(${${"GLOBALS"}["ugiitivd"]})){redirect("index.php?com=place&act=man_dist");}else transfer("Lu d liu b li","index.php?com=place&act=man_dist");}}function delete_dist(){global$d;if($_REQUEST["id_city"]!=""){$cnuvjqt="id_catt";${$cnuvjqt}="&id_city=".$_REQUEST["id_city"];}if($_REQUEST["curPage"]!=""){$qjlwopxoeit="id_catt";${$qjlwopxoeit}.="&curPage=".$_REQUEST["curPage"];}if(isset($_GET["id"])){$bpbfbqr="sql";${"GLOBALS"}["znkgjrfe"]="id";${"GLOBALS"}["vezcjexiwn"]="sql";${"GLOBALS"}["ruvttynnupl"]="id_catt";${${"GLOBALS"}["akquexjh"]}=themdau($_GET["id"]);$d->reset();${${"GLOBALS"}["vezcjexiwn"]}="delete from #_place_dist where id='".${${"GLOBALS"}["znkgjrfe"]}."'";if($d->query(${$bpbfbqr}))redirect("index.php?com=place&act=man_dist".${${"GLOBALS"}["ruvttynnupl"]}."");else transfer("Xa d liu b li","index.php?com=place&act=man_dist");}else transfer("Khng nhn c d liu","index.php?com=place&act=man_dist");}function get_wards(){$qsrsvhkbrxb="pageSize";global$d,$items,$url_link,$totalRows,$pageSize,$offset;if(!empty($_POST)){${"GLOBALS"}["wkvlrodf"]="id_array";$uxrcmmw="id_array";$ricuvspuqlxm="multi";$zdpbjfjhej="multi";${$zdpbjfjhej}=$_REQUEST["multi"];${"GLOBALS"}["yngyhyf"]="count";${${"GLOBALS"}["wkvlrodf"]}=$_POST["iddel"];${${"GLOBALS"}["yngyhyf"]}=count(${$uxrcmmw});if(${${"GLOBALS"}["gnoewn"]}=="show"){$gtnslhob="i";${"GLOBALS"}["bizvyvfens"]="i";$lcgkwlqliast="i";$cwgllhwtsrd="count";for(${${"GLOBALS"}["bizvyvfens"]}=0;${$lcgkwlqliast}<${$cwgllhwtsrd};${$gtnslhob}++){${"GLOBALS"}["atpqlge"]="sql";${"GLOBALS"}["nsuuyjvfkrm"]="i";${${"GLOBALS"}["ejytvkbhc"]}="UPDATE table_place_ward SET hienthi =1 WHERE id = ".${${"GLOBALS"}["vlhpuwfu"]}[${${"GLOBALS"}["nsuuyjvfkrm"]}]."";mysql_query(${${"GLOBALS"}["atpqlge"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_ward");}if(${$ricuvspuqlxm}=="hide"){$dksrrjeimu="count";${"GLOBALS"}["qlhenusyrc"]="i";$wgtyphvt="i";$dxinsl="i";for(${$dxinsl}=0;${$wgtyphvt}<${$dksrrjeimu};${${"GLOBALS"}["qlhenusyrc"]}++){${"GLOBALS"}["lbvmnxhmg"]="id_array";$spyzavjlhq="i";$gkevwwyzvy="sql";${$gkevwwyzvy}="UPDATE table_place_ward SET hienthi =0 WHERE id = ".${${"GLOBALS"}["lbvmnxhmg"]}[${$spyzavjlhq}]."";mysql_query(${${"GLOBALS"}["ejytvkbhc"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_ward");}if(${${"GLOBALS"}["gnoewn"]}=="del"){for(${${"GLOBALS"}["oxyqmpe"]}=0;${${"GLOBALS"}["oxyqmpe"]}<${${"GLOBALS"}["fdpeotbw"]};${${"GLOBALS"}["oxyqmpe"]}++){${"GLOBALS"}["zihcqkxxo"]="sql";${"GLOBALS"}["lrmcvdy"]="sql";$lydvnqe="id_array";${${"GLOBALS"}["zihcqkxxo"]}="delete from table_place_ward where id = ".${$lydvnqe}[${${"GLOBALS"}["oxyqmpe"]}]."";mysql_query(${${"GLOBALS"}["lrmcvdy"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_ward");}}if($_REQUEST["hienthi"]!=""){$uvqjxrbec="sql_sp";${${"GLOBALS"}["xjhtdynkkhy"]}=$_REQUEST["hienthi"];${$uvqjxrbec}="SELECT id,hienthi FROM table_place_ward where id='".${${"GLOBALS"}["xjhtdynkkhy"]}."' ";$vrvwenxr="cats";${"GLOBALS"}["bnkbkvab"]="hienthi";$d->query(${${"GLOBALS"}["hpyijdc"]});${"GLOBALS"}["kavsxkaqx"]="hienthi";${${"GLOBALS"}["lrmgyts"]}=$d->result_array();${${"GLOBALS"}["kavsxkaqx"]}=${$vrvwenxr}[0]["hienthi"];if(${${"GLOBALS"}["bnkbkvab"]}==0){${"GLOBALS"}["ujndimmpiwzk"]="sqlUPDATE_ORDER";$vntdsrpg="resultUPDATE_ORDER";${"GLOBALS"}["hntaxtgfzfg"]="sqlUPDATE_ORDER";${"GLOBALS"}["yjgordtskf"]="id_up";${${"GLOBALS"}["ujndimmpiwzk"]}="UPDATE table_place_ward SET hienthi =1 WHERE id = ".${${"GLOBALS"}["yjgordtskf"]}."";${$vntdsrpg}=mysql_query(${${"GLOBALS"}["hntaxtgfzfg"]})or die("Not query sqlUPDATE_ORDER");}else{${${"GLOBALS"}["gtbawgbjtqt"]}="UPDATE table_place_ward SET hienthi =0 WHERE id = ".${${"GLOBALS"}["xjhtdynkkhy"]}."";$kszprssb="resultUPDATE_ORDER";${$kszprssb}=mysql_query(${${"GLOBALS"}["gtbawgbjtqt"]})or die("Not query sqlUPDATE_ORDER");}}${"GLOBALS"}["uhzxmropqw"]="sql";if($_REQUEST["id_city"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" where id_city = '".$_REQUEST["id_city"]."'";}${"GLOBALS"}["omtrtvbjoqzr"]="items";if($_REQUEST["id_dist"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" and id_dist = '".$_REQUEST["id_dist"]."'";}${"GLOBALS"}["sdpxmonk"]="dem";if($_REQUEST["key"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" where ten like '%".$_REQUEST["key"]."%'";}${${"GLOBALS"}["ejytvkbhc"]}="SELECT count(id) AS numrows FROM #_place_ward $where";${"GLOBALS"}["hjedgdt"]="page";$d->query(${${"GLOBALS"}["uhzxmropqw"]});${${"GLOBALS"}["ovxbyrygp"]}=$d->fetch_array();${${"GLOBALS"}["hlndmto"]}=${${"GLOBALS"}["sdpxmonk"]}["numrows"];${${"GLOBALS"}["gedtkhy"]}=$_GET["p"];${$qsrsvhkbrxb}=10;${"GLOBALS"}["ujkdhcoxb"]="page";${${"GLOBALS"}["iofeizhcf"]}=5;${"GLOBALS"}["iwapbdhkrijn"]="page";$bwbnhdsy="bg";if(${${"GLOBALS"}["hjedgdt"]}=="")${${"GLOBALS"}["gedtkhy"]}=1;else${${"GLOBALS"}["iwapbdhkrijn"]}=$_GET["p"];${${"GLOBALS"}["gedtkhy"]}--;${$bwbnhdsy}=${${"GLOBALS"}["sgtxuor"]}*${${"GLOBALS"}["ujkdhcoxb"]};${${"GLOBALS"}["ejytvkbhc"]}="SELECT * from #_place_ward $where order by id limit $bg,$pageSize";$d->query(${${"GLOBALS"}["ejytvkbhc"]});${${"GLOBALS"}["omtrtvbjoqzr"]}=$d->result_array();${${"GLOBALS"}["nfqwoylbacuk"]}="index.php?com=place&act=man_ward";}function get_ward(){$rhjwxpg="sql";$qetbmutu="id";global$d,$item;${$qetbmutu}=isset($_GET["id"])?themdau($_GET["id"]):"";if(!${${"GLOBALS"}["akquexjh"]})transfer("Khng nhn c d liu","index.php?com=place&act=man_ward");$xnpbzcst="sql";${$xnpbzcst}="select * from #_place_ward where id='".${${"GLOBALS"}["akquexjh"]}."'";$d->query(${$rhjwxpg});if($d->num_rows()==0)transfer("D liu khng c thc","index.php?com=place&act=man_ward");${${"GLOBALS"}["drgtveofg"]}=$d->fetch_array();}function save_ward(){global$d;if(empty($_POST))transfer("Khng nhn c d liu","index.php?com=place&act=man_ward");${${"GLOBALS"}["akquexjh"]}=isset($_POST["id"])?themdau($_POST["id"]):"";if(${${"GLOBALS"}["akquexjh"]}){${"GLOBALS"}["qhglwecejz"]="id";${${"GLOBALS"}["qhglwecejz"]}=themdau($_POST["id"]);${"GLOBALS"}["dojiwfuym"]="data";${${"GLOBALS"}["nncgkxbrux"]}["id_city"]=(int)$_POST["id_city"];${${"GLOBALS"}["nncgkxbrux"]}["id_dist"]=(int)$_POST["id_dist"];${${"GLOBALS"}["nncgkxbrux"]}["ten"]=$_POST["name"];${${"GLOBALS"}["nncgkxbrux"]}["tenkhongdau"]=changeTitle($_POST["name"]);${${"GLOBALS"}["nncgkxbrux"]}["stt"]=$_POST["num"];${${"GLOBALS"}["dojiwfuym"]}["hienthi"]=isset($_POST["active"])?1:0;$blitlplxborx="id";$dwdnxqqxdpro="data";${${"GLOBALS"}["nncgkxbrux"]}["ngaysua"]=time();$d->setTable("place_ward");$d->setWhere("id",${$blitlplxborx});if($d->update(${$dwdnxqqxdpro})){redirect("index.php?com=place&act=man_ward&curPage=".$_REQUEST["curPage"]."");}else transfer("Cp nht d liu b li","index.php?com=place&act=man_ward");}else{$hpnmvtyefo="data";${"GLOBALS"}["mtgpzdktiw"]="data";${"GLOBALS"}["rkdfyg"]="data";$qflwlu="data";${${"GLOBALS"}["nncgkxbrux"]}["id_city"]=(int)$_POST["id_city"];$otgllmwl="data";${${"GLOBALS"}["rkdfyg"]}["id_dist"]=(int)$_POST["id_dist"];${"GLOBALS"}["gnkoeqcdiw"]="data";${"GLOBALS"}["dcnuppnbz"]="data";${$otgllmwl}["ten"]=$_POST["name"];${$qflwlu}["tenkhongdau"]=changeTitle($_POST["name"]);${${"GLOBALS"}["gnkoeqcdiw"]}["stt"]=$_POST["num"];${${"GLOBALS"}["dcnuppnbz"]}["hienthi"]=isset($_POST["active"])?1:0;${${"GLOBALS"}["mtgpzdktiw"]}["ngaytao"]=time();$d->setTable("place_ward");if($d->insert(${$hpnmvtyefo})){redirect("index.php?com=place&act=man_ward");}else transfer("Lu d liu b li","index.php?com=place&act=man_ward");}}function delete_ward(){global$d;if($_REQUEST["id_cat"]!=""){$wnbretrgjpd="id_catt";${$wnbretrgjpd}="&id_cat=".$_REQUEST["id_cat"];}if($_REQUEST["curPage"]!=""){${"GLOBALS"}["nmhscdnyhp"]="id_catt";${${"GLOBALS"}["nmhscdnyhp"]}.="&curPage=".$_REQUEST["curPage"];}if(isset($_GET["id"])){$liowlnnr="sql";$aapiei="sql";${${"GLOBALS"}["akquexjh"]}=themdau($_GET["id"]);$d->reset();$ftvrobyyziu="id_catt";${$liowlnnr}="delete from #_place_ward where id='".${${"GLOBALS"}["akquexjh"]}."'";if($d->query(${$aapiei}))redirect("index.php?com=place&act=man_ward".${$ftvrobyyziu}."");else transfer("Xa d liu b li","index.php?com=place&act=man_ward");}else transfer("Khng nhn c d liu","index.php?com=place&act=man_ward");}function get_streets(){global$d,$items,$url_link,$totalRows,$pageSize,$offset;${"GLOBALS"}["igjsvwmltf"]="pageSize";if(!empty($_POST)){${"GLOBALS"}["dehbxqes"]="id_array";${"GLOBALS"}["lhcjdu"]="count";${"GLOBALS"}["qpjkmhcg"]="id_array";${${"GLOBALS"}["gnoewn"]}=$_REQUEST["multi"];${${"GLOBALS"}["dehbxqes"]}=$_POST["iddel"];${${"GLOBALS"}["lhcjdu"]}=count(${${"GLOBALS"}["qpjkmhcg"]});if(${${"GLOBALS"}["gnoewn"]}=="show"){$wtqttte="i";$usbjfazmb="i";$miqyqmdhxpu="i";for(${$wtqttte}=0;${$usbjfazmb}<${${"GLOBALS"}["fdpeotbw"]};${$miqyqmdhxpu}++){${"GLOBALS"}["krsxuwysb"]="i";${${"GLOBALS"}["ejytvkbhc"]}="UPDATE table_place_street SET hienthi =1 WHERE id = ".${${"GLOBALS"}["vlhpuwfu"]}[${${"GLOBALS"}["krsxuwysb"]}]."";$cpjyviimh="sql";mysql_query(${$cpjyviimh})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_street");}if(${${"GLOBALS"}["gnoewn"]}=="hide"){${"GLOBALS"}["uuymnayyg"]="i";$chxfhtkvwkw="count";for(${${"GLOBALS"}["oxyqmpe"]}=0;${${"GLOBALS"}["oxyqmpe"]}<${$chxfhtkvwkw};${${"GLOBALS"}["uuymnayyg"]}++){$orqfhptj="sql";${$orqfhptj}="UPDATE table_place_street SET hienthi =0 WHERE id = ".${${"GLOBALS"}["vlhpuwfu"]}[${${"GLOBALS"}["oxyqmpe"]}]."";$qexigrezgfzv="sql";mysql_query(${$qexigrezgfzv})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_street");}if(${${"GLOBALS"}["gnoewn"]}=="del"){${"GLOBALS"}["vqvhivvc"]="i";$niqwiodpvh="i";for(${${"GLOBALS"}["oxyqmpe"]}=0;${$niqwiodpvh}<${${"GLOBALS"}["fdpeotbw"]};${${"GLOBALS"}["vqvhivvc"]}++){$mrksrjzb="id_array";$viomqrdvbef="i";${${"GLOBALS"}["ejytvkbhc"]}="delete from table_place_street where id = ".${$mrksrjzb}[${$viomqrdvbef}]."";mysql_query(${${"GLOBALS"}["ejytvkbhc"]})or die("Not query sqlUPDATE_ORDER");}redirect("index.php?com=place&act=man_street");}}if($_REQUEST["hienthi"]!=""){${"GLOBALS"}["rgmncxohc"]="id_up";$cytwxrh="id_up";${"GLOBALS"}["deqwkwu"]="cats";${"GLOBALS"}["pjivbzjuknk"]="sql_sp";${${"GLOBALS"}["rgmncxohc"]}=$_REQUEST["hienthi"];${${"GLOBALS"}["hpyijdc"]}="SELECT id,hienthi FROM table_place_street where id='".${$cytwxrh}."' ";${"GLOBALS"}["qsmsjdbdja"]="cats";$d->query(${${"GLOBALS"}["pjivbzjuknk"]});${${"GLOBALS"}["deqwkwu"]}=$d->result_array();${${"GLOBALS"}["gzoifvmk"]}=${${"GLOBALS"}["qsmsjdbdja"]}[0]["hienthi"];if(${${"GLOBALS"}["gzoifvmk"]}==0){$vwabovuky="id_up";${"GLOBALS"}["imkxtodhp"]="resultUPDATE_ORDER";${${"GLOBALS"}["gtbawgbjtqt"]}="UPDATE table_place_street SET hienthi =1 WHERE id = ".${$vwabovuky}."";${${"GLOBALS"}["imkxtodhp"]}=mysql_query(${${"GLOBALS"}["gtbawgbjtqt"]})or die("Not query sqlUPDATE_ORDER");}else{$vxfeeohwl="sqlUPDATE_ORDER";${"GLOBALS"}["wwhknxz"]="id_up";${$vxfeeohwl}="UPDATE table_place_street SET hienthi =0 WHERE id = ".${${"GLOBALS"}["wwhknxz"]}."";${${"GLOBALS"}["sglzgcvcy"]}=mysql_query(${${"GLOBALS"}["gtbawgbjtqt"]})or die("Not query sqlUPDATE_ORDER");}}$pknomdemvbl="page";if($_REQUEST["id_city"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" where id_city = '".$_REQUEST["id_city"]."'";}if($_REQUEST["id_dist"]!=""){${${"GLOBALS"}["jwaoqglsdnd"]}.=" and id_dist = '".$_REQUEST["id_dist"]."'";}${"GLOBALS"}["sowrdwt"]="sql";$cdvbhnswm="page";if($_REQUEST["key"]!=""){${"GLOBALS"}["kfqomyow"]="where";${${"GLOBALS"}["kfqomyow"]}.=" where ten like '%".$_REQUEST["key"]."%'";}${${"GLOBALS"}["sowrdwt"]}="SELECT count(id) AS numrows FROM #_place_street $where";$d->query(${${"GLOBALS"}["ejytvkbhc"]});${${"GLOBALS"}["ovxbyrygp"]}=$d->fetch_array();${${"GLOBALS"}["hlndmto"]}=${${"GLOBALS"}["ovxbyrygp"]}["numrows"];$twlrpce="page";${$cdvbhnswm}=$_GET["p"];${${"GLOBALS"}["igjsvwmltf"]}=10;${${"GLOBALS"}["iofeizhcf"]}=5;if(${$pknomdemvbl}=="")${${"GLOBALS"}["gedtkhy"]}=1;else${$twlrpce}=$_GET["p"];${${"GLOBALS"}["gedtkhy"]}--;${${"GLOBALS"}["jyeilqnjg"]}=${${"GLOBALS"}["sgtxuor"]}*${${"GLOBALS"}["gedtkhy"]};${${"GLOBALS"}["ejytvkbhc"]}="SELECT * from #_place_street $where order by id limit $bg,$pageSize";$d->query(${${"GLOBALS"}["ejytvkbhc"]});${${"GLOBALS"}["vsibtwqpkj"]}=$d->result_array();${${"GLOBALS"}["nfqwoylbacuk"]}="index.php?com=place&act=man_street";}function get_street(){${"GLOBALS"}["hpxqodo"]="id";global$d,$item;$ibigqcuv="id";$hyhueygdier="sql";${"GLOBALS"}["kfsyir"]="item";$twgcnudy="id";${$ibigqcuv}=isset($_GET["id"])?themdau($_GET["id"]):"";if(!${${"GLOBALS"}["hpxqodo"]})transfer("Khng nhn c d liu","index.php?com=place&act=man_street");${${"GLOBALS"}["ejytvkbhc"]}="select * from #_place_street where id='".${$twgcnudy}."'";$d->query(${$hyhueygdier});if($d->num_rows()==0)transfer("D liu khng c thc","index.php?com=place&act=man_street");${${"GLOBALS"}["kfsyir"]}=$d->fetch_array();}function save_street(){global$d;if(empty($_POST))transfer("Khng nhn c d liu","index.php?com=place&act=man_street");${${"GLOBALS"}["akquexjh"]}=isset($_POST["id"])?themdau($_POST["id"]):"";if(${${"GLOBALS"}["akquexjh"]}){${${"GLOBALS"}["akquexjh"]}=themdau($_POST["id"]);${"GLOBALS"}["tdoklrsy"]="data";${"GLOBALS"}["heozpnspmd"]="data";$apclbbkharl="data";${"GLOBALS"}["bnifkgo"]="id";${${"GLOBALS"}["heozpnspmd"]}["id_city"]=(int)$_POST["id_city"];${"GLOBALS"}["grvotrywuud"]="data";$wwlmof="data";${$apclbbkharl}["id_dist"]=(int)$_POST["id_dist"];${${"GLOBALS"}["nncgkxbrux"]}["ten"]=$_POST["name"];${${"GLOBALS"}["nncgkxbrux"]}["tenkhongdau"]=changeTitle($_POST["name"]);${${"GLOBALS"}["nncgkxbrux"]}["stt"]=$_POST["num"];${${"GLOBALS"}["tdoklrsy"]}["hienthi"]=isset($_POST["active"])?1:0;${${"GLOBALS"}["grvotrywuud"]}["ngaysua"]=time();$d->setTable("place_street");$d->setWhere("id",${${"GLOBALS"}["bnifkgo"]});if($d->update(${$wwlmof})){redirect("index.php?com=place&act=man_street&curPage=".$_REQUEST["curPage"]."");}else transfer("Cp nht d liu b li","index.php?com=place&act=man_street");}else{${"GLOBALS"}["zgmopmex"]="data";${"GLOBALS"}["tbjfatnfx"]="data";${${"GLOBALS"}["nncgkxbrux"]}["id_city"]=(int)$_POST["id_city"];${${"GLOBALS"}["nncgkxbrux"]}["id_dist"]=(int)$_POST["id_dist"];$obvkrnb="data";${$obvkrnb}["ten"]=$_POST["name"];${${"GLOBALS"}["nncgkxbrux"]}["tenkhongdau"]=changeTitle($_POST["name"]);$jnnqjqnd="data";${${"GLOBALS"}["nncgkxbrux"]}["stt"]=$_POST["num"];${${"GLOBALS"}["tbjfatnfx"]}["hienthi"]=isset($_POST["active"])?1:0;${$jnnqjqnd}["ngaytao"]=time();$d->setTable("place_street");if($d->insert(${${"GLOBALS"}["zgmopmex"]})){redirect("index.php?com=place&act=man_street");}else transfer("Lu d liu b li","index.php?com=place&act=man_street");}}function delete_street(){global$d;if($_REQUEST["id_cat"]!=""){${"GLOBALS"}["sgtdxgo"]="id_catt";${${"GLOBALS"}["sgtdxgo"]}="&id_cat=".$_REQUEST["id_cat"];}if($_REQUEST["curPage"]!=""){$vjidpx="id_catt";${$vjidpx}.="&curPage=".$_REQUEST["curPage"];}if(isset($_GET["id"])){$qvpurxy="id";$sofskketdnuj="sql";${${"GLOBALS"}["akquexjh"]}=themdau($_GET["id"]);${"GLOBALS"}["elowhotehen"]="id_catt";$d->reset();${$sofskketdnuj}="delete from #_place_street where id='".${$qvpurxy}."'";if($d->query(${${"GLOBALS"}["ejytvkbhc"]}))redirect("index.php?com=place&act=man_street".${${"GLOBALS"}["elowhotehen"]}."");else transfer("Xa d liu b li","index.php?com=place&act=man_street");}else transfer("Khng nhn c d liu","index.php?com=place&act=man_street");}
?>
Did this file decode correctly?
Original Code
<?php ${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x73i\x62\x74\x77q\x70kj"]="i\x74e\x6ds";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x7a\x6fi\x66v\x6dk"]="\x68\x69\x65\x6e\x74h\x69";${"\x47\x4cO\x42\x41L\x53"}["\x73\x67\x74xu\x6f\x72"]="\x70a\x67eS\x69\x7a\x65";${"\x47L\x4f\x42A\x4cS"}["\x69\x6f\x66ei\x7a\x68c\x66"]="o\x66f\x73et";${"G\x4cO\x42\x41\x4c\x53"}["dr\x67\x74v\x65\x6f\x66g"]="i\x74e\x6d";${"G\x4c\x4f\x42\x41L\x53"}["\x68\x6cn\x64m\x74\x6f"]="t\x6f\x74\x61lRo\x77s";${"GLO\x42AL\x53"}["l\x6e\x6cnr\x76\x71"]="\x63\x61\x74ego\x72yD\x61\x74\x61";${"\x47\x4cOB\x41\x4c\x53"}["gb\x63\x78rpg"]="\x63\x61\x74\x5f\x61\x72\x72\x61y";${"GL\x4f\x42\x41\x4c\x53"}["h\x70\x79i\x6adc"]="\x73\x71l_\x73\x70";${"GL\x4f\x42\x41L\x53"}["y\x75\x75\x74\x67\x78"]="i\x64_c\x61t\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6enc\x67kx\x62\x72\x75x"]="\x64\x61\x74a";${"\x47\x4c\x4f\x42A\x4c\x53"}["ak\x71\x75\x65\x78\x6a\x68"]="\x69d";${"G\x4cO\x42A\x4cS"}["\x6e\x66\x71\x77\x6f\x79\x6c\x62\x61\x63u\x6b"]="url\x5fl\x69nk";${"\x47L\x4f\x42AL\x53"}["\x6a\x79e\x69l\x71n\x6ag"]="\x62g";${"\x47\x4c\x4fB\x41L\x53"}["\x67e\x64t\x6bhy"]="\x70\x61ge";${"\x47LOBAL\x53"}["\x6f\x76\x78b\x79\x72\x79\x67p"]="\x64\x65m";${"G\x4cOB\x41\x4c\x53"}["\x6a\x77\x61o\x71gls\x64\x6e\x64"]="w\x68e\x72\x65";${"\x47\x4c\x4f\x42A\x4cS"}["\x67\x74\x62\x61w\x67\x62j\x74\x71\x74"]="\x73q\x6c\x55\x50\x44ATE_\x4f\x52\x44\x45R";${"\x47\x4cO\x42A\x4c\x53"}["sg\x6c\x7a\x67\x63vc\x79"]="\x72\x65s\x75\x6ct\x55\x50\x44\x41T\x45\x5f\x4fR\x44E\x52";${"G\x4cO\x42\x41\x4c\x53"}["\x78\x6a\x68\x74\x64\x79\x6e\x6bk\x68\x79"]="i\x64_up";${"\x47L\x4f\x42AL\x53"}["\x6crm\x67\x79\x74s"]="\x63\x61t\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66d\x70\x65\x6ft\x62\x77"]="c\x6f\x75\x6e\x74";${"\x47L\x4f\x42\x41\x4cS"}["\x67\x6e\x6f\x65\x77n"]="m\x75\x6c\x74\x69";${"\x47\x4cO\x42\x41L\x53"}["e\x6a\x79tv\x6bbh\x63"]="s\x71l";${"G\x4cO\x42\x41\x4c\x53"}["\x6f\x78\x79\x71m\x70e"]="i";${"G\x4c\x4f\x42\x41L\x53"}["\x76\x6c\x68\x70\x75\x77\x66\x75"]="i\x64\x5f\x61r\x72\x61\x79";${"GL\x4f\x42A\x4c\x53"}["h\x77\x6ce\x71\x69"]="te\x6dp\x6c\x61te";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ecc\x76\x69\x78bo"]="t\x65\x6d\x70\x6ca\x74\x65";$mvcdixcc="\x74\x65m\x70\x6c\x61t\x65";${"\x47\x4c\x4f\x42\x41LS"}["\x73\x6e\x76\x79\x65\x76\x69\x75\x76\x73\x74"]="t\x65m\x70\x6c\x61t\x65";${"\x47LO\x42\x41\x4c\x53"}["k\x6f\x6anpj\x76\x67s\x77\x62"]="t\x65\x6d\x70\x6c\x61\x74\x65";${"GL\x4f\x42A\x4c\x53"}["td\x6b\x76\x70\x73\x6a\x6fb"]="\x74e\x6d\x70l\x61t\x65";$paitmrmwrfrp="\x74em\x70\x6c\x61\x74\x65";${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x6cy\x6a\x6e\x64re\x71\x6a"]="\x74\x65m\x70\x6cat\x65";$vwkghonfxgd="ac\x74";${"\x47L\x4fB\x41\x4c\x53"}["vox\x69x\x6bt"]="\x74\x65\x6d\x70\x6c\x61\x74\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75t\x6dn\x73\x63\x74"]="\x74e\x6d\x70\x6c\x61\x74e";${"\x47LOB\x41L\x53"}["\x75\x65t\x7ae\x68"]="t\x65\x6dp\x6c\x61t\x65";if(!defined("\x5fs\x6fu\x72ce"))die("Err\x6fr");switch(${$vwkghonfxgd}){case"m\x61n_ci\x74y":get_citys();${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x65t\x7a\x65\x68"]}="\x70l\x61ce/\x63i\x74ys";break;case"\x61dd\x5f\x63i\x74\x79":${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["sn\x76y\x65\x76\x69\x75\x76s\x74"]}="p\x6ca\x63\x65/\x63\x69\x74\x79\x5f\x61d\x64";break;case"\x65\x64it\x5fci\x74y":get_city();${${"\x47LO\x42ALS"}["tdkv\x70\x73\x6a\x6fb"]}="pl\x61\x63e/\x63\x69ty_\x61\x64\x64";break;case"save\x5fc\x69t\x79":save_city();break;case"\x64\x65\x6ce\x74e\x5f\x63\x69\x74\x79":delete_city();break;case"m\x61n\x5f\x64is\x74":get_dists();${${"\x47\x4c\x4fB\x41L\x53"}["\x73n\x76\x79e\x76\x69u\x76\x73\x74"]}="p\x6ca\x63\x65/\x64is\x74\x73";break;case"add_\x64ist":${${"G\x4cO\x42\x41L\x53"}["k\x6f\x6a\x6ep\x6a\x76\x67\x73\x77\x62"]}="\x70\x6ca\x63e/\x64\x69\x73\x74_\x61d\x64";break;case"ed\x69t_\x64\x69\x73t":get_dist();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x6c\x79\x6an\x64\x72eq\x6a"]}="\x70l\x61\x63e/dist_\x61\x64d";break;case"s\x61v\x65\x5f\x64\x69\x73\x74":save_dist();break;case"\x64ele\x74\x65\x5f\x64\x69s\x74":delete_dist();break;case"man_w\x61\x72\x64":get_wards();${${"GL\x4fB\x41LS"}["hwl\x65\x71\x69"]}="\x70\x6ca\x63e/wa\x72d\x73";break;case"\x61dd_\x77ar\x64":${${"\x47LO\x42\x41\x4cS"}["\x75\x74\x6dn\x73\x63\x74"]}="\x70\x6ca\x63\x65/w\x61r\x64\x5f\x61\x64d";break;case"ed\x69t_\x77\x61r\x64":get_ward();${$mvcdixcc}="p\x6cace/\x77ard_\x61dd";break;case"\x73av\x65_ward":save_ward();break;case"d\x65\x6ce\x74\x65_\x77ar\x64":delete_ward();break;case"\x6dan\x5fs\x74re\x65\x74":get_streets();${${"\x47LO\x42AL\x53"}["snv\x79e\x76i\x75\x76s\x74"]}="p\x6c\x61\x63e/\x73t\x72\x65ets";break;case"a\x64d_s\x74r\x65\x65t":${${"\x47L\x4fB\x41L\x53"}["\x76\x6f\x78\x69\x78\x6bt"]}="pla\x63e/str\x65e\x74\x5fad\x64";break;case"\x65\x64it\x5f\x73t\x72\x65et":get_street();${$paitmrmwrfrp}="p\x6ca\x63e/s\x74r\x65\x65\x74\x5f\x61\x64\x64";break;case"\x73\x61ve\x5f\x73\x74re\x65t":save_street();break;case"\x64\x65le\x74e\x5fs\x74reet":delete_street();break;default:${${"GLO\x42ALS"}["\x6ec\x63\x76i\x78b\x6f"]}="\x69n\x64e\x78";}function get_citys(){$qqgvfrvkr="\x70a\x67\x65S\x69\x7ae";$ktnqqofmuwj="p\x61\x67eSi\x7ae";${"GL\x4f\x42ALS"}["u\x67\x61\x63yy\x66a\x78d"]="\x6ff\x66s\x65t";global$d,$items,$url_link,$totalRows,$pageSize,$offset;$rsooemvsxgcx="\x74\x6f\x74a\x6c\x52o\x77\x73";if(!empty($_POST)){$kboksqdtds="m\x75\x6c\x74i";$guieyybyfo="\x6dult\x69";${"\x47L\x4f\x42\x41\x4c\x53"}["n\x6cj\x67\x76\x6b\x66lu\x6c\x72\x76"]="c\x6fu\x6e\x74";${$kboksqdtds}=$_REQUEST["\x6d\x75lti"];${${"\x47\x4c\x4f\x42ALS"}["\x76lh\x70uw\x66u"]}=$_POST["\x69dde\x6c"];${${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x6c\x6agv\x6bf\x6c\x75\x6c\x72v"]}=count(${${"G\x4c\x4f\x42\x41LS"}["v\x6ch\x70\x75wf\x75"]});if(${$guieyybyfo}=="sh\x6f\x77"){$xuqwenfk="\x63\x6f\x75\x6e\x74";$xeoyaux="i";for(${${"\x47\x4cO\x42\x41L\x53"}["o\x78\x79q\x6d\x70e"]}=0;${$xeoyaux}<${$xuqwenfk};${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x78yq\x6d\x70e"]}++){${"\x47\x4c\x4f\x42AL\x53"}["\x79\x77\x6d\x70r\x67\x71\x65"]="i\x64\x5f\x61\x72r\x61\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["ia\x70\x79u\x6b\x67q"]="s\x71\x6c";${${"G\x4cO\x42\x41\x4c\x53"}["\x65\x6a\x79\x74vk\x62\x68\x63"]}="U\x50\x44\x41\x54\x45\x20tab\x6ce\x5f\x70\x6c\x61ce_c\x69ty\x20SE\x54 \x68i\x65n\x74\x68\x69 \x3d\x31 W\x48\x45RE \x20id\x20=\x20".${${"G\x4c\x4f\x42\x41\x4c\x53"}["y\x77\x6d\x70\x72\x67\x71\x65"]}[${${"GL\x4f\x42\x41\x4c\x53"}["o\x78\x79\x71mp\x65"]}]."";mysql_query(${${"G\x4c\x4f\x42\x41L\x53"}["\x69\x61\x70\x79ukg\x71"]})or die("N\x6f\x74 \x71u\x65ry s\x71l\x55\x50\x44ATE_\x4fRD\x45\x52");}redirect("\x69\x6edex\x2e\x70hp?\x63\x6f\x6d\x3d\x70lac\x65&\x61ct\x3dm\x61\x6e_c\x69\x74\x79");}if(${${"GL\x4fB\x41\x4c\x53"}["\x67\x6e\x6f\x65\x77\x6e"]}=="hi\x64\x65"){${"GL\x4f\x42AL\x53"}["\x71\x75\x69\x74\x67g\x63y"]="i";$tdjoerf="\x69";$vbqnifuargt="\x69";for(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x75\x69\x74\x67g\x63\x79"]}=0;${$vbqnifuargt}<${${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x64p\x65otb\x77"]};${$tdjoerf}++){$vnpxqtrxk="s\x71\x6c";${"\x47LO\x42\x41\x4c\x53"}["kq\x67\x65n\x78\x79"]="\x69";$fmhkkeuwew="id_arr\x61\x79";${$vnpxqtrxk}="\x55P\x44AT\x45 t\x61b\x6ce\x5f\x70l\x61ce\x5f\x63i\x74y SET hi\x65nthi \x3d0\x20W\x48\x45RE \x20\x69d = ".${$fmhkkeuwew}[${${"\x47\x4c\x4fB\x41\x4cS"}["kq\x67\x65\x6e\x78\x79"]}]."";mysql_query(${${"G\x4c\x4f\x42\x41L\x53"}["\x65\x6a\x79t\x76k\x62\x68\x63"]})or die("\x4eo\x74\x20\x71\x75\x65\x72\x79 \x73q\x6c\x55P\x44\x41TE\x5f\x4f\x52DER");}redirect("\x69\x6ede\x78.p\x68\x70?\x63\x6f\x6d\x3dplac\x65&ac\x74\x3dm\x61n\x5fcit\x79");}if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x6e\x6f\x65\x77\x6e"]}=="\x64el"){$ytobkr="\x69";for(${$ytobkr}=0;${${"\x47L\x4f\x42\x41\x4c\x53"}["o\x78\x79\x71mp\x65"]}<${${"\x47\x4c\x4f\x42A\x4c\x53"}["fd\x70\x65\x6ft\x62\x77"]};${${"\x47LOB\x41\x4c\x53"}["\x6f\x78\x79\x71\x6d\x70\x65"]}++){$ksrkdh="\x73ql";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x66\x68\x76\x74m\x79rtm"]="\x69\x64_\x61\x72r\x61\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x68nh\x78y\x78\x6ea\x63c\x66"]="\x73\x71\x6c";${$ksrkdh}="d\x65\x6c\x65te\x20f\x72\x6f\x6d\x20\x74\x61b\x6c\x65\x5f\x70l\x61\x63\x65_cit\x79 w\x68e\x72e id = ".${${"\x47\x4cOB\x41\x4c\x53"}["\x61fh\x76tm\x79rtm"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x78y\x71\x6d\x70\x65"]}]."";mysql_query(${${"\x47L\x4fB\x41\x4c\x53"}["\x70\x68\x6eh\x78\x79\x78na\x63\x63\x66"]})or die("\x4e\x6f\x74\x20\x71u\x65r\x79 \x73ql\x55P\x44\x41\x54E\x5f\x4fR\x44ER");}redirect("\x69\x6edex\x2e\x70h\x70?\x63o\x6d\x3d\x70\x6cace&a\x63t=\x6dan_c\x69ty");}}${"GL\x4fBAL\x53"}["\x77\x63wuv\x6a\x6eeu"]="\x73\x71\x6c";if($_REQUEST["h\x69\x65\x6e\x74\x68i"]!=""){$rbkcoupowb="\x69\x64\x5f\x75p";${"G\x4c\x4fB\x41\x4c\x53"}["\x75skn\x68qkvm\x6b"]="\x69\x64\x5f\x75\x70";${"G\x4c\x4f\x42\x41LS"}["l\x6bh\x72\x78\x71x\x71\x78g"]="\x73\x71\x6c\x5f\x73\x70";$plpbgtys="\x68\x69\x65n\x74\x68i";${$rbkcoupowb}=$_REQUEST["\x68i\x65n\x74h\x69"];${${"GL\x4f\x42\x41\x4cS"}["\x6c\x6b\x68r\x78\x71\x78\x71x\x67"]}="\x53E\x4c\x45CT\x20id,\x68i\x65\x6e\x74\x68i\x20\x46\x52\x4fM \x74a\x62\x6c\x65\x5fpl\x61\x63\x65\x5fcity where\x20id=\x27".${${"GL\x4f\x42\x41\x4c\x53"}["\x75sk\x6e\x68\x71kv\x6dk"]}."' ";$wlypvycxefj="s\x71l\x5f\x73\x70";$d->query(${$wlypvycxefj});${"G\x4cO\x42\x41L\x53"}["\x6cyy\x69\x69e\x79h"]="\x63\x61\x74\x73";${${"\x47\x4c\x4f\x42ALS"}["\x6cr\x6d\x67\x79\x74\x73"]}=$d->result_array();${$plpbgtys}=${${"\x47LO\x42\x41\x4c\x53"}["l\x79\x79i\x69\x65\x79h"]}[0]["\x68\x69e\x6e\x74\x68i"];$cvyysjnacvo="\x68\x69\x65\x6e\x74\x68i";if(${$cvyysjnacvo}==0){$flwdnwn="\x73\x71\x6cU\x50D\x41\x54\x45\x5f\x4f\x52\x44E\x52";${$flwdnwn}="\x55PDA\x54E t\x61\x62\x6ce\x5f\x70\x6c\x61ce\x5fci\x74y \x53\x45T h\x69\x65\x6e\x74h\x69\x20\x3d\x31 WH\x45R\x45 \x69\x64 \x3d ".${${"\x47LO\x42\x41\x4c\x53"}["x\x6a\x68t\x64\x79\x6e\x6bkh\x79"]}."";${${"GL\x4f\x42A\x4c\x53"}["s\x67\x6c\x7ag\x63\x76\x63\x79"]}=mysql_query(${${"GLOBAL\x53"}["gtba\x77\x67b\x6at\x71\x74"]})or die("Not\x20\x71u\x65\x72\x79 sqlU\x50D\x41\x54\x45\x5fOR\x44ER");}else{$jxcropuabm="s\x71l\x55\x50\x44\x41\x54E\x5f\x4f\x52DE\x52";${${"\x47LO\x42\x41\x4c\x53"}["\x67\x74ba\x77g\x62\x6a\x74q\x74"]}="U\x50D\x41TE \x74abl\x65\x5fpl\x61c\x65\x5fc\x69ty\x20SE\x54\x20\x68\x69\x65n\x74h\x69\x20=0 \x20WH\x45\x52E \x20i\x64\x20=\x20".${${"\x47L\x4f\x42\x41L\x53"}["x\x6a\x68\x74\x64y\x6e\x6b\x6b\x68\x79"]}."";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73gl\x7a\x67\x63\x76\x63\x79"]}=mysql_query(${$jxcropuabm})or die("\x4eo\x74 \x71\x75\x65\x72y \x73ql\x55\x50\x44\x41\x54E\x5fORD\x45R");}}${"\x47\x4cO\x42ALS"}["\x70a\x74\x70o\x6e\x68m\x68\x74\x79"]="\x70\x61g\x65";$rnsnqpzkyzx="\x70a\x67\x65";if($_REQUEST["\x6b\x65y"]!=""){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x77\x61\x6f\x71\x67l\x73\x64n\x64"]}.="\x20\x77he\x72e\x20\x74\x65n \x6c\x69\x6b\x65\x20'%".$_REQUEST["k\x65y"]."%\x27";}$tbmvns="\x73ql";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x6f\x71\x61\x6c\x6fy\x63\x78"]="\x73q\x6c";${$tbmvns}="SE\x4c\x45CT \x63ou\x6et(\x69d)\x20A\x53\x20n\x75\x6drow\x73 FROM \x23\x5fp\x6c\x61\x63\x65_cit\x79 $where";$envfxaur="\x70\x61\x67e";$d->query(${${"\x47\x4c\x4f\x42A\x4cS"}["\x77oqa\x6c\x6f\x79c\x78"]});${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x70wc\x79\x65w\x6a\x69\x74"]="\x64\x65\x6d";${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x76xbyr\x79\x67\x70"]}=$d->fetch_array();${$rsooemvsxgcx}=${${"\x47L\x4fBAL\x53"}["\x68p\x77\x63\x79\x65w\x6ait"]}["n\x75mr\x6fw\x73"];${${"G\x4cOB\x41\x4cS"}["\x70a\x74\x70\x6f\x6e\x68\x6d\x68t\x79"]}=$_GET["\x70"];${$qqgvfrvkr}=10;$ucfbfvecpk="\x73\x71\x6c";${${"G\x4cO\x42\x41LS"}["u\x67a\x63yy\x66\x61\x78d"]}=5;if(${${"\x47L\x4fBA\x4c\x53"}["\x67\x65\x64\x74k\x68\x79"]}=="")${${"G\x4c\x4f\x42\x41LS"}["\x67e\x64\x74\x6b\x68\x79"]}=1;else${${"GLOB\x41\x4c\x53"}["\x67\x65d\x74\x6bh\x79"]}=$_GET["p"];${$rnsnqpzkyzx}--;${${"\x47L\x4f\x42\x41L\x53"}["\x6ay\x65\x69\x6c\x71\x6ej\x67"]}=${$ktnqqofmuwj}*${$envfxaur};${${"\x47LO\x42A\x4c\x53"}["w\x63w\x75\x76\x6a\x6e\x65\x75"]}="\x53\x45L\x45CT *\x20\x66\x72o\x6d\x20\x23_p\x6ca\x63e_\x63ity\x20$where \x6frde\x72\x20\x62y\x20\x69\x64 li\x6d\x69t $bg,$pageSize";$khplxqlifa="i\x74ems";$d->query(${$ucfbfvecpk});${$khplxqlifa}=$d->result_array();${${"GL\x4f\x42AL\x53"}["\x6ef\x71woy\x6c\x62\x61cuk"]}="inde\x78.\x70\x68\x70?\x63\x6f\x6d=\x70lace&\x61c\x74\x3d\x6d\x61n\x5f\x63\x69ty";}function get_city(){$gnurcfkkpje="\x69\x64";global$d,$item;${"\x47\x4cO\x42A\x4c\x53"}["vb\x6eoa\x71\x6a\x65\x75"]="\x69\x64";${$gnurcfkkpje}=isset($_GET["\x69\x64"])?themdau($_GET["id"]):"";${"\x47\x4cO\x42\x41\x4c\x53"}["u\x75\x77i\x72f"]="\x69d";if(!${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x62\x6eo\x61\x71\x6a\x65\x75"]})transfer("Khn\x67\x20nh\x6e \x63 d \x6c\x69\x75","i\x6e\x64\x65\x78\x2ephp?co\x6d=\x70\x6cac\x65\x26act\x3dman\x5f\x63it\x79");${${"\x47\x4c\x4fBA\x4c\x53"}["\x65jytvk\x62h\x63"]}="s\x65le\x63\x74 *\x20\x66\x72\x6f\x6d \x23_\x70\x6c\x61\x63\x65_\x63ity w\x68e\x72\x65 i\x64\x3d'".${${"G\x4c\x4fB\x41\x4cS"}["\x75u\x77i\x72\x66"]}."\x27";${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x70\x6ela\x73\x67d\x68q\x61"]="it\x65m";$d->query(${${"G\x4c\x4f\x42\x41\x4cS"}["e\x6a\x79\x74vkb\x68\x63"]});if($d->num_rows()==0)transfer("\x44\x20\x6ci\x75\x20\x6bh\x6e\x67 \x63 \x74hc","\x69nd\x65\x78.ph\x70?c\x6f\x6d\x3d\x70\x6c\x61\x63\x65\x26\x61\x63t\x3d\x6d\x61n_\x63it\x79");${${"\x47LO\x42\x41\x4c\x53"}["v\x70n\x6c\x61s\x67\x64\x68\x71\x61"]}=$d->fetch_array();}function save_city(){global$d;if(empty($_POST))transfer("\x4b\x68\x6eg \x6eh\x6e \x63 \x64\x20\x6ci\x75","i\x6ed\x65\x78.ph\x70?\x63o\x6d=\x70l\x61\x63\x65&act\x3dm\x61\x6e_\x63\x69ty");${"\x47\x4c\x4f\x42ALS"}["l\x6f\x65\x71\x6c\x64l\x7a\x6c\x66\x64"]="\x69\x64";${${"\x47LOBA\x4cS"}["\x61\x6b\x71u\x65\x78\x6a\x68"]}=isset($_POST["\x69\x64"])?themdau($_POST["\x69d"]):"";if(${${"GL\x4fB\x41\x4c\x53"}["\x6c\x6f\x65\x71\x6cd\x6cz\x6cf\x64"]}){${"\x47L\x4f\x42\x41LS"}["hvs\x78\x72d\x74\x65\x7a\x7a\x6e"]="\x64\x61\x74\x61";$gvkvuohxfsx="\x69d";$bbveskjhyy="\x64\x61\x74a";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x6b\x71\x75\x65xjh"]}=themdau($_POST["\x69d"]);${$bbveskjhyy}["\x74en"]=$_POST["n\x61m\x65"];${${"GLO\x42A\x4c\x53"}["n\x6e\x63\x67\x6b\x78br\x75\x78"]}["t\x65nk\x68on\x67\x64\x61\x75"]=changeTitle($_POST["\x6e\x61me"]);${${"\x47LOB\x41\x4c\x53"}["\x6e\x6ec\x67\x6b\x78\x62\x72ux"]}["s\x74t"]=$_POST["\x6e\x75\x6d"];$hmcyecloisa="\x64\x61\x74a";${${"G\x4c\x4f\x42\x41L\x53"}["\x68\x76\x73\x78\x72\x64\x74\x65\x7az\x6e"]}["\x73\x68i\x70"]=$_POST["sh\x69p"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x6ec\x67\x6b\x78\x62\x72\x75x"]}["\x68i\x65\x6et\x68i"]=isset($_POST["\x61\x63t\x69v\x65"])?1:0;${$hmcyecloisa}["n\x67\x61y\x73ua"]=time();$d->setTable("\x70l\x61ce_ci\x74y");$d->setWhere("\x69d",${$gvkvuohxfsx});if($d->update(${${"\x47\x4c\x4f\x42A\x4c\x53"}["n\x6ec\x67k\x78\x62r\x75\x78"]})){redirect("\x69\x6ede\x78.p\x68p?\x63om\x3d\x70\x6c\x61\x63\x65&\x61\x63t=\x6da\x6e\x5f\x63\x69ty&cu\x72P\x61\x67e=".$_REQUEST["\x63u\x72P\x61\x67\x65"]."");}else transfer("\x43\x70\x20nht \x64 liu\x20b \x6ci","\x69\x6ede\x78.php?co\x6d\x3d\x70\x6cac\x65&\x61ct\x3d\x6da\x6e_ci\x74\x79");}else{$gphhduerwa="\x64\x61\x74a";${"G\x4c\x4fB\x41\x4c\x53"}["\x7a\x61\x76\x75\x68\x65\x66\x6bqe"]="\x64a\x74\x61";$fwoxoidybil="\x64\x61ta";${$gphhduerwa}["\x74\x65\x6e"]=$_POST["na\x6d\x65"];$lpumpdohs="\x64\x61\x74\x61";${"G\x4c\x4fB\x41\x4cS"}["\x66\x68\x72\x65d\x7ai\x70"]="\x64at\x61";${${"G\x4cOB\x41L\x53"}["\x6e\x6ecg\x6b\x78\x62r\x75\x78"]}["\x74enk\x68\x6f\x6egdau"]=changeTitle($_POST["\x6e\x61\x6d\x65"]);${$fwoxoidybil}["s\x74t"]=$_POST["nu\x6d"];${$lpumpdohs}["s\x68i\x70"]=$_POST["\x73\x68ip"];${${"GL\x4fB\x41LS"}["zav\x75h\x65f\x6b\x71\x65"]}["\x68i\x65nt\x68\x69"]=isset($_POST["\x61\x63\x74iv\x65"])?1:0;${${"\x47\x4cOB\x41\x4cS"}["nn\x63gk\x78\x62\x72\x75\x78"]}["n\x67\x61\x79t\x61\x6f"]=time();$d->setTable("p\x6cace\x5fci\x74y");if($d->insert(${${"\x47\x4c\x4fBA\x4c\x53"}["\x66hr\x65dz\x69\x70"]})){redirect("inde\x78\x2e\x70hp?com\x3d\x70l\x61ce&\x61c\x74=\x6dan\x5fcit\x79");}else transfer("Lu\x20\x64 l\x69\x75\x20b l\x69","\x69\x6e\x64ex\x2ephp?com\x3dpl\x61c\x65&a\x63t\x3dm\x61n\x5f\x63\x69t\x79");}}function delete_city(){global$d;if($_REQUEST["i\x64\x5f\x63at"]!=""){${${"\x47L\x4f\x42\x41LS"}["\x79uu\x74\x67\x78"]}="&i\x64\x5f\x63at\x3d".$_REQUEST["id\x5f\x63\x61t"];}if($_REQUEST["c\x75rPa\x67\x65"]!=""){${${"G\x4cO\x42\x41LS"}["y\x75\x75\x74\x67\x78"]}.="\x26c\x75r\x50a\x67\x65\x3d".$_REQUEST["curPag\x65"];}if(isset($_GET["id"])){${"\x47L\x4f\x42\x41\x4cS"}["y\x6au\x6ek\x6aq\x77\x79"]="sq\x6c";$wwrvywrljhs="\x69\x64";${$wwrvywrljhs}=themdau($_GET["\x69d"]);$d->reset();${${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x6ay\x74\x76\x6b\x62\x68\x63"]}="\x64\x65le\x74e f\x72o\x6d\x20#\x5f\x70\x6c\x61c\x65_\x63\x69t\x79 \x77here i\x64\x3d'".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x6bq\x75e\x78j\x68"]}."'";if($d->query(${${"\x47\x4c\x4f\x42\x41\x4cS"}["y\x6a\x75\x6e\x6b\x6a\x71\x77\x79"]}))redirect("\x69nd\x65x\x2ep\x68\x70?\x63o\x6d\x3d\x70\x6cace&\x61c\x74=\x6da\x6e_\x63i\x74y".${${"\x47L\x4fB\x41L\x53"}["\x79\x75u\x74\x67x"]}."");else transfer("X\x61\x20d \x6ci\x75 \x62\x20\x6c\x69","i\x6ed\x65x.php?com=p\x6cace\x26a\x63t=man\x5f\x63\x69\x74y");}else transfer("\x4bh\x6e\x67\x20nhn\x20\x63\x20\x64\x20\x6c\x69\x75","i\x6e\x64\x65\x78\x2e\x70hp?\x63o\x6d\x3d\x70la\x63\x65&a\x63\x74\x3dma\x6e_\x63\x69t\x79");}function get_dists(){${"\x47\x4c\x4f\x42A\x4cS"}["s\x62f\x79\x77n\x70\x6e\x77t\x71"]="\x70\x61ge";global$d,$items,$url_link,$totalRows,$pageSize,$offset;if(!empty($_POST)){${"G\x4c\x4f\x42\x41L\x53"}["\x63\x75\x6f\x72b\x76"]="id\x5fa\x72\x72a\x79";$cozyemclmj="m\x75l\x74\x69";$knvstzjrbhk="co\x75n\x74";${$cozyemclmj}=$_REQUEST["mult\x69"];${${"\x47\x4cO\x42A\x4c\x53"}["\x63\x75\x6f\x72\x62v"]}=$_POST["id\x64e\x6c"];${"\x47L\x4fB\x41\x4cS"}["\x63x\x6d\x79\x6a\x6c\x6c"]="i\x64\x5f\x61\x72\x72a\x79";${"G\x4cOBALS"}["d\x66\x79z\x65\x62a\x63\x67\x66"]="\x6dul\x74\x69";$tplfghy="mu\x6c\x74\x69";${$knvstzjrbhk}=count(${${"\x47L\x4f\x42\x41L\x53"}["c\x78\x6d\x79\x6a\x6c\x6c"]});if(${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x6e\x6f\x65\x77n"]}=="\x73\x68o\x77"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65f\x74b\x62d\x6c\x78ans\x79"]="\x69";${"G\x4c\x4f\x42\x41LS"}["jr\x64\x6d\x75\x75d"]="\x69";for(${${"\x47\x4cO\x42\x41\x4c\x53"}["jr\x64\x6d\x75\x75\x64"]}=0;${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x78\x79\x71\x6d\x70\x65"]}<${${"GLO\x42\x41\x4c\x53"}["\x66\x64p\x65ot\x62\x77"]};${${"\x47LO\x42\x41\x4cS"}["\x65ft\x62\x62\x64\x6c\x78\x61\x6e\x73\x79"]}++){$iwdeindl="\x69\x64_\x61\x72r\x61\x79";$kovghlmoyym="\x73\x71l";${"\x47\x4c\x4fBA\x4c\x53"}["w\x74\x66li\x69\x73\x72\x6d"]="s\x71\x6c";${$kovghlmoyym}="\x55\x50\x44A\x54\x45\x20t\x61\x62\x6c\x65\x5f\x70l\x61\x63e\x5fdis\x74 SET\x20hi\x65\x6ethi\x20\x3d\x31 W\x48ER\x45\x20 \x69\x64\x20=\x20".${$iwdeindl}[${${"G\x4c\x4fB\x41\x4c\x53"}["\x6f\x78\x79\x71\x6d\x70\x65"]}]."";mysql_query(${${"\x47L\x4fB\x41\x4c\x53"}["\x77\x74\x66l\x69\x69sr\x6d"]})or die("\x4eot \x71u\x65r\x79 sq\x6c\x55PD\x41TE\x5f\x4fR\x44E\x52");}redirect("in\x64\x65\x78.\x70hp?\x63\x6fm=plac\x65\x26a\x63\x74=\x6dan_\x64\x69s\x74");}if(${$tplfghy}=="hid\x65"){$vxxjwvktkt="\x69";$uooylmqmhcn="\x69";for(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fxyqm\x70e"]}=0;${$vxxjwvktkt}<${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66dp\x65\x6f\x74b\x77"]};${$uooylmqmhcn}++){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x6f\x73\x6c\x6f\x78\x77i\x76e"]="i\x64_\x61\x72ray";$lnapixoc="s\x71\x6c";${${"G\x4c\x4fB\x41L\x53"}["\x65\x6a\x79\x74\x76\x6bb\x68c"]}="U\x50D\x41T\x45\x20\x74\x61\x62\x6ce\x5fpla\x63\x65_d\x69st \x53E\x54\x20\x68i\x65n\x74hi\x20\x3d\x30 \x57H\x45R\x45\x20\x20\x69d = ".${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x6fs\x6c\x6f\x78\x77\x69\x76e"]}[${${"G\x4c\x4fB\x41L\x53"}["\x6f\x78y\x71m\x70e"]}]."";mysql_query(${$lnapixoc})or die("N\x6f\x74\x20q\x75\x65\x72y\x20\x73q\x6c\x55PDA\x54E_\x4f\x52\x44E\x52");}redirect("\x69\x6ed\x65\x78.p\x68\x70?\x63\x6f\x6d\x3dpl\x61c\x65&ac\x74=m\x61\x6e\x5fdis\x74");}if(${${"\x47LO\x42\x41L\x53"}["d\x66\x79\x7aeb\x61c\x67f"]}=="d\x65\x6c"){$erqlnmtcszn="i";${"\x47\x4cOBA\x4c\x53"}["p\x64\x6e\x74\x66b\x64\x6a\x6b\x72f"]="\x69";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77jsw\x7a\x71u\x6d\x64\x69s"]="\x63\x6f\x75\x6et";for(${${"\x47\x4cO\x42\x41\x4c\x53"}["ox\x79\x71\x6d\x70\x65"]}=0;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70d\x6et\x66b\x64\x6a\x6brf"]}<${${"G\x4cO\x42A\x4cS"}["\x77j\x73\x77\x7a\x71\x75\x6ddis"]};${$erqlnmtcszn}++){$wosgrwnojldb="\x73\x71l";$cmfavqinvfts="\x73q\x6c";$uxmekgnboab="i";${$wosgrwnojldb}="d\x65\x6ce\x74\x65 \x66rom\x20t\x61b\x6ce_p\x6cace_\x64\x69s\x74 \x77h\x65\x72e\x20id\x20=\x20".${${"\x47\x4cOB\x41\x4c\x53"}["\x76lh\x70\x75w\x66\x75"]}[${$uxmekgnboab}]."";mysql_query(${$cmfavqinvfts})or die("\x4eo\x74\x20q\x75\x65\x72\x79 sq\x6c\x55P\x44A\x54\x45\x5fORDE\x52");}redirect("index\x2ep\x68p?\x63\x6fm\x3d\x70l\x61\x63e\x26\x61\x63t=ma\x6e_d\x69\x73\x74");}}${"G\x4cO\x42AL\x53"}["\x74\x69\x76\x78\x62z\x72\x76\x69\x70k\x69"]="\x6f\x66f\x73\x65\x74";${"\x47L\x4fB\x41\x4c\x53"}["\x6dq\x65l\x6c\x69\x6dt\x74\x76\x6e"]="\x70a\x67\x65";${"\x47\x4cOB\x41\x4cS"}["jx\x65a\x6chd\x62\x6dgq"]="\x64\x65\x6d";if($_REQUEST["\x68ie\x6ethi"]!=""){${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x6a\x68\x74\x64\x79\x6ek\x6bh\x79"]}=$_REQUEST["\x68ienthi"];${"\x47\x4cOB\x41L\x53"}["t\x73w\x65\x78w\x6d"]="c\x61\x74s";${${"G\x4c\x4f\x42\x41L\x53"}["h\x70y\x69\x6ad\x63"]}="\x53\x45L\x45C\x54\x20\x69\x64,hie\x6et\x68i F\x52O\x4d table\x5fpl\x61\x63\x65\x5fdis\x74\x20whe\x72e\x20\x69d\x3d\x27".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78j\x68\x74d\x79n\x6b\x6bh\x79"]}."\x27 ";$jwpckyzmd="s\x71l\x5fs\x70";${"\x47\x4cO\x42\x41\x4c\x53"}["\x70mo\x65\x71\x62\x77\x75j\x79m"]="\x68ien\x74\x68\x69";$d->query(${$jwpckyzmd});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74sw\x65xw\x6d"]}=$d->result_array();${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x69\x69i\x70\x72\x6at\x73\x73m"]="h\x69e\x6eth\x69";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x6d\x6f\x65\x71bw\x75\x6ay\x6d"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x72\x6d\x67\x79t\x73"]}[0]["h\x69en\x74\x68\x69"];if(${${"\x47\x4cO\x42AL\x53"}["\x79\x69\x69i\x70\x72j\x74ss\x6d"]}==0){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ch\x72\x67t\x6bd\x66i"]="\x73q\x6c\x55PDA\x54\x45\x5f\x4fR\x44\x45\x52";$qgkxhdsccv="\x73ql\x55P\x44AT\x45\x5f\x4f\x52D\x45R";${"\x47\x4cO\x42\x41L\x53"}["e\x62b\x66a\x65\x6f\x6f\x78"]="\x69d\x5fu\x70";${${"GL\x4fB\x41L\x53"}["lh\x72\x67\x74\x6bd\x66i"]}="UPD\x41\x54E\x20t\x61\x62\x6ce_\x70la\x63e\x5fdis\x74\x20\x53\x45T\x20\x68i\x65nthi =\x31 W\x48E\x52\x45 \x20\x69d =\x20".${${"G\x4c\x4f\x42ALS"}["\x65\x62\x62fa\x65\x6fox"]}."";$ylktehkp="\x72\x65su\x6c\x74\x55\x50DA\x54E\x5f\x4f\x52\x44\x45\x52";${$ylktehkp}=mysql_query(${$qgkxhdsccv})or die("No\x74 \x71\x75e\x72\x79 \x73\x71\x6c\x55P\x44\x41T\x45\x5fOR\x44\x45\x52");}else{${"\x47L\x4f\x42A\x4cS"}["\x6f\x62\x64txdn\x77\x77"]="\x69\x64\x5fu\x70";${${"GLO\x42\x41\x4c\x53"}["\x67\x74\x62\x61w\x67\x62\x6a\x74\x71\x74"]}="\x55\x50\x44AT\x45 ta\x62\x6c\x65\x5f\x70\x6c\x61\x63e_\x64\x69\x73\x74 S\x45\x54\x20\x68i\x65nthi =0\x20\x20W\x48\x45\x52\x45\x20\x20id\x20\x3d\x20".${${"GLO\x42\x41\x4c\x53"}["o\x62d\x74\x78\x64\x6ew\x77"]}."";${${"GL\x4fB\x41\x4cS"}["\x73gl\x7a\x67c\x76\x63\x79"]}=mysql_query(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x74\x62\x61\x77\x67bj\x74\x71\x74"]})or die("\x4eo\x74\x20q\x75\x65ry sq\x6c\x55PD\x41TE_O\x52\x44\x45\x52");}}if((int)$_REQUEST["\x69\x64_\x63\x61\x74"]!=""){$pinucmyxnh="c\x61te\x67o\x72\x79D\x61\x74\x61";${$pinucmyxnh}=get_id_child("\x70l\x61c\x65\x5f\x63a\x74",$_REQUEST["\x69d_\x63\x61\x74"]);${${"GL\x4f\x42\x41\x4cS"}["\x67b\x63\x78\x72\x70\x67"]}=implode(",",${${"G\x4c\x4fB\x41LS"}["l\x6el\x6e\x72\x76\x71"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x77\x61\x6fqg\x6c\x73\x64\x6e\x64"]}.="\x20\x77\x68e\x72e id_ca\x74 \x49\x4e ($cat_array) ";}${"\x47\x4c\x4f\x42ALS"}["\x65\x78ltb\x65\x62"]="\x73\x71\x6c";if($_REQUEST["id\x5f\x63ity"]!=""){${${"\x47\x4c\x4fB\x41LS"}["j\x77a\x6fq\x67\x6cs\x64n\x64"]}.=" w\x68e\x72\x65\x20\x69d_c\x69\x74y\x20\x3d '".$_REQUEST["id_\x63it\x79"]."\x27";}if($_REQUEST["key"]!=""){${"\x47L\x4fB\x41\x4cS"}["\x67l\x66vj\x75u\x68"]="\x77\x68\x65r\x65";${${"G\x4cOB\x41\x4cS"}["gl\x66\x76\x6a\x75\x75\x68"]}.="\x20wh\x65r\x65\x20ten l\x69ke \x27%".$_REQUEST["\x6b\x65y"]."\x25\x27";}${${"\x47\x4c\x4f\x42\x41\x4cS"}["ejy\x74\x76\x6bb\x68\x63"]}="SE\x4c\x45\x43\x54\x20cou\x6et(\x69d)\x20A\x53\x20numr\x6fws\x20\x46\x52O\x4d #\x5f\x70la\x63\x65\x5fd\x69\x73\x74 $where";$d->query(${${"G\x4c\x4fBA\x4c\x53"}["e\x78\x6ct\x62\x65b"]});${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63\x62\x6fzn\x64\x6c\x69di"]="\x70\x61\x67e\x53ize";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77a\x78\x70f\x69\x70\x6c\x71dh"]="i\x74e\x6d\x73";${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x78e\x61\x6chd\x62\x6d\x67q"]}=$d->fetch_array();${${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6c\x6e\x64mt\x6f"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fv\x78by\x72\x79\x67\x70"]}["\x6eum\x72\x6f\x77s"];${${"\x47\x4c\x4fB\x41LS"}["sb\x66\x79wn\x70\x6ewt\x71"]}=$_GET["p"];${${"\x47LO\x42A\x4c\x53"}["\x63\x62o\x7a\x6e\x64\x6c\x69di"]}=10;${"\x47\x4c\x4f\x42AL\x53"}["\x68\x69xh\x6a\x76m"]="\x70\x61\x67\x65S\x69z\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["y\x6e\x6fbf\x76\x78"]="\x73q\x6c";${${"G\x4cO\x42\x41\x4cS"}["\x74\x69\x76x\x62\x7ar\x76i\x70\x6bi"]}=5;if(${${"\x47\x4cOB\x41\x4c\x53"}["ge\x64\x74\x6b\x68y"]}=="")${${"\x47L\x4f\x42A\x4c\x53"}["mq\x65\x6c\x6ci\x6d\x74\x74\x76n"]}=1;else${${"GL\x4f\x42A\x4cS"}["g\x65\x64tk\x68y"]}=$_GET["p"];${${"\x47LO\x42\x41\x4c\x53"}["\x67e\x64\x74k\x68y"]}--;${${"\x47L\x4fB\x41\x4c\x53"}["\x6ay\x65\x69\x6c\x71n\x6a\x67"]}=${${"\x47LOBA\x4c\x53"}["h\x69\x78\x68\x6av\x6d"]}*${${"GL\x4f\x42AL\x53"}["g\x65d\x74k\x68\x79"]};${${"\x47LO\x42\x41\x4cS"}["\x65\x6a\x79t\x76\x6b\x62hc"]}="\x53\x45\x4c\x45C\x54\x20*\x20f\x72om\x20#_\x70\x6cac\x65_\x64i\x73t\x20$where\x20or\x64\x65r\x20by\x20i\x64\x20 l\x69\x6d\x69\x74 $bg,$pageSize";$d->query(${${"GL\x4f\x42\x41\x4c\x53"}["\x79\x6eo\x62f\x76\x78"]});${${"\x47L\x4f\x42A\x4c\x53"}["\x77\x61\x78\x70f\x69\x70l\x71d\x68"]}=$d->result_array();${${"\x47L\x4f\x42\x41\x4c\x53"}["n\x66\x71\x77\x6fy\x6c\x62\x61\x63\x75k"]}="i\x6e\x64\x65x\x2e\x70h\x70?\x63\x6fm=\x70lac\x65&\x61c\x74=ma\x6e_d\x69s\x74";}function get_dist(){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x71d\x67\x69\x65\x75m"]="\x73ql";global$d,$item;${${"\x47LO\x42A\x4c\x53"}["\x61\x6b\x71\x75e\x78\x6a\x68"]}=isset($_GET["id"])?themdau($_GET["id"]):"";${"\x47\x4cOB\x41\x4cS"}["\x6f\x70\x79dhrp\x77\x63"]="\x69\x64";if(!${${"G\x4cO\x42\x41\x4cS"}["o\x70y\x64hrpw\x63"]})transfer("Khng n\x68\x6e\x20c d l\x69\x75","\x69\x6e\x64e\x78.\x70hp?\x63om=\x70\x6c\x61\x63\x65&a\x63\x74\x3d\x6dan\x5f\x64\x69st");$fxnysqdatf="\x69d";${${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x6a\x79\x74\x76k\x62h\x63"]}="sel\x65\x63\x74\x20* \x66\x72\x6fm #_pl\x61\x63e\x5fdi\x73\x74 \x77\x68\x65r\x65\x20\x69\x64\x3d\x27".${$fxnysqdatf}."\x27";$d->query(${${"\x47\x4c\x4f\x42A\x4cS"}["uq\x64\x67i\x65um"]});if($d->num_rows()==0)transfer("D\x20l\x69\x75 \x6b\x68n\x67\x20c \x74\x68\x63","\x69\x6ed\x65x\x2e\x70hp?\x63\x6fm=pl\x61c\x65\x26a\x63t\x3d\x6dan_di\x73t");${${"\x47\x4c\x4f\x42\x41L\x53"}["d\x72g\x74\x76\x65\x6ffg"]}=$d->fetch_array();}function save_dist(){global$d;$rnlkvr="\x69\x64";if(empty($_POST))transfer("Kh\x6eg\x20n\x68n\x20\x63\x20\x64\x20l\x69\x75","\x69\x6e\x64ex.p\x68p?com=\x70\x6c\x61\x63e&ac\x74=\x6da\x6e\x5fd\x69st");${$rnlkvr}=isset($_POST["id"])?themdau($_POST["\x69\x64"]):"";if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x6b\x71\x75e\x78\x6a\x68"]}){${"\x47\x4cO\x42A\x4c\x53"}["\x75\x6b\x66q\x73\x66\x79"]="d\x61\x74a";${"GL\x4f\x42\x41LS"}["b\x6f\x66\x6b\x65g\x6c"]="\x69\x64";$uudqncazkti="d\x61\x74a";${${"\x47\x4cO\x42A\x4cS"}["\x62\x6f\x66ke\x67l"]}=themdau($_POST["\x69d"]);${"\x47\x4c\x4fB\x41\x4c\x53"}["c\x63\x69\x68v\x62\x62\x78d"]="\x69d";${${"\x47\x4c\x4f\x42A\x4c\x53"}["n\x6e\x63\x67\x6b\x78\x62r\x75\x78"]}["id\x5fc\x69ty"]=(int)$_POST["\x69\x64_ci\x74y"];${${"\x47\x4c\x4f\x42A\x4cS"}["\x6en\x63\x67k\x78\x62\x72\x75x"]}["t\x65n"]=$_POST["\x6e\x61\x6d\x65"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6en\x63gk\x78b\x72\x75\x78"]}["t\x65n\x6b\x68ongdau"]=changeTitle($_POST["\x6e\x61m\x65"]);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6ec\x67\x6b\x78\x62\x72\x75x"]}["stt"]=$_POST["nu\x6d"];${${"\x47\x4c\x4f\x42ALS"}["\x75\x6bfqsf\x79"]}["gia"]=$_POST["\x67\x69a"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6ec\x67kx\x62\x72u\x78"]}["\x68\x69enthi"]=isset($_POST["act\x69ve"])?1:0;${$uudqncazkti}["ngaysu\x61"]=time();$d->setTable("\x70\x6cace_d\x69\x73\x74");$d->setWhere("\x69\x64",${${"G\x4c\x4f\x42\x41\x4cS"}["\x63ci\x68\x76\x62bxd"]});if($d->update(${${"\x47\x4cO\x42ALS"}["nn\x63\x67\x6b\x78b\x72u\x78"]})){redirect("\x69n\x64\x65\x78\x2ep\x68p?\x63om=plac\x65&\x61\x63t\x3d\x6dan_d\x69s\x74\x26\x63\x75r\x50\x61\x67\x65=".$_REQUEST["cu\x72\x50age"]."");}else transfer("C\x70 nht\x20\x64 liu b\x20li","\x69\x6ed\x65x.php?c\x6fm\x3d\x70la\x63\x65&a\x63\x74\x3dman_\x64\x69\x73t");}else{$naejylxqd="\x64\x61\x74\x61";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x61\x72\x7a\x62\x6fbll\x68\x6a"]="\x64\x61t\x61";${"\x47\x4c\x4fBA\x4cS"}["\x75d\x6dc\x70\x70y\x73"]="\x64\x61t\x61";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x64ijrn\x69y\x79\x77"]="\x64\x61\x74\x61";${${"\x47\x4cOBA\x4cS"}["n\x6ec\x67\x6bxbr\x75\x78"]}["\x69\x64\x5f\x63i\x74\x79"]=(int)$_POST["i\x64_\x63it\x79"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["u\x64\x6d\x63p\x70\x79s"]}["ten"]=$_POST["name"];${${"G\x4cO\x42\x41LS"}["\x6a\x64\x69j\x72\x6e\x69\x79yw"]}["\x74en\x6b\x68\x6fn\x67dau"]=changeTitle($_POST["n\x61\x6de"]);${$naejylxqd}["\x73t\x74"]=$_POST["nu\x6d"];${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x6cam\x61sjx"]="\x64a\x74\x61";${${"\x47LO\x42\x41L\x53"}["l\x6ca\x6d\x61\x73\x6ax"]}["\x67\x69a"]=$_POST["gi\x61"];${"G\x4c\x4fB\x41\x4c\x53"}["ug\x69i\x74iv\x64"]="d\x61t\x61";${${"G\x4cO\x42\x41\x4cS"}["i\x61\x72\x7a\x62ob\x6c\x6ch\x6a"]}["h\x69e\x6et\x68i"]=isset($_POST["act\x69v\x65"])?1:0;${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x6e\x63\x67\x6b\x78b\x72\x75x"]}["nga\x79\x74a\x6f"]=time();$d->setTable("place_\x64i\x73\x74");if($d->insert(${${"\x47L\x4fB\x41\x4c\x53"}["u\x67\x69i\x74i\x76d"]})){redirect("\x69nd\x65x\x2e\x70h\x70?\x63\x6f\x6d=p\x6cace&a\x63t\x3dm\x61\x6e_d\x69st");}else transfer("Lu\x20d liu \x62 li","\x69n\x64\x65\x78\x2ep\x68p?c\x6fm\x3d\x70\x6c\x61ce\x26ac\x74=man\x5f\x64\x69st");}}function delete_dist(){global$d;if($_REQUEST["i\x64_\x63i\x74y"]!=""){$cnuvjqt="\x69d_\x63\x61\x74\x74";${$cnuvjqt}="&id\x5f\x63\x69\x74\x79\x3d".$_REQUEST["i\x64_ci\x74\x79"];}if($_REQUEST["cur\x50\x61\x67\x65"]!=""){$qjlwopxoeit="\x69\x64\x5f\x63\x61t\x74";${$qjlwopxoeit}.="&c\x75rP\x61\x67e\x3d".$_REQUEST["\x63\x75rP\x61\x67e"];}if(isset($_GET["\x69\x64"])){$bpbfbqr="\x73\x71\x6c";${"G\x4cO\x42A\x4cS"}["\x7an\x6bg\x6a\x72fe"]="\x69\x64";${"\x47L\x4f\x42\x41L\x53"}["\x76\x65zcj\x65\x78\x69\x77n"]="s\x71\x6c";${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x75\x76\x74\x74yn\x6eupl"]="\x69\x64_\x63\x61\x74\x74";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x6bq\x75\x65\x78\x6a\x68"]}=themdau($_GET["\x69d"]);$d->reset();${${"\x47\x4cO\x42\x41\x4cS"}["\x76e\x7a\x63\x6ae\x78\x69w\x6e"]}="de\x6c\x65\x74\x65 \x66r\x6f\x6d #_p\x6cace\x5fdist\x20\x77\x68\x65re \x69d\x3d\x27".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7an\x6bgj\x72f\x65"]}."'";if($d->query(${$bpbfbqr}))redirect("\x69nd\x65\x78.php?co\x6d\x3dpl\x61\x63\x65&act\x3d\x6dan_dist".${${"GLOBA\x4c\x53"}["\x72u\x76\x74\x74\x79\x6e\x6eu\x70\x6c"]}."");else transfer("Xa\x20d \x6ciu\x20\x62 l\x69","i\x6e\x64\x65\x78.\x70hp?c\x6fm\x3dpl\x61\x63\x65\x26act=m\x61\x6e\x5f\x64\x69s\x74");}else transfer("Khn\x67 nh\x6e\x20\x63\x20\x64\x20l\x69u","\x69\x6e\x64e\x78\x2e\x70h\x70?\x63\x6f\x6d=\x70l\x61\x63\x65\x26a\x63\x74=\x6d\x61n\x5f\x64ist");}function get_wards(){$qsrsvhkbrxb="\x70\x61g\x65\x53i\x7a\x65";global$d,$items,$url_link,$totalRows,$pageSize,$offset;if(!empty($_POST)){${"\x47LO\x42A\x4cS"}["\x77kvl\x72\x6f\x64\x66"]="\x69\x64\x5f\x61\x72\x72\x61y";$uxrcmmw="\x69\x64\x5f\x61\x72\x72\x61y";$ricuvspuqlxm="m\x75\x6ct\x69";$zdpbjfjhej="\x6d\x75lt\x69";${$zdpbjfjhej}=$_REQUEST["mul\x74i"];${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x6e\x67\x79\x68yf"]="co\x75\x6e\x74";${${"\x47LOB\x41\x4c\x53"}["\x77k\x76\x6crod\x66"]}=$_POST["id\x64\x65\x6c"];${${"\x47LO\x42\x41\x4c\x53"}["y\x6e\x67y\x68\x79f"]}=count(${$uxrcmmw});if(${${"G\x4c\x4f\x42ALS"}["gn\x6f\x65w\x6e"]}=="sh\x6fw"){$gtnslhob="\x69";${"\x47\x4c\x4f\x42\x41L\x53"}["b\x69z\x76yv\x66\x65n\x73"]="i";$lcgkwlqliast="\x69";$cwgllhwtsrd="\x63\x6fu\x6et";for(${${"\x47\x4c\x4f\x42AL\x53"}["\x62\x69\x7av\x79\x76\x66\x65\x6es"]}=0;${$lcgkwlqliast}<${$cwgllhwtsrd};${$gtnslhob}++){${"\x47\x4c\x4f\x42AL\x53"}["a\x74\x70q\x6c\x67e"]="s\x71l";${"G\x4c\x4f\x42\x41\x4c\x53"}["ns\x75\x75y\x6a\x76\x66\x6b\x72\x6d"]="i";${${"\x47\x4cO\x42A\x4c\x53"}["\x65\x6a\x79\x74v\x6b\x62\x68c"]}="U\x50DAT\x45 \x74\x61bl\x65_\x70\x6c\x61\x63e_\x77\x61\x72\x64\x20\x53E\x54 h\x69\x65n\x74\x68\x69\x20=\x31\x20\x57\x48ER\x45 i\x64 \x3d ".${${"\x47\x4c\x4f\x42\x41LS"}["\x76l\x68p\x75w\x66\x75"]}[${${"\x47\x4c\x4fBA\x4c\x53"}["n\x73u\x75\x79\x6av\x66k\x72\x6d"]}]."";mysql_query(${${"GL\x4fB\x41L\x53"}["\x61\x74\x70q\x6c\x67e"]})or die("\x4eot \x71\x75\x65\x72\x79\x20\x73qlUPD\x41\x54\x45_\x4fRD\x45\x52");}redirect("\x69n\x64\x65x.\x70\x68\x70?\x63\x6fm\x3d\x70lace\x26\x61\x63\x74\x3d\x6dan\x5f\x77a\x72d");}if(${$ricuvspuqlxm}=="\x68\x69de"){$dksrrjeimu="\x63\x6f\x75\x6e\x74";${"G\x4c\x4f\x42ALS"}["\x71lh\x65\x6e\x75s\x79r\x63"]="i";$wgtyphvt="\x69";$dxinsl="i";for(${$dxinsl}=0;${$wgtyphvt}<${$dksrrjeimu};${${"G\x4c\x4f\x42A\x4c\x53"}["\x71\x6c\x68\x65\x6eu\x73\x79\x72c"]}++){${"\x47\x4cO\x42\x41\x4cS"}["\x6cb\x76\x6d\x6e\x78h\x6dg"]="i\x64_\x61r\x72\x61y";$spyzavjlhq="\x69";$gkevwwyzvy="sq\x6c";${$gkevwwyzvy}="\x55\x50\x44A\x54\x45\x20ta\x62\x6ce_p\x6c\x61c\x65_\x77\x61\x72d \x53\x45\x54\x20h\x69e\x6eth\x69 =\x30\x20W\x48ER\x45\x20\x20\x69\x64 \x3d\x20".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["lb\x76\x6d\x6e\x78h\x6d\x67"]}[${$spyzavjlhq}]."";mysql_query(${${"\x47\x4cO\x42\x41\x4cS"}["\x65jy\x74\x76\x6b\x62\x68\x63"]})or die("\x4e\x6ft \x71\x75\x65ry \x73\x71\x6c\x55P\x44ATE_\x4f\x52D\x45R");}redirect("in\x64e\x78\x2ep\x68\x70?\x63om=\x70lace&ac\x74=man\x5fwa\x72\x64");}if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x67\x6e\x6few\x6e"]}=="\x64el"){for(${${"G\x4c\x4f\x42\x41L\x53"}["\x6fx\x79\x71\x6d\x70\x65"]}=0;${${"\x47LO\x42\x41\x4cS"}["ox\x79\x71\x6dp\x65"]}<${${"GL\x4f\x42\x41\x4c\x53"}["\x66dp\x65\x6f\x74b\x77"]};${${"\x47L\x4f\x42\x41L\x53"}["\x6fx\x79\x71\x6dpe"]}++){${"\x47\x4cO\x42\x41\x4cS"}["z\x69\x68c\x71\x6b\x78\x78o"]="\x73ql";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6cr\x6d\x63\x76\x64\x79"]="\x73\x71\x6c";$lydvnqe="i\x64\x5f\x61\x72\x72\x61\x79";${${"G\x4cO\x42\x41\x4c\x53"}["\x7a\x69\x68c\x71\x6b\x78\x78\x6f"]}="\x64\x65l\x65te\x20\x66\x72om\x20\x74a\x62le_\x70la\x63e\x5f\x77\x61\x72d\x20w\x68\x65\x72e id \x3d ".${$lydvnqe}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6fx\x79\x71\x6dp\x65"]}]."";mysql_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6cr\x6dc\x76d\x79"]})or die("No\x74\x20\x71uery \x73qlUP\x44\x41\x54\x45_OR\x44E\x52");}redirect("in\x64\x65\x78\x2e\x70\x68p?\x63\x6f\x6d=\x70l\x61\x63\x65\x26act=\x6dan\x5f\x77\x61r\x64");}}if($_REQUEST["\x68\x69\x65nt\x68\x69"]!=""){$uvqjxrbec="\x73\x71\x6c\x5f\x73\x70";${${"GL\x4fB\x41L\x53"}["\x78\x6a\x68\x74\x64y\x6e\x6b\x6b\x68y"]}=$_REQUEST["h\x69en\x74\x68\x69"];${$uvqjxrbec}="\x53\x45\x4c\x45CT \x69d,\x68ie\x6et\x68i\x20\x46\x52OM\x20\x74a\x62\x6c\x65\x5fplac\x65_\x77\x61r\x64 \x77\x68\x65\x72\x65 \x69\x64\x3d'".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78j\x68\x74\x64\x79\x6ekk\x68y"]}."\x27 ";$vrvwenxr="\x63\x61t\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["b\x6ek\x62k\x76a\x62"]="\x68\x69\x65\x6et\x68i";$d->query(${${"\x47\x4cOB\x41\x4c\x53"}["h\x70\x79\x69j\x64\x63"]});${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ba\x76s\x78ka\x71\x78"]="hien\x74\x68i";${${"G\x4c\x4f\x42A\x4cS"}["l\x72\x6d\x67\x79t\x73"]}=$d->result_array();${${"G\x4cO\x42\x41\x4cS"}["k\x61\x76\x73\x78ka\x71\x78"]}=${$vrvwenxr}[0]["h\x69e\x6e\x74\x68i"];if(${${"G\x4c\x4fB\x41\x4c\x53"}["b\x6e\x6b\x62\x6b\x76\x61\x62"]}==0){${"\x47LO\x42\x41\x4cS"}["\x75\x6a\x6e\x64\x69m\x6d\x70i\x77z\x6b"]="\x73\x71l\x55\x50\x44\x41\x54\x45\x5f\x4f\x52D\x45R";$vntdsrpg="\x72es\x75lt\x55P\x44A\x54E_\x4fRD\x45\x52";${"\x47\x4c\x4f\x42AL\x53"}["h\x6et\x61xtg\x66z\x66g"]="sql\x55\x50\x44\x41\x54\x45\x5fO\x52\x44ER";${"\x47\x4c\x4f\x42\x41L\x53"}["\x79j\x67\x6fr\x64t\x73k\x66"]="\x69d\x5f\x75\x70";${${"\x47LOB\x41\x4c\x53"}["\x75\x6a\x6ed\x69\x6dmp\x69w\x7a\x6b"]}="UP\x44\x41TE\x20\x74\x61\x62\x6c\x65_\x70la\x63e\x5fw\x61r\x64\x20SET \x68\x69ent\x68\x69 =\x31 \x57\x48E\x52E\x20\x20\x69d =\x20".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x6ag\x6f\x72\x64\x74\x73\x6bf"]}."";${$vntdsrpg}=mysql_query(${${"\x47\x4cOB\x41\x4c\x53"}["\x68\x6eta\x78t\x67f\x7a\x66g"]})or die("Not \x71\x75\x65\x72y \x73qlU\x50D\x41T\x45\x5fO\x52DE\x52");}else{${${"G\x4cO\x42AL\x53"}["g\x74\x62\x61\x77\x67\x62\x6a\x74\x71\x74"]}="\x55\x50\x44A\x54E\x20t\x61\x62\x6c\x65\x5fp\x6c\x61c\x65_war\x64\x20\x53E\x54 hi\x65nthi\x20=0\x20 W\x48\x45R\x45\x20 \x69d\x20\x3d\x20".${${"G\x4c\x4f\x42\x41\x4cS"}["xj\x68t\x64\x79\x6e\x6b\x6bh\x79"]}."";$kszprssb="res\x75l\x74\x55\x50\x44\x41\x54\x45_\x4fR\x44\x45\x52";${$kszprssb}=mysql_query(${${"\x47L\x4f\x42A\x4c\x53"}["\x67\x74b\x61\x77g\x62\x6at\x71\x74"]})or die("\x4eot \x71\x75ery\x20\x73q\x6cU\x50\x44\x41\x54E_\x4fRD\x45\x52");}}${"\x47L\x4fBA\x4c\x53"}["\x75\x68\x7a\x78m\x72opq\x77"]="s\x71\x6c";if($_REQUEST["id\x5f\x63ity"]!=""){${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x77\x61\x6f\x71g\x6cs\x64\x6e\x64"]}.="\x20w\x68\x65\x72e i\x64_\x63\x69\x74y =\x20'".$_REQUEST["id_\x63\x69\x74y"]."'";}${"\x47\x4c\x4fBAL\x53"}["\x6fm\x74rt\x76\x62\x6aoq\x7ar"]="i\x74e\x6ds";if($_REQUEST["\x69d_\x64\x69\x73t"]!=""){${${"G\x4c\x4f\x42ALS"}["\x6aw\x61\x6f\x71\x67l\x73d\x6ed"]}.=" \x61\x6ed \x69d_d\x69\x73t = \x27".$_REQUEST["\x69d_\x64is\x74"]."\x27";}${"G\x4cO\x42\x41\x4c\x53"}["s\x64\x70\x78m\x6fn\x6b"]="\x64\x65\x6d";if($_REQUEST["k\x65y"]!=""){${${"\x47\x4cO\x42\x41LS"}["jwao\x71\x67\x6c\x73\x64nd"]}.=" w\x68e\x72\x65\x20t\x65n \x6cik\x65\x20'\x25".$_REQUEST["k\x65\x79"]."\x25\x27";}${${"\x47L\x4f\x42\x41\x4c\x53"}["ej\x79\x74\x76kbhc"]}="SE\x4cEC\x54\x20\x63\x6f\x75\x6e\x74(id) \x41\x53\x20nu\x6d\x72\x6fw\x73\x20\x46\x52OM #\x5fp\x6ca\x63e\x5fw\x61\x72d\x20$where";${"\x47L\x4f\x42\x41L\x53"}["\x68\x6aed\x67d\x74"]="p\x61ge";$d->query(${${"G\x4c\x4fBA\x4c\x53"}["u\x68zx\x6d\x72\x6f\x70\x71\x77"]});${${"\x47L\x4f\x42A\x4c\x53"}["o\x76\x78by\x72\x79g\x70"]}=$d->fetch_array();${${"G\x4cO\x42\x41\x4c\x53"}["h\x6cnd\x6d\x74\x6f"]}=${${"G\x4c\x4f\x42A\x4cS"}["\x73\x64\x70\x78mo\x6e\x6b"]}["n\x75\x6d\x72o\x77\x73"];${${"\x47\x4c\x4f\x42ALS"}["ge\x64\x74\x6b\x68y"]}=$_GET["\x70"];${$qsrsvhkbrxb}=10;${"\x47\x4cO\x42\x41L\x53"}["\x75jkd\x68c\x6f\x78\x62"]="\x70\x61\x67\x65";${${"G\x4c\x4f\x42\x41L\x53"}["\x69\x6f\x66\x65\x69z\x68\x63f"]}=5;${"G\x4cOBAL\x53"}["\x69\x77a\x70\x62\x64hk\x72\x69\x6an"]="p\x61\x67e";$bwbnhdsy="\x62g";if(${${"\x47\x4c\x4fBAL\x53"}["h\x6a\x65\x64\x67\x64t"]}=="")${${"G\x4c\x4fB\x41\x4cS"}["\x67\x65dt\x6bhy"]}=1;else${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x77\x61\x70\x62\x64\x68\x6b\x72\x69j\x6e"]}=$_GET["p"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["ge\x64\x74\x6bh\x79"]}--;${$bwbnhdsy}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73gt\x78\x75\x6f\x72"]}*${${"G\x4c\x4fB\x41L\x53"}["uj\x6b\x64h\x63\x6f\x78\x62"]};${${"\x47\x4cO\x42\x41\x4c\x53"}["e\x6a\x79t\x76\x6b\x62\x68\x63"]}="SEL\x45CT\x20* \x66rom #_\x70\x6c\x61ce_ward $where\x20\x6f\x72\x64\x65r\x20b\x79 \x69\x64 \x6ci\x6d\x69\x74 $bg,$pageSize";$d->query(${${"G\x4cO\x42A\x4c\x53"}["\x65\x6a\x79\x74vk\x62\x68c"]});${${"G\x4c\x4f\x42A\x4c\x53"}["\x6fm\x74rtv\x62\x6a\x6f\x71z\x72"]}=$d->result_array();${${"GLOBAL\x53"}["\x6e\x66qwo\x79\x6cb\x61c\x75k"]}="in\x64\x65\x78\x2e\x70h\x70?com=pl\x61\x63\x65\x26\x61\x63\x74\x3dman_\x77\x61\x72\x64";}function get_ward(){$rhjwxpg="\x73q\x6c";$qetbmutu="\x69\x64";global$d,$item;${$qetbmutu}=isset($_GET["\x69\x64"])?themdau($_GET["i\x64"]):"";if(!${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ak\x71\x75\x65\x78\x6a\x68"]})transfer("K\x68\x6e\x67 n\x68n \x63\x20\x64\x20\x6ciu","i\x6ed\x65\x78.\x70hp?\x63om=\x70\x6c\x61\x63e\x26a\x63\x74=\x6d\x61\x6e\x5f\x77a\x72\x64");$xnpbzcst="\x73\x71\x6c";${$xnpbzcst}="sel\x65c\x74\x20*\x20\x66\x72o\x6d \x23\x5f\x70\x6c\x61\x63e\x5fwar\x64\x20\x77\x68e\x72\x65\x20\x69\x64='".${${"G\x4c\x4f\x42\x41\x4cS"}["\x61\x6b\x71u\x65\x78\x6a\x68"]}."'";$d->query(${$rhjwxpg});if($d->num_rows()==0)transfer("\x44\x20\x6ciu khng\x20c t\x68c","i\x6e\x64e\x78\x2eph\x70?co\x6d=\x70\x6c\x61\x63\x65&\x61\x63t=\x6dan\x5fw\x61rd");${${"\x47L\x4f\x42A\x4c\x53"}["d\x72g\x74\x76\x65o\x66\x67"]}=$d->fetch_array();}function save_ward(){global$d;if(empty($_POST))transfer("Khng\x20\x6e\x68n\x20\x63\x20\x64\x20\x6c\x69\x75","in\x64e\x78\x2eph\x70?\x63\x6fm\x3dplace&a\x63t\x3d\x6dan\x5f\x77\x61\x72\x64");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["a\x6b\x71\x75\x65\x78\x6ah"]}=isset($_POST["i\x64"])?themdau($_POST["i\x64"]):"";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61kqu\x65\x78\x6ah"]}){${"\x47\x4c\x4fB\x41\x4cS"}["q\x68\x67\x6cw\x65\x63\x65j\x7a"]="\x69\x64";${${"G\x4cO\x42A\x4c\x53"}["\x71h\x67\x6cw\x65\x63\x65\x6az"]}=themdau($_POST["\x69\x64"]);${"\x47L\x4fBA\x4cS"}["d\x6f\x6a\x69w\x66\x75ym"]="data";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x6ecg\x6b\x78b\x72u\x78"]}["id\x5f\x63\x69\x74\x79"]=(int)$_POST["\x69d_c\x69\x74y"];${${"\x47L\x4f\x42A\x4c\x53"}["nn\x63\x67\x6bx\x62rux"]}["\x69\x64_d\x69\x73t"]=(int)$_POST["\x69d_\x64i\x73\x74"];${${"GL\x4f\x42A\x4cS"}["\x6e\x6e\x63\x67kx\x62r\x75\x78"]}["t\x65\x6e"]=$_POST["name"];${${"\x47\x4cO\x42AL\x53"}["nn\x63g\x6bxbr\x75\x78"]}["t\x65nk\x68on\x67\x64au"]=changeTitle($_POST["\x6e\x61\x6de"]);${${"G\x4cO\x42\x41\x4c\x53"}["nn\x63\x67k\x78\x62\x72\x75\x78"]}["\x73\x74t"]=$_POST["nu\x6d"];${${"\x47L\x4f\x42\x41\x4cS"}["\x64\x6fj\x69\x77\x66uy\x6d"]}["hienthi"]=isset($_POST["ac\x74ive"])?1:0;$blitlplxborx="id";$dwdnxqqxdpro="\x64\x61ta";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x6ec\x67kx\x62\x72\x75x"]}["n\x67\x61\x79s\x75a"]=time();$d->setTable("pl\x61\x63e\x5f\x77\x61\x72d");$d->setWhere("\x69\x64",${$blitlplxborx});if($d->update(${$dwdnxqqxdpro})){redirect("\x69\x6ed\x65x.\x70\x68\x70?co\x6d=p\x6ca\x63e\x26\x61\x63\x74\x3d\x6d\x61n_w\x61r\x64\x26c\x75rP\x61ge\x3d".$_REQUEST["\x63\x75\x72\x50\x61g\x65"]."");}else transfer("Cp\x20nh\x74\x20d\x20li\x75 b\x20\x6ci","i\x6edex\x2ep\x68p?\x63\x6fm=\x70\x6c\x61c\x65&\x61ct\x3d\x6dan_\x77\x61\x72\x64");}else{$hpnmvtyefo="\x64\x61t\x61";${"GL\x4f\x42\x41\x4c\x53"}["mt\x67pz\x64\x6bti\x77"]="\x64\x61\x74a";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x6bd\x66yg"]="da\x74\x61";$qflwlu="dat\x61";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x6e\x63\x67\x6b\x78\x62\x72\x75\x78"]}["i\x64\x5f\x63\x69ty"]=(int)$_POST["\x69d_c\x69ty"];$otgllmwl="\x64\x61\x74a";${${"\x47\x4c\x4fB\x41LS"}["\x72\x6bdfyg"]}["\x69d\x5f\x64\x69\x73\x74"]=(int)$_POST["\x69d\x5fd\x69s\x74"];${"GL\x4fBA\x4cS"}["\x67\x6eko\x65\x71\x63\x64\x69\x77"]="dat\x61";${"\x47\x4c\x4f\x42ALS"}["\x64\x63\x6e\x75p\x70n\x62\x7a"]="d\x61\x74\x61";${$otgllmwl}["ten"]=$_POST["\x6e\x61\x6de"];${$qflwlu}["\x74\x65nk\x68o\x6eg\x64\x61u"]=changeTitle($_POST["na\x6d\x65"]);${${"GL\x4f\x42A\x4cS"}["\x67\x6ek\x6fe\x71\x63d\x69w"]}["stt"]=$_POST["\x6e\x75m"];${${"G\x4c\x4f\x42\x41\x4cS"}["d\x63n\x75\x70\x70nb\x7a"]}["hi\x65n\x74hi"]=isset($_POST["\x61\x63\x74ive"])?1:0;${${"\x47L\x4fBA\x4c\x53"}["\x6dtg\x70\x7ad\x6bt\x69\x77"]}["n\x67\x61y\x74\x61\x6f"]=time();$d->setTable("pl\x61\x63\x65_\x77ard");if($d->insert(${$hpnmvtyefo})){redirect("\x69\x6e\x64\x65x.\x70h\x70?\x63\x6f\x6d\x3dp\x6c\x61ce\x26\x61\x63\x74=man\x5fwa\x72\x64");}else transfer("L\x75 d\x20\x6ci\x75\x20b li","\x69\x6ede\x78.\x70\x68p?\x63om=\x70lace\x26\x61ct\x3d\x6da\x6e\x5f\x77a\x72\x64");}}function delete_ward(){global$d;if($_REQUEST["id_c\x61t"]!=""){$wnbretrgjpd="\x69\x64_\x63\x61t\x74";${$wnbretrgjpd}="&i\x64\x5fcat=".$_REQUEST["\x69d\x5f\x63\x61\x74"];}if($_REQUEST["\x63u\x72\x50ag\x65"]!=""){${"\x47\x4cO\x42\x41\x4cS"}["n\x6d\x68s\x63\x64n\x79\x68\x70"]="\x69d\x5fca\x74\x74";${${"\x47\x4c\x4fBA\x4c\x53"}["n\x6d\x68scd\x6e\x79\x68p"]}.="\x26\x63\x75\x72\x50age=".$_REQUEST["\x63ur\x50a\x67\x65"];}if(isset($_GET["id"])){$liowlnnr="sql";$aapiei="\x73\x71l";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x61k\x71uex\x6a\x68"]}=themdau($_GET["\x69\x64"]);$d->reset();$ftvrobyyziu="\x69\x64_c\x61\x74\x74";${$liowlnnr}="de\x6cete\x20f\x72om\x20\x23\x5fplac\x65\x5fward \x77\x68\x65\x72e \x69d\x3d'".${${"\x47\x4c\x4fBAL\x53"}["\x61\x6b\x71\x75\x65\x78\x6ah"]}."'";if($d->query(${$aapiei}))redirect("i\x6e\x64\x65\x78.p\x68\x70?com=\x70la\x63\x65\x26\x61\x63\x74\x3d\x6dan_\x77\x61r\x64".${$ftvrobyyziu}."");else transfer("Xa \x64\x20\x6c\x69\x75 \x62 \x6c\x69","\x69nde\x78\x2ep\x68p?com=\x70l\x61\x63\x65&act=\x6d\x61\x6e\x5fward");}else transfer("\x4bh\x6e\x67\x20\x6e\x68\x6e\x20c\x20\x64\x20\x6c\x69\x75","ind\x65\x78.php?\x63\x6fm\x3d\x70l\x61\x63e&a\x63\x74\x3dma\x6e_\x77\x61\x72d");}function get_streets(){global$d,$items,$url_link,$totalRows,$pageSize,$offset;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x67\x6a\x73v\x77\x6dlt\x66"]="pag\x65\x53\x69\x7a\x65";if(!empty($_POST)){${"\x47LOB\x41\x4c\x53"}["\x64\x65\x68\x62\x78\x71\x65\x73"]="\x69\x64\x5f\x61r\x72\x61\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["lhcj\x64u"]="co\x75\x6e\x74";${"\x47\x4c\x4f\x42A\x4cS"}["q\x70\x6ak\x6d\x68cg"]="\x69d_\x61rr\x61y";${${"\x47\x4c\x4fB\x41\x4cS"}["g\x6e\x6f\x65\x77\x6e"]}=$_REQUEST["mu\x6ct\x69"];${${"\x47\x4c\x4fB\x41L\x53"}["d\x65\x68\x62\x78q\x65\x73"]}=$_POST["idd\x65\x6c"];${${"GL\x4fBA\x4c\x53"}["lh\x63j\x64\x75"]}=count(${${"G\x4cOB\x41\x4cS"}["\x71\x70\x6ak\x6d\x68c\x67"]});if(${${"G\x4cOB\x41\x4c\x53"}["\x67n\x6f\x65\x77\x6e"]}=="sh\x6fw"){$wtqttte="i";$usbjfazmb="\x69";$miqyqmdhxpu="\x69";for(${$wtqttte}=0;${$usbjfazmb}<${${"GLO\x42\x41LS"}["\x66\x64pe\x6ft\x62w"]};${$miqyqmdhxpu}++){${"\x47\x4c\x4f\x42A\x4cS"}["\x6br\x73x\x75\x77\x79\x73b"]="\x69";${${"G\x4c\x4fB\x41\x4cS"}["\x65\x6ay\x74\x76\x6b\x62\x68c"]}="UP\x44\x41\x54\x45\x20\x74abl\x65_p\x6cace\x5f\x73\x74\x72e\x65\x74\x20SE\x54 hi\x65\x6eth\x69\x20=\x31 \x57\x48\x45\x52E id =\x20".${${"\x47\x4c\x4fB\x41L\x53"}["\x76l\x68\x70\x75\x77\x66u"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["k\x72\x73x\x75\x77\x79\x73\x62"]}]."";$cpjyviimh="\x73q\x6c";mysql_query(${$cpjyviimh})or die("\x4eo\x74 \x71\x75e\x72y s\x71l\x55\x50\x44A\x54\x45_\x4fRD\x45\x52");}redirect("\x69\x6ed\x65x.\x70\x68\x70?c\x6f\x6d=plac\x65\x26\x61c\x74\x3d\x6d\x61n\x5fs\x74ree\x74");}if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6e\x6fe\x77n"]}=="\x68\x69d\x65"){${"\x47LO\x42\x41\x4c\x53"}["\x75uy\x6d\x6e\x61y\x79\x67"]="\x69";$chxfhtkvwkw="\x63\x6f\x75\x6et";for(${${"\x47\x4c\x4fBAL\x53"}["\x6fx\x79\x71\x6dpe"]}=0;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x78\x79\x71m\x70e"]}<${$chxfhtkvwkw};${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75uy\x6dn\x61yy\x67"]}++){$orqfhptj="\x73\x71l";${$orqfhptj}="UP\x44\x41TE\x20tab\x6c\x65_\x70l\x61c\x65_\x73t\x72\x65e\x74 S\x45\x54\x20\x68ie\x6ethi =\x30 \x57HERE\x20\x20id \x3d\x20".${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x6chpuw\x66\x75"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x6fxy\x71\x6dp\x65"]}]."";$qexigrezgfzv="\x73q\x6c";mysql_query(${$qexigrezgfzv})or die("No\x74 \x71\x75\x65\x72\x79 \x73\x71\x6cUP\x44\x41\x54\x45\x5fO\x52DER");}redirect("\x69\x6edex.\x70h\x70?c\x6fm\x3d\x70lac\x65&ac\x74\x3dm\x61n\x5f\x73treet");}if(${${"\x47\x4cO\x42\x41L\x53"}["g\x6e\x6f\x65w\x6e"]}=="de\x6c"){${"\x47\x4cO\x42A\x4c\x53"}["\x76\x71\x76h\x69\x76v\x63"]="\x69";$niqwiodpvh="i";for(${${"\x47LOBALS"}["\x6f\x78\x79\x71\x6d\x70\x65"]}=0;${$niqwiodpvh}<${${"\x47\x4cOBAL\x53"}["fdp\x65otb\x77"]};${${"G\x4cOB\x41\x4cS"}["\x76\x71vh\x69v\x76\x63"]}++){$mrksrjzb="\x69\x64\x5f\x61\x72ra\x79";$viomqrdvbef="i";${${"\x47L\x4f\x42\x41L\x53"}["e\x6a\x79\x74v\x6b\x62\x68\x63"]}="\x64ele\x74e \x66\x72om tab\x6ce\x5f\x70\x6ca\x63e\x5fstre\x65\x74\x20wh\x65r\x65\x20\x69\x64\x20\x3d\x20".${$mrksrjzb}[${$viomqrdvbef}]."";mysql_query(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65jy\x74\x76\x6b\x62\x68\x63"]})or die("\x4eot \x71u\x65\x72\x79 sq\x6cU\x50\x44A\x54E\x5fORD\x45\x52");}redirect("in\x64\x65\x78.\x70hp?com\x3dp\x6c\x61\x63e\x26act\x3dman_stre\x65t");}}if($_REQUEST["h\x69e\x6ethi"]!=""){${"\x47\x4c\x4fBAL\x53"}["r\x67\x6d\x6ec\x78\x6f\x68c"]="\x69\x64\x5fu\x70";$cytwxrh="\x69\x64_\x75\x70";${"\x47\x4c\x4f\x42AL\x53"}["\x64e\x71\x77\x6b\x77\x75"]="\x63a\x74\x73";${"\x47\x4c\x4fB\x41L\x53"}["pj\x69v\x62\x7aj\x75kn\x6b"]="s\x71\x6c\x5f\x73\x70";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x67\x6dn\x63x\x6f\x68c"]}=$_REQUEST["\x68ien\x74hi"];${${"\x47L\x4f\x42A\x4cS"}["\x68pyi\x6ad\x63"]}="SELEC\x54 \x69\x64,\x68\x69en\x74\x68i F\x52OM t\x61b\x6ce\x5fpla\x63\x65_st\x72e\x65\x74 wh\x65r\x65\x20i\x64\x3d'".${$cytwxrh}."' ";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71sm\x73\x6a\x64b\x64\x6a\x61"]="\x63at\x73";$d->query(${${"\x47L\x4fB\x41\x4c\x53"}["\x70\x6a\x69\x76b\x7a\x6au\x6b\x6e\x6b"]});${${"\x47LOB\x41\x4c\x53"}["\x64e\x71w\x6bw\x75"]}=$d->result_array();${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67zoifv\x6d\x6b"]}=${${"\x47\x4cOBA\x4cS"}["\x71\x73m\x73\x6a\x64\x62\x64\x6a\x61"]}[0]["hie\x6et\x68i"];if(${${"\x47\x4cO\x42\x41L\x53"}["\x67\x7a\x6fifv\x6d\x6b"]}==0){$vwabovuky="\x69\x64\x5f\x75\x70";${"\x47\x4c\x4fB\x41\x4c\x53"}["imk\x78\x74\x6f\x64\x68\x70"]="\x72es\x75l\x74\x55\x50\x44\x41\x54\x45_ORD\x45\x52";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x74ba\x77\x67b\x6atqt"]}="\x55\x50\x44\x41TE\x20\x74a\x62\x6c\x65\x5f\x70\x6c\x61\x63e\x5fst\x72\x65\x65\x74\x20\x53\x45\x54 h\x69en\x74\x68\x69\x20=1 WHER\x45 \x20id\x20\x3d ".${$vwabovuky}."";${${"GLO\x42\x41L\x53"}["\x69\x6dk\x78\x74\x6f\x64h\x70"]}=mysql_query(${${"\x47\x4c\x4f\x42\x41LS"}["\x67\x74\x62\x61\x77gb\x6a\x74q\x74"]})or die("No\x74\x20\x71\x75ery\x20\x73ql\x55P\x44\x41\x54\x45\x5f\x4f\x52DE\x52");}else{$vxfeeohwl="s\x71lU\x50\x44\x41\x54\x45_O\x52D\x45R";${"G\x4c\x4fBA\x4c\x53"}["\x77w\x68\x6b\x6e\x78\x7a"]="i\x64_\x75\x70";${$vxfeeohwl}="UP\x44\x41\x54\x45\x20ta\x62\x6ce\x5f\x70la\x63\x65_str\x65e\x74\x20SE\x54 \x68ient\x68i\x20=0 \x20WH\x45RE\x20\x20\x69\x64 \x3d ".${${"\x47LOBA\x4c\x53"}["\x77w\x68\x6b\x6e\x78\x7a"]}."";${${"\x47\x4cOB\x41LS"}["\x73\x67\x6czg\x63v\x63y"]}=mysql_query(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67tb\x61wg\x62\x6a\x74q\x74"]})or die("\x4eot\x20q\x75\x65\x72\x79\x20\x73ql\x55P\x44A\x54\x45\x5fO\x52D\x45\x52");}}$pknomdemvbl="\x70\x61\x67\x65";if($_REQUEST["\x69d\x5f\x63i\x74y"]!=""){${${"G\x4c\x4fBA\x4cS"}["j\x77\x61o\x71gl\x73\x64\x6ed"]}.="\x20\x77he\x72e \x69d\x5f\x63\x69t\x79\x20= \x27".$_REQUEST["id\x5f\x63i\x74y"]."'";}if($_REQUEST["\x69d_d\x69s\x74"]!=""){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6awa\x6fq\x67\x6c\x73d\x6e\x64"]}.=" \x61\x6e\x64\x20\x69\x64\x5f\x64is\x74\x20= '".$_REQUEST["i\x64_\x64\x69\x73\x74"]."\x27";}${"\x47L\x4f\x42A\x4c\x53"}["\x73\x6fwr\x64\x77\x74"]="\x73\x71\x6c";$cdvbhnswm="pa\x67\x65";if($_REQUEST["key"]!=""){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x66qomy\x6fw"]="w\x68\x65r\x65";${${"\x47L\x4f\x42A\x4c\x53"}["k\x66\x71\x6f\x6dy\x6f\x77"]}.=" w\x68e\x72e \x74e\x6e li\x6b\x65 '\x25".$_REQUEST["\x6b\x65\x79"]."\x25'";}${${"\x47LOB\x41\x4c\x53"}["\x73\x6f\x77\x72d\x77\x74"]}="\x53EL\x45\x43T \x63ount(\x69\x64) \x41S nu\x6dr\x6f\x77s \x46R\x4fM #_p\x6cac\x65_stre\x65\x74 $where";$d->query(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x6ay\x74\x76\x6b\x62\x68\x63"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fv\x78\x62\x79\x72\x79\x67\x70"]}=$d->fetch_array();${${"\x47LO\x42\x41\x4cS"}["\x68ln\x64m\x74\x6f"]}=${${"\x47L\x4fBA\x4c\x53"}["\x6f\x76\x78\x62yr\x79gp"]}["num\x72ows"];$twlrpce="\x70ag\x65";${$cdvbhnswm}=$_GET["\x70"];${${"\x47\x4cO\x42A\x4cS"}["\x69\x67\x6a\x73\x76wm\x6c\x74\x66"]}=10;${${"\x47LOBA\x4c\x53"}["i\x6ff\x65i\x7a\x68cf"]}=5;if(${$pknomdemvbl}=="")${${"\x47\x4cOBA\x4c\x53"}["\x67\x65\x64tkh\x79"]}=1;else${$twlrpce}=$_GET["p"];${${"\x47LOB\x41LS"}["\x67\x65d\x74\x6b\x68\x79"]}--;${${"\x47\x4c\x4f\x42\x41LS"}["\x6aye\x69\x6c\x71\x6ej\x67"]}=${${"\x47L\x4fBA\x4c\x53"}["\x73\x67\x74x\x75o\x72"]}*${${"\x47\x4c\x4fBAL\x53"}["\x67e\x64\x74\x6b\x68\x79"]};${${"G\x4c\x4f\x42\x41\x4c\x53"}["ej\x79t\x76k\x62\x68\x63"]}="SE\x4c\x45C\x54 *\x20fro\x6d\x20#\x5f\x70l\x61ce\x5fs\x74\x72ee\x74 $where \x6f\x72\x64e\x72 \x62\x79\x20id li\x6dit $bg,$pageSize";$d->query(${${"G\x4cO\x42\x41\x4c\x53"}["e\x6a\x79\x74\x76\x6bbh\x63"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76s\x69b\x74\x77\x71\x70\x6b\x6a"]}=$d->result_array();${${"GL\x4f\x42A\x4cS"}["\x6ef\x71wo\x79\x6c\x62\x61\x63u\x6b"]}="i\x6edex.\x70h\x70?co\x6d=\x70\x6c\x61\x63\x65\x26act=\x6d\x61n\x5f\x73\x74\x72e\x65t";}function get_street(){${"G\x4c\x4f\x42AL\x53"}["\x68\x70x\x71od\x6f"]="\x69d";global$d,$item;$ibigqcuv="\x69\x64";$hyhueygdier="\x73\x71l";${"\x47\x4c\x4f\x42\x41L\x53"}["k\x66s\x79ir"]="\x69\x74\x65\x6d";$twgcnudy="\x69d";${$ibigqcuv}=isset($_GET["\x69d"])?themdau($_GET["id"]):"";if(!${${"\x47L\x4fBA\x4c\x53"}["h\x70\x78\x71\x6fdo"]})transfer("Khng \x6eh\x6e \x63\x20d l\x69u","\x69\x6e\x64\x65\x78\x2ep\x68\x70?c\x6f\x6d\x3d\x70lace\x26act\x3d\x6dan\x5fstreet");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x6ay\x74\x76\x6bb\x68\x63"]}="\x73el\x65\x63t *\x20\x66\x72om \x23_\x70l\x61c\x65\x5fs\x74\x72eet w\x68\x65re\x20\x69\x64='".${$twgcnudy}."\x27";$d->query(${$hyhueygdier});if($d->num_rows()==0)transfer("D\x20l\x69\x75\x20kh\x6eg\x20\x63 thc","\x69\x6ed\x65\x78.ph\x70?\x63\x6f\x6d=\x70la\x63e&\x61\x63t=\x6d\x61n_s\x74r\x65et");${${"G\x4c\x4f\x42A\x4cS"}["\x6b\x66\x73\x79ir"]}=$d->fetch_array();}function save_street(){global$d;if(empty($_POST))transfer("K\x68ng\x20n\x68n\x20\x63 \x64\x20liu","in\x64\x65x\x2eph\x70?com\x3dp\x6ca\x63\x65\x26\x61c\x74\x3dm\x61n_\x73tr\x65et");${${"\x47\x4c\x4f\x42A\x4cS"}["\x61\x6b\x71u\x65x\x6ah"]}=isset($_POST["id"])?themdau($_POST["id"]):"";if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x6bquex\x6ah"]}){${${"\x47\x4cO\x42\x41L\x53"}["\x61\x6b\x71u\x65\x78j\x68"]}=themdau($_POST["\x69\x64"]);${"GL\x4f\x42AL\x53"}["\x74\x64\x6f\x6bl\x72sy"]="\x64\x61ta";${"G\x4cO\x42A\x4cS"}["h\x65\x6fzp\x6e\x73\x70m\x64"]="\x64at\x61";$apclbbkharl="\x64\x61ta";${"\x47\x4c\x4f\x42A\x4cS"}["\x62\x6e\x69\x66\x6b\x67\x6f"]="i\x64";${${"\x47\x4cOBALS"}["\x68\x65\x6fz\x70n\x73p\x6dd"]}["\x69d_c\x69ty"]=(int)$_POST["\x69\x64_\x63it\x79"];${"\x47L\x4f\x42\x41L\x53"}["\x67\x72\x76\x6f\x74\x72\x79\x77uu\x64"]="d\x61t\x61";$wwlmof="\x64\x61\x74\x61";${$apclbbkharl}["id_d\x69s\x74"]=(int)$_POST["id_\x64\x69s\x74"];${${"G\x4c\x4f\x42\x41LS"}["\x6e\x6e\x63g\x6bx\x62\x72\x75x"]}["\x74\x65n"]=$_POST["name"];${${"\x47\x4c\x4fBA\x4cS"}["n\x6e\x63\x67\x6bx\x62\x72\x75\x78"]}["\x74\x65\x6ek\x68ongd\x61\x75"]=changeTitle($_POST["\x6eame"]);${${"GL\x4f\x42\x41\x4cS"}["nn\x63\x67k\x78\x62\x72\x75\x78"]}["s\x74t"]=$_POST["nu\x6d"];${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74d\x6fk\x6c\x72\x73\x79"]}["\x68\x69ent\x68i"]=isset($_POST["\x61ct\x69\x76\x65"])?1:0;${${"\x47\x4cOB\x41LS"}["\x67\x72v\x6ft\x72y\x77uu\x64"]}["n\x67a\x79\x73u\x61"]=time();$d->setTable("p\x6cace_\x73\x74\x72\x65\x65\x74");$d->setWhere("\x69d",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6e\x69f\x6b\x67\x6f"]});if($d->update(${$wwlmof})){redirect("\x69n\x64e\x78.php?\x63\x6fm\x3d\x70l\x61ce&a\x63\x74\x3dman\x5f\x73tr\x65e\x74\x26\x63u\x72\x50\x61g\x65\x3d".$_REQUEST["cu\x72P\x61ge"]."");}else transfer("\x43\x70\x20\x6e\x68t\x20\x64 \x6ciu\x20b \x6ci","\x69n\x64\x65\x78\x2eph\x70?\x63om=pla\x63\x65&a\x63\x74\x3dm\x61n\x5f\x73tre\x65t");}else{${"GL\x4fBA\x4cS"}["zgm\x6f\x70me\x78"]="d\x61\x74\x61";${"\x47L\x4f\x42\x41\x4c\x53"}["t\x62\x6af\x61\x74\x6efx"]="\x64\x61\x74\x61";${${"\x47\x4cO\x42\x41\x4cS"}["\x6e\x6e\x63\x67k\x78\x62ru\x78"]}["\x69d_\x63it\x79"]=(int)$_POST["i\x64\x5fc\x69t\x79"];${${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x6e\x63g\x6bxb\x72u\x78"]}["i\x64\x5fd\x69\x73\x74"]=(int)$_POST["\x69d_di\x73\x74"];$obvkrnb="\x64\x61t\x61";${$obvkrnb}["ten"]=$_POST["na\x6d\x65"];${${"G\x4cOB\x41\x4c\x53"}["n\x6e\x63\x67\x6b\x78b\x72\x75x"]}["\x74en\x6b\x68ongdau"]=changeTitle($_POST["\x6ea\x6de"]);$jnnqjqnd="d\x61\x74a";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x6ecg\x6b\x78\x62\x72\x75\x78"]}["\x73\x74\x74"]=$_POST["num"];${${"\x47\x4c\x4f\x42\x41LS"}["\x74bjf\x61\x74nf\x78"]}["\x68\x69\x65n\x74\x68\x69"]=isset($_POST["\x61ct\x69\x76e"])?1:0;${$jnnqjqnd}["n\x67ay\x74a\x6f"]=time();$d->setTable("\x70lac\x65_s\x74\x72e\x65\x74");if($d->insert(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x67\x6do\x70\x6d\x65\x78"]})){redirect("i\x6edex\x2e\x70\x68\x70?com\x3d\x70\x6c\x61c\x65\x26\x61c\x74=\x6d\x61\x6e_str\x65\x65\x74");}else transfer("\x4cu \x64\x20liu b \x6ci","\x69\x6e\x64ex\x2ep\x68p?\x63om\x3dplac\x65\x26ac\x74=\x6d\x61\x6e_\x73\x74re\x65\x74");}}function delete_street(){global$d;if($_REQUEST["\x69\x64_\x63a\x74"]!=""){${"\x47\x4c\x4fB\x41L\x53"}["\x73g\x74dxgo"]="\x69\x64_\x63\x61\x74\x74";${${"\x47L\x4fB\x41\x4c\x53"}["\x73\x67tdxg\x6f"]}="\x26\x69d_c\x61\x74\x3d".$_REQUEST["id_c\x61\x74"];}if($_REQUEST["\x63u\x72\x50\x61\x67\x65"]!=""){$vjidpx="i\x64\x5f\x63\x61\x74\x74";${$vjidpx}.="&\x63u\x72\x50a\x67e\x3d".$_REQUEST["\x63\x75\x72Pa\x67e"];}if(isset($_GET["\x69d"])){$qvpurxy="\x69\x64";$sofskketdnuj="sq\x6c";${${"\x47\x4c\x4f\x42\x41LS"}["ak\x71\x75\x65\x78\x6a\x68"]}=themdau($_GET["\x69\x64"]);${"\x47\x4c\x4fB\x41LS"}["\x65l\x6f\x77h\x6ft\x65\x68e\x6e"]="\x69\x64\x5f\x63\x61\x74\x74";$d->reset();${$sofskketdnuj}="d\x65\x6ce\x74e \x66r\x6fm\x20#\x5f\x70\x6ca\x63e_\x73\x74ree\x74\x20\x77\x68ere\x20\x69\x64\x3d\x27".${$qvpurxy}."'";if($d->query(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x6a\x79t\x76\x6b\x62\x68\x63"]}))redirect("\x69nd\x65\x78\x2ephp?\x63om\x3dp\x6c\x61\x63e\x26a\x63t=ma\x6e_s\x74re\x65t".${${"\x47L\x4fB\x41\x4c\x53"}["e\x6cow\x68\x6f\x74\x65\x68\x65\x6e"]}."");else transfer("\x58\x61 \x64 \x6c\x69u\x20b\x20\x6c\x69","\x69\x6ede\x78.\x70\x68p?\x63\x6f\x6d\x3dp\x6cac\x65&a\x63t\x3dm\x61\x6e\x5fs\x74r\x65\x65t");}else transfer("\x4b\x68\x6e\x67 nhn c \x64 \x6ci\x75","i\x6e\x64\x65x.\x70\x68\x70?com=p\x6ca\x63\x65\x26act\x3d\x6dan\x5fs\x74re\x65t");}
?>
Function Calls
defined | 1 |
Stats
MD5 | d1127aa26adce72472e75121c323d6f3 |
Eval Count | 0 |
Decode Time | 233 ms |