Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"\x47\x4c\x4fB\x41LS"}["\x66\x6a\x77hxj\x70"]="\x64\x61t\x61";${"\x47\x4c\x4f\x42\..

Decoded Output download

<?php ${"GLOBALS"}["fjwhxjp"]="data";${"GLOBALS"}["rovcavfkf"]="result";${"GLOBALS"}["bvmatmsubqy"]="gid";${"GLOBALS"}["omexuwnlob"]="ma_phuong_xa";${"GLOBALS"}["lzeqlnvb"]="html_px";${"GLOBALS"}["ydhgrmk"]="return";${"GLOBALS"}["sengnvd"]="row";${"GLOBALS"}["aoavyln"]="filter";${"GLOBALS"}["ohmlbxgrcsx"]="ma_quan_huyen";${"GLOBALS"}["fliwncti"]="branchId";${"GLOBALS"}["hygsbpmzjwx"]="districtAll";${"GLOBALS"}["oitlsiwswlf"]="val1";${"GLOBALS"}["epjqyrtchuu"]="key2";${"GLOBALS"}["ujigfgfbphz"]="districtField";${"GLOBALS"}["tlmkrcu"]="val";${"GLOBALS"}["vndkwh"]="key";${"GLOBALS"}["apdonqrnpi"]="area";${"GLOBALS"}["tdkzkiccb"]="field";${"GLOBALS"}["iafypsqteozi"]="id";${"GLOBALS"}["tpytijr"]="coordinate";${"GLOBALS"}["jmoykyve"]="type";header("Access-Control-Allow-Origin: *");if(!defined("BASEPATH"))exit("No direct script access allowed");class Mapmanager extends CI_Controller{public function __construct(){parent::__construct();$this->load->library("form_validation");$this->load->model("tools_model");$this->load->model("map_model");$this->load->model("pipe_model");$this->load->model("valve_model");$this->load->model("hydrant_model");$this->load->model("meter_model");if(!$this->login_model->is_logged_in()){redirect(base_url());}$this->logged_user_id=$this->session->userdata("user_id");$this->logged_user_type_id=$this->session->userdata("user_type_id");}public function index(){${"GLOBALS"}["ugqmkfeh"]="id";$xqrhnbnqgeh="ci";if($this->logged_user_type_id==1){redirect(base_url("usermanager"));}${$xqrhnbnqgeh}=&get_instance();$this->data["meta_title"]="Trang ch";$sklxrbjyqj="id";$this->data["username"]=$ci->session->userdata("username");$this->getPermission();${$sklxrbjyqj}=isset($_GET["id"])?$_GET["id"]:0;${${"GLOBALS"}["jmoykyve"]}=isset($_GET["type"])?$_GET["type"]:"";if(${${"GLOBALS"}["ugqmkfeh"]}>0){${"GLOBALS"}["xxqhveov"]="id";${"GLOBALS"}["sdwiudduxka"]="id";$awjkqjgs="coordinate";$ucuthcoixmgn="id";${"GLOBALS"}["jkgvogynh"]="coordinate";${"GLOBALS"}["kbfvdmwtvkr"]="type";$this->data["id"]=${${"GLOBALS"}["xxqhveov"]};$korgljio="id";$this->data["type"]=${${"GLOBALS"}["jmoykyve"]};switch(${${"GLOBALS"}["kbfvdmwtvkr"]}){case"pipe":${${"GLOBALS"}["tpytijr"]}=$this->pipe_model->getPipeCoordinate(${$ucuthcoixmgn});break;case"valve":${${"GLOBALS"}["tpytijr"]}=$this->valve_model->getValveCoordinate(${${"GLOBALS"}["iafypsqteozi"]});break;case"hydrant":${$awjkqjgs}=$this->hydrant_model->getHydrantCoordinate(${$korgljio});break;case"watermeter":${${"GLOBALS"}["jkgvogynh"]}=$this->meter_model->getWatermeterCoordinate(${${"GLOBALS"}["sdwiudduxka"]});break;}$this->data["lat"]=$coordinate->lat;$this->data["long"]=$coordinate->long;}$this->load->view("map/main",$this->data,FALSE);}function getPermission(){${"GLOBALS"}["mlurqftvmvir"]="area";${"GLOBALS"}["kspirhlknpoe"]="grant";${"GLOBALS"}["shxkvniu"]="branchName";${${"GLOBALS"}["tdkzkiccb"]}=$this->session->userdata("ss_field");${${"GLOBALS"}["mlurqftvmvir"]}=$this->session->userdata("ss_area");${"GLOBALS"}["pdmfipjwge"]="districtAll";${"GLOBALS"}["rdkvxxhb"]="branchName";${"GLOBALS"}["ihgdjdq"]="filter";${"GLOBALS"}["xlicqdbkvuq"]="branchId";${${"GLOBALS"}["kspirhlknpoe"]}=$this->session->userdata("ss_grant");$xjdkftrwtv="key";$vuotnxh="field";${${"GLOBALS"}["pdmfipjwge"]}=array();${"GLOBALS"}["xwgqvqkfq"]="districtField";${${"GLOBALS"}["ihgdjdq"]}=array();${${"GLOBALS"}["xwgqvqkfq"]}=array();foreach(${${"GLOBALS"}["apdonqrnpi"]} as${${"GLOBALS"}["vndkwh"]}=>${${"GLOBALS"}["tlmkrcu"]}){$hjeewpmlhj="val1";$oaydpfpfmje="key";$xkhslmylt="filter";${"GLOBALS"}["xtkwqbwqksk"]="val";${"GLOBALS"}["cxqqqjdsx"]="val2";$lyantpd="filter";${${"GLOBALS"}["ujigfgfbphz"]}[${$oaydpfpfmje}]=array();$zlfiovc="val";foreach(${${"GLOBALS"}["xtkwqbwqksk"]} as${${"GLOBALS"}["epjqyrtchuu"]}=>${${"GLOBALS"}["cxqqqjdsx"]}){${"GLOBALS"}["dxuvesi"]="key";$xiinvezqit="val2";array_push(${${"GLOBALS"}["ujigfgfbphz"]}[${${"GLOBALS"}["dxuvesi"]}],${$xiinvezqit});}${$lyantpd}["district_id"]=${$zlfiovc};$qhwpvfqvbmp="key";$this->data["districtList_".${${"GLOBALS"}["vndkwh"]}]=$this->map_model->getDistrict(${$xkhslmylt});foreach(${${"GLOBALS"}["tlmkrcu"]} as${$qhwpvfqvbmp}=>${$hjeewpmlhj}){$nwqjljne="districtAll";$hlevfvbult="val1";if(!in_array(${${"GLOBALS"}["oitlsiwswlf"]},${$nwqjljne}))array_push(${${"GLOBALS"}["hygsbpmzjwx"]},${$hlevfvbult});}}${"GLOBALS"}["hxzbvrwt"]="field";$kqqmevdinzc="branchId";$this->data["data_drop_field"]=$this->map_model->getField(${${"GLOBALS"}["tdkzkiccb"]});$hqetccxlsy="districtField";${"GLOBALS"}["mlbouygv"]="districtAll";${"GLOBALS"}["bynolqns"]="branch";$this->data["district"]=${${"GLOBALS"}["mlbouygv"]};$this->data["districtField"]=${$hqetccxlsy};$this->data["field"]=${${"GLOBALS"}["tdkzkiccb"]};${${"GLOBALS"}["bynolqns"]}=$this->users_model->getBranch(array("fieldId"=>${${"GLOBALS"}["hxzbvrwt"]}));${$kqqmevdinzc}=array();${${"GLOBALS"}["rdkvxxhb"]}=array();foreach($branch->result()as${$xjdkftrwtv}=>${${"GLOBALS"}["tlmkrcu"]});{${"GLOBALS"}["cxoipuiwcr"]="branchName";$posmwsogi="key";$fuulrpcfb="branchId";${${"GLOBALS"}["fliwncti"]}[${${"GLOBALS"}["vndkwh"]}]=$val->ma_nganh;${${"GLOBALS"}["cxoipuiwcr"]}[${$fuulrpcfb}[${$posmwsogi}]]=$val->ten_nganh;}$this->data["branchId"]=${${"GLOBALS"}["xlicqdbkvuq"]};$this->data["branchName"]=${${"GLOBALS"}["shxkvniu"]};if(in_array("CN_OT",${$vuotnxh})){$this->data["typePipe"]=$this->map_model->getType("Pipe");}if(in_array("CN_VAN",${${"GLOBALS"}["tdkzkiccb"]})){$this->data["typeValve"]=$this->map_model->getType("Valve");}if(in_array("CN_DH",${${"GLOBALS"}["tdkzkiccb"]})){$this->data["typeMeter"]=$this->map_model->getMeterType();}}function getCommune(){${"GLOBALS"}["utxriazq"]="ma_quan_huyen";${"GLOBALS"}["vfbgwv"]="return";${${"GLOBALS"}["vfbgwv"]}=array("status"=>"ERROR","message"=>"");${${"GLOBALS"}["utxriazq"]}=$this->input->post("ma_quan_huyen");$jnpxtflyg="return";if(${${"GLOBALS"}["ohmlbxgrcsx"]}){${"GLOBALS"}["buhlknzt"]="ma_quan_huyen";${${"GLOBALS"}["aoavyln"]}=array("id"=>${${"GLOBALS"}["buhlknzt"]});${${"GLOBALS"}["sengnvd"]}=$this->map_model->getCommuneInDistrict(${${"GLOBALS"}["aoavyln"]});if(${${"GLOBALS"}["sengnvd"]}){$fkmhceexywu="data";${${"GLOBALS"}["ydhgrmk"]}["status"]="OK";${${"GLOBALS"}["lzeqlnvb"]}="<option selected value='all'>Tt c</option>";foreach($row->result()as${$fkmhceexywu}){$mbovmvlfd="html_px";${$mbovmvlfd}.="<option value='".$data->ma_phuong_xa."'>".$data->ten_phuong_xa."</option>";}${${"GLOBALS"}["ydhgrmk"]}["phuong_xa"]=${${"GLOBALS"}["lzeqlnvb"]};}}else{${${"GLOBALS"}["ydhgrmk"]}["message"]="Khng tm thy";}echo json_encode(${$jnpxtflyg});exit();}function getCoordinateDistrict(){$nrbgwlmvbdl="ma_quan_huyen";${"GLOBALS"}["jtovrkl"]="return";${"GLOBALS"}["mwrqhmu"]="ma_quan_huyen";${"GLOBALS"}["rukzgcbk"]="return";${${"GLOBALS"}["jtovrkl"]}=array("status"=>"ERROR","message"=>"");${$nrbgwlmvbdl}=$this->input->post("ma_quan_huyen");${${"GLOBALS"}["aoavyln"]}=array("id"=>${${"GLOBALS"}["mwrqhmu"]});${${"GLOBALS"}["sengnvd"]}=$this->map_model->getCoordinateDistrict(${${"GLOBALS"}["aoavyln"]});if(${${"GLOBALS"}["sengnvd"]}){$ubuxlxist="row";${"GLOBALS"}["rjkdpyk"]="return";${${"GLOBALS"}["rjkdpyk"]}["status"]="OK";${${"GLOBALS"}["ydhgrmk"]}["quan_huyen"]=${$ubuxlxist};}else{$hgakusfec="return";${$hgakusfec}["message"]="Ko tim thay";}echo json_encode(${${"GLOBALS"}["rukzgcbk"]});exit();}function getCoordinateCommune(){$dlhlik="return";${"GLOBALS"}["mlimmluphpo"]="return";$isdpylh="filter";$gmciqyy="ma_phuong_xa";${${"GLOBALS"}["mlimmluphpo"]}=array("status"=>"ERROR","message"=>"");${${"GLOBALS"}["omexuwnlob"]}=$this->input->post("ma_phuong_xa");${$isdpylh}=array("id"=>${$gmciqyy});${${"GLOBALS"}["sengnvd"]}=$this->map_model->getCoordinateCommune(${${"GLOBALS"}["aoavyln"]});if(${${"GLOBALS"}["sengnvd"]}){${"GLOBALS"}["soorfhfpupl"]="row";$tejlngsncdpq="return";${${"GLOBALS"}["ydhgrmk"]}["status"]="OK";${$tejlngsncdpq}["phuong_xa"]=${${"GLOBALS"}["soorfhfpupl"]};}else{$rpldaoyrmmdp="return";${$rpldaoyrmmdp}["message"]="Ko tim thay";}echo json_encode(${$dlhlik});exit();}function getRoadDetail(){$ibzuzfnj="data";${"GLOBALS"}["sdwsrlwhn"]="data";${"GLOBALS"}["ckfbblz"]="result";${$ibzuzfnj}=array();${${"GLOBALS"}["bvmatmsubqy"]}=$this->tools_model->get_value("gid",0,"post",0,true);${${"GLOBALS"}["rovcavfkf"]}=$this->map_model->getRoadCoordinate(${${"GLOBALS"}["bvmatmsubqy"]});if(${${"GLOBALS"}["ckfbblz"]}){${"GLOBALS"}["dndbmol"]="data";${${"GLOBALS"}["fjwhxjp"]}["vi_do"]=$result->lat;${${"GLOBALS"}["dndbmol"]}["kinh_do"]=$result->long;}else send_json(array("status"=>"ERROR","message"=>"Khng tm thy"));send_json(array("status"=>"OK","data"=>${${"GLOBALS"}["sdwsrlwhn"]}));}function getRoadDetail1(){$mplnabryexj="data";${"GLOBALS"}["xqqegsilm"]="result";${"GLOBALS"}["qnjshblirvt"]="gid";${$mplnabryexj}=array();${${"GLOBALS"}["qnjshblirvt"]}=$this->tools_model->get_value("gid",0,"post",0,true);${${"GLOBALS"}["xqqegsilm"]}=$this->map_model->getRoadDetails(${${"GLOBALS"}["bvmatmsubqy"]});if(${${"GLOBALS"}["rovcavfkf"]}){${"GLOBALS"}["xkyxdwhc"]="data";${"GLOBALS"}["lokezowl"]="data";$sigzfeg="data";${${"GLOBALS"}["xkyxdwhc"]}["gid"]=$result->gid;$yhfobbbd="data";${$sigzfeg}["ten_duong"]=$result->ten_duong;${${"GLOBALS"}["lokezowl"]}["ma_duong"]=$result->ma_duong;${$yhfobbbd}["loai"]=$result->loai;}else send_json(array("status"=>"ERROR","message"=>"Khng tm thy"));send_json(array("status"=>"OK","data"=>${${"GLOBALS"}["fjwhxjp"]}));}function changeRoadName(){${"GLOBALS"}["shiyabwyrtjb"]="gid";${"GLOBALS"}["hrhuymmbcpvi"]="data";${"GLOBALS"}["mvkdxatpydc"]="data";${${"GLOBALS"}["bvmatmsubqy"]}=$this->input->post("gid");${${"GLOBALS"}["mvkdxatpydc"]}["ten_duong"]=$this->input->post("ten_duong");if($this->map_model->changeRoadName(${${"GLOBALS"}["shiyabwyrtjb"]},${${"GLOBALS"}["hrhuymmbcpvi"]}))send_json(array("status"=>"OK","notify"=>"Cp nht tn ng thnh cng."));send_json(array("status"=>"OK","notify"=>"C li."));}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4fB\x41LS"}["\x66\x6a\x77hxj\x70"]="\x64\x61t\x61";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6f\x76ca\x76\x66\x6bf"]="r\x65\x73u\x6c\x74";${"\x47L\x4fBA\x4cS"}["bv\x6d\x61\x74\x6ds\x75\x62\x71y"]="gi\x64";${"\x47\x4cO\x42A\x4cS"}["\x6fm\x65\x78\x75\x77\x6e\x6c\x6f\x62"]="\x6d\x61\x5f\x70\x68\x75o\x6e\x67_xa";${"GLOB\x41\x4c\x53"}["l\x7a\x65ql\x6ev\x62"]="h\x74\x6dl_\x70\x78";${"G\x4c\x4fB\x41\x4c\x53"}["ydhg\x72\x6d\x6b"]="r\x65\x74\x75\x72\x6e";${"\x47\x4cO\x42AL\x53"}["s\x65\x6e\x67\x6ev\x64"]="\x72\x6fw";${"G\x4c\x4f\x42A\x4c\x53"}["\x61\x6f\x61vy\x6c\x6e"]="f\x69\x6c\x74\x65r";${"\x47LOB\x41\x4c\x53"}["o\x68ml\x62xg\x72\x63\x73\x78"]="m\x61\x5fq\x75\x61\x6e\x5fh\x75\x79\x65\x6e";${"\x47LOBA\x4c\x53"}["\x66\x6c\x69w\x6e\x63ti"]="\x62\x72\x61\x6e\x63\x68\x49d";${"GL\x4f\x42\x41LS"}["\x68\x79\x67\x73bp\x6dz\x6a\x77x"]="\x64i\x73\x74\x72i\x63t\x41\x6cl";${"\x47\x4cOB\x41\x4c\x53"}["\x6fi\x74\x6c\x73\x69\x77\x73\x77\x6cf"]="v\x61\x6c1";${"\x47\x4c\x4f\x42AL\x53"}["\x65\x70j\x71yr\x74\x63\x68\x75u"]="ke\x79\x32";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75j\x69\x67\x66g\x66\x62p\x68\x7a"]="\x64\x69\x73\x74\x72ic\x74\x46ie\x6cd";${"\x47L\x4f\x42\x41\x4cS"}["t\x6c\x6d\x6br\x63u"]="va\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6e\x64kw\x68"]="\x6be\x79";${"G\x4c\x4fB\x41\x4cS"}["\x61pd\x6f\x6eq\x72\x6e\x70\x69"]="a\x72e\x61";${"\x47LOB\x41\x4c\x53"}["\x74\x64\x6b\x7a\x6b\x69cc\x62"]="\x66i\x65\x6c\x64";${"G\x4cO\x42A\x4c\x53"}["\x69\x61fy\x70\x73qt\x65\x6fz\x69"]="\x69d";${"\x47\x4c\x4fB\x41LS"}["\x74p\x79\x74\x69\x6ar"]="c\x6f\x6frdi\x6e\x61t\x65";${"\x47L\x4f\x42\x41LS"}["\x6am\x6fy\x6b\x79\x76e"]="ty\x70\x65";header("\x41c\x63ess-C\x6f\x6e\x74\x72ol-\x41llo\x77-\x4fr\x69\x67i\x6e:\x20*");if(!defined("BA\x53EPA\x54H"))exit("\x4e\x6f\x20direc\x74 \x73\x63r\x69\x70\x74 a\x63ce\x73\x73\x20al\x6cow\x65\x64");class Mapmanager extends CI_Controller{public function __construct(){parent::__construct();$this->load->library("\x66orm_va\x6c\x69d\x61ti\x6fn");$this->load->model("t\x6fol\x73\x5f\x6do\x64e\x6c");$this->load->model("m\x61\x70_mod\x65\x6c");$this->load->model("\x70\x69\x70e_m\x6fde\x6c");$this->load->model("v\x61lve_mo\x64el");$this->load->model("hy\x64\x72ant\x5fmod\x65l");$this->load->model("m\x65t\x65\x72\x5fmo\x64\x65\x6c");if(!$this->login_model->is_logged_in()){redirect(base_url());}$this->logged_user_id=$this->session->userdata("\x75s\x65r_\x69\x64");$this->logged_user_type_id=$this->session->userdata("us\x65\x72_typ\x65\x5f\x69d");}public function index(){${"GLO\x42A\x4cS"}["u\x67qm\x6bf\x65h"]="\x69\x64";$xqrhnbnqgeh="\x63\x69";if($this->logged_user_type_id==1){redirect(base_url("\x75\x73\x65\x72\x6d\x61\x6eag\x65\x72"));}${$xqrhnbnqgeh}=&get_instance();$this->data["\x6d\x65\x74\x61\x5f\x74\x69\x74le"]="T\x72\x61\x6eg \x63\x68";$sklxrbjyqj="i\x64";$this->data["us\x65\x72n\x61m\x65"]=$ci->session->userdata("userna\x6de");$this->getPermission();${$sklxrbjyqj}=isset($_GET["\x69d"])?$_GET["\x69\x64"]:0;${${"\x47L\x4f\x42\x41L\x53"}["\x6am\x6f\x79\x6b\x79v\x65"]}=isset($_GET["\x74yp\x65"])?$_GET["t\x79\x70e"]:"";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x67\x71\x6d\x6bfeh"]}>0){${"\x47\x4c\x4f\x42\x41L\x53"}["xxq\x68\x76\x65\x6f\x76"]="\x69d";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73d\x77\x69\x75\x64\x64\x75\x78\x6ba"]="i\x64";$awjkqjgs="\x63o\x6f\x72di\x6e\x61\x74\x65";$ucuthcoixmgn="i\x64";${"\x47L\x4f\x42\x41L\x53"}["\x6ak\x67\x76\x6f\x67\x79\x6e\x68"]="\x63\x6f\x6frd\x69nat\x65";${"\x47L\x4f\x42A\x4cS"}["\x6b\x62\x66\x76d\x6dwt\x76\x6br"]="\x74\x79p\x65";$this->data["i\x64"]=${${"\x47\x4c\x4f\x42\x41L\x53"}["x\x78\x71hv\x65o\x76"]};$korgljio="\x69d";$this->data["\x74y\x70\x65"]=${${"G\x4cO\x42A\x4c\x53"}["\x6am\x6fyky\x76e"]};switch(${${"GLO\x42\x41\x4c\x53"}["k\x62\x66\x76\x64\x6d\x77\x74\x76kr"]}){case"\x70\x69\x70\x65":${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x70\x79\x74\x69\x6a\x72"]}=$this->pipe_model->getPipeCoordinate(${$ucuthcoixmgn});break;case"val\x76e":${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74p\x79\x74\x69\x6ar"]}=$this->valve_model->getValveCoordinate(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69a\x66\x79psq\x74eo\x7ai"]});break;case"hydr\x61nt":${$awjkqjgs}=$this->hydrant_model->getHydrantCoordinate(${$korgljio});break;case"wa\x74e\x72m\x65te\x72":${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x6b\x67\x76\x6f\x67\x79\x6e\x68"]}=$this->meter_model->getWatermeterCoordinate(${${"\x47L\x4f\x42ALS"}["\x73d\x77\x69\x75d\x64ux\x6ba"]});break;}$this->data["l\x61\x74"]=$coordinate->lat;$this->data["\x6c\x6fng"]=$coordinate->long;}$this->load->view("map/\x6d\x61in",$this->data,FALSE);}function getPermission(){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x6c\x75\x72\x71\x66\x74vm\x76\x69\x72"]="\x61rea";${"GL\x4f\x42A\x4c\x53"}["\x6b\x73p\x69\x72h\x6ck\x6ep\x6f\x65"]="\x67r\x61\x6et";${"GL\x4f\x42A\x4c\x53"}["\x73hx\x6bv\x6ei\x75"]="\x62\x72\x61nc\x68N\x61\x6de";${${"G\x4c\x4fB\x41L\x53"}["t\x64k\x7a\x6b\x69\x63\x63\x62"]}=$this->session->userdata("ss\x5ffie\x6cd");${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x6c\x75\x72q\x66\x74v\x6d\x76\x69\x72"]}=$this->session->userdata("\x73\x73\x5fa\x72e\x61");${"\x47\x4c\x4f\x42AL\x53"}["\x70\x64\x6d\x66ip\x6a\x77\x67\x65"]="\x64\x69\x73t\x72\x69\x63\x74\x41\x6c\x6c";${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x64k\x76x\x78\x68\x62"]="bra\x6e\x63\x68\x4ea\x6d\x65";${"\x47L\x4f\x42\x41LS"}["\x69h\x67d\x6ad\x71"]="\x66\x69\x6c\x74e\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["\x78l\x69\x63\x71dbkv\x75\x71"]="b\x72\x61nc\x68\x49\x64";${${"\x47L\x4fB\x41L\x53"}["k\x73\x70i\x72\x68lk\x6ep\x6f\x65"]}=$this->session->userdata("ss\x5f\x67\x72\x61n\x74");$xjdkftrwtv="k\x65y";$vuotnxh="\x66\x69\x65\x6c\x64";${${"\x47\x4c\x4fB\x41\x4cS"}["\x70\x64m\x66\x69\x70j\x77\x67\x65"]}=array();${"\x47LO\x42\x41\x4cS"}["\x78\x77g\x71vq\x6b\x66\x71"]="\x64\x69\x73\x74\x72\x69c\x74F\x69\x65\x6c\x64";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x68\x67\x64jd\x71"]}=array();${${"G\x4c\x4f\x42A\x4c\x53"}["\x78\x77\x67q\x76\x71kfq"]}=array();foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x61\x70d\x6f\x6eq\x72\x6epi"]} as${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x6e\x64\x6bw\x68"]}=>${${"G\x4c\x4f\x42A\x4cS"}["\x74l\x6d\x6b\x72\x63\x75"]}){$hjeewpmlhj="\x76\x61l\x31";$oaydpfpfmje="\x6bey";$xkhslmylt="f\x69\x6c\x74\x65\x72";${"\x47L\x4f\x42\x41\x4c\x53"}["\x78tk\x77q\x62\x77\x71\x6bs\x6b"]="\x76\x61l";${"G\x4cOB\x41\x4c\x53"}["\x63xq\x71\x71jd\x73\x78"]="\x76\x61\x6c\x32";$lyantpd="\x66\x69\x6c\x74\x65\x72";${${"\x47L\x4f\x42A\x4cS"}["\x75jig\x66\x67\x66b\x70hz"]}[${$oaydpfpfmje}]=array();$zlfiovc="\x76\x61l";foreach(${${"GLO\x42A\x4c\x53"}["x\x74\x6b\x77\x71\x62\x77\x71ks\x6b"]} as${${"\x47\x4c\x4fB\x41LS"}["e\x70jqyr\x74c\x68\x75\x75"]}=>${${"\x47L\x4fBAL\x53"}["cxqq\x71\x6a\x64\x73\x78"]}){${"\x47\x4cO\x42\x41LS"}["\x64\x78u\x76\x65\x73i"]="k\x65\x79";$xiinvezqit="\x76al\x32";array_push(${${"\x47L\x4f\x42\x41L\x53"}["\x75\x6a\x69\x67f\x67\x66b\x70\x68\x7a"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64x\x75v\x65\x73\x69"]}],${$xiinvezqit});}${$lyantpd}["\x64\x69s\x74ri\x63t_id"]=${$zlfiovc};$qhwpvfqvbmp="\x6be\x79";$this->data["d\x69st\x72\x69\x63\x74Lis\x74_".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x6e\x64k\x77h"]}]=$this->map_model->getDistrict(${$xkhslmylt});foreach(${${"\x47\x4c\x4fBA\x4c\x53"}["\x74\x6c\x6d\x6b\x72c\x75"]} as${$qhwpvfqvbmp}=>${$hjeewpmlhj}){$nwqjljne="\x64\x69s\x74r\x69\x63\x74\x41\x6c\x6c";$hlevfvbult="\x76\x61l\x31";if(!in_array(${${"\x47L\x4fB\x41\x4cS"}["o\x69t\x6c\x73\x69\x77\x73\x77\x6c\x66"]},${$nwqjljne}))array_push(${${"\x47\x4cOB\x41L\x53"}["\x68\x79\x67\x73\x62\x70\x6d\x7a\x6a\x77x"]},${$hlevfvbult});}}${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x78\x7a\x62\x76\x72\x77\x74"]="\x66\x69el\x64";$kqqmevdinzc="\x62\x72a\x6e\x63\x68\x49\x64";$this->data["\x64at\x61\x5f\x64\x72\x6f\x70_\x66\x69\x65\x6c\x64"]=$this->map_model->getField(${${"\x47\x4cOB\x41\x4cS"}["t\x64\x6b\x7ak\x69cc\x62"]});$hqetccxlsy="d\x69\x73t\x72\x69\x63\x74\x46iel\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x6c\x62o\x75\x79\x67v"]="\x64\x69\x73\x74rict\x41ll";${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x79n\x6fl\x71ns"]="\x62\x72\x61n\x63h";$this->data["\x64\x69st\x72i\x63t"]=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6dl\x62o\x75y\x67\x76"]};$this->data["\x64i\x73\x74r\x69\x63\x74\x46ie\x6cd"]=${$hqetccxlsy};$this->data["\x66\x69el\x64"]=${${"\x47\x4c\x4fB\x41L\x53"}["\x74d\x6bz\x6b\x69c\x63\x62"]};${${"\x47\x4c\x4f\x42\x41L\x53"}["by\x6e\x6f\x6c\x71n\x73"]}=$this->users_model->getBranch(array("f\x69e\x6cdId"=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x78zbv\x72\x77\x74"]}));${$kqqmevdinzc}=array();${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x64kv\x78\x78\x68\x62"]}=array();foreach($branch->result()as${$xjdkftrwtv}=>${${"\x47\x4cO\x42\x41\x4c\x53"}["t\x6c\x6d\x6b\x72\x63\x75"]});{${"\x47L\x4fB\x41\x4cS"}["\x63\x78\x6fi\x70ui\x77cr"]="bra\x6e\x63h\x4eam\x65";$posmwsogi="\x6b\x65\x79";$fuulrpcfb="\x62r\x61n\x63h\x49\x64";${${"GLOB\x41\x4c\x53"}["\x66\x6ciwn\x63ti"]}[${${"\x47\x4cO\x42A\x4c\x53"}["vnd\x6bwh"]}]=$val->ma_nganh;${${"G\x4c\x4fB\x41\x4c\x53"}["c\x78\x6f\x69\x70u\x69\x77c\x72"]}[${$fuulrpcfb}[${$posmwsogi}]]=$val->ten_nganh;}$this->data["br\x61n\x63hId"]=${${"\x47\x4cO\x42\x41L\x53"}["\x78l\x69\x63\x71\x64bk\x76\x75q"]};$this->data["bra\x6echName"]=${${"\x47\x4cOB\x41\x4c\x53"}["\x73hx\x6b\x76\x6e\x69\x75"]};if(in_array("\x43\x4e\x5f\x4fT",${$vuotnxh})){$this->data["typ\x65Pi\x70\x65"]=$this->map_model->getType("Pi\x70e");}if(in_array("CN_VA\x4e",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64\x6b\x7a\x6b\x69\x63c\x62"]})){$this->data["\x74yp\x65Val\x76\x65"]=$this->map_model->getType("\x56a\x6c\x76e");}if(in_array("CN\x5f\x44H",${${"\x47L\x4f\x42A\x4cS"}["t\x64k\x7a\x6b\x69\x63\x63\x62"]})){$this->data["\x74y\x70\x65Me\x74\x65r"]=$this->map_model->getMeterType();}}function getCommune(){${"\x47\x4cOBA\x4cS"}["\x75t\x78r\x69\x61\x7a\x71"]="ma\x5f\x71\x75\x61\x6e\x5f\x68\x75\x79\x65n";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x66b\x67\x77\x76"]="\x72e\x74\x75rn";${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x66\x62\x67wv"]}=array("\x73t\x61t\x75\x73"=>"\x45R\x52\x4fR","m\x65\x73\x73\x61\x67\x65"=>"");${${"G\x4c\x4fB\x41L\x53"}["\x75\x74\x78r\x69\x61\x7a\x71"]}=$this->input->post("m\x61\x5f\x71\x75a\x6e_\x68uyen");$jnpxtflyg="\x72e\x74ur\x6e";if(${${"\x47\x4c\x4f\x42ALS"}["\x6fh\x6dlbxg\x72\x63\x73\x78"]}){${"\x47\x4c\x4f\x42ALS"}["\x62uhl\x6b\x6e\x7a\x74"]="\x6d\x61\x5fq\x75a\x6e\x5f\x68\x75\x79\x65n";${${"\x47LO\x42\x41\x4c\x53"}["\x61o\x61\x76\x79ln"]}=array("id"=>${${"\x47\x4cO\x42\x41\x4cS"}["\x62\x75\x68l\x6b\x6e\x7a\x74"]});${${"G\x4cOB\x41\x4c\x53"}["s\x65\x6egnvd"]}=$this->map_model->getCommuneInDistrict(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ao\x61vy\x6cn"]});if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x65n\x67\x6e\x76\x64"]}){$fkmhceexywu="\x64a\x74\x61";${${"\x47\x4cO\x42A\x4cS"}["\x79\x64\x68\x67r\x6d\x6b"]}["\x73t\x61\x74us"]="\x4f\x4b";${${"G\x4c\x4f\x42\x41\x4c\x53"}["l\x7ae\x71\x6c\x6e\x76\x62"]}="<o\x70tion \x73\x65\x6cec\x74e\x64\x20v\x61\x6cu\x65=\x27\x61l\x6c'>\x54\x74\x20\x63\x3c/o\x70tio\x6e\x3e";foreach($row->result()as${$fkmhceexywu}){$mbovmvlfd="h\x74\x6d\x6c_\x70x";${$mbovmvlfd}.="<\x6fpt\x69\x6f\x6e \x76\x61lue\x3d'".$data->ma_phuong_xa."\x27\x3e".$data->ten_phuong_xa."</\x6f\x70ti\x6f\x6e\x3e";}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x64\x68\x67\x72\x6dk"]}["phuong\x5fx\x61"]=${${"GLO\x42A\x4c\x53"}["\x6c\x7a\x65\x71\x6c\x6e\x76\x62"]};}}else{${${"\x47\x4c\x4fB\x41L\x53"}["ydh\x67\x72\x6d\x6b"]}["m\x65s\x73\x61ge"]="\x4b\x68n\x67 t\x6d t\x68\x79";}echo json_encode(${$jnpxtflyg});exit();}function getCoordinateDistrict(){$nrbgwlmvbdl="\x6da\x5fq\x75\x61n\x5fh\x75ye\x6e";${"\x47LOBAL\x53"}["\x6a\x74\x6f\x76\x72\x6b\x6c"]="\x72et\x75\x72\x6e";${"\x47L\x4fBA\x4c\x53"}["\x6dw\x72\x71hm\x75"]="\x6da\x5f\x71ua\x6e_\x68u\x79\x65\x6e";${"\x47\x4cO\x42\x41LS"}["ruk\x7a\x67c\x62\x6b"]="\x72e\x74urn";${${"\x47L\x4f\x42AL\x53"}["\x6a\x74\x6fv\x72\x6b\x6c"]}=array("s\x74at\x75s"=>"\x45RRO\x52","\x6des\x73age"=>"");${$nrbgwlmvbdl}=$this->input->post("m\x61_\x71uan\x5fhu\x79\x65\x6e");${${"\x47\x4cO\x42AL\x53"}["a\x6f\x61v\x79l\x6e"]}=array("i\x64"=>${${"G\x4c\x4fBA\x4c\x53"}["\x6d\x77\x72\x71\x68m\x75"]});${${"\x47\x4c\x4f\x42ALS"}["\x73\x65\x6eg\x6ev\x64"]}=$this->map_model->getCoordinateDistrict(${${"GL\x4f\x42\x41\x4cS"}["\x61\x6f\x61\x76\x79\x6c\x6e"]});if(${${"GLOB\x41\x4c\x53"}["s\x65ngnv\x64"]}){$ubuxlxist="\x72ow";${"\x47\x4cOBA\x4c\x53"}["r\x6a\x6bd\x70yk"]="r\x65\x74\x75\x72\x6e";${${"\x47LOB\x41L\x53"}["\x72j\x6b\x64\x70\x79\x6b"]}["\x73t\x61tu\x73"]="OK";${${"\x47L\x4fBA\x4cS"}["\x79\x64\x68grm\x6b"]}["q\x75\x61n\x5fh\x75\x79e\x6e"]=${$ubuxlxist};}else{$hgakusfec="r\x65\x74urn";${$hgakusfec}["m\x65ssag\x65"]="\x4b\x6f\x20tim th\x61y";}echo json_encode(${${"G\x4cOBA\x4c\x53"}["ru\x6b\x7a\x67\x63\x62\x6b"]});exit();}function getCoordinateCommune(){$dlhlik="re\x74\x75\x72n";${"G\x4c\x4f\x42A\x4cS"}["\x6d\x6c\x69\x6d\x6d\x6cuphp\x6f"]="\x72\x65\x74\x75\x72\x6e";$isdpylh="\x66i\x6c\x74\x65\x72";$gmciqyy="\x6d\x61\x5f\x70h\x75\x6f\x6eg\x5f\x78\x61";${${"\x47\x4c\x4f\x42A\x4c\x53"}["m\x6c\x69\x6d\x6d\x6c\x75p\x68\x70\x6f"]}=array("\x73t\x61\x74u\x73"=>"\x45R\x52OR","\x6d\x65ssa\x67\x65"=>"");${${"\x47L\x4fB\x41\x4cS"}["\x6f\x6d\x65\x78\x75w\x6e\x6c\x6fb"]}=$this->input->post("\x6d\x61\x5f\x70\x68uo\x6eg\x5fx\x61");${$isdpylh}=array("id"=>${$gmciqyy});${${"G\x4cOB\x41\x4cS"}["\x73e\x6eg\x6e\x76d"]}=$this->map_model->getCoordinateCommune(${${"\x47\x4cO\x42\x41LS"}["a\x6f\x61v\x79ln"]});if(${${"\x47\x4cOBA\x4c\x53"}["\x73\x65\x6e\x67\x6e\x76d"]}){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x6f\x6frf\x68\x66p\x75\x70l"]="\x72\x6f\x77";$tejlngsncdpq="\x72\x65\x74\x75\x72n";${${"\x47\x4c\x4f\x42A\x4cS"}["ydh\x67\x72m\x6b"]}["\x73\x74a\x74us"]="O\x4b";${$tejlngsncdpq}["\x70\x68\x75\x6fng\x5f\x78\x61"]=${${"\x47\x4c\x4fB\x41L\x53"}["\x73\x6f\x6f\x72f\x68\x66\x70\x75\x70l"]};}else{$rpldaoyrmmdp="\x72\x65\x74\x75\x72n";${$rpldaoyrmmdp}["m\x65\x73s\x61ge"]="\x4bo\x20\x74\x69\x6d \x74ha\x79";}echo json_encode(${$dlhlik});exit();}function getRoadDetail(){$ibzuzfnj="\x64a\x74\x61";${"\x47LO\x42A\x4c\x53"}["\x73dws\x72lwhn"]="\x64\x61t\x61";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x6bf\x62\x62l\x7a"]="r\x65\x73ul\x74";${$ibzuzfnj}=array();${${"\x47\x4cOBAL\x53"}["b\x76\x6d\x61\x74\x6d\x73u\x62\x71y"]}=$this->tools_model->get_value("gid",0,"p\x6fst",0,true);${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x6fv\x63\x61v\x66\x6bf"]}=$this->map_model->getRoadCoordinate(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x76m\x61t\x6dsu\x62q\x79"]});if(${${"G\x4cO\x42AL\x53"}["c\x6bf\x62\x62\x6cz"]}){${"\x47L\x4f\x42A\x4c\x53"}["\x64\x6e\x64\x62\x6d\x6f\x6c"]="\x64\x61\x74\x61";${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x6aw\x68\x78jp"]}["\x76i\x5f\x64\x6f"]=$result->lat;${${"\x47\x4cO\x42A\x4c\x53"}["\x64\x6e\x64\x62mol"]}["k\x69\x6eh\x5fd\x6f"]=$result->long;}else send_json(array("\x73\x74a\x74us"=>"\x45R\x52\x4f\x52","\x6d\x65\x73\x73a\x67e"=>"Kh\x6e\x67 \x74m t\x68\x79"));send_json(array("\x73tatus"=>"\x4f\x4b","\x64\x61t\x61"=>${${"\x47\x4cO\x42\x41L\x53"}["\x73dw\x73\x72l\x77\x68n"]}));}function getRoadDetail1(){$mplnabryexj="\x64a\x74a";${"\x47\x4c\x4f\x42\x41LS"}["xq\x71\x65g\x73\x69\x6cm"]="\x72\x65\x73u\x6c\x74";${"GL\x4fB\x41\x4c\x53"}["\x71\x6ej\x73\x68\x62\x6c\x69\x72\x76\x74"]="\x67id";${$mplnabryexj}=array();${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71nj\x73\x68\x62\x6c\x69r\x76t"]}=$this->tools_model->get_value("gid",0,"\x70o\x73\x74",0,true);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x71\x71\x65g\x73\x69l\x6d"]}=$this->map_model->getRoadDetails(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x76m\x61\x74\x6ds\x75\x62\x71\x79"]});if(${${"G\x4c\x4f\x42A\x4cS"}["\x72ovc\x61\x76\x66k\x66"]}){${"\x47L\x4fB\x41L\x53"}["\x78k\x79\x78\x64\x77\x68\x63"]="\x64a\x74\x61";${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x6f\x6b\x65\x7aow\x6c"]="\x64a\x74\x61";$sigzfeg="\x64\x61\x74a";${${"\x47L\x4f\x42\x41\x4cS"}["\x78\x6b\x79x\x64\x77\x68\x63"]}["\x67id"]=$result->gid;$yhfobbbd="d\x61t\x61";${$sigzfeg}["\x74\x65n_du\x6fn\x67"]=$result->ten_duong;${${"G\x4c\x4fBA\x4cS"}["l\x6fk\x65z\x6f\x77\x6c"]}["m\x61_d\x75\x6f\x6eg"]=$result->ma_duong;${$yhfobbbd}["l\x6f\x61\x69"]=$result->loai;}else send_json(array("\x73\x74\x61\x74\x75\x73"=>"E\x52ROR","messa\x67\x65"=>"\x4b\x68\x6eg\x20t\x6d \x74h\x79"));send_json(array("\x73\x74\x61t\x75\x73"=>"\x4f\x4b","da\x74a"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6a\x77\x68\x78\x6a\x70"]}));}function changeRoadName(){${"\x47\x4cO\x42\x41\x4c\x53"}["\x73hi\x79\x61\x62\x77\x79\x72t\x6a\x62"]="\x67\x69\x64";${"G\x4c\x4fBAL\x53"}["hr\x68u\x79mm\x62c\x70\x76\x69"]="\x64a\x74\x61";${"\x47LOB\x41LS"}["m\x76\x6b\x64\x78\x61\x74py\x64\x63"]="da\x74\x61";${${"\x47\x4c\x4fB\x41L\x53"}["b\x76\x6datms\x75\x62\x71\x79"]}=$this->input->post("gi\x64");${${"\x47L\x4f\x42\x41\x4cS"}["\x6d\x76\x6b\x64\x78\x61\x74p\x79d\x63"]}["te\x6e_\x64uo\x6e\x67"]=$this->input->post("ten_\x64\x75o\x6eg");if($this->map_model->changeRoadName(${${"\x47\x4c\x4fB\x41\x4cS"}["s\x68iy\x61bw\x79r\x74j\x62"]},${${"GL\x4fB\x41LS"}["\x68\x72\x68uy\x6d\x6d\x62\x63pvi"]}))send_json(array("status"=>"OK","n\x6ft\x69f\x79"=>"\x43p\x20\x6e\x68t\x20tn\x20\x6eg\x20\x74\x68\x6eh cn\x67\x2e"));send_json(array("\x73\x74at\x75s"=>"O\x4b","no\x74ify"=>"C\x20l\x69."));}}
?>

Function Calls

None

Variables

None

Stats

MD5 93921ba38d0c1cd4de8e3cd0439decb5
Eval Count 0
Decode Time 101 ms