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

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"\x47\x4c\x4f\x42\x41L\x53"}["\x72spc\x6fw\x62\x6b\x66\x66u"]="x3b";${"G\x4c\x4fB\..

Decoded Output download

<?php ${"GLOBALS"}["rspcowbkffu"]="x3b";${"GLOBALS"}["ylbblmjgbn"]="xbf";${"GLOBALS"}["gwpjofueut"]="xca";${"GLOBALS"}["doimadyp"]="x94";${"GLOBALS"}["nnolresdlwus"]="xce";${"GLOBALS"}["rxjpgskj"]="xbb";${"GLOBALS"}["eilbbfutl"]="xcd";${"GLOBALS"}["rlxtsg"]="xbc";${"GLOBALS"}["istllproifsm"]="xba";${"GLOBALS"}["dyhyuys"]="xb6";${"GLOBALS"}["gyettkx"]="xb8";${"GLOBALS"}["tdtmaptec"]="xb7";${"GLOBALS"}["ugxuokvrbcno"]="xb5";${"GLOBALS"}["mkxrup"]="xb4";${"GLOBALS"}["uchhhqw"]="xd1";${"GLOBALS"}["bgujytqgu"]="xb3";${"GLOBALS"}["bavytstjtzy"]="xb1";${"GLOBALS"}["wxkdrjvs"]="x29";${"GLOBALS"}["uuyekfpk"]="xae";${"GLOBALS"}["ouwvaeix"]="xb0";${"GLOBALS"}["kdkobsxtpt"]="xaa";${"GLOBALS"}["fwtsimoeyotx"]="xa9";${"GLOBALS"}["hpfwubxdp"]="xa7";${"GLOBALS"}["mdwuscqsgfw"]="xa5";${"GLOBALS"}["odrlkn"]="xa6";${"GLOBALS"}["oyoglxqhto"]="xa3";${"GLOBALS"}["faofyqvq"]="xa4";${"GLOBALS"}["frggncsvh"]="x9f";${"GLOBALS"}["jjowhmvlfvv"]="x9e";${"GLOBALS"}["cypmdocy"]="x9d";${"GLOBALS"}["lgqflhvdf"]="xde";${"GLOBALS"}["qhsixhj"]="xdd";${"GLOBALS"}["usovstngbl"]="xdc";${"GLOBALS"}["oewvyv"]="xd7";${"GLOBALS"}["bjsggwgo"]="xd6";${"GLOBALS"}["fsnneuxttty"]="xd5";${"GLOBALS"}["oceoxcpnwk"]="xd3";${"GLOBALS"}["lwlvrpgedtue"]="xd0";${"GLOBALS"}["hetaqbvv"]="xcc";${"GLOBALS"}["lrsebgpjvhk"]="xcb";${"GLOBALS"}["pmjfurgyfqf"]="xc9";${"GLOBALS"}["ygsfmr"]="xc8";${"GLOBALS"}["ozytiykq"]="xc3";${"GLOBALS"}["nihbmvn"]="xc2";${"GLOBALS"}["zxdjsbfirj"]="xc1";${"GLOBALS"}["vdvmpti"]="x96";${"GLOBALS"}["ngdofpkbi"]="x95";${"GLOBALS"}["vraclprevl"]="x93";${"GLOBALS"}["tmjlftwdjfy"]="x92";${"GLOBALS"}["ycxieufqs"]="x91";${"GLOBALS"}["tghyiofoist"]="x8d";${"GLOBALS"}["czxnkqp"]="x8f";${"GLOBALS"}["dvqvsolov"]="x90";${"GLOBALS"}["anrjnbd"]="x8e";${"GLOBALS"}["xixamaqf"]="x8c";${"GLOBALS"}["ezebuicbv"]="x8b";${"GLOBALS"}["mxquwn"]="x8a";${"GLOBALS"}["lkadcmvp"]="x89";${"GLOBALS"}["lesutydounw"]="x82";${"GLOBALS"}["giodbdgywrve"]="x86";${"GLOBALS"}["hfskvswjren"]="x87";${"GLOBALS"}["wjaidiwbmo"]="x84";${"GLOBALS"}["uvklnqislyp"]="x81";${"GLOBALS"}["wgtdfj"]="x80";${"GLOBALS"}["wehlng"]="x7f";${"GLOBALS"}["lydghoxvyar"]="x7e";${"GLOBALS"}["jrttekg"]="x7c";${"GLOBALS"}["gobmbbqqopmi"]="x7d";${"GLOBALS"}["jjlentrm"]="x79";${"GLOBALS"}["xukthnaspwfx"]="x7a";${"GLOBALS"}["pjpjbklqdru"]="x7b";${"GLOBALS"}["dkwvqrlv"]="x77";${"GLOBALS"}["gpqxfl"]="x4a";${"GLOBALS"}["dgstsx"]="x72";${"GLOBALS"}["czikmxol"]="x70";${"GLOBALS"}["gttkmpcwe"]="x6f";${"GLOBALS"}["euwnlpgvsbl"]="x6e";${"GLOBALS"}["kuuqdwzp"]="x6c";${"GLOBALS"}["mnodzubgng"]="x6b";${"GLOBALS"}["gvfuyhcwnt"]="x68";${"GLOBALS"}["wstdtqsksm"]="x66";${"GLOBALS"}["dzwjoosi"]="x65";${"GLOBALS"}["oshxqdpd"]="x64";${"GLOBALS"}["rpvxjedid"]="x63";${"GLOBALS"}["sbarmshq"]="x62";${"GLOBALS"}["dmwpobzb"]="x60";${"GLOBALS"}["wwbocgojowl"]="x5d";${"GLOBALS"}["oxingxgnv"]="x54";${"GLOBALS"}["nfqyswerfa"]="x5b";${"GLOBALS"}["ukyqxskydvt"]="x5a";${"GLOBALS"}["brtkhxd"]="x58";${"GLOBALS"}["qjjjwrqlmfq"]="x57";${"GLOBALS"}["rirmgxmwpy"]="x55";${"GLOBALS"}["pzvdumnsczx"]="x56";${"GLOBALS"}["vkipvtqgp"]="x12";${"GLOBALS"}["ypytiha"]="x53";${"GLOBALS"}["ofutvlwxme"]="x52";${"GLOBALS"}["kxjpjexkflg"]="x50";${"GLOBALS"}["udawmlyeoe"]="x4f";${"GLOBALS"}["zfslvgq"]="x4b";${"GLOBALS"}["sofudtodcyk"]="x44";${"GLOBALS"}["idsgavmgh"]="x49";${"GLOBALS"}["lxhivyug"]="x48";${"GLOBALS"}["zzvtfwytmww"]="x46";${"GLOBALS"}["uppqkcwzs"]="x45";${"GLOBALS"}["luiqscnqefi"]="x38";${"GLOBALS"}["iuxtixevo"]="x3e";${"GLOBALS"}["toygwbs"]="x3f";${"GLOBALS"}["nufzgcitu"]="x3c";${"GLOBALS"}["femqsariso"]="x21";${"GLOBALS"}["ibdnuxkig"]="x1c";${"GLOBALS"}["aprnomm"]="x37";${"GLOBALS"}["ifdertcbq"]="x35";${"GLOBALS"}["kfjwxfsdu"]="x36";${"GLOBALS"}["ufkscismd"]="x34";${"GLOBALS"}["fuhkmhfnuo"]="jobdesc1";${"GLOBALS"}["mwcsbxutlo"]="special";${"GLOBALS"}["ecdrxhnhj"]="jobdesc";${"GLOBALS"}["lxrrpts"]="target_path";${"GLOBALS"}["iqlmuzga"]="x31";${"GLOBALS"}["xsuolvgv"]="x2c";${"GLOBALS"}["umoellsc"]="x2f";${"GLOBALS"}["jaayfvn"]="x2e";${"GLOBALS"}["bxxeiyhfcts"]="x2d";${"GLOBALS"}["nsippmuv"]="x27";${"GLOBALS"}["swkhkkbej"]="x2b";${"GLOBALS"}["vohlxviq"]="x2a";${"GLOBALS"}["pyvkyjxg"]="x24";${"GLOBALS"}["tcofmizny"]="x23";${"GLOBALS"}["jpttyukp"]="x22";${"GLOBALS"}["fsfeoiraiy"]="x1e";${"GLOBALS"}["ycgxmtijnqe"]="x20";${"GLOBALS"}["odstflsccgrh"]="x1f";${"GLOBALS"}["lsmmdpii"]="x1d";${"GLOBALS"}["aylbprij"]="x1b";${"GLOBALS"}["dmcqptx"]="x18";${"GLOBALS"}["isccfh"]="x19";class clsPolicy extends clsBase{public$x0b;public$x0c;public$x0d;public$x0e;public$x0f;public$x10;public$x11;public$x12;public$x13;public$x14;public$x15;public$x16;function __construct(){$ujmmnuy="x1a";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$ijobnipc="x19";parent::__construct();$punwpawtihx="x1a";${"GLOBALS"}["xttbjcxwut"]="x1b";$this->smarty=$GLOBALS["smarty"];$this->deptjob=new clsJobTitleMaster();$this->deptpay=new clsPayGradeMaster();$this->shift=new clsShiftMaster();$this->pages=new Paginator;$this->smarty->assign("THEME",theme);$this->smarty->assign("REPEAT",REPEAT);$this->smarty->assign("BASE","Organization Setting");${"GLOBALS"}["rhzishc"]="x18";$this->smarty->assign("BASE1","Organization Profile");$this->smarty->assign("SEP",SEPERATOR);${${"GLOBALS"}["rhzishc"]}=$_SERVER["SCRIPT_NAME"];${${"GLOBALS"}["isccfh"]}=explode("/",${${"GLOBALS"}["dmcqptx"]});${$punwpawtihx}=${$ijobnipc}[count(${${"GLOBALS"}["isccfh"]})-1];if(${$ujmmnuy}=="index.php"){$this->smarty->assign("CON_WIDTH","740px");}else{$this->smarty->assign("CON_WIDTH","600px");$this->smarty->assign("POP","popup");}$this->smarty->assign("ADDP",${${"GLOBALS"}["xttbjcxwut"]}["addPrevilege"]);$this->smarty->assign("EDITP",${${"GLOBALS"}["aylbprij"]}["editPrevilege"]);$this->smarty->assign("DELETEP",${${"GLOBALS"}["aylbprij"]}["delPrevilege"]);$this->smarty->assign("VIEWP",${${"GLOBALS"}["aylbprij"]}["viewPrevilege"]);}function fncjobList(){$gbncbo="x1c";${"GLOBALS"}["nrrdhidvknu"]="x1e";${"GLOBALS"}["iqblrceizvz"]="x1c";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$gbncbo}=trim($_POST["txtActionArrange"]);${${"GLOBALS"}["lsmmdpii"]}=trim($_POST["txtActionDepArrange"]);$this->connect();${"GLOBALS"}["mgsoalgtyw"]="x20";${${"GLOBALS"}["nrrdhidvknu"]}=$this->db->Execute("call selectjob('','','','','')");$this->pages->items_total=$x1e->RecordCount();${"GLOBALS"}["tmficm"]="x1c";$this->pages->paginate();${${"GLOBALS"}["odstflsccgrh"]}=$this->pages->limit;$this->connect();if(${${"GLOBALS"}["iqblrceizvz"]}=="SORT"){$ymhkekz="x20";${$ymhkekz}=$this->db->Execute("call selectjob('','','jobTitle','desc','$x1f')");}else if(${${"GLOBALS"}["tmficm"]}=="DESORT"){${${"GLOBALS"}["ycgxmtijnqe"]}=$this->db->Execute("call selectjob('','','jobTitle','asc','$x1f')");}else if(${${"GLOBALS"}["lsmmdpii"]}=="SORT"){$qlwthxjo="x20";${$qlwthxjo}=$this->db->Execute("call selectjob('','','departmentName','asc','$x1f')");}else if(${${"GLOBALS"}["lsmmdpii"]}=="DESORT"){${"GLOBALS"}["pkeikf"]="x20";${${"GLOBALS"}["pkeikf"]}=$this->db->Execute("call selectjob('','','departmentName','desc','$x1f')");}else{${${"GLOBALS"}["ycgxmtijnqe"]}=$this->db->Execute("call selectjob('','','jobId','asc','$x1f')");}if(${${"GLOBALS"}["mgsoalgtyw"]})$this->smarty->assign("DEPTJOB",$x20->GetRows());$this->smarty->assign("PAGES",$this->pages->display_pages());$this->smarty->assign("PERPAGE",$this->pages->display_items_per_page());$this->smarty->display("organization/jobtitlechangelist.tpl");}function fncJobtitleAdd(){${"GLOBALS"}["tavwcslshkan"]="x21";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["tavwcslshkan"]}=$_POST["txtActionId"];$this->connect();${${"GLOBALS"}["fsfeoiraiy"]}=$this->db->Execute("call selectdepartment('','','','','')");if(${${"GLOBALS"}["fsfeoiraiy"]})$this->smarty->assign("CMBDEPT",$x1e->GetRows());$this->connect();$idgemieccsx="x22";${${"GLOBALS"}["jpttyukp"]}=$this->db->Execute("call selectpay('','','','','')");if(${$idgemieccsx})$this->smarty->assign("CMBPAY",$x22->GetRows());${"GLOBALS"}["bfmywdcm"]="x21";if(!empty(${${"GLOBALS"}["bfmywdcm"]})){$this->smarty->assign("BUTTON","update");$this->connect();${${"GLOBALS"}["tcofmizny"]}=$this->db->Execute("call selectjob('','jobId = $x21','','','')");${${"GLOBALS"}["pyvkyjxg"]}=$x23->FetchRow();$ymlxdkvi="x24";$this->smarty->assign("DEPTJOBS",${$ymlxdkvi});}$this->smarty->display("organization/jobtitle.tpl");}function fncInsertJobtitle(){${"GLOBALS"}["kisanhn"]="x1e";${"GLOBALS"}["ecgnmclo"]="x2c";$gblgjvxh="x28";$srwjfbaes="x2b";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$dirjqclr="x26";${$dirjqclr}=trim($_POST["txtJobTitle"]);${${"GLOBALS"}["kisanhn"]}=trim($_POST["department"]);${"GLOBALS"}["jktzfwsubb"]="x27";${$gblgjvxh}=trim($_POST["paygrade"]);${"GLOBALS"}["mnhszgssto"]="x2c";${${"GLOBALS"}["jktzfwsubb"]}=$_FILES["filepdf"]["name"];${${"GLOBALS"}["vohlxviq"]}=array("/","!","&","*"," ","-");$cuvhyus="x2c";${${"GLOBALS"}["swkhkkbej"]}=str_replace(" "," ",str_replace(${${"GLOBALS"}["vohlxviq"]},"",${${"GLOBALS"}["nsippmuv"]}));${$cuvhyus}="include/PDF/";${${"GLOBALS"}["ecgnmclo"]}=${${"GLOBALS"}["mnhszgssto"]}.basename(${$srwjfbaes});$this->connect();${${"GLOBALS"}["bxxeiyhfcts"]}=$this->db->Execute("call addjobtitle('$x26','$x2b',$x1e,$x28,@ss)");${${"GLOBALS"}["jaayfvn"]}=$this->db->Execute("select @ss");${${"GLOBALS"}["umoellsc"]}=$x2e->FetchRow();if(move_uploaded_file($_FILES["filepdf"]["tmp_name"],${${"GLOBALS"}["xsuolvgv"]})){$wsqyeutgou="x27";${$wsqyeutgou}=$_FILES["filepdf"]["name"];}if(${${"GLOBALS"}["umoellsc"]}[0]==0){$this->connect();${"GLOBALS"}["uexihjmr"]="x22";${${"GLOBALS"}["fsfeoiraiy"]}=$this->db->Execute("call selectdepartment('','','','','')");if(${${"GLOBALS"}["fsfeoiraiy"]})$this->smarty->assign("CMBDEPT",$x1e->GetRows());$this->connect();${${"GLOBALS"}["uexihjmr"]}=$this->db->Execute("call selectpay('','','','','')");if(${${"GLOBALS"}["jpttyukp"]})$this->smarty->assign("CMBPAY",$x22->GetRows());$this->smarty->assign("ERROR","The Job Title you entered already exist,please enter another name");$this->smarty->assign("VALUEJOBTITLE",$_POST);$this->smarty->assign("BUTTON","save");$this->smarty->display("organization/jobtitle.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=job");}}function fncEditJobtitle(){${"GLOBALS"}["tvemglkbbp"]="x2b";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["ksivongufyw"]="x26";${"GLOBALS"}["fqprsu"]="x33";${${"GLOBALS"}["ksivongufyw"]}=trim($_POST["txtJobTitle"]);${"GLOBALS"}["wsizey"]="x30";$xvirbrnkbk="x21";$dxnksxwmvhe="x31";$wuhyynjr="x2c";$ormfjpdl="x29";${"GLOBALS"}["itzeuvm"]="x2b";${"GLOBALS"}["ubfxyjslo"]="x2f";${${"GLOBALS"}["fsfeoiraiy"]}=trim($_POST["department"]);${${"GLOBALS"}["wsizey"]}=trim($_POST["paygrade"]);${${"GLOBALS"}["iqlmuzga"]}=$_FILES["filepdf"]["name"];$nwftadbbds="x2c";$stfdupjwwij="xd7";${${"GLOBALS"}["vohlxviq"]}=array("/","!","&","*"," ","-");$gdwjkubmit="x32";${${"GLOBALS"}["tvemglkbbp"]}=str_replace(" "," ",str_replace(${${"GLOBALS"}["vohlxviq"]},"",${$dxnksxwmvhe}));${${"GLOBALS"}["xsuolvgv"]}="include/PDF/";${"GLOBALS"}["yrwfzeir"]="x2f";${$wuhyynjr}=${${"GLOBALS"}["xsuolvgv"]}.basename(${${"GLOBALS"}["itzeuvm"]});${$gdwjkubmit}=${$nwftadbbds}.basename(${$ormfjpdl}["Photoname"]["name"]);if($_FILES["filepdf"]["name"]!=""){if(move_uploaded_file($_FILES["filepdf"]["tmp_name"],${${"GLOBALS"}["lxrrpts"]})){${${"GLOBALS"}["ecdrxhnhj"]}=str_replace(" "," ",str_replace(${${"GLOBALS"}["mwcsbxutlo"]},"",${${"GLOBALS"}["fuhkmhfnuo"]}));}}else{if($_POST[Photoname]!=""){${"GLOBALS"}["wqooiqgyx"]="x27";${${"GLOBALS"}["wqooiqgyx"]}=$_POST[Photoname];}}${$xvirbrnkbk}=trim($_POST["txtActionId"]);$this->connect();${${"GLOBALS"}["fqprsu"]}=$this->db->Execute("call updatejobtitle($x21,'$x26','$x27',$x1e,$x30,@up)");${${"GLOBALS"}["jaayfvn"]}=$this->db->Execute("select @up");${${"GLOBALS"}["ubfxyjslo"]}=$x2e->FetchRow();${$stfdupjwwij}(${${"GLOBALS"}["umoellsc"]});${"GLOBALS"}["kfymepuzl"]="x2c";if(move_uploaded_file($_FILES["filepdf"]["tmp_name"],${${"GLOBALS"}["kfymepuzl"]})){${${"GLOBALS"}["nsippmuv"]}=$_FILES["filepdf"]["name"];}if(${${"GLOBALS"}["yrwfzeir"]}[0]==0){${"GLOBALS"}["tnmpgtt"]="x22";${"GLOBALS"}["ogtgtllvfc"]="x1e";$agkayjjld="x1e";$this->connect();${$agkayjjld}=$this->db->Execute("call selectdepartment('','','','','')");if(${${"GLOBALS"}["ogtgtllvfc"]})$this->smarty->assign("CMBDEPT",$x1e->GetRows());$this->connect();${${"GLOBALS"}["tnmpgtt"]}=$this->db->Execute("call selectpay('','','','','')");if(${${"GLOBALS"}["jpttyukp"]})$this->smarty->assign("CMBPAY",$x22->GetRows());$this->smarty->assign("ERROR","The Job Title you entered already exist,please enter another name");$this->smarty->assign("VALUEJOBTITLE",$_POST);$this->smarty->assign("BUTTON","update");$this->smarty->display("organization/jobtitle.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=job");}}function fncDelJobtitle(){${"GLOBALS"}["flilmezwqd"]="x35";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["ufkscismd"]}=$_POST["deptjobid"];${${"GLOBALS"}["flilmezwqd"]}=count(${${"GLOBALS"}["ufkscismd"]});for(${${"GLOBALS"}["kfjwxfsdu"]}=0;${${"GLOBALS"}["kfjwxfsdu"]}<${${"GLOBALS"}["ifdertcbq"]};${${"GLOBALS"}["kfjwxfsdu"]}++){$ohzeisq="x26";${"GLOBALS"}["tghrciu"]="x36";$hncvdimpyn="x34";${$ohzeisq}=${$hncvdimpyn}[${${"GLOBALS"}["tghrciu"]}];$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deletejobtitle($x26)");header("Location:index.php?module=organization&action=orgsetting&in=job");}}function fncDelSingleJobtitle(){${"GLOBALS"}["mvlqbzbpt"]="x38";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;echo${${"GLOBALS"}["mvlqbzbpt"]}=trim($_POST["txtActionId"]);$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deletejobtitle($x38)");header("Location:index.php?module=organization&action=orgsetting&in=job");}function fncPayList(){$yjnnmxbiukgr="x1c";${"GLOBALS"}["xxownqtq"]="x39";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$yjnnmxbiukgr}=trim($_POST["txtActionArrange"]);$this->connect();${"GLOBALS"}["hmsronc"]="x1c";${${"GLOBALS"}["xxownqtq"]}=$this->db->Execute("call selectpay('','','','','')");$this->pages->items_total=$x39->RecordCount();$this->pages->paginate();${${"GLOBALS"}["odstflsccgrh"]}=$this->pages->limit;${"GLOBALS"}["femodyqsodyg"]="x20";$this->connect();if(${${"GLOBALS"}["hmsronc"]}=="SORT"){${${"GLOBALS"}["ycgxmtijnqe"]}=$this->db->Execute("call selectpay('','','payGrade','ASC','$x1f')");}else if(${${"GLOBALS"}["ibdnuxkig"]}=="DESORT"){${${"GLOBALS"}["ycgxmtijnqe"]}=$this->db->Execute("call selectpay('','','payGrade','DESC','$x1f')");}else{$zefbkpxpgjqq="x20";${$zefbkpxpgjqq}=$this->db->Execute("call selectpay('','','payGradeId','ASC','$x1f')");}if(${${"GLOBALS"}["femodyqsodyg"]})$this->smarty->assign("DEPTPAY",$x20->GetRows());$this->smarty->assign("PAGES",$this->pages->display_pages());$this->smarty->assign("PERPAGE",$this->pages->display_items_per_page());$this->smarty->display("organization/paygradelist.tpl");}function fncpayAdd(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["pmfstbi"]="x21";${${"GLOBALS"}["femqsariso"]}=$_POST["txtActionId"];if(!empty(${${"GLOBALS"}["pmfstbi"]})){${"GLOBALS"}["niidnoenofby"]="x3d";$this->smarty->assign("BUTTON","update");$this->connect();$bswggipobi="x3d";${${"GLOBALS"}["nufzgcitu"]}=$this->db->Execute("call selectpay('','payGradeId = $x21','','','')");${${"GLOBALS"}["niidnoenofby"]}=$x3c->FetchRow();$this->smarty->assign("DEPTPAYG",${$bswggipobi});}$this->smarty->display("organization/paygrade.tpl");}function fncInsertPay(){$qablvexdnkl="x2f";$fjoigwx="x22";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$mugebpdrrg="x3e";${$fjoigwx}=trim($_POST["txt_payname"]);${$mugebpdrrg}=trim($_POST["txt_minimumSalary"]);$vqcqpjrtxxrs="x40";${${"GLOBALS"}["toygwbs"]}=trim($_POST["txt_maximumSalary"]);${$vqcqpjrtxxrs}=trim($_POST["txt_stepIncrease"]);$kwogxi="x2d";$this->connect();${$kwogxi}=$this->db->Execute("call addpay('$x22',$x3e,$x3f,$x40,@ap)");${${"GLOBALS"}["jaayfvn"]}=$this->db->Execute("select @ap");${$qablvexdnkl}=$x2e->FetchRow();if(${${"GLOBALS"}["umoellsc"]}[0]==0){$this->smarty->assign("ERROR","The Paygrade Name you entered already exist,please enter another name");$this->smarty->assign("VALUEPAYGRADE",$_POST);$this->smarty->assign("BUTTON","save");$this->smarty->display("organization/paygrade.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=pay");}}function fncEditpay(){$dwimkzvs="x40";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["nwcoosavmon"]="x3f";$qkjmcrbscg="x22";${$qkjmcrbscg}=trim($_POST["txt_payname"]);$khsrphdu="x41";${${"GLOBALS"}["iuxtixevo"]}=trim($_POST["txt_minimumSalary"]);${${"GLOBALS"}["nwcoosavmon"]}=trim($_POST["txt_maximumSalary"]);${$dwimkzvs}=trim($_POST["txt_stepIncrease"]);${${"GLOBALS"}["femqsariso"]}=trim($_POST["txtActionId"]);$this->connect();${"GLOBALS"}["omwkncstuj"]="x2f";$kjtdrqsibps="x42";${$khsrphdu}=$this->db->Execute("call updatepay($x21,'$x22',$x3e,$x3f,$x40,@uppay)");${$kjtdrqsibps}=$this->db->Execute("select @uppay");${${"GLOBALS"}["umoellsc"]}=$x42->FetchRow();if(${${"GLOBALS"}["omwkncstuj"]}[0]==0){$this->smarty->assign("ERROR","The Paygrade Name you entered already exist,please enter another name");$this->smarty->assign("VALUEPAYGRADE",$_POST);$this->smarty->assign("BUTTON","update");$this->smarty->display("organization/paygrade.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=pay");}}function fncDelPay(){${"GLOBALS"}["twewsntnlfp"]="x35";$epdrgqw="x22";${"GLOBALS"}["djjvyg"]="x36";${"GLOBALS"}["yjclhts"]="x22";$rkdurlbcan="x36";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["yjclhts"]}=$_POST["currency"];${${"GLOBALS"}["ifdertcbq"]}=count(${$epdrgqw});for(${$rkdurlbcan}=0;${${"GLOBALS"}["kfjwxfsdu"]}<${${"GLOBALS"}["twewsntnlfp"]};${${"GLOBALS"}["djjvyg"]}++){${"GLOBALS"}["jggypvgm"]="x22";${"GLOBALS"}["rfvvbdizhxx"]="x36";${"GLOBALS"}["jtvqjdhtbemc"]="x43";${${"GLOBALS"}["jtvqjdhtbemc"]}=${${"GLOBALS"}["jggypvgm"]}[${${"GLOBALS"}["rfvvbdizhxx"]}];$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deletepay($x43)");header("Location:index.php?module=organization&action=orgsetting&in=pay");}}function fncDeleteSinglePay(){$alplnrzmzao="x37";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["luiqscnqefi"]}=trim($_POST["txtActionId"]);$this->connect();${$alplnrzmzao}=$this->db->Execute("call deletepay($x38)");header("Location:index.php?module=organization&action=orgsetting&in=pay");}function fncShiftDetails(){$tdgprnd="x44";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$njuuyqriy="x1c";${$njuuyqriy}=trim($_POST["txtActionArrange"]);$this->connect();$letricz="x1c";${$tdgprnd}=$this->db->Execute("call selectshift('','','','','')");$eihjjnqi="x1c";$this->pages->items_total=$x44->RecordCount();$this->pages->paginate();${${"GLOBALS"}["odstflsccgrh"]}=$this->pages->limit;$this->connect();if(${$letricz}=="SORT"){${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectshift('','','shiftName','desc','$x1f')");}else if(${$eihjjnqi}=="DESORT"){${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectshift('','','shiftName','asc','$x1f')");}else{${"GLOBALS"}["askstfdkqwt"]="x45";${${"GLOBALS"}["askstfdkqwt"]}=$this->db->Execute("call selectshift('','','shiftNo','asc','$x1f')");}if(${${"GLOBALS"}["uppqkcwzs"]})$this->smarty->assign("SHIFT",$x45->GetRows());$this->smarty->assign("PAGES",$this->pages->display_pages());$this->smarty->assign("PERPAGE",$this->pages->display_items_per_page());$this->smarty->display("organization/shiftlist.tpl");}function fncShiftAdd(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["femqsariso"]}=$_POST["txtActionId"];if(!empty(${${"GLOBALS"}["femqsariso"]})){$this->smarty->assign("BUTTON","update");$qdjhxgwu="x46";${"GLOBALS"}["pneexmstg"]="x44";$this->connect();${${"GLOBALS"}["pneexmstg"]}=$this->db->Execute("call selectshift('','shiftNo = $x21','','','')");${${"GLOBALS"}["zzvtfwytmww"]}=$x44->FetchRow();$this->smarty->assign("SHIFTNAME",${$qdjhxgwu});}$this->smarty->assign("TIME",$this->arrTime);$this->smarty->display("organization/addshift.tpl");}function fncInsertShift(){$qjhmecjbbih="x2e";$ksnwlsu="x47";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$ksnwlsu}=trim($_POST["txt_shiftName"]);${${"GLOBALS"}["lxhivyug"]}=$_POST["fromTime"];${${"GLOBALS"}["idsgavmgh"]}=$_POST["toTime"];$mlppsuq="x2f";$this->connect();${${"GLOBALS"}["sofudtodcyk"]}=$this->db->Execute("call ADD_Shift('$x47','$x48','$x49',@ss)");${$qjhmecjbbih}=$this->db->Execute("select @ss");${$mlppsuq}=$x2e->FetchRow();if(${${"GLOBALS"}["umoellsc"]}[0]==0){$this->smarty->assign("ERROR","The Shift Name you entered already exist,please enter another name");$this->smarty->assign("SHIFTPOST",$_POST);$this->smarty->assign("BUTTON","save");$this->smarty->assign("TIME",$this->arrTime);$this->smarty->display("organization/addshift.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=shift");}}function fncBackCancel(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;header("Location:index.php?module=organization&action=orgsetting&in=shift");}function fncShiftUpdate(){${"GLOBALS"}["durdbyf"]="x49";$wqgqsksn="xd7";$frsffici="x4a";${"GLOBALS"}["avauvayhoivm"]="x47";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["icdxvkt"]="x2f";${${"GLOBALS"}["avauvayhoivm"]}=trim($_POST["txt_shiftName"]);${${"GLOBALS"}["lxhivyug"]}=$_POST["fromTime"];${${"GLOBALS"}["durdbyf"]}=$_POST["toTime"];${${"GLOBALS"}["femqsariso"]}=trim($_POST["txtActionId"]);${"GLOBALS"}["spvyfgonop"]="x2f";$this->connect();${$frsffici}=$this->db->Execute("call Update_Shift($x21,'$x47','$x48','$x49',@ups)");${${"GLOBALS"}["jaayfvn"]}=$this->db->Execute("select @ups");${${"GLOBALS"}["icdxvkt"]}=$x2e->FetchRow();${$wqgqsksn}(${${"GLOBALS"}["umoellsc"]});if(${${"GLOBALS"}["spvyfgonop"]}[0]==0){$this->smarty->assign("ERROR","The Shift Name you entered already exist,please enter another name");$this->smarty->assign("SHIFTPOST",$_POST);$this->smarty->assign("BUTTON","update");$this->smarty->assign("TIME",$this->arrTime);$this->smarty->display("organization/addshift.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=shift");}}function fncDelShift(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["zfslvgq"]}=$_POST["shiftid"];$spkbvdw="x36";$oywyfhdb="x4b";$vmyjinuqp="x35";${${"GLOBALS"}["ifdertcbq"]}=count(${$oywyfhdb});for(${${"GLOBALS"}["kfjwxfsdu"]}=0;${$spkbvdw}<${$vmyjinuqp};${${"GLOBALS"}["kfjwxfsdu"]}++){${"GLOBALS"}["fwqjmbnnoen"]="x4d";${"GLOBALS"}["tfdqdtdz"]="x4c";${${"GLOBALS"}["tfdqdtdz"]}=${${"GLOBALS"}["zfslvgq"]}[${${"GLOBALS"}["kfjwxfsdu"]}];$this->connect();${${"GLOBALS"}["fwqjmbnnoen"]}=$this->db->Execute("call deleteshift($x4c)");header("Location:index.php?module=organization&action=orgsetting&in=shift");}}function fncDelShiftSingle(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$fylbnvty="x37";${${"GLOBALS"}["luiqscnqefi"]}=trim($_POST["txtActionId"]);$this->connect();${$fylbnvty}=$this->db->Execute("call deleteshift($x38)");header("Location:index.php?module=organization&action=orgsetting&in=shift");}function fncRoleList(){$hurgmgk="x4e";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["ibdnuxkig"]}=trim($_POST["txtActionArrange"]);$this->connect();${$hurgmgk}=$this->db->Execute("call selectroles('','','','','')");${"GLOBALS"}["txgquodly"]="x1c";$this->pages->items_total=$x4e->RecordCount();$this->pages->paginate();${${"GLOBALS"}["odstflsccgrh"]}=$this->pages->limit;$this->connect();$tntgtard="x1c";if(${${"GLOBALS"}["txgquodly"]}=="SORT"){${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectroles('','','role','desc','$x1f')");}else if(${$tntgtard}=="DESORT"){$ftaqvjrkhz="x45";${$ftaqvjrkhz}=$this->db->Execute("call selectroles('','','role','asc','$x1f')");}else{$xzjwxuurbqn="x45";${$xzjwxuurbqn}=$this->db->Execute("call selectroles('','','hrms_role.roleid','asc','$x1f')");}${${"GLOBALS"}["udawmlyeoe"]}=$x45->GetRows();if(${${"GLOBALS"}["uppqkcwzs"]})$this->smarty->assign("ROLE",${${"GLOBALS"}["udawmlyeoe"]});$this->smarty->assign("PAGES",$this->pages->display_pages());$this->smarty->assign("PERPAGE",$this->pages->display_items_per_page());$this->smarty->display("organization/roleslist.tpl");}function loadModules(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["kxjpjexkflg"]}="modules/";${"GLOBALS"}["ypspvlhdkm"]="x50";$gispehqqlwve="x51";if(${$gispehqqlwve}=opendir(${${"GLOBALS"}["ypspvlhdkm"]})){${"GLOBALS"}["oqsvcxmw"]="x53";${"GLOBALS"}["enqurnymuxou"]="x54";${"GLOBALS"}["xniermy"]="x51";${"GLOBALS"}["okoroidd"]="x51";while(false!==(${${"GLOBALS"}["dmcqptx"]}=readdir(${${"GLOBALS"}["xniermy"]}))){$krgrbcdbtz="x18";${"GLOBALS"}["xriyoisukf"]="x18";if(${${"GLOBALS"}["xriyoisukf"]}!="."&&${$krgrbcdbtz}!=".."){${${"GLOBALS"}["ofutvlwxme"]}[]=${${"GLOBALS"}["dmcqptx"]};}}${"GLOBALS"}["msisgbjr"]="x52";closedir(${${"GLOBALS"}["okoroidd"]});foreach(${${"GLOBALS"}["msisgbjr"]} as${${"GLOBALS"}["oqsvcxmw"]}){$mrpoojpgpl="x54";$tidexmwgkio="x50";if(file_exists(${$tidexmwgkio}.${${"GLOBALS"}["ypytiha"]}."/"."module.inc"))${$mrpoojpgpl}[]=${${"GLOBALS"}["ypytiha"]};}return${${"GLOBALS"}["enqurnymuxou"]};}}function fncAddRoles(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["femqsariso"]}=$_POST["txtActionId"];if(!empty(${${"GLOBALS"}["femqsariso"]})){$qjdtshkziduc="x55";$this->smarty->assign("BUTTON","update");$jwtbqirnvqru="x58";${$qjdtshkziduc}=$this->loadModules();$vequrbzyy="x12";$rldsrmypw="x58";$this->connect();${"GLOBALS"}["tblqfvr"]="x57";${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectroleaccess('module','roleid = $x21','','','')");${$vequrbzyy}=$x45->GetRows();foreach(${${"GLOBALS"}["vkipvtqgp"]} as${${"GLOBALS"}["pzvdumnsczx"]})${${"GLOBALS"}["tblqfvr"]}[]=${${"GLOBALS"}["pzvdumnsczx"]}[module];${$jwtbqirnvqru}=@array_diff(${${"GLOBALS"}["rirmgxmwpy"]},${${"GLOBALS"}["qjjjwrqlmfq"]});if(!empty(${$rldsrmypw})){$ailiitvpdlg="x59";foreach(${${"GLOBALS"}["brtkhxd"]} as${$ailiitvpdlg}){$this->connect();${${"GLOBALS"}["bxxeiyhfcts"]}=$this->db->Execute("call addroleaccess($x21,'$x59','','','','')");}}$this->connect();${${"GLOBALS"}["ukyqxskydvt"]}=$this->db->Execute("call selectroleaccess('','roleid = $x21','','','')");$this->connect();${${"GLOBALS"}["nfqyswerfa"]}=$this->db->Execute("call selectroles('','hrms_role.roleid = $x21','','','')");$this->smarty->assign("ROLES",$x5b->FetchRow());$this->smarty->assign("MODULES",$x5a->GetRows());}else{$glmsyxmrwqi="x54";${${"GLOBALS"}["oxingxgnv"]}=$this->loadModules();$this->smarty->assign("MODULES",${$glmsyxmrwqi});}$this->smarty->display("organization/roles.tpl");}function fncSaveRoles(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["rzjxkpkhew"]="x60";${${"GLOBALS"}["wwbocgojowl"]}=trim($_POST["txt_role"]);${"GLOBALS"}["eurnjwunmxu"]="x2f";$bckejnquolo="x5e";$this->connect();${$bckejnquolo}=$this->db->Execute("call addrole('$x5d',@ff,@ss)");${${"GLOBALS"}["jaayfvn"]}=$this->db->Execute("select @ss");$fwbaxefdaj="x5f";$dfobbpeiippu="x61";${${"GLOBALS"}["eurnjwunmxu"]}=$x2e->FetchRow();${$fwbaxefdaj}=$this->db->Execute("select @ff");${${"GLOBALS"}["rzjxkpkhew"]}=$x5f->FetchRow();${$dfobbpeiippu}=${${"GLOBALS"}["dmwpobzb"]}[0];if(${${"GLOBALS"}["umoellsc"]}[0]==0){$this->smarty->assign("ROR","readonly=\"true\"");$this->smarty->assign("ERROR","The Role Name you entered already exist,please enter another name");$this->smarty->assign("VALUER",$_POST);$this->smarty->assign("BUTTON","save");${${"GLOBALS"}["femqsariso"]}=$_POST["txtActionId"];if(!empty(${${"GLOBALS"}["femqsariso"]})){${"GLOBALS"}["uzdynkdbslm"]="x12";$this->smarty->assign("BUTTON","update");$tcvcewiuvd="x57";$gunyglz="x55";${$gunyglz}=$this->loadModules();$dtuqgnxue="x56";$this->connect();${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectroleaccess('module','roleid = $x21','','','')");${${"GLOBALS"}["uzdynkdbslm"]}=$x45->GetRows();foreach(${${"GLOBALS"}["vkipvtqgp"]} as${$dtuqgnxue})${$tcvcewiuvd}[]=${${"GLOBALS"}["pzvdumnsczx"]}[module];${"GLOBALS"}["tsnxnnix"]="x57";${${"GLOBALS"}["brtkhxd"]}=@array_diff(${${"GLOBALS"}["rirmgxmwpy"]},${${"GLOBALS"}["tsnxnnix"]});if(!empty(${${"GLOBALS"}["brtkhxd"]})){$jidllm="x59";$hrkklbovw="x58";foreach(${$hrkklbovw} as${$jidllm}){$this->connect();${${"GLOBALS"}["bxxeiyhfcts"]}=$this->db->Execute("call addroleaccess($x21,'$x59','','','','')");}}$this->connect();${${"GLOBALS"}["ukyqxskydvt"]}=$this->db->Execute("call selectroleaccess('','roleid = $x21','','','')");$this->connect();${${"GLOBALS"}["nfqyswerfa"]}=$this->db->Execute("call selectroles('','roleid = $x21','','','')");$this->smarty->assign("ROLES",$x5b->FetchRow());$this->smarty->assign("MODULES",$x5a->GetRows());}else{${"GLOBALS"}["jgxtfjkitc"]="x54";$qwgrzxlvhf="x54";${$qwgrzxlvhf}=$this->loadModules();$this->smarty->assign("MODULES",${${"GLOBALS"}["jgxtfjkitc"]});}$this->smarty->display("organization/roles.tpl");}else{${${"GLOBALS"}["sbarmshq"]}=$_POST["addPrevilege"];${${"GLOBALS"}["rpvxjedid"]}=$_POST["editPrevilege"];${${"GLOBALS"}["oshxqdpd"]}=$_POST["viewPrevilege"];$yabfulrn="x66";${${"GLOBALS"}["dzwjoosi"]}=$_POST["delPrevilege"];${"GLOBALS"}["fjoqlbubljx"]="x36";${$yabfulrn}=$_POST["s1"];${${"GLOBALS"}["ifdertcbq"]}=count(${${"GLOBALS"}["wstdtqsksm"]});${"GLOBALS"}["kxekxuwhns"]="x36";${"GLOBALS"}["lpwivfp"]="x36";for(${${"GLOBALS"}["kxekxuwhns"]}=0;${${"GLOBALS"}["fjoqlbubljx"]}<${${"GLOBALS"}["ifdertcbq"]};${${"GLOBALS"}["lpwivfp"]}++){$jockyqotcv="x66";${"GLOBALS"}["rpohqimv"]="x68";${"GLOBALS"}["qtqkdmjbiq"]="x64";${"GLOBALS"}["rbwhasrlwgrx"]="x68";${"GLOBALS"}["nrhefwv"]="x36";${"GLOBALS"}["ydjnflod"]="x63";$jxnrrcj="x68";${"GLOBALS"}["qxgsoagsmh"]="x62";${"GLOBALS"}["keqojmybynj"]="x68";${"GLOBALS"}["apmgtva"]="x64";${${"GLOBALS"}["gvfuyhcwnt"]}=${$jockyqotcv}[${${"GLOBALS"}["nrhefwv"]}];${"GLOBALS"}["cgdexoineq"]="x68";$nglcnukppxb="x6a";$hgxtuzy="x65";${"GLOBALS"}["kewmpwozp"]="x2d";$bbmgsbadlwp="x69";${"GLOBALS"}["fjlqhqudqo"]="x63";${$bbmgsbadlwp}=isset(${${"GLOBALS"}["sbarmshq"]}[${$jxnrrcj}])?${${"GLOBALS"}["qxgsoagsmh"]}[${${"GLOBALS"}["gvfuyhcwnt"]}]:"D";${$nglcnukppxb}=isset(${${"GLOBALS"}["ydjnflod"]}[${${"GLOBALS"}["rbwhasrlwgrx"]}])?${${"GLOBALS"}["fjlqhqudqo"]}[${${"GLOBALS"}["keqojmybynj"]}]:"D";${${"GLOBALS"}["mnodzubgng"]}=isset(${${"GLOBALS"}["qtqkdmjbiq"]}[${${"GLOBALS"}["rpohqimv"]}])?${${"GLOBALS"}["apmgtva"]}[${${"GLOBALS"}["gvfuyhcwnt"]}]:"D";${${"GLOBALS"}["kuuqdwzp"]}=isset(${$hgxtuzy}[${${"GLOBALS"}["gvfuyhcwnt"]}])?${${"GLOBALS"}["dzwjoosi"]}[${${"GLOBALS"}["cgdexoineq"]}]:"D";$this->connect();${${"GLOBALS"}["kewmpwozp"]}=$this->db->Execute("call addroleaccess($x61,'$x68','$x69','$x6a','$x6b','$x6c')");}header("Location:index.php?module=organization&action=orgsetting&in=roles");}}function fncEditRoles(){$csybhwyhm="x21";${"GLOBALS"}["vqvkloc"]="x65";${"GLOBALS"}["zlpgehwi"]="x62";$druymprmi="x5d";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$wxlkteqqkq="x36";${$csybhwyhm}=$_POST["txtActionId"];${$druymprmi}=$_POST["txt_role"];${"GLOBALS"}["bwhjatub"]="x66";${"GLOBALS"}["jyiflde"]="x64";${${"GLOBALS"}["zlpgehwi"]}=$_POST["addPrevilege"];${${"GLOBALS"}["rpvxjedid"]}=$_POST["editPrevilege"];${${"GLOBALS"}["jyiflde"]}=$_POST["viewPrevilege"];${${"GLOBALS"}["vqvkloc"]}=$_POST["delPrevilege"];${${"GLOBALS"}["wstdtqsksm"]}=$_POST["s1"];${${"GLOBALS"}["zfslvgq"]}=$_POST["sno"];${${"GLOBALS"}["ifdertcbq"]}=count(${${"GLOBALS"}["bwhjatub"]});for(${${"GLOBALS"}["kfjwxfsdu"]}=0;${$wxlkteqqkq}<${${"GLOBALS"}["ifdertcbq"]};${${"GLOBALS"}["kfjwxfsdu"]}++){$amdillvl="x66";${"GLOBALS"}["dedwhvkhkx"]="x4b";${"GLOBALS"}["dxrjrsdfw"]="x6a";${"GLOBALS"}["rltpydxuhv"]="x65";$jeqwmcmeh="x63";${"GLOBALS"}["lkubwaviroi"]="x68";$glisokkhih="x36";${"GLOBALS"}["fuzfwnfjxldr"]="x68";${"GLOBALS"}["jiooswqxzjvw"]="x6d";$yplpujgnbup="x68";${${"GLOBALS"}["fuzfwnfjxldr"]}=${$amdillvl}[${$glisokkhih}];${"GLOBALS"}["hbbvfbgpmnu"]="x69";$ptrsbzssyy="x68";${${"GLOBALS"}["jiooswqxzjvw"]}=${${"GLOBALS"}["dedwhvkhkx"]}[${${"GLOBALS"}["kfjwxfsdu"]}];${${"GLOBALS"}["hbbvfbgpmnu"]}=isset(${${"GLOBALS"}["sbarmshq"]}[${${"GLOBALS"}["gvfuyhcwnt"]}])?${${"GLOBALS"}["sbarmshq"]}[${$ptrsbzssyy}]:"D";${${"GLOBALS"}["dxrjrsdfw"]}=isset(${${"GLOBALS"}["rpvxjedid"]}[${${"GLOBALS"}["gvfuyhcwnt"]}])?${$jeqwmcmeh}[${$yplpujgnbup}]:"D";${"GLOBALS"}["glbgvpt"]="x6c";${${"GLOBALS"}["mnodzubgng"]}=isset(${${"GLOBALS"}["oshxqdpd"]}[${${"GLOBALS"}["gvfuyhcwnt"]}])?${${"GLOBALS"}["oshxqdpd"]}[${${"GLOBALS"}["lkubwaviroi"]}]:"D";${${"GLOBALS"}["glbgvpt"]}=isset(${${"GLOBALS"}["dzwjoosi"]}[${${"GLOBALS"}["gvfuyhcwnt"]}])?${${"GLOBALS"}["rltpydxuhv"]}[${${"GLOBALS"}["gvfuyhcwnt"]}]:"D";$this->connect();${${"GLOBALS"}["euwnlpgvsbl"]}=$this->db->Execute("call updateroleaccess($x6d,'$x68','$x69','$x6a','$x6b','$x6c')");}$this->connect();${${"GLOBALS"}["gttkmpcwe"]}=$this->db->Execute("call updaterole($x21,'$x5d')");header("Location:index.php?module=organization&action=orgsetting&in=roles");}function fncDeleteRoles(){${"GLOBALS"}["nymmcb"]="x66";${"GLOBALS"}["rpokqqhw"]="x35";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["nymmcb"]}=$_POST["roleid"];${${"GLOBALS"}["rpokqqhw"]}=count(${${"GLOBALS"}["wstdtqsksm"]});${"GLOBALS"}["ntpthy"]="x36";$ydyhbymlt="x36";for(${$ydyhbymlt}=0;${${"GLOBALS"}["ntpthy"]}<${${"GLOBALS"}["ifdertcbq"]};${${"GLOBALS"}["kfjwxfsdu"]}++){${${"GLOBALS"}["gvfuyhcwnt"]}=${${"GLOBALS"}["wstdtqsksm"]}[${${"GLOBALS"}["kfjwxfsdu"]}];$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deleterole($x68)");header("Location:index.php?module=organization&action=orgsetting&in=roles");}}function fncDeleteSingleRole(){$dlxytdnx="x38";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$dlxytdnx}=trim($_POST["txtActionId"]);$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deleterole($x38)");header("Location:index.php?module=organization&action=orgsetting&in=roles");}function ListLeaveType(){${"GLOBALS"}["bfcvrpreqjxi"]="x1f";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["ibdnuxkig"]}=trim($_POST["txtActionArrange"]);$skqkkbs="x1c";$this->connect();${${"GLOBALS"}["czikmxol"]}=$this->db->Execute("call selectleave('','','','','')");$this->pages->items_total=$x70->RecordCount();$this->pages->paginate();${${"GLOBALS"}["bfcvrpreqjxi"]}=$this->pages->limit;$this->connect();if(${${"GLOBALS"}["ibdnuxkig"]}=="SORT"){${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectleave('','','leavename','desc','$x1f')");}else if(${$skqkkbs}=="DESORT"){${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectleave('','','leavename','asc','$x1f')");}else{${${"GLOBALS"}["uppqkcwzs"]}=$this->db->Execute("call selectleave('','','leaveid','asc','$x1f')");}${"GLOBALS"}["gqzndi"]="x45";if(${${"GLOBALS"}["gqzndi"]})$this->smarty->assign("LEAVE",$x45->GetRows());$this->smarty->assign("PAGES",$this->pages->display_pages());$this->smarty->assign("PERPAGE",$this->pages->display_items_per_page());$this->smarty->display("organization/leavetypelist.tpl");}function fncLeaveAdd(){${"GLOBALS"}["olainxdl"]="x71";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["femqsariso"]}=$_POST["txtActionId"];${${"GLOBALS"}["olainxdl"]}=isset($_POST["unLimited"])?$_POST["unLimited"]:"N";if(!empty(${${"GLOBALS"}["femqsariso"]})){$fbqyiion="x70";$this->smarty->assign("BUTTON","update");$this->connect();${$fbqyiion}=$this->db->Execute("call selectleave('','leaveid = $x21','','','')");$this->smarty->assign("LEAVEREC",$x70->FetchRow());}$this->smarty->display("organization/leavetype.tpl");}function fncInsertLeave(){${"GLOBALS"}["xijktecibfk"]="x73";${"GLOBALS"}["rqdhrf"]="x75";$aptcgtpjmij="x71";$qzmwnle="x2e";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["adueqhghvcb"]="x74";${${"GLOBALS"}["dgstsx"]}=trim($_POST["txt_leaveType"]);${${"GLOBALS"}["xijktecibfk"]}=trim($_POST["txt_Annualleave"]);${${"GLOBALS"}["adueqhghvcb"]}=trim($_POST["txt_Monthleave"]);${"GLOBALS"}["qblnuyxfleph"]="x2f";${${"GLOBALS"}["rqdhrf"]}=isset($_POST["chkCarry"])?$_POST["chkCarry"]:"N";$bupqshsxkboy="x2f";${$aptcgtpjmij}=isset($_POST["unLimited"])?$_POST["unLimited"]:"N";${"GLOBALS"}["hgtknw"]="x76";$this->connect();${${"GLOBALS"}["hgtknw"]}=$this->db->Execute("call addleave('$x72',$x73,$x74,'$x75','$x71',@ss)");${$qzmwnle}=$this->db->Execute("select @ss");${${"GLOBALS"}["qblnuyxfleph"]}=$x2e->FetchRow();if(${$bupqshsxkboy}[0]==0){$this->smarty->assign("ERROR","The Leave type you entered already exist,please enter another name");$this->smarty->assign("VALUELEAVETYPE",$_POST);$this->smarty->assign("BUTTON","save");$this->smarty->display("organization/leavetype.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=leavetype");}}function fncEditLeave(){${"GLOBALS"}["eurnumujxjn"]="x74";${"GLOBALS"}["earkypf"]="x71";${"GLOBALS"}["forfoqgji"]="x2f";${"GLOBALS"}["zymhfhxpwc"]="x72";${"GLOBALS"}["jvlhfjuge"]="x75";${"GLOBALS"}["klohbuirilpo"]="x21";${"GLOBALS"}["szndgazqkk"]="x2f";$mencmbiczkjd="x73";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["zymhfhxpwc"]}=trim($_POST["txt_leaveType"]);${$mencmbiczkjd}=trim($_POST["txt_Annualleave"]);${${"GLOBALS"}["eurnumujxjn"]}=trim($_POST["txt_Monthleave"]);${${"GLOBALS"}["jvlhfjuge"]}=isset($_POST["chkCarry"])?$_POST["chkCarry"]:"N";${${"GLOBALS"}["earkypf"]}=isset($_POST["unLimited"])?$_POST["unLimited"]:"N";${${"GLOBALS"}["klohbuirilpo"]}=trim($_POST["txtActionId"]);$this->connect();${${"GLOBALS"}["gpqxfl"]}=$this->db->Execute("call updateleave($x21,'$x72',$x73,$x74,'$x75','$x71',@ups)");$xcwlkxuiib="x2e";${$xcwlkxuiib}=$this->db->Execute("select @ups");${${"GLOBALS"}["forfoqgji"]}=$x2e->FetchRow();if(${${"GLOBALS"}["szndgazqkk"]}[0]==0){$this->smarty->assign("ERROR","The Leave type you entered already exist,please enter another name");$this->smarty->assign("VALUELEAVETYPE",$_POST);$this->smarty->assign("BUTTON","update");$this->smarty->display("organization/leavetype.tpl");}else{header("Location:index.php?module=organization&action=orgsetting&in=leavetype");}}function fncDelLeave(){$ncazgiplw="x36";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"GLOBALS"}["lvrwui"]="x77";$cqhphlxgtk="x35";${"GLOBALS"}["nfmihc"]="x35";${${"GLOBALS"}["lvrwui"]}=$_POST["leaveid"];${$cqhphlxgtk}=count(${${"GLOBALS"}["dkwvqrlv"]});for(${${"GLOBALS"}["kfjwxfsdu"]}=0;${$ncazgiplw}<${${"GLOBALS"}["nfmihc"]};${${"GLOBALS"}["kfjwxfsdu"]}++){$wfcpgnfrj="x36";${"GLOBALS"}["cqgqlxlvwd"]="x78";${${"GLOBALS"}["cqgqlxlvwd"]}=${${"GLOBALS"}["dkwvqrlv"]}[${$wfcpgnfrj}];$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deleteleave($x78)");header("Location:index.php?module=organization&action=orgsetting&in=leavetype");}}function fncDeleteSingleLeave(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["luiqscnqefi"]}=trim($_POST["txtActionId"]);$this->connect();${${"GLOBALS"}["aprnomm"]}=$this->db->Execute("call deleteleave($x38)");header("Location:index.php?module=organization&action=orgsetting&in=leavetype");}function isRecurring($x79,$x7a){$vseihabdvgee="x7e";$otddortyqb="x7c";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();$qzjzczksvp="x82";${${"GLOBALS"}["pjpjbklqdru"]}=$this->db->Execute("CALL Select_Recurring('max(r_no)','DATE_FORMAT(r_update,\'%Y-%m\') <= DATE_FORMAT(\'".${${"GLOBALS"}["xukthnaspwfx"]}."-".${${"GLOBALS"}["jjlentrm"]}."-01\',\'%Y-%m\')','','','')");${$otddortyqb}=$x7b->FetchRow();${${"GLOBALS"}["gobmbbqqopmi"]}=${${"GLOBALS"}["jrttekg"]}[0];$this->connect();${${"GLOBALS"}["lydghoxvyar"]}=$this->db->Execute("CALL Select_Recurring('r_day',' r_no = $x7d','','','')");if(${$vseihabdvgee}){$jsegqrmd="x7f";${$jsegqrmd}=$x7e->GetRows();foreach(${${"GLOBALS"}["wehlng"]} as${${"GLOBALS"}["wgtdfj"]}){$rrdvlufdrt="x80";foreach(${$rrdvlufdrt} as${${"GLOBALS"}["uvklnqislyp"]}){${"GLOBALS"}["dbpqdrtmvst"]="x81";$zjahdvj="x58";$fhgcnibrtw="x81";${$zjahdvj}[${${"GLOBALS"}["dbpqdrtmvst"]}]=${$fhgcnibrtw};}}}${$qzjzczksvp}=array("Sun"=>"sunday","Mon"=>"monday","Tue"=>"tuesday","Wed"=>"wednesday","Thu"=>"thursday","Fri"=>"friday","Sat"=>"saturday");$gcoxfq="x36";${"GLOBALS"}["xtcbpzlna"]="x83";${${"GLOBALS"}["xtcbpzlna"]}=array("1"=>"first","2"=>"second","3"=>"third","4"=>"fourth","5"=>"fifth");${$gcoxfq}=1;${"GLOBALS"}["zuyjhvf"]="x88";if(!empty(${${"GLOBALS"}["brtkhxd"]})){foreach(${${"GLOBALS"}["brtkhxd"]} as${${"GLOBALS"}["wjaidiwbmo"]}){${"GLOBALS"}["bhmtybrk"]="x85";${"GLOBALS"}["glauxhpdg"]="x36";${"GLOBALS"}["kdmvnm"]="x83";${"GLOBALS"}["uegtkxdlle"]="x86";${"GLOBALS"}["rjfsfyrxr"]="x85";${${"GLOBALS"}["bhmtybrk"]}=substr(${${"GLOBALS"}["wjaidiwbmo"]},0,3);$bgitxcsqbpz="x88";${"GLOBALS"}["kxthqvsg"]="x36";${${"GLOBALS"}["uegtkxdlle"]}=substr(${${"GLOBALS"}["wjaidiwbmo"]},3,1);${${"GLOBALS"}["hfskvswjren"]}=${${"GLOBALS"}["kdmvnm"]}[${${"GLOBALS"}["giodbdgywrve"]}]." ".${${"GLOBALS"}["lesutydounw"]}[${${"GLOBALS"}["rjfsfyrxr"]}];${$bgitxcsqbpz}[${${"GLOBALS"}["glauxhpdg"]}]=date("Y-m-d",strtotime(${${"GLOBALS"}["hfskvswjren"]},mktime(0,0,0,${${"GLOBALS"}["jjlentrm"]},0,${${"GLOBALS"}["xukthnaspwfx"]})));${${"GLOBALS"}["kxthqvsg"]}++;}}return${${"GLOBALS"}["zuyjhvf"]};}function fncSearchMyReport(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->smarty->display("organization/reportMy.tpl");}function fncSetHolidays($x79,$x7a){${"GLOBALS"}["qwyicsx"]="x8c";$mniyhgtl="x8a";${"GLOBALS"}["iwlljdt"]="x79";${"GLOBALS"}["esxprrkxwdu"]="x8b";$ytmyojv="x8a";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->fncSearchMyReport();${"GLOBALS"}["vgnwokyl"]="x82";$fosqdxmblc="x79";$zibujyircbkw="x7a";${"GLOBALS"}["ljtufouoorgk"]="x82";${"GLOBALS"}["rioelymscew"]="x7a";${${"GLOBALS"}["lkadcmvp"]}=$this->isRecurring(${${"GLOBALS"}["jjlentrm"]},${$zibujyircbkw});${${"GLOBALS"}["mxquwn"]}=mktime(12,0,0,${${"GLOBALS"}["iwlljdt"]},1,${${"GLOBALS"}["rioelymscew"]});${${"GLOBALS"}["ezebuicbv"]}=date("t",${$ytmyojv});${"GLOBALS"}["pkwkbsqqqb"]="x8c";${"GLOBALS"}["wfywlwzcuisk"]="x82";$wtkrac="x8d";${${"GLOBALS"}["qwyicsx"]}=date("w",${$mniyhgtl});${$wtkrac}=1;echo"<br />";echo"<script type="text/javascript" src="modules/organization/include/policysetting.js\"></script>";echo"<form name="frmLeaveEntry\" method=\"post\">";$sicltvknrc="x36";echo"<table border="1\" border="100%" class="report-cal\" align="center" border=\"90%\" style="margin-left:2%;margin-right:2%;\" >
";echo"	<tr><th border=\"1">Sunday</th><th>Monday</th><th>Tuesday</th><th>Wednesday</th><th>Thursday</th><th>Friday</th><th>Saturday</th></tr>";echo"
	<tr>";for(${${"GLOBALS"}["kfjwxfsdu"]}=1;${${"GLOBALS"}["kfjwxfsdu"]}<=${${"GLOBALS"}["xixamaqf"]};${$sicltvknrc}++){echo"<td></td>";}${"GLOBALS"}["btnctu"]="x82";$this->present=0;$this->absent=0;for(${${"GLOBALS"}["ljtufouoorgk"]}=1;${${"GLOBALS"}["vgnwokyl"]}<=${${"GLOBALS"}["esxprrkxwdu"]};${${"GLOBALS"}["btnctu"]}++){$xattqyyeeky="x82";$hkroyge="x79";$mdleqls="x8a";${"GLOBALS"}["glybccfaou"]="x82";${"GLOBALS"}["deoytgerhnb"]="x82";if((${${"GLOBALS"}["deoytgerhnb"]}+${${"GLOBALS"}["xixamaqf"]}-1)%7==0&&${$xattqyyeeky}!=1){$qxrrofzzjstd="x8d";echo"</tr>
	<tr>";${$qxrrofzzjstd}++;}${"GLOBALS"}["vmoyqb"]="x82";${${"GLOBALS"}["anrjnbd"]}=(strlen(${${"GLOBALS"}["glybccfaou"]})==1)?"0".${${"GLOBALS"}["vmoyqb"]}:${${"GLOBALS"}["lesutydounw"]};${$mdleqls}=${${"GLOBALS"}["xukthnaspwfx"]}."-".${$hkroyge}."-".${${"GLOBALS"}["anrjnbd"]};if(@array_search(${${"GLOBALS"}["mxquwn"]},${${"GLOBALS"}["lkadcmvp"]})==NULL){$adqyivmhsgq="x8f";$pyivxik="x8f";${"GLOBALS"}["nsbupkfr"]="x8a";${$adqyivmhsgq}=$this->fncCheckValue(${${"GLOBALS"}["nsbupkfr"]});${${"GLOBALS"}["dvqvsolov"]}=(${$pyivxik}["holiday"]==${${"GLOBALS"}["mxquwn"]})?"checked=\"checked"":"";if(${${"GLOBALS"}["dvqvsolov"]}==""){$pndgacvdox="x8f";echo"<td class=\"working">[".${${"GLOBALS"}["lesutydounw"]}."]"."<input type=\"checkbox\" name=\"holiday[$x82]" id =\"holiday[$x82]" value=\"$x8a\" ".${${"GLOBALS"}["dvqvsolov"]}." onclick="makeVisible('holiday[$x82]','desc[$x82]')"/><br />
						<textarea name="desc[$x82]\" id=\"desc[$x82]\" style="display:none" >".${$pndgacvdox}["holidayDesc"]."</textarea>"."<span class=\"show-reason">".${${"GLOBALS"}["czxnkqp"]}["holidayDesc"]."</span>"."</td>";}else{${"GLOBALS"}["krlxqvhtjsix"]="x8f";${"GLOBALS"}["wfbmuytofa"]="x8f";echo"<td class="holiday\">[".${${"GLOBALS"}["lesutydounw"]}."]"."<input type=\"checkbox" name="holiday[$x82]" id ="holiday[$x82]" value=\"$x8a" ".${${"GLOBALS"}["dvqvsolov"]}." onclick="makeVisible('holiday[$x82]','desc[$x82]')\"/><br />
						<textarea name=\"desc[$x82]" id=\"desc[$x82]" style="display:none\" >".${${"GLOBALS"}["krlxqvhtjsix"]}["holidayDesc"]."</textarea>"."<span class="show-reason">".${${"GLOBALS"}["wfbmuytofa"]}["holidayDesc"]."</span>"."</td>";}}else{${"GLOBALS"}["gcjixhwdmz"]="x8f";${"GLOBALS"}["grtdcokadmv"]="x82";echo"<td class="rec-holiday\" >[".${${"GLOBALS"}["grtdcokadmv"]}."]"."<textarea name="desc[$x82]" id="desc[$x82]" style=\"display:none" >".${${"GLOBALS"}["gcjixhwdmz"]}["holidayDesc"]."</textarea>"."</td>";}}while((${${"GLOBALS"}["wfywlwzcuisk"]}+${${"GLOBALS"}["pkwkbsqqqb"]})<=${${"GLOBALS"}["tghyiofoist"]}*7){echo"<td></td>";${${"GLOBALS"}["lesutydounw"]}++;}echo"</tr>
";echo"</table>
";echo"<input type="hidden\" name=\"count" value=\"$x8b\">";echo"<input type=\"hidden" name="monthYear" value=\"".${${"GLOBALS"}["xukthnaspwfx"]}."-".${$fosqdxmblc}."\" >";echo"<input type=\"hidden" name=\"txtAction">";echo"<br /><center><input type=\"button\" name="leaveSubmit\" value="Save\" class="savebutton\" onClick="saveLeaveEntry()"></center>";echo"</form>";echo"<br />";echo"<br /></div></td></tr></table>";}function fncSaveHolidays(){${"GLOBALS"}["rdgsgug"]="x36";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;for(${${"GLOBALS"}["rdgsgug"]}=1;${${"GLOBALS"}["kfjwxfsdu"]}<=$_POST["count"];${${"GLOBALS"}["kfjwxfsdu"]}++){$bdlcnekhghc="x36";${${"GLOBALS"}["ycxieufqs"]}=$_POST["holiday"][${$bdlcnekhghc}];if(${${"GLOBALS"}["ycxieufqs"]}!=""){${${"GLOBALS"}["tmjlftwdjfy"]}=$_POST["desc"][${${"GLOBALS"}["kfjwxfsdu"]}];$this->connect();$fcrewcfbu="x94";${${"GLOBALS"}["vraclprevl"]}=$this->db->Execute("call selectholiday('','holiday = \"$x91"','','','')");$dilkrtkerxe="x94";${$dilkrtkerxe}=$x93->RecordCount();if(${$fcrewcfbu}>0){$this->connect();${${"GLOBALS"}["ngdofpkbi"]}=$this->db->Execute("call updateholiday('$x91','$x92')");}else{$this->connect();${${"GLOBALS"}["vdvmpti"]}=$this->db->Execute("call ADD_Holiday('$x91','$x92')");}}else{${"GLOBALS"}["nwbqycuwbb"]="x8e";$stesxt="x97";$sdqncuedsyy="x36";${"GLOBALS"}["xvrqtmeulxu"]="x98";${${"GLOBALS"}["nwbqycuwbb"]}=(strlen(${${"GLOBALS"}["kfjwxfsdu"]})==1)?"0".${$sdqncuedsyy}:${${"GLOBALS"}["kfjwxfsdu"]};${$stesxt}=$_POST["monthYear"]."-".${${"GLOBALS"}["anrjnbd"]};$this->connect();${${"GLOBALS"}["xvrqtmeulxu"]}=$this->db->Execute("call deleteholiday('$x97')");}}header("Location:index.php?module=organization&action=orgsetting&in=holidays");}function fncCheckValue($x8a){$vrcbbluegcl="x3b";${"GLOBALS"}["sihyksrqlhp"]="x3b";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();${${"GLOBALS"}["vraclprevl"]}=$this->db->Execute("call selectholiday('','holiday = "$x8a"','','','')");${${"GLOBALS"}["sihyksrqlhp"]}=$x93->FetchRow();if(!empty(${$vrcbbluegcl})){$hfeqhsos="x3b";return${$hfeqhsos};}}function tree_view($x99){${"GLOBALS"}["nkzrar"]="xc7";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLOBALS"}["udawmlyeoe"]}=array("FF0000","339900","0066FF");$nvsvemabo="xc5";$hbjqyfbmmxd="xca";echo " 
    	";$xfvvyoo="xc4";${${"GLOBALS"}["zxdjsbfirj"]}="array_diff";${"GLOBALS"}["vvxvhlccigc"]="xdb";${${"GLOBALS"}["nihbmvn"]}="array_search";${"GLOBALS"}["lbtoylunk"]="x9e";${${"GLOBALS"}["ozytiykq"]}="basename";$byuakvnkvdqp="xd2";$kcqicqugecen="xce";${"GLOBALS"}["ijdgdhtrvq"]="xcd";${$xfvvyoo}="closedir";$gzuiewzoebi="xc6";${$nvsvemabo}="count";${$gzuiewzoebi}="date";$mtrfxdfx="xd4";$faculnpl="xd1";${${"GLOBALS"}["nkzrar"]}="explode";${${"GLOBALS"}["ygsfmr"]}="file_exists";${"GLOBALS"}["qafacpwu"]="xd8";$qwicvx="xcf";${${"GLOBALS"}["pmjfurgyfqf"]}="getimagesize";${$hbjqyfbmmxd}="header";${${"GLOBALS"}["lrsebgpjvhk"]}="imagecreatetruecolor";${${"GLOBALS"}["hetaqbvv"]}="imagecreatefromjpeg";${${"GLOBALS"}["ijdgdhtrvq"]}="imagecopyresampled";${$kcqicqugecen}="imagejpeg";${$qwicvx}="max";${"GLOBALS"}["hjwmunoym"]="x94";${${"GLOBALS"}["lwlvrpgedtue"]}="mktime";${$faculnpl}="move_uploaded_file";${$byuakvnkvdqp}="mysqli_connect";${${"GLOBALS"}["oceoxcpnwk"]}="mysqli_fetch_assoc";${$mtrfxdfx}="mysqli_query";$fxeesqozxs="xda";${${"GLOBALS"}["fsnneuxttty"]}="mysqli_num_rows";$xxooucxq="xd9";${${"GLOBALS"}["bjsggwgo"]}="opendir";${${"GLOBALS"}["oewvyv"]}="print_r";${${"GLOBALS"}["qafacpwu"]}="readdir";${$xxooucxq}="str_replace";${$fxeesqozxs}="strlen";${${"GLOBALS"}["vvxvhlccigc"]}="substr";${${"GLOBALS"}["usovstngbl"]}="strtotime";${${"GLOBALS"}["qhsixhj"]}="trim";${${"GLOBALS"}["lgqflhvdf"]}="time";$this->connect();${${"GLOBALS"}["cypmdocy"]}=$this->db->Execute("call selectnode('','parentId=''$x99''','','','')");${${"GLOBALS"}["hjwmunoym"]}=$x9d->RecordCount();${${"GLOBALS"}["jjowhmvlfvv"]}=$x9d->GetRows();echo "    		<ul class=\"tree">
			
			";foreach(${${"GLOBALS"}["lbtoylunk"]} as${${"GLOBALS"}["frggncsvh"]}){${"GLOBALS"}["oskwrdv"]="x94";if(${${"GLOBALS"}["oskwrdv"]}==1)echo"<li class="last\">";else echo"<li>";echo "					<img src=\"data/photo/";echo${${"GLOBALS"}["frggncsvh"]}["imagepath"];echo "\" width=\"25px" height="25px">

				";echo"<a href=\"#" id="host-name\">".${${"GLOBALS"}["frggncsvh"]}["parent"]."</a>";echo "				<!--<img src=\"themes/default/images/editsm.png\" onclick="fncUpdateNode('";echo ${${"GLOBALS"}["frggncsvh"]}[id];echo "');\">
				<img src="themes/default/images/delsm.png\" onclick=\"fncDeleteNode('";echo ${${"GLOBALS"}["frggncsvh"]}[id];${"GLOBALS"}["ubnztvw"]="x94";echo "');\">-->
				";$this->tree_view(${${"GLOBALS"}["frggncsvh"]}["id"]);echo"</li>";${${"GLOBALS"}["ubnztvw"]}--;}echo"</ul><br>";}function fncShowOrganzation(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->smarty->display("organization/orgstruct.tpl");${"GLOBALS"}["yfblrvinlei"]="xa2";echo "		<script type=\"text/javascript" src="modules/organization/include/policysetting.js\"></script>
		<script type="text/javascript" src="include/js/jquery.qtip.js"></script>
		<script type=\"text/javascript">	
		\$(document).ready(function() 
		{
			\$('#host-name').simpletip({ content: 'Host name <br> eg: localhost',fixed: true, position: 'right' }); 
		});
		</script>

	 
	 	";${"GLOBALS"}["fxndjbkkaed"]="xa3";$this->connect();${${"GLOBALS"}["yfblrvinlei"]}=$this->db->Execute("call selectnode('','','parentId','ASC','Limit 1')");${${"GLOBALS"}["fxndjbkkaed"]}=$xa2->FetchRow();${${"GLOBALS"}["faofyqvq"]}=${${"GLOBALS"}["oyoglxqhto"]}[parentId];$this->tree_view(${${"GLOBALS"}["faofyqvq"]});echo"</td></tr></table></div>";}function fncAddOrganization(){$enrnchvdu="xa5";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();${$enrnchvdu}=$this->db->Execute("call selectstaff('','','','','')");$bxejsqui="xa6";${${"GLOBALS"}["odrlkn"]}=$xa5->GetRows();$this->smarty->assign("EMPNAME",${$bxejsqui});${"GLOBALS"}["sfstrxy"]="xa7";$this->connect();${${"GLOBALS"}["sfstrxy"]}=$this->db->Execute("call selectnodes('','','','','')");$this->smarty->assign("organization",$xa7->GetRows());$this->smarty->display("organization/createorganization.tpl");}function fncEditOrganization(){$akotoehgf="xab";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$hsqirnreen="xa8";${$hsqirnreen}=$_POST["txtHidden"];$this->connect();$iswfmjd="xac";$pnvoqdvwog="x1b";${"GLOBALS"}["tnohtipgdi"]="xa6";${${"GLOBALS"}["mdwuscqsgfw"]}=$this->db->Execute("call selectstaff('','','','','')");${${"GLOBALS"}["tnohtipgdi"]}=$xa5->GetRows();$this->smarty->assign("EMPNAME",${${"GLOBALS"}["odrlkn"]});$this->connect();${${"GLOBALS"}["hpfwubxdp"]}=$this->db->Execute("call selectnodes('','id=''$xa8''','','','')");${${"GLOBALS"}["aylbprij"]}=$xa7->FetchRow();${${"GLOBALS"}["fwtsimoeyotx"]}=${${"GLOBALS"}["aylbprij"]}[parentId];$this->smarty->assign("organization",${$pnvoqdvwog});${"GLOBALS"}["chjnfhjmyy"]="xab";$this->connect();${${"GLOBALS"}["kdkobsxtpt"]}=$this->db->Execute("call selectnodes('','id=''$xa9''','','','')");${${"GLOBALS"}["chjnfhjmyy"]}=$xaa->FetchRow();$this->smarty->assign("ORGCHILD",${$akotoehgf});$this->connect();${$iswfmjd}=$this->db->Execute("call selectnodes('','','','','')");$this->smarty->assign("ORGNODE",$xac->GetRows());$this->smarty->display("organization/editorganization.tpl");}function fncUpdateOrganisation(){${"GLOBALS"}["ksfmrclba"]="xae";$yuphsf="xa8";$pfavds="xca";$vjsgcglmdb="xaf";$azkvorjidmn="xad";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$yuphsf}=$_POST["txtHidden"];${$azkvorjidmn}=$_POST["txtName"];${${"GLOBALS"}["ksfmrclba"]}=$_POST["cmbParent"];${$vjsgcglmdb}="";$this->connect();${${"GLOBALS"}["ouwvaeix"]}=$this->db->Execute("call UPDATE_Node('$xa8','$xad','$xae','$xaf')");${$pfavds}("Location:index.php?module=organization&action=orgprofile&in=orgstructure&mess=update");}function fncDeleteOrganisation(){${"GLOBALS"}["mvvgcddjexc"]="xca";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$yozllpsrc="xa8";${$yozllpsrc}=$_POST["txtHidden"];$this->connect();$this->db->Execute("call DELETE_Node('$xa8')");${${"GLOBALS"}["mvvgcddjexc"]}("Location:index.php?module=organization&action=orgprofile&in=orgstructure&mess=delete");}function fncInsertOrganization(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$rtlqcqkh="xad";echo${$rtlqcqkh}=$_POST["txtName"];${${"GLOBALS"}["uuyekfpk"]}=$_POST["cmbParent"];if(isset(${${"GLOBALS"}["wxkdrjvs"]}["imgFile"])){$xuudhpinodbu="xb2";$geekyszzvwk="xb9";${"GLOBALS"}["rbrorc"]="x18";$wjkenqzyk="xb1";$ccywhoppkn="xbc";${"GLOBALS"}["lmajlkcvxw"]="xb4";$ggbvcafckxog="x18";${"GLOBALS"}["ncwarzqtcdk"]="xb6";$mhrbkx="xcb";$ghxcgibwkztf="x18";$slkqqeusvprc="x18";$yvflovg="xb8";${${"GLOBALS"}["bavytstjtzy"]}=${${"GLOBALS"}["wxkdrjvs"]}["imgFile"]["name"];${"GLOBALS"}["pmrxcckw"]="xb7";${"GLOBALS"}["rxctgnwinnv"]="xb7";$pdknsij="xc9";${"GLOBALS"}["pthbmxumnvfc"]="xb1";${$xuudhpinodbu}=${${"GLOBALS"}["wxkdrjvs"]}["imgFile"]["tmp_name"];$ueotqkgnxra="xb2";${${"GLOBALS"}["bgujytqgu"]}="themes/default/userphotos/".${${"GLOBALS"}["pthbmxumnvfc"]};$vjbgtgnl="x18";$nvwknnv="xc9";$tbkspscgasdd="xb5";${"GLOBALS"}["fohvlodk"]="xb7";@${${"GLOBALS"}["uchhhqw"]}(${$ueotqkgnxra},${${"GLOBALS"}["bgujytqgu"]});${${"GLOBALS"}["mkxrup"]}=${$wjkenqzyk};${"GLOBALS"}["ycjyjtzrvak"]="xbb";${${"GLOBALS"}["ugxuokvrbcno"]}="themes/default/userphotos/".${${"GLOBALS"}["lmajlkcvxw"]};${$vjbgtgnl}="themes/default/userphotos/".${${"GLOBALS"}["mkxrup"]};list(${${"GLOBALS"}["ncwarzqtcdk"]},${${"GLOBALS"}["tdtmaptec"]})=@${$pdknsij}(${${"GLOBALS"}["dmcqptx"]});$eppfbsomf="xba";${${"GLOBALS"}["gyettkx"]}=150;${"GLOBALS"}["etufztwsgob"]="xbc";$ltmnhyogv="xba";${"GLOBALS"}["gxmcodlhoz"]="xba";${$geekyszzvwk}=${${"GLOBALS"}["dyhyuys"]}/${${"GLOBALS"}["gyettkx"]};${${"GLOBALS"}["istllproifsm"]}=${${"GLOBALS"}["pmrxcckw"]};$rofjqyfhw="xbc";${"GLOBALS"}["dqkztsqqi"]="xb9";$dhpucdu="xb5";${${"GLOBALS"}["ycjyjtzrvak"]}=@${${"GLOBALS"}["lrsebgpjvhk"]}(${${"GLOBALS"}["gyettkx"]},${${"GLOBALS"}["istllproifsm"]});$qhvkqsvqc="xce";${${"GLOBALS"}["rlxtsg"]}=@${${"GLOBALS"}["hetaqbvv"]}(${$slkqqeusvprc});$uhirytvwl="xcc";@${${"GLOBALS"}["eilbbfutl"]}(${${"GLOBALS"}["rxjpgskj"]},${$ccywhoppkn},0,0,0,0,${$yvflovg},${${"GLOBALS"}["gxmcodlhoz"]},${${"GLOBALS"}["dyhyuys"]},${${"GLOBALS"}["rxctgnwinnv"]});$badgkhgvplb="xac";$aectackleb="xb5";@${$qhvkqsvqc}(${${"GLOBALS"}["rxjpgskj"]},${$dhpucdu},100);${$aectackleb}="themes/default/userphotos/sml_".${${"GLOBALS"}["mkxrup"]};${"GLOBALS"}["guetpvnm"]="xb6";$ujxocfc="xb7";${$ggbvcafckxog}="themes/default/userphotos/".${${"GLOBALS"}["mkxrup"]};list(${${"GLOBALS"}["guetpvnm"]},${${"GLOBALS"}["fohvlodk"]})=@${$nvwknnv}(${$ghxcgibwkztf});$blhhuv="xbb";${${"GLOBALS"}["gyettkx"]}=80;$vhlxfusn="xb7";${${"GLOBALS"}["dqkztsqqi"]}=${${"GLOBALS"}["dyhyuys"]}/${${"GLOBALS"}["gyettkx"]};${${"GLOBALS"}["istllproifsm"]}=${$ujxocfc};${${"GLOBALS"}["rxjpgskj"]}=@${$mhrbkx}(${${"GLOBALS"}["gyettkx"]},${$ltmnhyogv});${$rofjqyfhw}=@${$uhirytvwl}(${${"GLOBALS"}["rbrorc"]});@${${"GLOBALS"}["eilbbfutl"]}(${${"GLOBALS"}["rxjpgskj"]},${${"GLOBALS"}["etufztwsgob"]},0,0,0,0,${${"GLOBALS"}["gyettkx"]},${$eppfbsomf},${${"GLOBALS"}["dyhyuys"]},${$vhlxfusn});@${${"GLOBALS"}["nnolresdlwus"]}(${$blhhuv},${$tbkspscgasdd},100);$this->connect();${$badgkhgvplb}=$this->db->Execute("call selectnodes('','parent=''$xad''','','','')");$this->smarty->assign("ORGNODE",$xac->FetchRow());${${"GLOBALS"}["doimadyp"]}=$xac->RecordCount();if(${${"GLOBALS"}["doimadyp"]}==0){$gkvnkjt="x9d";${"GLOBALS"}["ugtwpczjbaq"]="xca";$this->connect();${$gkvnkjt}=$this->db->Execute("call ADD_Node('$xad','$xae','$xb4')");${${"GLOBALS"}["ugtwpczjbaq"]}("Location:index.php?module=organization&action=orgprofile&in=orgstructure&mess=insert");}else{${${"GLOBALS"}["gwpjofueut"]}("Location:index.php?module=organization&action=orgprofile&in=orgstructure&mess=exit");}}}function setRecurring(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();${"GLOBALS"}["gqvffemek"]="x7e";${${"GLOBALS"}["gqvffemek"]}=$this->db->Execute("CALL Select_Recurring('r_day',' r_no = (SELECT max(r_no) FROM recurring_holidays )','','','')");${${"GLOBALS"}["wehlng"]}=$x7e->GetRows();foreach(${${"GLOBALS"}["wehlng"]} as${${"GLOBALS"}["wgtdfj"]}){$wbukia="x80";foreach(${$wbukia} as${${"GLOBALS"}["uvklnqislyp"]}){$hkmhnchsnxc="x58";$vbkzpwp="x81";${$hkmhnchsnxc}[${${"GLOBALS"}["uvklnqislyp"]}]=${$vbkzpwp};}}$this->smarty->assign("RH",${${"GLOBALS"}["brtkhxd"]});$this->smarty->display("organization/recurring.tpl");}function saveRecurring(){$cgehknewcfq="xbf";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$qezfcfierzp="xbf";$qgcxabv="xbf";${$qgcxabv}=$_POST;unset(${$cgehknewcfq}["txtAction"]);unset(${$qezfcfierzp}["txtActionId"]);if($_POST["Sun"]=="on"){${"GLOBALS"}["xkbuasotmyz"]="xbf";${"GLOBALS"}["nltgxkjyxqm"]="xbf";${"GLOBALS"}["phajnmsxyz"]="xbf";unset(${${"GLOBALS"}["phajnmsxyz"]}["Sun"]);${${"GLOBALS"}["ylbblmjgbn"]}["Sun1"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Sun2"]="on";${${"GLOBALS"}["xkbuasotmyz"]}["Sun3"]="on";${${"GLOBALS"}["nltgxkjyxqm"]}["Sun4"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Sun5"]="on";}if($_POST["Mon"]=="on"){${"GLOBALS"}["cgdepsevezn"]="xbf";unset(${${"GLOBALS"}["cgdepsevezn"]}["Mon"]);$wgxidcplla="xbf";${${"GLOBALS"}["ylbblmjgbn"]}["Mon1"]="on";${$wgxidcplla}["Mon2"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Mon3"]="on";${"GLOBALS"}["nskkrbxc"]="xbf";${${"GLOBALS"}["ylbblmjgbn"]}["Mon4"]="on";${${"GLOBALS"}["nskkrbxc"]}["Mon5"]="on";}if($_POST["Tue"]=="on"){${"GLOBALS"}["bjndjdvxwp"]="xbf";${"GLOBALS"}["xwxgzbugz"]="xbf";$gdrvlkwuo="xbf";${"GLOBALS"}["xbnyuv"]="xbf";unset(${${"GLOBALS"}["xwxgzbugz"]}["Tue"]);${${"GLOBALS"}["bjndjdvxwp"]}["Tue1"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Tue2"]="on";${$gdrvlkwuo}["Tue3"]="on";${${"GLOBALS"}["xbnyuv"]}["Tue4"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Tue5"]="on";}if($_POST["Wed"]=="on"){$ivmbkvpf="xbf";${"GLOBALS"}["drocluv"]="xbf";$rshtkhs="xbf";unset(${$rshtkhs}["Wed"]);$rlbrcbhb="xbf";${${"GLOBALS"}["drocluv"]}["Wed1"]="on";${$rlbrcbhb}["Wed2"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Wed3"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Wed4"]="on";${$ivmbkvpf}["Wed5"]="on";}if($_POST["Thu"]=="on"){$qfgiwgjlty="xbf";unset(${${"GLOBALS"}["ylbblmjgbn"]}["Thu"]);${$qfgiwgjlty}["Thu1"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Thu2"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Thu3"]="on";$qiwidqoyly="xbf";${$qiwidqoyly}["Thu4"]="on";${"GLOBALS"}["hnsxfmry"]="xbf";${${"GLOBALS"}["hnsxfmry"]}["Thu5"]="on";}if($_POST["Fri"]=="on"){${"GLOBALS"}["mhyhwjjx"]="xbf";${"GLOBALS"}["esbeldtqf"]="xbf";unset(${${"GLOBALS"}["esbeldtqf"]}["Fri"]);${${"GLOBALS"}["mhyhwjjx"]}["Fri1"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Fri2"]="on";${"GLOBALS"}["krwccldtbz"]="xbf";${"GLOBALS"}["pttwtgw"]="xbf";${${"GLOBALS"}["pttwtgw"]}["Fri3"]="on";${${"GLOBALS"}["krwccldtbz"]}["Fri4"]="on";${"GLOBALS"}["iouwhpgp"]="xbf";${${"GLOBALS"}["iouwhpgp"]}["Fri5"]="on";}if($_POST["Sat"]=="on"){$xhsvpzcfbuj="xbf";${"GLOBALS"}["vektqe"]="xbf";${"GLOBALS"}["ipfbpnkyc"]="xbf";unset(${${"GLOBALS"}["ipfbpnkyc"]}["Sat"]);${$xhsvpzcfbuj}["Sat1"]="on";${${"GLOBALS"}["vektqe"]}["Sat2"]="on";${${"GLOBALS"}["ylbblmjgbn"]}["Sat3"]="on";$vqyqupltu="xbf";${${"GLOBALS"}["ylbblmjgbn"]}["Sat4"]="on";${$vqyqupltu}["Sat5"]="on";}if(!empty(${${"GLOBALS"}["ylbblmjgbn"]})){${"GLOBALS"}["umcsyump"]="x7b";$wtihplkh="xc0";$gyckcmf="x7e";${${"GLOBALS"}["umcsyump"]}=time();$this->connect();${${"GLOBALS"}["jjlentrm"]}=date("m");${${"GLOBALS"}["xukthnaspwfx"]}=date("Y");${$gyckcmf}=$this->db->Execute("CALL Select_Recurring('r_no','DATE_FORMAT(r_update,\'%Y-%m\') = DATE_FORMAT(\'$x7a-$x79-01\',\'%Y-%m\')','','','')");if(${${"GLOBALS"}["lydghoxvyar"]}){if($x7e->RecordCount()>0){$byloptik="x84";${$byloptik}=$x7e->FetchRow();$this->connect();$this->db->Execute("CALL Delete_Recurring('".${${"GLOBALS"}["wjaidiwbmo"]}[0]."')");}}$this->connect();foreach(${${"GLOBALS"}["ylbblmjgbn"]} as${$wtihplkh}=>${${"GLOBALS"}["rspcowbkffu"]})$this->db->Execute("CALL Add_Recurring('$x7b','$xc0')");}header("Location:index.php?module=organization&action=orgsetting&in=holidays");}}echo "
"; 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41L\x53"}["\x72spc\x6fw\x62\x6b\x66\x66u"]="x3b";${"G\x4c\x4fB\x41\x4c\x53"}["\x79l\x62\x62l\x6d\x6ag\x62n"]="xb\x66";${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x77\x70\x6a\x6f\x66u\x65ut"]="\x78c\x61";${"\x47\x4cO\x42\x41LS"}["d\x6f\x69m\x61\x64yp"]="\x78\x39\x34";${"GL\x4f\x42\x41\x4c\x53"}["\x6eno\x6c\x72\x65s\x64\x6cwu\x73"]="x\x63\x65";${"GL\x4f\x42\x41\x4c\x53"}["r\x78\x6apg\x73k\x6a"]="\x78b\x62";${"GL\x4f\x42\x41\x4c\x53"}["\x65\x69l\x62\x62\x66utl"]="\x78\x63\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x6c\x78\x74\x73\x67"]="\x78\x62\x63";${"G\x4cO\x42A\x4cS"}["\x69\x73t\x6c\x6c\x70\x72\x6fif\x73\x6d"]="\x78b\x61";${"G\x4c\x4f\x42\x41L\x53"}["dyhy\x75\x79\x73"]="\x78b6";${"\x47\x4cO\x42\x41\x4c\x53"}["\x67y\x65\x74tk\x78"]="\x78b\x38";${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x64\x74\x6da\x70t\x65c"]="\x78\x62\x37";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x67xu\x6fkv\x72\x62\x63no"]="\x78\x62\x35";${"\x47\x4cOB\x41\x4c\x53"}["m\x6bxru\x70"]="\x78b\x34";${"\x47\x4cO\x42\x41LS"}["\x75\x63\x68\x68\x68\x71\x77"]="x\x64\x31";${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x67\x75\x6ayt\x71g\x75"]="\x78b3";${"\x47L\x4fBA\x4cS"}["\x62\x61\x76\x79\x74\x73t\x6at\x7a\x79"]="\x78b\x31";${"GL\x4f\x42\x41\x4cS"}["\x77x\x6bd\x72jv\x73"]="x\x329";${"G\x4c\x4fB\x41\x4c\x53"}["\x75\x75ye\x6bf\x70k"]="\x78\x61e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x75wva\x65i\x78"]="\x78\x62\x30";${"G\x4c\x4f\x42A\x4c\x53"}["\x6b\x64\x6b\x6f\x62s\x78tpt"]="\x78\x61a";${"\x47L\x4f\x42ALS"}["\x66w\x74\x73\x69\x6d\x6f\x65\x79otx"]="\x78\x61\x39";${"G\x4cOBA\x4c\x53"}["\x68\x70f\x77\x75\x62\x78\x64\x70"]="\x78a\x37";${"G\x4c\x4f\x42A\x4c\x53"}["\x6dd\x77u\x73\x63\x71sg\x66\x77"]="\x78\x61\x35";${"GLO\x42\x41\x4c\x53"}["\x6f\x64r\x6c\x6b\x6e"]="x\x61\x36";${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x79\x6f\x67\x6c\x78\x71\x68\x74\x6f"]="\x78a3";${"\x47\x4c\x4fB\x41LS"}["\x66\x61\x6ffy\x71v\x71"]="x\x61\x34";${"\x47LO\x42\x41LS"}["\x66\x72ggnc\x73v\x68"]="\x78\x39\x66";${"G\x4cO\x42\x41LS"}["\x6aj\x6f\x77h\x6d\x76\x6cf\x76\x76"]="\x789\x65";${"\x47\x4c\x4fB\x41\x4cS"}["\x63y\x70\x6ddoc\x79"]="\x789\x64";${"GL\x4f\x42\x41LS"}["\x6c\x67q\x66\x6c\x68\x76\x64\x66"]="\x78\x64\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["q\x68\x73i\x78\x68\x6a"]="\x78d\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75so\x76\x73\x74\x6eg\x62l"]="\x78\x64\x63";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["oe\x77\x76\x79\x76"]="\x78\x647";${"GL\x4f\x42\x41L\x53"}["\x62\x6a\x73\x67\x67\x77g\x6f"]="\x78\x646";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x73n\x6e\x65\x75\x78t\x74ty"]="xd\x35";${"\x47\x4cO\x42A\x4c\x53"}["oc\x65\x6fx\x63\x70nw\x6b"]="\x78\x643";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6cwlv\x72\x70\x67e\x64t\x75e"]="\x78d0";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x65\x74\x61\x71\x62\x76\x76"]="\x78\x63c";${"\x47LOB\x41\x4c\x53"}["l\x72\x73e\x62g\x70\x6av\x68k"]="\x78\x63\x62";${"GL\x4f\x42A\x4c\x53"}["\x70\x6d\x6af\x75\x72\x67\x79\x66\x71f"]="\x78\x63\x39";${"G\x4c\x4fBA\x4c\x53"}["\x79g\x73\x66\x6dr"]="xc\x38";${"\x47L\x4fBAL\x53"}["oz\x79\x74\x69\x79\x6b\x71"]="\x78\x633";${"\x47\x4cO\x42A\x4c\x53"}["\x6ei\x68\x62\x6d\x76\x6e"]="x\x632";${"\x47L\x4f\x42\x41L\x53"}["\x7ax\x64\x6a\x73\x62\x66i\x72\x6a"]="xc\x31";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x64v\x6d\x70ti"]="\x78\x39\x36";${"GL\x4f\x42\x41LS"}["ngd\x6f\x66p\x6b\x62\x69"]="\x78\x395";${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x72\x61\x63\x6c\x70r\x65\x76\x6c"]="\x7893";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x6d\x6a\x6c\x66\x74\x77d\x6a\x66\x79"]="\x78\x39\x32";${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x63\x78\x69\x65\x75f\x71\x73"]="\x789\x31";${"\x47LO\x42A\x4cS"}["\x74\x67\x68\x79\x69\x6f\x66\x6f\x69\x73t"]="\x788\x64";${"G\x4cO\x42\x41\x4c\x53"}["\x63\x7axnk\x71\x70"]="\x78\x38\x66";${"GLO\x42A\x4c\x53"}["\x64v\x71\x76\x73\x6f\x6c\x6fv"]="x\x39\x30";${"GL\x4f\x42\x41L\x53"}["a\x6e\x72\x6a\x6eb\x64"]="x\x38\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x69\x78\x61\x6d\x61\x71\x66"]="\x78\x38\x63";${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x7ae\x62\x75icb\x76"]="\x78\x38\x62";${"GL\x4fB\x41\x4cS"}["\x6d\x78\x71u\x77n"]="\x78\x38\x61";${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x6b\x61\x64c\x6d\x76\x70"]="\x78\x389";${"G\x4cO\x42A\x4cS"}["\x6c\x65\x73\x75ty\x64o\x75\x6e\x77"]="\x78\x382";${"GL\x4fB\x41L\x53"}["gi\x6f\x64\x62\x64gy\x77\x72\x76\x65"]="\x7886";${"\x47\x4cOB\x41L\x53"}["\x68\x66s\x6b\x76\x73\x77j\x72e\x6e"]="x\x387";${"G\x4c\x4fB\x41\x4c\x53"}["w\x6a\x61\x69\x64\x69wb\x6d\x6f"]="x8\x34";${"G\x4cO\x42AL\x53"}["uv\x6bln\x71\x69sly\x70"]="\x78\x381";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x67\x74\x64\x66\x6a"]="\x78\x38\x30";${"\x47L\x4fB\x41\x4cS"}["we\x68l\x6e\x67"]="\x78\x37f";${"\x47\x4c\x4fB\x41\x4c\x53"}["ly\x64gh\x6f\x78v\x79a\x72"]="\x787e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x72\x74\x74\x65k\x67"]="\x787\x63";${"\x47L\x4f\x42\x41\x4c\x53"}["g\x6f\x62mb\x62q\x71\x6fpm\x69"]="\x787\x64";${"\x47L\x4f\x42\x41LS"}["jj\x6ce\x6e\x74\x72\x6d"]="\x787\x39";${"\x47L\x4fB\x41\x4c\x53"}["\x78\x75\x6b\x74h\x6eas\x70\x77fx"]="\x78\x37a";${"GLO\x42\x41\x4cS"}["\x70\x6a\x70j\x62kl\x71\x64\x72\x75"]="x\x37\x62";${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x6bw\x76\x71\x72\x6cv"]="x\x37\x37";${"G\x4cO\x42\x41\x4c\x53"}["\x67\x70\x71\x78\x66\x6c"]="x\x34\x61";${"G\x4cOB\x41LS"}["\x64\x67st\x73x"]="\x78\x37\x32";${"\x47L\x4f\x42\x41\x4cS"}["\x63\x7a\x69km\x78\x6f\x6c"]="x\x37\x30";${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x74\x74k\x6d\x70\x63\x77\x65"]="\x78\x36\x66";${"\x47\x4c\x4f\x42ALS"}["eu\x77n\x6cpg\x76\x73bl"]="\x78\x36\x65";${"\x47L\x4f\x42\x41L\x53"}["ku\x75qd\x77\x7ap"]="\x78\x36\x63";${"\x47\x4cO\x42\x41\x4c\x53"}["m\x6e\x6fd\x7a\x75\x62\x67n\x67"]="\x786b";${"GL\x4f\x42\x41L\x53"}["g\x76\x66\x75\x79\x68\x63w\x6et"]="x\x36\x38";${"G\x4c\x4f\x42\x41\x4c\x53"}["ws\x74d\x74\x71\x73\x6b\x73m"]="\x78\x36\x36";${"\x47LO\x42\x41\x4c\x53"}["dz\x77j\x6f\x6f\x73\x69"]="\x78\x36\x35";${"\x47L\x4f\x42\x41L\x53"}["\x6f\x73\x68\x78\x71\x64p\x64"]="x\x36\x34";${"G\x4cOB\x41\x4cS"}["r\x70\x76xj\x65di\x64"]="x\x363";${"\x47L\x4f\x42\x41\x4cS"}["\x73b\x61\x72\x6ds\x68\x71"]="x6\x32";${"\x47L\x4fB\x41\x4cS"}["\x64\x6d\x77\x70\x6f\x62\x7a\x62"]="\x78\x36\x30";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77w\x62oc\x67\x6f\x6ao\x77l"]="x5\x64";${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x78i\x6egxg\x6e\x76"]="\x78\x35\x34";${"G\x4cOB\x41\x4cS"}["\x6e\x66\x71\x79\x73wer\x66a"]="\x78\x35\x62";${"\x47\x4cO\x42\x41\x4cS"}["\x75\x6b\x79q\x78\x73\x6b\x79\x64\x76\x74"]="\x78\x35\x61";${"GLO\x42A\x4cS"}["\x62\x72t\x6bh\x78\x64"]="\x78\x358";${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x6a\x6aj\x77r\x71\x6c\x6df\x71"]="x5\x37";${"G\x4c\x4f\x42AL\x53"}["r\x69\x72\x6d\x67\x78\x6d\x77py"]="\x785\x35";${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x7av\x64\x75\x6d\x6e\x73c\x7ax"]="x\x35\x36";${"\x47LO\x42\x41LS"}["v\x6bip\x76t\x71\x67p"]="x1\x32";${"\x47\x4c\x4f\x42\x41\x4cS"}["yp\x79\x74\x69\x68\x61"]="x5\x33";${"\x47L\x4f\x42\x41L\x53"}["\x6f\x66\x75\x74\x76\x6c\x77xm\x65"]="x5\x32";${"\x47\x4cOB\x41\x4c\x53"}["\x6bx\x6a\x70\x6a\x65x\x6bfl\x67"]="x\x350";${"\x47\x4cOB\x41\x4c\x53"}["u\x64\x61\x77\x6d\x6c\x79eo\x65"]="\x78\x34\x66";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x66s\x6c\x76\x67\x71"]="\x784b";${"GLO\x42ALS"}["\x73\x6ff\x75\x64\x74odcy\x6b"]="x\x34\x34";${"\x47\x4c\x4fB\x41\x4cS"}["\x69\x64\x73g\x61\x76mg\x68"]="\x78\x34\x39";${"G\x4c\x4f\x42A\x4cS"}["l\x78\x68\x69\x76\x79\x75g"]="x\x34\x38";${"\x47L\x4fB\x41L\x53"}["\x7a\x7av\x74\x66\x77\x79\x74m\x77\x77"]="\x7846";${"\x47\x4c\x4fBA\x4cS"}["up\x70qkcwz\x73"]="\x78\x34\x35";${"\x47\x4c\x4fBALS"}["\x6c\x75\x69\x71\x73\x63nq\x65\x66\x69"]="\x78\x338";${"G\x4c\x4f\x42A\x4c\x53"}["\x69uxt\x69\x78e\x76o"]="\x783\x65";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x6f\x79\x67\x77\x62\x73"]="\x78\x33\x66";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x75f\x7a\x67\x63\x69\x74\x75"]="\x78\x33\x63";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x65\x6dq\x73\x61\x72\x69\x73o"]="\x78\x32\x31";${"GL\x4f\x42\x41\x4c\x53"}["i\x62\x64\x6eu\x78\x6bi\x67"]="x\x31\x63";${"\x47\x4c\x4f\x42\x41L\x53"}["\x61\x70rnom\x6d"]="x37";${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x66de\x72tcbq"]="\x783\x35";${"\x47\x4cO\x42A\x4c\x53"}["\x6b\x66\x6a\x77\x78f\x73\x64\x75"]="x\x33\x36";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x66\x6bs\x63i\x73\x6d\x64"]="\x78\x33\x34";${"\x47\x4c\x4f\x42\x41L\x53"}["\x66uh\x6bmh\x66\x6e\x75\x6f"]="\x6ao\x62de\x73\x63\x31";${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x77\x63sb\x78\x75tl\x6f"]="\x73peci\x61\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["e\x63\x64\x72\x78\x68\x6ehj"]="\x6a\x6fb\x64e\x73\x63";${"\x47LOB\x41\x4c\x53"}["\x6c\x78\x72\x72\x70\x74s"]="\x74\x61rge\x74\x5f\x70a\x74\x68";${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x71l\x6du\x7a\x67a"]="x\x33\x31";${"GL\x4fBA\x4c\x53"}["x\x73\x75o\x6cv\x67\x76"]="\x782\x63";${"\x47L\x4fB\x41\x4cS"}["\x75\x6d\x6fe\x6clsc"]="\x78\x32f";${"G\x4c\x4f\x42\x41L\x53"}["\x6aaa\x79\x66v\x6e"]="\x78\x32\x65";${"G\x4cO\x42ALS"}["\x62\x78\x78\x65i\x79\x68fc\x74\x73"]="x\x32d";${"\x47L\x4f\x42\x41L\x53"}["\x6e\x73\x69\x70\x70m\x75v"]="x\x327";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73wkhk\x6bbej"]="\x78\x32b";${"GL\x4f\x42A\x4c\x53"}["vo\x68l\x78\x76iq"]="\x78\x32a";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70y\x76\x6b\x79\x6a\x78\x67"]="\x78\x324";${"\x47\x4c\x4fBA\x4c\x53"}["\x74c\x6f\x66m\x69\x7a\x6e\x79"]="x23";${"\x47\x4c\x4fB\x41LS"}["\x6ap\x74\x74\x79\x75\x6b\x70"]="x\x32\x32";${"G\x4c\x4f\x42AL\x53"}["\x66\x73fe\x6f\x69r\x61i\x79"]="\x78\x31\x65";${"G\x4cO\x42A\x4cS"}["\x79\x63\x67\x78\x6dtij\x6eq\x65"]="\x78\x32\x30";${"G\x4c\x4f\x42\x41LS"}["\x6f\x64s\x74fl\x73\x63\x63\x67rh"]="\x78\x31\x66";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x73m\x6ddp\x69\x69"]="x\x31\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x61\x79\x6cb\x70\x72\x69\x6a"]="\x78\x31b";${"G\x4c\x4f\x42AL\x53"}["\x64m\x63\x71\x70\x74\x78"]="x1\x38";${"\x47LO\x42\x41\x4c\x53"}["\x69\x73\x63c\x66\x68"]="\x78\x319";class clsPolicy extends clsBase{public$x0b;public$x0c;public$x0d;public$x0e;public$x0f;public$x10;public$x11;public$x12;public$x13;public$x14;public$x15;public$x16;function __construct(){$ujmmnuy="\x781a";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$ijobnipc="\x78\x319";parent::__construct();$punwpawtihx="\x78\x31a";${"\x47\x4c\x4fB\x41L\x53"}["\x78\x74t\x62\x6a\x63xwu\x74"]="x\x31\x62";$this->smarty=$GLOBALS["\x73m\x61rt\x79"];$this->deptjob=new clsJobTitleMaster();$this->deptpay=new clsPayGradeMaster();$this->shift=new clsShiftMaster();$this->pages=new Paginator;$this->smarty->assign("THE\x4dE",theme);$this->smarty->assign("\x52EP\x45\x41\x54",REPEAT);$this->smarty->assign("\x42AS\x45","\x4frga\x6eiz\x61\x74i\x6f\x6e\x20\x53ett\x69n\x67");${"\x47L\x4fB\x41LS"}["\x72\x68z\x69\x73\x68\x63"]="\x78\x31\x38";$this->smarty->assign("\x42A\x53\x45\x31","Or\x67a\x6eiza\x74io\x6e \x50\x72\x6ff\x69\x6c\x65");$this->smarty->assign("SE\x50",SEPERATOR);${${"\x47\x4cOB\x41\x4c\x53"}["\x72\x68\x7ai\x73h\x63"]}=$_SERVER["\x53CR\x49P\x54\x5fNAM\x45"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x73\x63\x63\x66\x68"]}=explode("/",${${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x6d\x63\x71pt\x78"]});${$punwpawtihx}=${$ijobnipc}[count(${${"\x47\x4cOBAL\x53"}["i\x73\x63\x63f\x68"]})-1];if(${$ujmmnuy}=="index\x2eph\x70"){$this->smarty->assign("CON_\x57\x49\x44T\x48","7\x340p\x78");}else{$this->smarty->assign("\x43ON_WID\x54H","\x36\x300p\x78");$this->smarty->assign("\x50\x4f\x50","\x70\x6fpup");}$this->smarty->assign("ADD\x50",${${"GLOB\x41\x4cS"}["\x78t\x74b\x6a\x63\x78w\x75\x74"]}["addP\x72e\x76\x69l\x65\x67\x65"]);$this->smarty->assign("\x45D\x49TP",${${"\x47LOB\x41L\x53"}["\x61\x79\x6c\x62p\x72\x69\x6a"]}["e\x64\x69\x74\x50\x72e\x76\x69\x6c\x65\x67e"]);$this->smarty->assign("\x44\x45\x4c\x45T\x45\x50",${${"\x47\x4cO\x42\x41\x4c\x53"}["a\x79\x6c\x62\x70r\x69\x6a"]}["\x64\x65\x6c\x50r\x65\x76i\x6cege"]);$this->smarty->assign("VI\x45W\x50",${${"G\x4cO\x42\x41\x4cS"}["\x61\x79\x6c\x62\x70\x72ij"]}["v\x69ew\x50r\x65vil\x65ge"]);}function fncjobList(){$gbncbo="x1c";${"\x47L\x4f\x42\x41\x4c\x53"}["n\x72\x72\x64\x68\x69\x64\x76k\x6eu"]="\x781\x65";${"G\x4cO\x42\x41\x4cS"}["\x69\x71b\x6c\x72\x63eiz\x76\x7a"]="\x781\x63";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$gbncbo}=trim($_POST["\x74x\x74Ac\x74\x69\x6fn\x41\x72ran\x67\x65"]);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x73\x6d\x6d\x64p\x69i"]}=trim($_POST["\x74\x78\x74Ac\x74i\x6f\x6e\x44\x65\x70\x41\x72\x72a\x6e\x67\x65"]);$this->connect();${"\x47\x4cO\x42\x41\x4c\x53"}["m\x67\x73\x6fal\x67\x74\x79\x77"]="x\x320";${${"\x47\x4c\x4fB\x41\x4cS"}["n\x72\x72\x64hid\x76\x6b\x6e\x75"]}=$this->db->Execute("\x63a\x6cl \x73\x65lec\x74\x6a\x6fb('','','\x27,\x27',\x27')");$this->pages->items_total=$x1e->RecordCount();${"\x47\x4cOB\x41\x4c\x53"}["t\x6dfi\x63m"]="x\x31\x63";$this->pages->paginate();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x64s\x74\x66\x6c\x73\x63c\x67rh"]}=$this->pages->limit;$this->connect();if(${${"\x47\x4cOB\x41\x4c\x53"}["iqb\x6c\x72\x63\x65\x69\x7a\x76\x7a"]}=="\x53\x4f\x52T"){$ymhkekz="\x78\x32\x30";${$ymhkekz}=$this->db->Execute("\x63\x61ll\x20se\x6c\x65ct\x6ao\x62('\x27,\x27\x27,'j\x6f\x62\x54itle\x27,'\x64\x65\x73c\x27,\x27$x1f')");}else if(${${"\x47\x4cOB\x41\x4c\x53"}["\x74mf\x69\x63m"]}=="\x44E\x53O\x52T"){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x63gx\x6d\x74i\x6an\x71e"]}=$this->db->Execute("ca\x6c\x6c\x20\x73\x65l\x65ctjob('','\x27,\x27\x6aob\x54\x69\x74le\x27,'as\x63\x27,'$x1f\x27)");}else if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x73\x6dm\x64\x70ii"]}=="SO\x52T"){$qlwthxjo="\x78\x320";${$qlwthxjo}=$this->db->Execute("call\x20se\x6c\x65\x63\x74job(\x27','\x27,'de\x70\x61rt\x6d\x65n\x74Na\x6de','\x61\x73c',\x27$x1f')");}else if(${${"\x47LOB\x41\x4c\x53"}["ls\x6dm\x64\x70\x69\x69"]}=="DES\x4f\x52T"){${"\x47\x4c\x4f\x42\x41L\x53"}["p\x6b\x65i\x6b\x66"]="\x78\x32\x30";${${"G\x4cO\x42\x41L\x53"}["\x70\x6b\x65\x69\x6b\x66"]}=$this->db->Execute("\x63\x61l\x6c \x73\x65\x6cec\x74\x6ao\x62(\x27\x27,'\x27,\x27\x64epa\x72t\x6den\x74\x4e\x61m\x65','\x64\x65\x73c\x27,\x27$x1f')");}else{${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x63gx\x6d\x74\x69\x6an\x71e"]}=$this->db->Execute("ca\x6c\x6c\x20s\x65l\x65\x63\x74j\x6fb('\x27,\x27','j\x6f\x62\x49\x64\x27,\x27as\x63','$x1f\x27)");}if(${${"\x47\x4cOB\x41\x4cS"}["m\x67\x73\x6f\x61\x6cg\x74\x79w"]})$this->smarty->assign("\x44\x45P\x54JOB",$x20->GetRows());$this->smarty->assign("\x50\x41\x47E\x53",$this->pages->display_pages());$this->smarty->assign("P\x45\x52PAGE",$this->pages->display_items_per_page());$this->smarty->display("or\x67\x61n\x69z\x61t\x69o\x6e/j\x6fbt\x69t\x6cech\x61\x6e\x67e\x6ci\x73\x74.\x74\x70l");}function fncJobtitleAdd(){${"G\x4cO\x42A\x4c\x53"}["t\x61\x76\x77\x63s\x6cs\x68\x6ban"]="x21";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GLO\x42\x41\x4cS"}["\x74\x61vw\x63\x73l\x73\x68k\x61\x6e"]}=$_POST["t\x78\x74A\x63\x74i\x6f\x6e\x49\x64"];$this->connect();${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66s\x66\x65o\x69\x72\x61\x69\x79"]}=$this->db->Execute("\x63\x61\x6cl\x20\x73e\x6c\x65\x63t\x64ep\x61rtment('\x27,\x27',\x27\x27,'','\x27)");if(${${"\x47L\x4fB\x41LS"}["\x66s\x66\x65\x6fi\x72\x61iy"]})$this->smarty->assign("C\x4dBD\x45P\x54",$x1e->GetRows());$this->connect();$idgemieccsx="\x782\x32";${${"G\x4cO\x42\x41L\x53"}["\x6ap\x74\x74\x79\x75\x6b\x70"]}=$this->db->Execute("\x63al\x6c\x20s\x65l\x65\x63t\x70ay(\x27\x27,'',\x27\x27,'',\x27')");if(${$idgemieccsx})$this->smarty->assign("CMBP\x41Y",$x22->GetRows());${"\x47\x4cO\x42A\x4c\x53"}["\x62\x66m\x79\x77\x64\x63\x6d"]="x\x321";if(!empty(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62fm\x79w\x64\x63\x6d"]})){$this->smarty->assign("BU\x54TO\x4e","\x75pd\x61\x74e");$this->connect();${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x63\x6f\x66\x6d\x69\x7a\x6ey"]}=$this->db->Execute("c\x61\x6cl\x20\x73\x65\x6c\x65\x63\x74j\x6fb(\x27','\x6ao\x62Id =\x20$x21\x27,'\x27,'\x27,\x27\x27)");${${"GLO\x42ALS"}["\x70\x79v\x6by\x6a\x78g"]}=$x23->FetchRow();$ymlxdkvi="x\x32\x34";$this->smarty->assign("\x44EP\x54JOB\x53",${$ymlxdkvi});}$this->smarty->display("\x6f\x72ga\x6eiza\x74i\x6fn/j\x6fb\x74it\x6c\x65\x2et\x70\x6c");}function fncInsertJobtitle(){${"\x47\x4cO\x42A\x4c\x53"}["\x6bis\x61\x6e\x68\x6e"]="\x78\x31\x65";${"G\x4c\x4fBA\x4c\x53"}["\x65c\x67\x6em\x63\x6co"]="\x782\x63";$gblgjvxh="\x78\x32\x38";$srwjfbaes="x2\x62";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$dirjqclr="\x78\x32\x36";${$dirjqclr}=trim($_POST["t\x78t\x4a\x6f\x62Tit\x6c\x65"]);${${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x69s\x61\x6ehn"]}=trim($_POST["\x64e\x70a\x72\x74men\x74"]);${"G\x4cO\x42\x41\x4c\x53"}["\x6a\x6b\x74\x7af\x77\x73u\x62b"]="x\x327";${$gblgjvxh}=trim($_POST["paygra\x64\x65"]);${"GLOBA\x4c\x53"}["\x6d\x6e\x68\x73\x7a\x67\x73\x73\x74\x6f"]="\x782c";${${"\x47L\x4f\x42\x41\x4cS"}["j\x6b\x74z\x66w\x73\x75\x62\x62"]}=$_FILES["f\x69\x6c\x65\x70\x64\x66"]["\x6e\x61me"];${${"\x47\x4c\x4fBA\x4c\x53"}["\x76oh\x6cxvi\x71"]}=array("/","\x21","&","*"," ","-");$cuvhyus="x\x32c";${${"\x47\x4cO\x42\x41L\x53"}["s\x77k\x68\x6b\x6b\x62\x65\x6a"]}=str_replace(" ","\x20",str_replace(${${"GL\x4f\x42\x41\x4c\x53"}["v\x6f\x68lxv\x69\x71"]},"",${${"G\x4cO\x42\x41\x4cS"}["\x6es\x69p\x70m\x75v"]}));${$cuvhyus}="\x69nc\x6c\x75de/\x50\x44F/";${${"\x47L\x4fB\x41\x4cS"}["\x65\x63g\x6e\x6d\x63l\x6f"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x6eh\x73\x7a\x67s\x73t\x6f"]}.basename(${$srwjfbaes});$this->connect();${${"G\x4c\x4f\x42\x41\x4c\x53"}["bxxei\x79h\x66\x63\x74\x73"]}=$this->db->Execute("c\x61\x6cl \x61dd\x6a\x6fbt\x69tle('$x26\x27,\x27$x2b\x27,$x1e,$x28,\x40\x73\x73)");${${"\x47L\x4fB\x41LS"}["\x6a\x61ayfv\x6e"]}=$this->db->Execute("\x73e\x6ce\x63t \x40\x73s");${${"GLOBA\x4c\x53"}["\x75m\x6f\x65\x6cls\x63"]}=$x2e->FetchRow();if(move_uploaded_file($_FILES["f\x69\x6c\x65pdf"]["t\x6d\x70_\x6eam\x65"],${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x73uol\x76\x67v"]})){$wsqyeutgou="\x78\x32\x37";${$wsqyeutgou}=$_FILES["f\x69le\x70d\x66"]["n\x61\x6d\x65"];}if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x6d\x6f\x65\x6cls\x63"]}[0]==0){$this->connect();${"\x47L\x4fB\x41\x4c\x53"}["\x75e\x78\x69h\x6a\x6d\x72"]="x\x32\x32";${${"\x47L\x4f\x42\x41\x4cS"}["\x66\x73\x66e\x6f\x69r\x61\x69y"]}=$this->db->Execute("\x63\x61\x6c\x6c \x73ele\x63\x74\x64ep\x61\x72\x74me\x6e\x74(\x27','\x27,\x27\x27,\x27','\x27)");if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x73\x66\x65\x6f\x69\x72a\x69y"]})$this->smarty->assign("C\x4dB\x44E\x50\x54",$x1e->GetRows());$this->connect();${${"G\x4c\x4f\x42\x41\x4c\x53"}["uexih\x6a\x6d\x72"]}=$this->db->Execute("\x63a\x6c\x6c\x20\x73\x65\x6ce\x63t\x70ay(\x27',\x27\x27,\x27','\x27,'')");if(${${"GL\x4fB\x41\x4c\x53"}["\x6a\x70tty\x75\x6b\x70"]})$this->smarty->assign("C\x4dB\x50A\x59",$x22->GetRows());$this->smarty->assign("ER\x52OR","Th\x65 \x4a\x6fb\x20\x54\x69\x74l\x65 \x79ou \x65\x6e\x74\x65r\x65d\x20\x61l\x72ea\x64\x79 \x65\x78\x69st,p\x6c\x65\x61\x73\x65\x20ente\x72 a\x6eo\x74\x68er\x20n\x61\x6de");$this->smarty->assign("\x56A\x4cUE\x4aO\x42T\x49\x54\x4c\x45",$_POST);$this->smarty->assign("\x42U\x54\x54O\x4e","\x73av\x65");$this->smarty->display("org\x61\x6e\x69zati\x6f\x6e/\x6aob\x74\x69\x74l\x65\x2e\x74p\x6c");}else{header("\x4c\x6fc\x61tio\x6e:\x69n\x64\x65x.\x70h\x70?modu\x6ce=o\x72\x67\x61n\x69\x7a\x61tio\x6e&ac\x74\x69on=or\x67\x73\x65tti\x6eg\x26\x69\x6e=jo\x62");}}function fncEditJobtitle(){${"\x47L\x4fBALS"}["t\x76\x65\x6d\x67lk\x62\x62p"]="\x782b";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"\x47\x4c\x4f\x42ALS"}["ks\x69vong\x75\x66\x79\x77"]="\x78\x32\x36";${"G\x4c\x4f\x42A\x4c\x53"}["\x66qp\x72s\x75"]="\x7833";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x73iv\x6f\x6e\x67u\x66yw"]}=trim($_POST["tx\x74J\x6fbTitl\x65"]);${"G\x4c\x4fB\x41L\x53"}["\x77\x73\x69\x7a\x65y"]="\x78\x330";$xvirbrnkbk="\x78\x32\x31";$dxnksxwmvhe="\x78\x33\x31";$wuhyynjr="x\x32\x63";$ormfjpdl="x2\x39";${"GL\x4f\x42\x41L\x53"}["i\x74\x7a\x65\x75\x76\x6d"]="x\x32b";${"GLOB\x41L\x53"}["\x75\x62\x66\x78\x79\x6a\x73\x6co"]="\x78\x32\x66";${${"GL\x4f\x42\x41\x4c\x53"}["\x66\x73\x66\x65o\x69r\x61i\x79"]}=trim($_POST["d\x65p\x61rt\x6de\x6et"]);${${"G\x4cO\x42\x41L\x53"}["w\x73\x69z\x65\x79"]}=trim($_POST["\x70aygr\x61\x64e"]);${${"\x47\x4cOB\x41\x4c\x53"}["i\x71\x6c\x6du\x7a\x67\x61"]}=$_FILES["f\x69l\x65\x70\x64\x66"]["n\x61\x6d\x65"];$nwftadbbds="x\x32c";$stfdupjwwij="x\x64\x37";${${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x6f\x68\x6cx\x76\x69q"]}=array("/","!","\x26","*","\x20","-");$gdwjkubmit="\x783\x32";${${"\x47\x4cO\x42A\x4cS"}["t\x76\x65m\x67lk\x62\x62p"]}=str_replace("\x20"," ",str_replace(${${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x6f\x68l\x78\x76\x69\x71"]},"",${$dxnksxwmvhe}));${${"\x47L\x4f\x42\x41\x4c\x53"}["x\x73\x75o\x6c\x76\x67\x76"]}="in\x63\x6cu\x64e/\x50D\x46/";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79\x72w\x66\x7a\x65\x69\x72"]="x2f";${$wuhyynjr}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x73uol\x76\x67\x76"]}.basename(${${"G\x4cO\x42\x41L\x53"}["i\x74\x7aeu\x76\x6d"]});${$gdwjkubmit}=${$nwftadbbds}.basename(${$ormfjpdl}["\x50h\x6ft\x6f\x6e\x61\x6de"]["n\x61\x6d\x65"]);if($_FILES["fil\x65p\x64f"]["n\x61me"]!=""){if(move_uploaded_file($_FILES["file\x70df"]["\x74\x6d\x70\x5fn\x61me"],${${"\x47LOB\x41\x4c\x53"}["lxr\x72p\x74\x73"]})){${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x63\x64\x72\x78\x68\x6ehj"]}=str_replace(" "," ",str_replace(${${"\x47\x4cOBA\x4c\x53"}["m\x77\x63\x73\x62x\x75t\x6co"]},"",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x75\x68\x6bmhf\x6eu\x6f"]}));}}else{if($_POST[Photoname]!=""){${"\x47\x4c\x4f\x42A\x4cS"}["w\x71\x6fo\x69qg\x79\x78"]="x\x32\x37";${${"G\x4cO\x42\x41L\x53"}["wqoo\x69\x71gy\x78"]}=$_POST[Photoname];}}${$xvirbrnkbk}=trim($_POST["t\x78\x74\x41\x63\x74ion\x49\x64"]);$this->connect();${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x71\x70\x72s\x75"]}=$this->db->Execute("\x63all u\x70\x64atej\x6fb\x74\x69t\x6ce($x21,'$x26\x27,\x27$x27\x27,$x1e,$x30,@u\x70)");${${"\x47\x4c\x4f\x42AL\x53"}["jaa\x79\x66\x76\x6e"]}=$this->db->Execute("s\x65\x6c\x65ct\x20\x40up");${${"\x47\x4c\x4f\x42ALS"}["\x75\x62fxyjsl\x6f"]}=$x2e->FetchRow();${$stfdupjwwij}(${${"\x47L\x4f\x42AL\x53"}["\x75mo\x65\x6cl\x73\x63"]});${"GLO\x42AL\x53"}["\x6b\x66y\x6d\x65p\x75zl"]="x\x32\x63";if(move_uploaded_file($_FILES["\x66\x69lep\x64\x66"]["\x74m\x70\x5fnam\x65"],${${"GL\x4f\x42\x41L\x53"}["k\x66ym\x65\x70u\x7al"]})){${${"GL\x4f\x42\x41\x4cS"}["n\x73\x69\x70\x70mu\x76"]}=$_FILES["file\x70\x64\x66"]["\x6ea\x6de"];}if(${${"\x47LO\x42\x41L\x53"}["y\x72w\x66\x7a\x65\x69\x72"]}[0]==0){${"GL\x4fB\x41L\x53"}["\x74\x6e\x6d\x70g\x74t"]="\x7822";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6fg\x74\x67\x74\x6clvf\x63"]="\x78\x31\x65";$agkayjjld="x\x31e";$this->connect();${$agkayjjld}=$this->db->Execute("\x63a\x6cl\x20\x73\x65l\x65c\x74\x64\x65\x70a\x72\x74me\x6et('\x27,\x27',\x27','\x27,\x27')");if(${${"G\x4c\x4fB\x41L\x53"}["\x6fgt\x67tl\x6c\x76\x66\x63"]})$this->smarty->assign("\x43MBDEPT",$x1e->GetRows());$this->connect();${${"\x47\x4c\x4f\x42ALS"}["\x74\x6e\x6dp\x67\x74\x74"]}=$this->db->Execute("\x63a\x6c\x6c\x20sel\x65\x63tp\x61\x79(\x27\x27,\x27',\x27','',\x27')");if(${${"G\x4c\x4f\x42AL\x53"}["\x6a\x70\x74\x74yukp"]})$this->smarty->assign("\x43MBP\x41Y",$x22->GetRows());$this->smarty->assign("E\x52ROR","\x54he J\x6fb\x20T\x69tle \x79o\x75\x20\x65\x6et\x65red\x20a\x6c\x72ea\x64y\x20\x65xist,\x70lea\x73e\x20\x65\x6e\x74er ano\x74h\x65r n\x61me");$this->smarty->assign("\x56\x41L\x55\x45\x4a\x4f\x42TIT\x4cE",$_POST);$this->smarty->assign("\x42U\x54TON","up\x64at\x65");$this->smarty->display("\x6f\x72gan\x69z\x61t\x69\x6fn/\x6a\x6f\x62ti\x74le.\x74p\x6c");}else{header("\x4c\x6fc\x61ti\x6f\x6e:\x69n\x64\x65x.\x70h\x70?m\x6fd\x75l\x65=\x6frg\x61niz\x61\x74i\x6f\x6e&a\x63t\x69\x6fn=\x6frg\x73\x65\x74ting&i\x6e=\x6a\x6f\x62");}}function fncDelJobtitle(){${"G\x4cO\x42\x41\x4c\x53"}["\x66\x6c\x69l\x6dezwqd"]="x35";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47L\x4f\x42AL\x53"}["\x75\x66\x6b\x73\x63\x69sm\x64"]}=$_POST["\x64e\x70\x74job\x69\x64"];${${"\x47L\x4f\x42A\x4c\x53"}["\x66\x6c\x69\x6cme\x7a\x77\x71\x64"]}=count(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x66\x6b\x73\x63ism\x64"]});for(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x66\x6a\x77\x78\x66s\x64\x75"]}=0;${${"\x47L\x4fB\x41\x4c\x53"}["\x6b\x66\x6a\x77\x78f\x73\x64u"]}<${${"\x47L\x4f\x42A\x4cS"}["\x69f\x64\x65\x72t\x63\x62q"]};${${"\x47L\x4fB\x41LS"}["\x6bf\x6aw\x78\x66s\x64\x75"]}++){$ohzeisq="\x782\x36";${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x67\x68\x72c\x69u"]="\x783\x36";$hncvdimpyn="\x78\x33\x34";${$ohzeisq}=${$hncvdimpyn}[${${"\x47L\x4fB\x41LS"}["\x74\x67\x68r\x63iu"]}];$this->connect();${${"\x47LOB\x41LS"}["a\x70\x72\x6e\x6fm\x6d"]}=$this->db->Execute("\x63al\x6c\x20d\x65l\x65t\x65\x6ao\x62\x74it\x6c\x65($x26)");header("Lo\x63at\x69\x6fn:ind\x65x\x2ep\x68p?\x6d\x6f\x64ul\x65\x3d\x6fr\x67\x61\x6e\x69z\x61\x74i\x6fn\x26a\x63\x74i\x6f\x6e=\x6f\x72gs\x65tt\x69ng\x26\x69n=\x6a\x6f\x62");}}function fncDelSingleJobtitle(){${"GLO\x42\x41\x4c\x53"}["m\x76l\x71\x62\x7a\x62\x70\x74"]="\x78\x33\x38";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;echo${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dv\x6cqb\x7abp\x74"]}=trim($_POST["t\x78t\x41\x63\x74\x69\x6f\x6eI\x64"]);$this->connect();${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61p\x72\x6e\x6f\x6d\x6d"]}=$this->db->Execute("ca\x6c\x6c\x20d\x65\x6c\x65\x74ej\x6fbt\x69\x74l\x65($x38)");header("\x4co\x63\x61ti\x6fn:i\x6edex\x2e\x70h\x70?m\x6fd\x75le=or\x67\x61\x6e\x69\x7aati\x6f\x6e&\x61c\x74\x69\x6fn\x3do\x72g\x73\x65\x74\x74i\x6e\x67\x26in=j\x6f\x62");}function fncPayList(){$yjnnmxbiukgr="x\x31\x63";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x78\x6f\x77\x6e\x71\x74\x71"]="\x783\x39";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$yjnnmxbiukgr}=trim($_POST["\x74\x78\x74\x41ct\x69\x6fn\x41\x72ra\x6eg\x65"]);$this->connect();${"G\x4cOB\x41\x4c\x53"}["\x68\x6ds\x72\x6fn\x63"]="x1\x63";${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x78\x6f\x77\x6eq\x74\x71"]}=$this->db->Execute("\x63\x61l\x6c \x73\x65\x6c\x65\x63\x74\x70\x61y('\x27,\x27\x27,'',\x27',\x27')");$this->pages->items_total=$x39->RecordCount();$this->pages->paginate();${${"G\x4cO\x42\x41\x4c\x53"}["\x6fds\x74\x66\x6c\x73\x63\x63\x67\x72\x68"]}=$this->pages->limit;${"\x47\x4c\x4fB\x41\x4cS"}["\x66e\x6d\x6f\x64y\x71\x73\x6f\x64\x79\x67"]="\x782\x30";$this->connect();if(${${"GL\x4f\x42A\x4cS"}["\x68\x6ds\x72on\x63"]}=="\x53ORT"){${${"\x47LOB\x41L\x53"}["\x79cg\x78\x6d\x74\x69j\x6e\x71\x65"]}=$this->db->Execute("call sel\x65\x63tpay('','',\x27\x70a\x79\x47r\x61\x64\x65\x27,'\x41\x53C','$x1f\x27)");}else if(${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x62\x64\x6e\x75x\x6b\x69\x67"]}=="\x44\x45\x53\x4fR\x54"){${${"\x47\x4cO\x42\x41\x4cS"}["\x79c\x67\x78\x6d\x74i\x6a\x6e\x71\x65"]}=$this->db->Execute("c\x61ll \x73\x65\x6c\x65c\x74pay(\x27\x27,'',\x27\x70\x61\x79\x47\x72\x61\x64\x65\x27,'\x44E\x53C\x27,\x27$x1f')");}else{$zefbkpxpgjqq="\x78\x32\x30";${$zefbkpxpgjqq}=$this->db->Execute("c\x61\x6cl\x20\x73e\x6c\x65ctpa\x79('\x27,\x27',\x27p\x61yGrad\x65\x49\x64\x27,\x27AS\x43','$x1f\x27)");}if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x66e\x6do\x64\x79q\x73\x6f\x64y\x67"]})$this->smarty->assign("\x44\x45P\x54P\x41Y",$x20->GetRows());$this->smarty->assign("PAG\x45\x53",$this->pages->display_pages());$this->smarty->assign("PE\x52\x50\x41GE",$this->pages->display_items_per_page());$this->smarty->display("o\x72g\x61n\x69\x7aat\x69\x6f\x6e/\x70aygr\x61de\x6ci\x73\x74.tpl");}function fncpayAdd(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x6d\x66s\x74\x62i"]="\x78\x32\x31";${${"GL\x4f\x42\x41L\x53"}["\x66\x65mqs\x61\x72\x69s\x6f"]}=$_POST["\x74xtA\x63\x74\x69onI\x64"];if(!empty(${${"G\x4c\x4f\x42\x41L\x53"}["p\x6d\x66s\x74\x62\x69"]})){${"G\x4cO\x42\x41LS"}["\x6e\x69i\x64\x6e\x6fen\x6ff\x62y"]="x\x33d";$this->smarty->assign("B\x55\x54TO\x4e","\x75pd\x61t\x65");$this->connect();$bswggipobi="\x78\x33\x64";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x75fzg\x63\x69\x74\x75"]}=$this->db->Execute("\x63\x61\x6cl\x20selec\x74pay('',\x27pa\x79\x47r\x61\x64e\x49d = $x21\x27,\x27\x27,'','\x27)");${${"G\x4cO\x42A\x4cS"}["n\x69\x69\x64\x6e\x6fe\x6eof\x62y"]}=$x3c->FetchRow();$this->smarty->assign("\x44\x45\x50T\x50A\x59G",${$bswggipobi});}$this->smarty->display("\x6f\x72\x67\x61nizati\x6f\x6e/pa\x79g\x72ad\x65\x2etp\x6c");}function fncInsertPay(){$qablvexdnkl="\x78\x32f";$fjoigwx="\x782\x32";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$mugebpdrrg="x\x33e";${$fjoigwx}=trim($_POST["tx\x74_\x70\x61y\x6e\x61\x6de"]);${$mugebpdrrg}=trim($_POST["\x74\x78\x74_min\x69\x6dumS\x61la\x72\x79"]);$vqcqpjrtxxrs="x\x34\x30";${${"\x47\x4cO\x42\x41\x4cS"}["\x74oy\x67\x77\x62\x73"]}=trim($_POST["t\x78\x74_m\x61xim\x75\x6d\x53\x61lar\x79"]);${$vqcqpjrtxxrs}=trim($_POST["\x74x\x74\x5fst\x65\x70\x49\x6e\x63re\x61se"]);$kwogxi="\x782\x64";$this->connect();${$kwogxi}=$this->db->Execute("\x63\x61ll\x20a\x64\x64pa\x79('$x22',$x3e,$x3f,$x40,@a\x70)");${${"G\x4cOB\x41\x4c\x53"}["\x6aaayfvn"]}=$this->db->Execute("\x73el\x65\x63t\x20@a\x70");${$qablvexdnkl}=$x2e->FetchRow();if(${${"\x47\x4cOB\x41L\x53"}["\x75\x6d\x6f\x65\x6c\x6csc"]}[0]==0){$this->smarty->assign("E\x52ROR","\x54\x68\x65 Paygr\x61\x64\x65 Nam\x65\x20yo\x75\x20\x65nte\x72ed \x61\x6cr\x65ad\x79 \x65x\x69st,ple\x61\x73\x65\x20e\x6et\x65\x72 \x61not\x68\x65r\x20name");$this->smarty->assign("\x56A\x4cU\x45P\x41\x59\x47RADE",$_POST);$this->smarty->assign("B\x55\x54\x54\x4fN","sa\x76\x65");$this->smarty->display("org\x61\x6eiz\x61\x74\x69on/p\x61ygr\x61\x64\x65.t\x70l");}else{header("Loc\x61\x74\x69\x6fn:\x69\x6e\x64ex\x2ephp?\x6d\x6fd\x75\x6ce\x3d\x6fr\x67a\x6ei\x7a\x61\x74i\x6f\x6e&\x61\x63\x74i\x6f\x6e=o\x72g\x73\x65tting&\x69n\x3d\x70a\x79");}}function fncEditpay(){$dwimkzvs="x\x34\x30";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x77coo\x73\x61\x76\x6do\x6e"]="x\x33\x66";$qkjmcrbscg="\x782\x32";${$qkjmcrbscg}=trim($_POST["txt_pa\x79name"]);$khsrphdu="\x78\x34\x31";${${"\x47\x4cO\x42ALS"}["\x69\x75xtix\x65\x76o"]}=trim($_POST["t\x78t_mi\x6ei\x6du\x6d\x53al\x61ry"]);${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ew\x63\x6fos\x61\x76mo\x6e"]}=trim($_POST["t\x78\x74_\x6daxi\x6d\x75m\x53al\x61\x72\x79"]);${$dwimkzvs}=trim($_POST["\x74\x78\x74\x5fst\x65p\x49n\x63\x72\x65\x61\x73\x65"]);${${"\x47\x4cO\x42\x41\x4cS"}["\x66em\x71\x73a\x72\x69\x73\x6f"]}=trim($_POST["t\x78\x74Act\x69\x6f\x6eId"]);$this->connect();${"GL\x4fB\x41\x4c\x53"}["o\x6dwkn\x63s\x74\x75\x6a"]="x\x32\x66";$kjtdrqsibps="\x784\x32";${$khsrphdu}=$this->db->Execute("\x63\x61ll upd\x61te\x70\x61\x79($x21,\x27$x22',$x3e,$x3f,$x40,\x40u\x70\x70a\x79)");${$kjtdrqsibps}=$this->db->Execute("\x73e\x6cect \x40up\x70\x61y");${${"\x47\x4cOB\x41LS"}["u\x6d\x6fell\x73\x63"]}=$x42->FetchRow();if(${${"\x47LO\x42A\x4c\x53"}["\x6f\x6d\x77k\x6ec\x73t\x75j"]}[0]==0){$this->smarty->assign("ERROR","T\x68e \x50\x61\x79gra\x64e Na\x6de\x20y\x6fu\x20ent\x65\x72e\x64 a\x6crea\x64\x79\x20\x65xi\x73t,\x70\x6ce\x61se e\x6e\x74\x65r \x61\x6e\x6f\x74her \x6e\x61m\x65");$this->smarty->assign("\x56A\x4c\x55\x45PAYG\x52A\x44E",$_POST);$this->smarty->assign("\x42\x55\x54TO\x4e","up\x64\x61\x74e");$this->smarty->display("org\x61\x6ei\x7a\x61\x74\x69o\x6e/\x70aygr\x61\x64\x65.tpl");}else{header("\x4coca\x74i\x6fn:i\x6ed\x65\x78\x2e\x70h\x70?modu\x6ce\x3dorga\x6e\x69\x7aati\x6f\x6e\x26a\x63t\x69\x6f\x6e=o\x72\x67\x73\x65\x74t\x69n\x67&i\x6e\x3dpay");}}function fncDelPay(){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74wews\x6etn\x6c\x66p"]="x\x33\x35";$epdrgqw="\x78\x322";${"\x47\x4cO\x42\x41\x4cS"}["\x64\x6ajvy\x67"]="\x783\x36";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x6a\x63\x6c\x68\x74s"]="\x78\x32\x32";$rkdurlbcan="x36";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x6aclht\x73"]}=$_POST["\x63\x75r\x72enc\x79"];${${"G\x4cOB\x41L\x53"}["\x69\x66\x64er\x74\x63\x62\x71"]}=count(${$epdrgqw});for(${$rkdurlbcan}=0;${${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x66\x6a\x77\x78f\x73\x64u"]}<${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74we\x77\x73\x6etnl\x66p"]};${${"G\x4c\x4fB\x41\x4c\x53"}["d\x6ajv\x79g"]}++){${"G\x4c\x4fB\x41L\x53"}["j\x67gyp\x76\x67\x6d"]="\x78\x322";${"\x47\x4c\x4f\x42\x41LS"}["r\x66\x76\x76\x62\x64\x69z\x68x\x78"]="x\x33\x36";${"\x47LOBA\x4cS"}["j\x74\x76\x71\x6a\x64\x68t\x62e\x6d\x63"]="\x78\x343";${${"G\x4cO\x42A\x4c\x53"}["\x6at\x76q\x6a\x64\x68\x74b\x65\x6dc"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ag\x67yp\x76\x67\x6d"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x66v\x76\x62\x64i\x7ah\x78x"]}];$this->connect();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x70r\x6e\x6fmm"]}=$this->db->Execute("c\x61ll\x20\x64el\x65\x74e\x70\x61\x79($x43)");header("\x4coc\x61t\x69on:\x69nd\x65\x78.\x70h\x70?\x6d\x6fdule=\x6fr\x67a\x6e\x69z\x61ti\x6f\x6e\x26a\x63ti\x6fn=\x6fr\x67s\x65tting&in=p\x61y");}}function fncDeleteSinglePay(){$alplnrzmzao="\x78\x33\x37";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x75iqs\x63\x6e\x71\x65fi"]}=trim($_POST["\x74x\x74\x41ction\x49d"]);$this->connect();${$alplnrzmzao}=$this->db->Execute("ca\x6cl\x20deletep\x61y($x38)");header("Locat\x69on:\x69n\x64\x65x.\x70hp?m\x6f\x64\x75le=\x6fr\x67\x61niza\x74\x69\x6f\x6e&act\x69\x6f\x6e\x3do\x72g\x73ett\x69n\x67&\x69\x6e\x3dpa\x79");}function fncShiftDetails(){$tdgprnd="x\x34\x34";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$njuuyqriy="x1\x63";${$njuuyqriy}=trim($_POST["txtAc\x74\x69\x6fn\x41\x72\x72ang\x65"]);$this->connect();$letricz="\x78\x31c";${$tdgprnd}=$this->db->Execute("c\x61l\x6c\x20s\x65\x6c\x65c\x74shif\x74('','',\x27','','\x27)");$eihjjnqi="\x781c";$this->pages->items_total=$x44->RecordCount();$this->pages->paginate();${${"\x47\x4c\x4f\x42\x41\x4cS"}["ods\x74f\x6c\x73\x63cg\x72h"]}=$this->pages->limit;$this->connect();if(${$letricz}=="\x53O\x52\x54"){${${"\x47\x4c\x4fBA\x4cS"}["\x75ppq\x6b\x63\x77\x7as"]}=$this->db->Execute("\x63al\x6c\x20\x73e\x6c\x65c\x74shi\x66t(\x27\x27,\x27\x27,'s\x68i\x66t\x4ea\x6de\x27,\x27\x64e\x73\x63\x27,\x27$x1f')");}else if(${$eihjjnqi}=="DE\x53\x4f\x52T"){${${"G\x4c\x4f\x42\x41\x4cS"}["\x75p\x70\x71kc\x77\x7a\x73"]}=$this->db->Execute("call\x20\x73elec\x74\x73hift(\x27','\x27,'\x73hif\x74N\x61m\x65','a\x73c\x27,'$x1f\x27)");}else{${"\x47\x4c\x4fB\x41\x4c\x53"}["as\x6b\x73\x74\x66\x64\x6b\x71\x77\x74"]="\x7845";${${"\x47L\x4f\x42AL\x53"}["\x61\x73k\x73\x74\x66\x64\x6b\x71\x77t"]}=$this->db->Execute("c\x61ll sel\x65ctshi\x66t(\x27\x27,'',\x27shiftN\x6f\x27,'asc',\x27$x1f\x27)");}if(${${"\x47\x4cOB\x41\x4cS"}["u\x70\x70qkc\x77\x7as"]})$this->smarty->assign("\x53HI\x46T",$x45->GetRows());$this->smarty->assign("\x50\x41\x47\x45S",$this->pages->display_pages());$this->smarty->assign("\x50\x45R\x50AGE",$this->pages->display_items_per_page());$this->smarty->display("\x6f\x72g\x61\x6ei\x7aation/\x73h\x69\x66\x74\x6c\x69\x73t\x2etpl");}function fncShiftAdd(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"G\x4cO\x42\x41LS"}["\x66\x65\x6d\x71sa\x72i\x73\x6f"]}=$_POST["\x74\x78\x74\x41ct\x69\x6f\x6eId"];if(!empty(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x65\x6dq\x73a\x72\x69\x73o"]})){$this->smarty->assign("\x42UTT\x4fN","upd\x61\x74e");$qdjhxgwu="\x784\x36";${"\x47L\x4fB\x41\x4c\x53"}["p\x6e\x65e\x78\x6dst\x67"]="x4\x34";$this->connect();${${"\x47L\x4f\x42\x41\x4cS"}["p\x6ee\x65\x78ms\x74\x67"]}=$this->db->Execute("call\x20selec\x74\x73\x68\x69f\x74('',\x27\x73hif\x74\x4e\x6f \x3d $x21','',\x27',\x27\x27)");${${"GLO\x42A\x4c\x53"}["\x7a\x7avt\x66w\x79\x74\x6d\x77w"]}=$x44->FetchRow();$this->smarty->assign("S\x48\x49FTNAME",${$qdjhxgwu});}$this->smarty->assign("\x54IME",$this->arrTime);$this->smarty->display("\x6f\x72\x67\x61\x6eiz\x61t\x69\x6f\x6e/\x61\x64d\x73h\x69\x66\x74.\x74\x70l");}function fncInsertShift(){$qjhmecjbbih="\x78\x32\x65";$ksnwlsu="\x78\x34\x37";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$ksnwlsu}=trim($_POST["t\x78t\x5fs\x68\x69\x66tNa\x6d\x65"]);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x78\x68\x69vy\x75\x67"]}=$_POST["\x66\x72om\x54i\x6d\x65"];${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69d\x73\x67\x61vm\x67\x68"]}=$_POST["t\x6f\x54ime"];$mlppsuq="x2\x66";$this->connect();${${"\x47L\x4fB\x41\x4c\x53"}["s\x6f\x66ud\x74\x6f\x64\x63\x79\x6b"]}=$this->db->Execute("\x63\x61l\x6c A\x44\x44_Shi\x66\x74(\x27$x47\x27,'$x48','$x49\x27,@\x73\x73)");${$qjhmecjbbih}=$this->db->Execute("s\x65l\x65c\x74 @\x73s");${$mlppsuq}=$x2e->FetchRow();if(${${"\x47\x4c\x4f\x42AL\x53"}["\x75mo\x65\x6cl\x73\x63"]}[0]==0){$this->smarty->assign("E\x52ROR","\x54he \x53\x68\x69\x66\x74\x20N\x61me y\x6fu\x20\x65nt\x65\x72e\x64\x20al\x72\x65\x61d\x79\x20e\x78\x69\x73\x74,\x70l\x65a\x73\x65 ent\x65\x72\x20\x61\x6eo\x74he\x72\x20\x6eame");$this->smarty->assign("SH\x49\x46TP\x4fS\x54",$_POST);$this->smarty->assign("B\x55TT\x4f\x4e","\x73\x61v\x65");$this->smarty->assign("\x54I\x4d\x45",$this->arrTime);$this->smarty->display("organi\x7aat\x69\x6f\x6e/\x61\x64d\x73\x68\x69\x66t.tp\x6c");}else{header("\x4c\x6fc\x61\x74\x69on:i\x6e\x64\x65\x78.p\x68\x70?\x6do\x64\x75\x6c\x65=\x6f\x72gan\x69z\x61t\x69o\x6e\x26\x61c\x74\x69on=o\x72g\x73etting\x26\x69n\x3d\x73h\x69ft");}}function fncBackCancel(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;header("L\x6f\x63\x61\x74\x69\x6f\x6e:i\x6e\x64\x65x\x2eph\x70?m\x6f\x64\x75le=or\x67an\x69z\x61\x74i\x6f\x6e&ac\x74i\x6fn=\x6frgse\x74t\x69ng\x26\x69n=\x73hi\x66\x74");}function fncShiftUpdate(){${"GL\x4fBA\x4c\x53"}["\x64\x75\x72d\x62\x79\x66"]="\x78\x349";$wqgqsksn="\x78d7";$frsffici="\x784a";${"\x47\x4c\x4f\x42\x41LS"}["\x61\x76\x61\x75\x76\x61\x79\x68\x6fiv\x6d"]="x\x34\x37";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"G\x4c\x4f\x42A\x4cS"}["i\x63\x64\x78\x76kt"]="x\x32\x66";${${"\x47L\x4f\x42\x41LS"}["a\x76a\x75\x76ay\x68o\x69v\x6d"]}=trim($_POST["\x74x\x74_sh\x69f\x74\x4eam\x65"]);${${"\x47\x4cO\x42A\x4cS"}["\x6c\x78\x68i\x76\x79\x75\x67"]}=$_POST["fro\x6dTi\x6de"];${${"G\x4c\x4f\x42\x41\x4cS"}["d\x75rd\x62\x79\x66"]}=$_POST["to\x54i\x6de"];${${"\x47\x4c\x4f\x42A\x4cS"}["\x66\x65\x6d\x71\x73\x61\x72\x69\x73o"]}=trim($_POST["\x74xtA\x63t\x69o\x6eI\x64"]);${"\x47\x4cOB\x41\x4cS"}["\x73p\x76y\x66\x67\x6f\x6eop"]="\x78\x32\x66";$this->connect();${$frsffici}=$this->db->Execute("c\x61\x6c\x6c \x55\x70\x64a\x74e\x5fShift($x21,'$x47\x27,\x27$x48\x27,\x27$x49',\x40u\x70s)");${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x61a\x79f\x76n"]}=$this->db->Execute("select\x20@\x75\x70\x73");${${"\x47LO\x42\x41\x4c\x53"}["\x69cd\x78\x76\x6bt"]}=$x2e->FetchRow();${$wqgqsksn}(${${"\x47\x4cO\x42\x41L\x53"}["\x75\x6d\x6fe\x6c\x6cs\x63"]});if(${${"GL\x4f\x42\x41\x4cS"}["\x73\x70\x76yfgon\x6f\x70"]}[0]==0){$this->smarty->assign("\x45RROR","\x54\x68\x65 Shif\x74 Na\x6de\x20\x79ou \x65\x6e\x74er\x65d a\x6c\x72e\x61\x64\x79 \x65\x78\x69s\x74,\x70\x6c\x65\x61\x73e\x20e\x6et\x65r anot\x68\x65\x72 na\x6de");$this->smarty->assign("S\x48I\x46\x54\x50O\x53T",$_POST);$this->smarty->assign("\x42\x55TTO\x4e","\x75\x70date");$this->smarty->assign("\x54\x49M\x45",$this->arrTime);$this->smarty->display("\x6frgan\x69za\x74ion/a\x64d\x73h\x69f\x74\x2e\x74\x70l");}else{header("L\x6fca\x74io\x6e:i\x6e\x64ex.\x70hp?m\x6f\x64ule\x3dorgani\x7a\x61ti\x6f\x6e\x26\x61\x63tion=\x6frgs\x65t\x74i\x6eg&i\x6e\x3dshift");}}function fncDelShift(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47\x4cO\x42A\x4c\x53"}["zf\x73\x6cvgq"]}=$_POST["\x73hi\x66t\x69\x64"];$spkbvdw="\x783\x36";$oywyfhdb="x\x34\x62";$vmyjinuqp="x\x33\x35";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x66\x64\x65r\x74cbq"]}=count(${$oywyfhdb});for(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6b\x66jwx\x66\x73d\x75"]}=0;${$spkbvdw}<${$vmyjinuqp};${${"\x47\x4cOBAL\x53"}["\x6b\x66jw\x78fs\x64\x75"]}++){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66wqj\x6d\x62n\x6e\x6f\x65n"]="\x78\x34\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x66\x64q\x64\x74dz"]="\x78\x34\x63";${${"\x47\x4cOB\x41\x4c\x53"}["tf\x64q\x64t\x64\x7a"]}=${${"GL\x4fB\x41\x4cS"}["\x7af\x73lvgq"]}[${${"\x47L\x4f\x42A\x4cS"}["\x6b\x66\x6awx\x66\x73\x64\x75"]}];$this->connect();${${"\x47\x4cO\x42\x41L\x53"}["\x66\x77\x71j\x6d\x62\x6en\x6f\x65\x6e"]}=$this->db->Execute("\x63\x61\x6cl del\x65t\x65\x73hi\x66t($x4c)");header("Locati\x6f\x6e:\x69\x6ed\x65\x78\x2ep\x68p?mod\x75le=or\x67a\x6eiz\x61t\x69\x6fn&\x61\x63\x74ion\x3d\x6f\x72gsetti\x6e\x67&\x69\x6e\x3d\x73\x68\x69\x66\x74");}}function fncDelShiftSingle(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$fylbnvty="\x7837";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x75\x69q\x73cn\x71\x65\x66i"]}=trim($_POST["\x74x\x74\x41c\x74i\x6f\x6eI\x64"]);$this->connect();${$fylbnvty}=$this->db->Execute("\x63\x61\x6cl \x64e\x6cet\x65sh\x69f\x74($x38)");header("Locat\x69\x6f\x6e:\x69\x6edex\x2e\x70hp?\x6d\x6f\x64u\x6c\x65=orga\x6eizati\x6fn\x26\x61\x63\x74i\x6f\x6e\x3do\x72\x67se\x74\x74\x69\x6eg\x26i\x6e=s\x68\x69ft");}function fncRoleList(){$hurgmgk="x\x34\x65";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47\x4c\x4fB\x41L\x53"}["\x69\x62\x64\x6eux\x6b\x69g"]}=trim($_POST["\x74\x78t\x41\x63tio\x6e\x41\x72\x72\x61\x6e\x67\x65"]);$this->connect();${$hurgmgk}=$this->db->Execute("c\x61l\x6c \x73\x65lectro\x6c\x65\x73('','',\x27\x27,\x27\x27,'\x27)");${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x78\x67\x71\x75\x6f\x64\x6c\x79"]="\x78\x31c";$this->pages->items_total=$x4e->RecordCount();$this->pages->paginate();${${"GL\x4f\x42ALS"}["\x6f\x64st\x66\x6cscc\x67\x72\x68"]}=$this->pages->limit;$this->connect();$tntgtard="\x78\x31c";if(${${"\x47\x4cO\x42\x41LS"}["\x74x\x67q\x75\x6f\x64\x6cy"]}=="\x53O\x52\x54"){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x70\x70\x71k\x63\x77\x7a\x73"]}=$this->db->Execute("call \x73el\x65c\x74\x72oles(\x27',\x27','r\x6fl\x65\x27,'d\x65s\x63','$x1f\x27)");}else if(${$tntgtard}=="DE\x53\x4f\x52\x54"){$ftaqvjrkhz="\x78\x345";${$ftaqvjrkhz}=$this->db->Execute("cal\x6c \x73el\x65ctr\x6f\x6c\x65\x73(\x27',\x27',\x27r\x6fl\x65','as\x63\x27,\x27$x1f')");}else{$xzjwxuurbqn="x4\x35";${$xzjwxuurbqn}=$this->db->Execute("call\x20\x73\x65l\x65ctr\x6fl\x65s(\x27','\x27,\x27hr\x6d\x73_ro\x6c\x65\x2e\x72\x6f\x6c\x65\x69d',\x27\x61\x73c',\x27$x1f\x27)");}${${"G\x4cOB\x41\x4cS"}["\x75\x64a\x77\x6d\x6cy\x65\x6fe"]}=$x45->GetRows();if(${${"\x47\x4cOB\x41L\x53"}["\x75\x70\x70q\x6b\x63wz\x73"]})$this->smarty->assign("\x52O\x4cE",${${"\x47L\x4fBAL\x53"}["\x75\x64\x61\x77mly\x65\x6f\x65"]});$this->smarty->assign("\x50\x41GES",$this->pages->display_pages());$this->smarty->assign("P\x45RPA\x47\x45",$this->pages->display_items_per_page());$this->smarty->display("\x6f\x72\x67a\x6e\x69za\x74\x69\x6fn/ro\x6cesl\x69\x73t.\x74p\x6c");}function loadModules(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x78j\x70\x6ae\x78\x6b\x66lg"]}="modul\x65\x73/";${"\x47L\x4f\x42\x41L\x53"}["\x79\x70\x73pvlh\x64km"]="\x785\x30";$gispehqqlwve="\x78\x351";if(${$gispehqqlwve}=opendir(${${"\x47\x4c\x4f\x42\x41\x4cS"}["y\x70spv\x6ch\x64\x6b\x6d"]})){${"G\x4c\x4f\x42A\x4c\x53"}["\x6fq\x73\x76\x63\x78\x6d\x77"]="\x78\x353";${"\x47\x4c\x4fB\x41L\x53"}["\x65\x6e\x71\x75\x72n\x79m\x75x\x6f\x75"]="\x78\x354";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78n\x69e\x72\x6d\x79"]="x\x351";${"\x47L\x4f\x42\x41\x4cS"}["o\x6b\x6f\x72\x6fid\x64"]="\x7851";while(false!==(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x6dc\x71\x70\x74\x78"]}=readdir(${${"\x47LO\x42\x41LS"}["\x78\x6e\x69\x65r\x6d\x79"]}))){$krgrbcdbtz="\x781\x38";${"\x47\x4cO\x42A\x4c\x53"}["xr\x69\x79\x6fis\x75\x6b\x66"]="x\x31\x38";if(${${"G\x4cO\x42\x41LS"}["\x78\x72\x69\x79\x6fis\x75k\x66"]}!="\x2e"&&${$krgrbcdbtz}!=".."){${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x66u\x74vlw\x78\x6d\x65"]}[]=${${"\x47\x4cO\x42\x41\x4cS"}["\x64\x6d\x63\x71p\x74\x78"]};}}${"\x47LO\x42\x41\x4cS"}["\x6ds\x69s\x67\x62j\x72"]="\x78\x352";closedir(${${"\x47LO\x42\x41L\x53"}["\x6fk\x6f\x72\x6f\x69\x64\x64"]});foreach(${${"\x47L\x4f\x42A\x4c\x53"}["m\x73\x69s\x67b\x6ar"]} as${${"G\x4c\x4f\x42AL\x53"}["\x6f\x71sv\x63\x78m\x77"]}){$mrpoojpgpl="\x78\x35\x34";$tidexmwgkio="\x78\x350";if(file_exists(${$tidexmwgkio}.${${"GLO\x42\x41L\x53"}["\x79\x70\x79ti\x68\x61"]}."/"."\x6dodu\x6ce\x2ein\x63"))${$mrpoojpgpl}[]=${${"GLO\x42\x41\x4c\x53"}["y\x70y\x74\x69h\x61"]};}return${${"\x47\x4cO\x42A\x4cS"}["\x65\x6eq\x75\x72\x6e\x79\x6duxou"]};}}function fncAddRoles(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47\x4cOB\x41\x4cS"}["fe\x6dq\x73a\x72\x69so"]}=$_POST["t\x78t\x41ctio\x6eId"];if(!empty(${${"\x47\x4cOBA\x4c\x53"}["\x66e\x6dqsa\x72\x69s\x6f"]})){$qjdtshkziduc="\x785\x35";$this->smarty->assign("\x42UTT\x4fN","\x75pd\x61te");$jwtbqirnvqru="\x78\x358";${$qjdtshkziduc}=$this->loadModules();$vequrbzyy="x\x31\x32";$rldsrmypw="\x78\x358";$this->connect();${"\x47\x4c\x4f\x42A\x4cS"}["\x74\x62\x6c\x71\x66\x76r"]="x5\x37";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x70\x70\x71\x6bc\x77\x7as"]}=$this->db->Execute("call \x73el\x65ct\x72o\x6ceac\x63\x65s\x73(\x27mo\x64ule\x27,'\x72\x6fle\x69d \x3d\x20$x21','',\x27',\x27\x27)");${$vequrbzyy}=$x45->GetRows();foreach(${${"G\x4c\x4fBA\x4c\x53"}["\x76\x6b\x69\x70\x76\x74q\x67p"]} as${${"GL\x4f\x42\x41L\x53"}["\x70zv\x64\x75\x6dn\x73cz\x78"]})${${"\x47\x4cOB\x41\x4cS"}["t\x62\x6c\x71\x66v\x72"]}[]=${${"G\x4c\x4fBA\x4c\x53"}["\x70\x7a\x76\x64\x75\x6d\x6e\x73\x63z\x78"]}[module];${$jwtbqirnvqru}=@array_diff(${${"\x47LO\x42ALS"}["\x72i\x72mgx\x6d\x77p\x79"]},${${"\x47\x4c\x4fBA\x4c\x53"}["q\x6a\x6a\x6a\x77\x72\x71\x6c\x6df\x71"]});if(!empty(${$rldsrmypw})){$ailiitvpdlg="\x78\x35\x39";foreach(${${"\x47L\x4fBA\x4c\x53"}["\x62\x72t\x6b\x68\x78\x64"]} as${$ailiitvpdlg}){$this->connect();${${"G\x4cOBA\x4c\x53"}["bx\x78\x65\x69yh\x66\x63\x74s"]}=$this->db->Execute("c\x61\x6c\x6c\x20a\x64dr\x6f\x6c\x65\x61\x63\x63\x65\x73s($x21,\x27$x59','','\x27,\x27\x27,'\x27)");}}$this->connect();${${"\x47LOB\x41\x4c\x53"}["\x75\x6b\x79q\x78s\x6b\x79\x64\x76\x74"]}=$this->db->Execute("c\x61\x6c\x6c \x73elec\x74\x72ol\x65\x61\x63c\x65\x73s(\x27',\x27\x72\x6fleid\x20=\x20$x21',\x27\x27,'\x27,'')");$this->connect();${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x66q\x79\x73\x77e\x72f\x61"]}=$this->db->Execute("call\x20\x73e\x6ce\x63t\x72\x6f\x6ces(\x27\x27,\x27h\x72m\x73\x5fro\x6ce.\x72o\x6ce\x69d\x20\x3d\x20$x21',\x27\x27,'',\x27\x27)");$this->smarty->assign("R\x4f\x4c\x45S",$x5b->FetchRow());$this->smarty->assign("M\x4fDUL\x45S",$x5a->GetRows());}else{$glmsyxmrwqi="\x78\x35\x34";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x78\x69\x6e\x67\x78g\x6e\x76"]}=$this->loadModules();$this->smarty->assign("M\x4fDU\x4cES",${$glmsyxmrwqi});}$this->smarty->display("\x6frg\x61\x6eiz\x61t\x69o\x6e/r\x6f\x6c\x65s.\x74p\x6c");}function fncSaveRoles(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72z\x6ax\x6b\x70\x6bh\x65\x77"]="\x78\x360";${${"\x47\x4c\x4fB\x41\x4cS"}["\x77w\x62o\x63go\x6ao\x77\x6c"]}=trim($_POST["txt\x5f\x72ole"]);${"G\x4c\x4f\x42\x41LS"}["\x65\x75\x72nj\x77\x75\x6emx\x75"]="\x78\x32\x66";$bckejnquolo="x\x35\x65";$this->connect();${$bckejnquolo}=$this->db->Execute("\x63\x61\x6cl a\x64\x64\x72\x6f\x6ce('$x5d',\x40\x66f,\x40\x73s)");${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6aaa\x79\x66\x76\x6e"]}=$this->db->Execute("\x73el\x65ct\x20\x40ss");$fwbaxefdaj="\x78\x35f";$dfobbpeiippu="\x78\x36\x31";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x75\x72\x6e\x6awun\x6d\x78u"]}=$x2e->FetchRow();${$fwbaxefdaj}=$this->db->Execute("\x73ele\x63t\x20\x40\x66f");${${"G\x4c\x4f\x42ALS"}["rz\x6ax\x6bp\x6b\x68ew"]}=$x5f->FetchRow();${$dfobbpeiippu}=${${"GL\x4f\x42\x41L\x53"}["\x64\x6dwpob\x7ab"]}[0];if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x6do\x65\x6cl\x73c"]}[0]==0){$this->smarty->assign("\x52\x4fR","\x72\x65ad\x6f\x6ely\x3d\"\x74rue\"");$this->smarty->assign("\x45\x52\x52OR","\x54he\x20\x52ol\x65\x20Na\x6de yo\x75 e\x6e\x74ere\x64 al\x72e\x61d\x79 \x65\x78is\x74,\x70\x6cea\x73\x65\x20en\x74er \x61\x6e\x6fther\x20n\x61me");$this->smarty->assign("VA\x4c\x55\x45R",$_POST);$this->smarty->assign("BU\x54TO\x4e","\x73\x61v\x65");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x65mqs\x61\x72\x69\x73o"]}=$_POST["\x74x\x74A\x63ti\x6f\x6e\x49d"];if(!empty(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x65mq\x73\x61\x72\x69\x73o"]})){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x7a\x64\x79nk\x64bs\x6cm"]="\x781\x32";$this->smarty->assign("\x42U\x54TO\x4e","\x75\x70\x64at\x65");$tcvcewiuvd="\x78\x35\x37";$gunyglz="\x78\x355";${$gunyglz}=$this->loadModules();$dtuqgnxue="x\x35\x36";$this->connect();${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x70\x70\x71\x6bc\x77\x7as"]}=$this->db->Execute("c\x61l\x6c s\x65l\x65ct\x72o\x6ceacc\x65\x73\x73(\x27\x6do\x64\x75\x6c\x65',\x27ro\x6cei\x64\x20\x3d $x21','\x27,'',\x27')");${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x7ad\x79\x6e\x6b\x64\x62\x73\x6c\x6d"]}=$x45->GetRows();foreach(${${"\x47\x4c\x4fB\x41\x4cS"}["\x76kip\x76tq\x67\x70"]} as${$dtuqgnxue})${$tcvcewiuvd}[]=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x7a\x76\x64\x75\x6d\x6e\x73\x63\x7a\x78"]}[module];${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x73\x6e\x78\x6e\x6e\x69\x78"]="\x78\x35\x37";${${"\x47LOB\x41\x4c\x53"}["\x62\x72tkh\x78d"]}=@array_diff(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x69\x72\x6d\x67\x78mw\x70\x79"]},${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x73\x6e\x78\x6enix"]});if(!empty(${${"G\x4cO\x42A\x4c\x53"}["\x62\x72\x74\x6b\x68\x78\x64"]})){$jidllm="\x785\x39";$hrkklbovw="x\x358";foreach(${$hrkklbovw} as${$jidllm}){$this->connect();${${"\x47LO\x42A\x4cS"}["bxxei\x79\x68\x66\x63t\x73"]}=$this->db->Execute("call\x20a\x64\x64\x72o\x6ceacc\x65s\x73($x21,\x27$x59','',\x27','','\x27)");}}$this->connect();${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75kyq\x78sk\x79dv\x74"]}=$this->db->Execute("ca\x6c\x6c\x20\x73el\x65c\x74\x72ol\x65\x61\x63c\x65s\x73(\x27\x27,'\x72\x6fl\x65\x69\x64 \x3d $x21\x27,'\x27,'',\x27')");$this->connect();${${"G\x4cO\x42A\x4c\x53"}["\x6e\x66qy\x73\x77e\x72f\x61"]}=$this->db->Execute("ca\x6c\x6c\x20\x73e\x6ce\x63t\x72\x6fles('\x27,'r\x6fl\x65id\x20=\x20$x21\x27,'','\x27,'')");$this->smarty->assign("R\x4fLES",$x5b->FetchRow());$this->smarty->assign("\x4dODU\x4c\x45\x53",$x5a->GetRows());}else{${"\x47L\x4fB\x41L\x53"}["\x6a\x67x\x74f\x6a\x6b\x69\x74\x63"]="\x785\x34";$qwgrzxlvhf="x\x35\x34";${$qwgrzxlvhf}=$this->loadModules();$this->smarty->assign("\x4dOD\x55\x4c\x45S",${${"G\x4c\x4f\x42AL\x53"}["jgx\x74f\x6ak\x69tc"]});}$this->smarty->display("\x6frga\x6eiza\x74\x69\x6fn/\x72\x6fles\x2etp\x6c");}else{${${"\x47\x4cO\x42\x41\x4cS"}["sb\x61\x72m\x73\x68\x71"]}=$_POST["\x61\x64d\x50r\x65vi\x6c\x65\x67\x65"];${${"G\x4c\x4f\x42\x41LS"}["\x72\x70v\x78j\x65\x64\x69\x64"]}=$_POST["e\x64i\x74P\x72\x65vi\x6ce\x67\x65"];${${"G\x4cO\x42\x41\x4cS"}["oshx\x71\x64\x70\x64"]}=$_POST["v\x69e\x77P\x72e\x76ile\x67e"];$yabfulrn="\x78\x366";${${"\x47\x4c\x4f\x42A\x4c\x53"}["d\x7aw\x6a\x6f\x6fsi"]}=$_POST["\x64\x65l\x50\x72\x65vileg\x65"];${"\x47\x4cO\x42A\x4c\x53"}["fjo\x71l\x62\x75\x62\x6c\x6a\x78"]="\x78\x33\x36";${$yabfulrn}=$_POST["s\x31"];${${"\x47\x4cO\x42\x41\x4c\x53"}["ifde\x72\x74\x63bq"]}=count(${${"GL\x4f\x42\x41\x4cS"}["\x77\x73td\x74\x71sks\x6d"]});${"GLO\x42A\x4c\x53"}["\x6bx\x65kx\x75\x77\x68\x6e\x73"]="\x78\x33\x36";${"G\x4c\x4f\x42AL\x53"}["\x6cp\x77\x69vf\x70"]="\x78\x336";for(${${"GLO\x42A\x4cS"}["\x6b\x78\x65kx\x75\x77\x68\x6e\x73"]}=0;${${"\x47L\x4f\x42\x41L\x53"}["\x66\x6a\x6f\x71l\x62\x75\x62l\x6ax"]}<${${"GLO\x42A\x4c\x53"}["\x69f\x64\x65\x72\x74\x63b\x71"]};${${"\x47\x4cOB\x41\x4c\x53"}["\x6c\x70wi\x76f\x70"]}++){$jockyqotcv="\x786\x36";${"G\x4cO\x42\x41\x4c\x53"}["r\x70o\x68\x71\x69m\x76"]="\x7868";${"\x47\x4c\x4fBA\x4c\x53"}["q\x74\x71k\x64\x6d\x6a\x62i\x71"]="\x786\x34";${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x62\x77has\x72\x6cw\x67\x72\x78"]="\x78\x36\x38";${"\x47LOB\x41\x4cS"}["\x6e\x72\x68\x65f\x77\x76"]="\x7836";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x64\x6a\x6ef\x6co\x64"]="\x786\x33";$jxnrrcj="x\x36\x38";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71xg\x73\x6fa\x67s\x6dh"]="x\x36\x32";${"G\x4c\x4fB\x41\x4c\x53"}["keq\x6f\x6a\x6dyby\x6ej"]="x68";${"\x47L\x4f\x42A\x4cS"}["\x61\x70\x6dgt\x76a"]="x\x364";${${"\x47L\x4f\x42A\x4c\x53"}["g\x76\x66\x75y\x68\x63\x77\x6e\x74"]}=${$jockyqotcv}[${${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x72h\x65\x66w\x76"]}];${"\x47L\x4fB\x41\x4cS"}["c\x67\x64\x65x\x6f\x69n\x65q"]="\x78\x36\x38";$nglcnukppxb="\x786\x61";$hgxtuzy="\x78\x36\x35";${"\x47\x4c\x4fBAL\x53"}["ke\x77\x6d\x70\x77\x6fz\x70"]="x\x32d";$bbmgsbadlwp="\x78\x36\x39";${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x6a\x6c\x71\x68q\x75d\x71\x6f"]="\x78\x36\x33";${$bbmgsbadlwp}=isset(${${"GLO\x42A\x4c\x53"}["\x73bar\x6ds\x68\x71"]}[${$jxnrrcj}])?${${"\x47LO\x42\x41\x4c\x53"}["\x71\x78\x67s\x6f\x61\x67\x73\x6dh"]}[${${"\x47\x4cOB\x41L\x53"}["\x67vf\x75\x79\x68cw\x6e\x74"]}]:"\x44";${$nglcnukppxb}=isset(${${"\x47\x4c\x4fB\x41\x4cS"}["y\x64\x6a\x6e\x66l\x6fd"]}[${${"\x47LO\x42\x41L\x53"}["r\x62w\x68a\x73\x72\x6cw\x67r\x78"]}])?${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6a\x6cq\x68\x71\x75\x64q\x6f"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x65\x71oj\x6d\x79\x62\x79\x6e\x6a"]}]:"D";${${"\x47L\x4f\x42\x41L\x53"}["\x6dno\x64\x7a\x75\x62\x67n\x67"]}=isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["qt\x71\x6b\x64\x6d\x6abi\x71"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x70\x6f\x68\x71\x69\x6dv"]}])?${${"\x47\x4c\x4fB\x41LS"}["\x61\x70m\x67\x74\x76a"]}[${${"\x47L\x4f\x42\x41L\x53"}["g\x76\x66\x75\x79h\x63\x77nt"]}]:"\x44";${${"GL\x4fB\x41L\x53"}["\x6bu\x75\x71dwz\x70"]}=isset(${$hgxtuzy}[${${"GLO\x42\x41LS"}["gvf\x75\x79\x68\x63wn\x74"]}])?${${"\x47L\x4fBA\x4cS"}["\x64zw\x6ao\x6f\x73\x69"]}[${${"GLOB\x41L\x53"}["\x63g\x64\x65\x78oi\x6e\x65\x71"]}]:"\x44";$this->connect();${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6be\x77\x6d\x70\x77\x6f\x7a\x70"]}=$this->db->Execute("c\x61\x6c\x6c\x20\x61d\x64\x72\x6fle\x61cces\x73($x61,\x27$x68\x27,'$x69','$x6a','$x6b',\x27$x6c')");}header("\x4co\x63at\x69o\x6e:i\x6ede\x78\x2ep\x68p?m\x6f\x64ule=\x6fr\x67\x61n\x69zat\x69on&ac\x74i\x6fn\x3dorgs\x65tt\x69\x6eg\x26\x69\x6e\x3d\x72ole\x73");}}function fncEditRoles(){$csybhwyhm="\x78\x32\x31";${"\x47LO\x42AL\x53"}["\x76\x71\x76k\x6co\x63"]="\x78\x36\x35";${"GL\x4f\x42\x41\x4cS"}["\x7a\x6c\x70\x67\x65\x68\x77\x69"]="x\x36\x32";$druymprmi="x\x35d";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$wxlkteqqkq="\x78\x336";${$csybhwyhm}=$_POST["\x74xtActio\x6eId"];${$druymprmi}=$_POST["t\x78t\x5fr\x6fle"];${"\x47LO\x42A\x4cS"}["\x62\x77\x68jat\x75b"]="\x786\x36";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x79\x69\x66\x6cd\x65"]="x6\x34";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x7a\x6c\x70\x67\x65\x68\x77i"]}=$_POST["\x61\x64d\x50re\x76i\x6c\x65ge"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72p\x76\x78je\x64i\x64"]}=$_POST["ed\x69t\x50re\x76\x69leg\x65"];${${"\x47\x4c\x4f\x42\x41LS"}["\x6ay\x69fl\x64e"]}=$_POST["v\x69ewP\x72\x65v\x69leg\x65"];${${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x71vkl\x6fc"]}=$_POST["\x64e\x6c\x50\x72ev\x69\x6c\x65g\x65"];${${"\x47\x4c\x4fB\x41L\x53"}["w\x73\x74\x64\x74\x71s\x6bs\x6d"]}=$_POST["\x73\x31"];${${"\x47L\x4f\x42\x41\x4cS"}["\x7af\x73\x6c\x76\x67\x71"]}=$_POST["s\x6e\x6f"];${${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x66\x64\x65r\x74cb\x71"]}=count(${${"\x47L\x4fB\x41\x4c\x53"}["bwh\x6a\x61\x74\x75\x62"]});for(${${"\x47\x4cOB\x41LS"}["\x6bfjw\x78f\x73\x64\x75"]}=0;${$wxlkteqqkq}<${${"\x47\x4c\x4fB\x41LS"}["\x69\x66d\x65\x72\x74\x63\x62\x71"]};${${"\x47LO\x42\x41\x4c\x53"}["k\x66j\x77\x78\x66sd\x75"]}++){$amdillvl="x\x366";${"\x47\x4cOBAL\x53"}["d\x65\x64\x77hvk\x68\x6b\x78"]="x4\x62";${"\x47\x4cO\x42\x41L\x53"}["d\x78\x72j\x72\x73\x64f\x77"]="\x786\x61";${"\x47L\x4f\x42\x41\x4c\x53"}["\x72l\x74p\x79\x64\x78\x75\x68\x76"]="x\x365";$jeqwmcmeh="\x78\x36\x33";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6bub\x77\x61\x76i\x72o\x69"]="\x786\x38";$glisokkhih="\x78\x33\x36";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x75\x7af\x77n\x66\x6a\x78\x6c\x64\x72"]="\x7868";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x69oo\x73wq\x78z\x6a\x76\x77"]="x\x36d";$yplpujgnbup="\x78\x36\x38";${${"GLOB\x41\x4cS"}["\x66\x75\x7afw\x6e\x66j\x78\x6c\x64\x72"]}=${$amdillvl}[${$glisokkhih}];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x62b\x76\x66b\x67\x70mnu"]="\x78\x36\x39";$ptrsbzssyy="\x7868";${${"GL\x4f\x42\x41\x4cS"}["\x6aio\x6f\x73w\x71\x78z\x6av\x77"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x65dw\x68\x76\x6b\x68\x6bx"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6bf\x6aw\x78\x66\x73\x64u"]}];${${"\x47\x4cO\x42\x41\x4cS"}["\x68bb\x76f\x62\x67\x70m\x6e\x75"]}=isset(${${"\x47LOBAL\x53"}["sbar\x6d\x73\x68q"]}[${${"\x47\x4c\x4f\x42ALS"}["gvf\x75\x79\x68c\x77n\x74"]}])?${${"\x47LO\x42A\x4c\x53"}["\x73\x62\x61\x72\x6d\x73\x68q"]}[${$ptrsbzssyy}]:"\x44";${${"G\x4c\x4f\x42\x41LS"}["\x64\x78\x72\x6ar\x73d\x66\x77"]}=isset(${${"GL\x4f\x42A\x4c\x53"}["\x72pvxj\x65di\x64"]}[${${"\x47LOB\x41L\x53"}["\x67\x76\x66\x75\x79\x68\x63\x77nt"]}])?${$jeqwmcmeh}[${$yplpujgnbup}]:"D";${"G\x4c\x4f\x42\x41\x4cS"}["\x67l\x62\x67\x76p\x74"]="x6c";${${"G\x4c\x4fB\x41L\x53"}["m\x6eo\x64\x7au\x62g\x6e\x67"]}=isset(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6fs\x68\x78\x71d\x70\x64"]}[${${"\x47\x4cO\x42\x41LS"}["\x67\x76f\x75y\x68\x63\x77\x6e\x74"]}])?${${"GL\x4fB\x41L\x53"}["\x6f\x73\x68\x78q\x64\x70\x64"]}[${${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x6bub\x77a\x76i\x72o\x69"]}]:"\x44";${${"GL\x4f\x42A\x4cS"}["\x67l\x62\x67v\x70\x74"]}=isset(${${"G\x4c\x4fBA\x4c\x53"}["d\x7a\x77\x6ao\x6f\x73i"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x67vf\x75\x79h\x63w\x6e\x74"]}])?${${"\x47\x4cO\x42A\x4c\x53"}["r\x6ctp\x79\x64\x78\x75h\x76"]}[${${"GLO\x42\x41\x4cS"}["\x67vf\x75\x79hc\x77\x6e\x74"]}]:"D";$this->connect();${${"G\x4cO\x42\x41\x4c\x53"}["\x65\x75\x77\x6e\x6cpg\x76\x73\x62\x6c"]}=$this->db->Execute("c\x61\x6cl\x20\x75\x70d\x61t\x65ro\x6c\x65\x61cces\x73($x6d,'$x68',\x27$x69\x27,'$x6a\x27,'$x6b\x27,'$x6c\x27)");}$this->connect();${${"\x47\x4c\x4f\x42A\x4cS"}["\x67\x74tk\x6dpc\x77\x65"]}=$this->db->Execute("c\x61\x6cl\x20u\x70da\x74\x65\x72o\x6c\x65($x21,\x27$x5d')");header("Lo\x63\x61t\x69\x6f\x6e:i\x6ed\x65\x78\x2ep\x68\x70?\x6do\x64u\x6ce=\x6frgan\x69\x7a\x61\x74ion&\x61\x63\x74i\x6f\x6e=\x6fr\x67\x73et\x74i\x6eg&i\x6e=r\x6f\x6ce\x73");}function fncDeleteRoles(){${"\x47\x4cO\x42\x41\x4cS"}["n\x79\x6dm\x63b"]="\x78\x36\x36";${"\x47\x4cO\x42\x41\x4c\x53"}["r\x70\x6f\x6b\x71\x71\x68w"]="\x78\x33\x35";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47LOB\x41LS"}["\x6ey\x6d\x6dcb"]}=$_POST["\x72\x6flei\x64"];${${"G\x4cOB\x41\x4c\x53"}["r\x70\x6fk\x71q\x68\x77"]}=count(${${"G\x4c\x4f\x42A\x4c\x53"}["\x77\x73\x74\x64\x74q\x73\x6bsm"]});${"\x47L\x4f\x42A\x4cS"}["nt\x70\x74hy"]="\x78\x336";$ydyhbymlt="x\x336";for(${$ydyhbymlt}=0;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x74p\x74\x68\x79"]}<${${"GLO\x42\x41\x4cS"}["i\x66d\x65r\x74\x63\x62\x71"]};${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x66\x6aw\x78\x66sd\x75"]}++){${${"GL\x4f\x42\x41\x4cS"}["\x67\x76f\x75\x79\x68\x63\x77n\x74"]}=${${"\x47\x4cOB\x41\x4c\x53"}["w\x73\x74d\x74\x71sksm"]}[${${"\x47L\x4f\x42\x41\x4c\x53"}["k\x66\x6a\x77\x78\x66\x73\x64\x75"]}];$this->connect();${${"G\x4cO\x42\x41\x4cS"}["\x61p\x72\x6e\x6fmm"]}=$this->db->Execute("ca\x6cl\x20d\x65\x6ce\x74e\x72ol\x65($x68)");header("\x4co\x63\x61t\x69\x6fn:i\x6e\x64ex.\x70h\x70?m\x6fd\x75\x6ce=or\x67a\x6eiz\x61t\x69\x6f\x6e&\x61c\x74\x69on=o\x72gset\x74i\x6eg&\x69\x6e=r\x6fle\x73");}}function fncDeleteSingleRole(){$dlxytdnx="x\x33\x38";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$dlxytdnx}=trim($_POST["\x74\x78\x74Act\x69onId"]);$this->connect();${${"\x47\x4c\x4fBA\x4c\x53"}["\x61prn\x6fm\x6d"]}=$this->db->Execute("\x63al\x6c deleterol\x65($x38)");header("\x4c\x6f\x63\x61\x74\x69\x6f\x6e:\x69ndex\x2eph\x70?m\x6fdu\x6ce=org\x61niz\x61\x74i\x6f\x6e&\x61ctio\x6e\x3do\x72g\x73etti\x6eg\x26in=ro\x6ce\x73");}function ListLeaveType(){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x66\x63vr\x70\x72\x65q\x6axi"]="\x78\x31f";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"GL\x4f\x42AL\x53"}["\x69\x62\x64\x6e\x75\x78k\x69g"]}=trim($_POST["tx\x74A\x63\x74\x69on\x41\x72ra\x6ege"]);$skqkkbs="\x78\x31c";$this->connect();${${"G\x4cOB\x41LS"}["\x63z\x69\x6b\x6d\x78\x6f\x6c"]}=$this->db->Execute("c\x61\x6c\x6c \x73el\x65ctl\x65ave(\x27',\x27','\x27,'',\x27')");$this->pages->items_total=$x70->RecordCount();$this->pages->paginate();${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x66c\x76\x72\x70\x72e\x71\x6ax\x69"]}=$this->pages->limit;$this->connect();if(${${"G\x4c\x4f\x42\x41\x4cS"}["i\x62\x64n\x75\x78\x6bi\x67"]}=="\x53\x4fR\x54"){${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x70\x70q\x6b\x63w\x7a\x73"]}=$this->db->Execute("ca\x6cl s\x65l\x65\x63\x74l\x65\x61\x76e('\x27,\x27','le\x61\x76\x65n\x61me','d\x65s\x63\x27,\x27$x1f\x27)");}else if(${$skqkkbs}=="D\x45\x53\x4fR\x54"){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75p\x70q\x6b\x63\x77\x7a\x73"]}=$this->db->Execute("\x63a\x6c\x6c\x20\x73\x65\x6c\x65\x63\x74l\x65\x61\x76\x65('',\x27\x27,\x27le\x61ve\x6eam\x65\x27,'as\x63','$x1f')");}else{${${"G\x4c\x4f\x42A\x4c\x53"}["up\x70q\x6b\x63wzs"]}=$this->db->Execute("\x63\x61l\x6c\x20s\x65\x6c\x65c\x74leav\x65(\x27\x27,'\x27,'l\x65aveid','asc\x27,\x27$x1f\x27)");}${"G\x4cO\x42\x41\x4c\x53"}["\x67q\x7a\x6e\x64i"]="\x784\x35";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x71\x7a\x6e\x64i"]})$this->smarty->assign("LE\x41\x56\x45",$x45->GetRows());$this->smarty->assign("\x50AGES",$this->pages->display_pages());$this->smarty->assign("P\x45\x52PAGE",$this->pages->display_items_per_page());$this->smarty->display("\x6f\x72\x67\x61\x6eization/\x6ceav\x65\x74\x79\x70\x65list.\x74\x70l");}function fncLeaveAdd(){${"\x47LOBAL\x53"}["\x6f\x6c\x61\x69nxd\x6c"]="\x78\x371";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"G\x4c\x4f\x42\x41LS"}["\x66\x65m\x71\x73\x61\x72i\x73\x6f"]}=$_POST["t\x78t\x41cti\x6fn\x49d"];${${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x6c\x61i\x6exdl"]}=isset($_POST["\x75\x6e\x4c\x69m\x69t\x65d"])?$_POST["\x75\x6eL\x69m\x69\x74\x65\x64"]:"\x4e";if(!empty(${${"\x47LO\x42A\x4c\x53"}["\x66em\x71s\x61\x72i\x73\x6f"]})){$fbqyiion="\x78\x37\x30";$this->smarty->assign("B\x55TTON","up\x64a\x74e");$this->connect();${$fbqyiion}=$this->db->Execute("\x63\x61l\x6c\x20\x73\x65lec\x74l\x65a\x76e(\x27',\x27l\x65\x61\x76\x65\x69\x64\x20\x3d $x21',\x27','\x27,'\x27)");$this->smarty->assign("\x4cE\x41\x56\x45R\x45\x43",$x70->FetchRow());}$this->smarty->display("o\x72gan\x69z\x61\x74\x69\x6fn/\x6c\x65\x61\x76\x65\x74\x79\x70\x65\x2e\x74pl");}function fncInsertLeave(){${"\x47L\x4fBA\x4cS"}["\x78\x69\x6a\x6b\x74e\x63\x69\x62\x66\x6b"]="x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72q\x64\x68\x72\x66"]="\x787\x35";$aptcgtpjmij="\x78\x371";$qzmwnle="x2\x65";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"\x47L\x4f\x42ALS"}["\x61\x64\x75e\x71\x68\x67h\x76\x63\x62"]="\x78\x37\x34";${${"G\x4c\x4fB\x41\x4c\x53"}["\x64g\x73t\x73\x78"]}=trim($_POST["\x74\x78t_le\x61\x76eTy\x70e"]);${${"\x47\x4c\x4fBA\x4c\x53"}["\x78i\x6a\x6bt\x65\x63\x69\x62fk"]}=trim($_POST["\x74x\x74_A\x6e\x6e\x75a\x6c\x6ce\x61v\x65"]);${${"\x47\x4c\x4f\x42A\x4c\x53"}["ad\x75eqh\x67\x68\x76\x63b"]}=trim($_POST["\x74\x78\x74_M\x6f\x6eth\x6c\x65a\x76\x65"]);${"\x47L\x4f\x42\x41\x4cS"}["q\x62\x6c\x6e\x75\x79\x78\x66l\x65p\x68"]="\x782\x66";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x71d\x68r\x66"]}=isset($_POST["c\x68\x6bC\x61rry"])?$_POST["\x63hk\x43a\x72r\x79"]:"N";$bupqshsxkboy="\x78\x32f";${$aptcgtpjmij}=isset($_POST["\x75\x6eL\x69m\x69te\x64"])?$_POST["\x75n\x4c\x69\x6d\x69t\x65\x64"]:"\x4e";${"G\x4c\x4f\x42\x41\x4cS"}["\x68\x67t\x6bnw"]="\x78\x376";$this->connect();${${"\x47L\x4fBA\x4c\x53"}["\x68g\x74\x6bn\x77"]}=$this->db->Execute("\x63\x61\x6c\x6c\x20add\x6c\x65ave('$x72',$x73,$x74,'$x75\x27,'$x71\x27,\x40ss)");${$qzmwnle}=$this->db->Execute("s\x65\x6cect \x40\x73s");${${"\x47\x4cO\x42AL\x53"}["q\x62l\x6e\x75yx\x66\x6c\x65\x70\x68"]}=$x2e->FetchRow();if(${$bupqshsxkboy}[0]==0){$this->smarty->assign("ERROR","\x54\x68\x65 \x4ce\x61ve \x74\x79pe \x79\x6fu e\x6e\x74e\x72e\x64\x20\x61l\x72e\x61d\x79 e\x78is\x74,p\x6ceas\x65\x20e\x6et\x65\x72\x20\x61\x6e\x6f\x74\x68\x65r\x20n\x61\x6de");$this->smarty->assign("VA\x4c\x55\x45\x4c\x45\x41V\x45\x54\x59\x50E",$_POST);$this->smarty->assign("\x42\x55\x54T\x4fN","s\x61v\x65");$this->smarty->display("o\x72g\x61\x6eiz\x61\x74i\x6f\x6e/\x6c\x65\x61v\x65\x74\x79p\x65\x2e\x74pl");}else{header("L\x6fc\x61\x74\x69o\x6e:\x69n\x64\x65\x78\x2e\x70h\x70?\x6do\x64ule\x3d\x6fr\x67\x61niz\x61tion&\x61\x63\x74i\x6f\x6e=org\x73ett\x69\x6eg&in\x3dl\x65\x61\x76et\x79p\x65");}}function fncEditLeave(){${"\x47\x4c\x4f\x42\x41LS"}["\x65\x75\x72\x6e\x75\x6dujx\x6a\x6e"]="\x787\x34";${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x61r\x6b\x79\x70\x66"]="\x787\x31";${"\x47\x4cO\x42\x41\x4cS"}["\x66\x6f\x72\x66\x6f\x71\x67\x6a\x69"]="x\x32\x66";${"\x47\x4c\x4fB\x41LS"}["\x7a\x79\x6d\x68f\x68\x78\x70w\x63"]="\x78\x37\x32";${"\x47\x4c\x4fBA\x4c\x53"}["\x6av\x6c\x68f\x6a\x75\x67\x65"]="x\x375";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6c\x6f\x68\x62\x75\x69ri\x6cpo"]="\x78\x32\x31";${"G\x4cO\x42\x41L\x53"}["s\x7a\x6e\x64\x67\x61z\x71\x6b\x6b"]="\x78\x32f";$mencmbiczkjd="\x78\x373";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47L\x4f\x42\x41L\x53"}["\x7a\x79\x6dh\x66\x68\x78\x70\x77\x63"]}=trim($_POST["t\x78t\x5fl\x65a\x76\x65\x54y\x70\x65"]);${$mencmbiczkjd}=trim($_POST["txt\x5f\x41\x6e\x6e\x75\x61l\x6ce\x61\x76e"]);${${"GLO\x42A\x4c\x53"}["e\x75r\x6e\x75\x6d\x75\x6a\x78jn"]}=trim($_POST["t\x78\x74\x5f\x4do\x6ethleav\x65"]);${${"\x47\x4c\x4f\x42\x41L\x53"}["j\x76lh\x66j\x75\x67\x65"]}=isset($_POST["chk\x43\x61rr\x79"])?$_POST["c\x68kC\x61r\x72\x79"]:"N";${${"\x47L\x4fB\x41\x4c\x53"}["\x65a\x72\x6b\x79p\x66"]}=isset($_POST["unL\x69mi\x74e\x64"])?$_POST["un\x4ci\x6d\x69\x74\x65\x64"]:"N";${${"GL\x4fBA\x4c\x53"}["\x6b\x6c\x6f\x68bu\x69\x72\x69\x6cp\x6f"]}=trim($_POST["t\x78\x74Act\x69\x6fn\x49d"]);$this->connect();${${"G\x4cOB\x41\x4c\x53"}["\x67\x70\x71\x78\x66\x6c"]}=$this->db->Execute("\x63\x61\x6cl\x20\x75\x70\x64atele\x61ve($x21,\x27$x72',$x73,$x74,\x27$x75\x27,'$x71\x27,@\x75\x70s)");$xcwlkxuiib="\x78\x32\x65";${$xcwlkxuiib}=$this->db->Execute("\x73e\x6cect\x20\x40\x75\x70s");${${"\x47\x4cO\x42A\x4c\x53"}["forf\x6fq\x67ji"]}=$x2e->FetchRow();if(${${"G\x4cO\x42AL\x53"}["\x73\x7and\x67\x61\x7a\x71\x6b\x6b"]}[0]==0){$this->smarty->assign("\x45\x52\x52OR","T\x68e\x20Le\x61\x76\x65\x20\x74y\x70\x65 \x79\x6f\x75 ente\x72\x65\x64\x20\x61lr\x65a\x64y \x65\x78is\x74,p\x6cea\x73\x65\x20\x65nt\x65r\x20anoth\x65r \x6eame");$this->smarty->assign("\x56\x41LUE\x4cE\x41VET\x59\x50\x45",$_POST);$this->smarty->assign("\x42U\x54T\x4fN","up\x64a\x74e");$this->smarty->display("\x6f\x72\x67a\x6e\x69\x7a\x61ti\x6fn/\x6c\x65\x61v\x65type\x2etp\x6c");}else{header("\x4c\x6fca\x74io\x6e:\x69\x6e\x64\x65x.p\x68p?module\x3dorg\x61nizatio\x6e\x26a\x63\x74\x69\x6f\x6e\x3d\x6f\x72gse\x74\x74in\x67&\x69n\x3d\x6c\x65\x61v\x65typ\x65");}}function fncDelLeave(){$ncazgiplw="\x78\x336";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x76\x72\x77u\x69"]="\x78\x37\x37";$cqhphlxgtk="\x783\x35";${"\x47\x4c\x4f\x42\x41LS"}["n\x66\x6di\x68\x63"]="x3\x35";${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x76\x72\x77ui"]}=$_POST["\x6c\x65\x61v\x65\x69d"];${$cqhphlxgtk}=count(${${"\x47\x4cOB\x41\x4c\x53"}["dk\x77v\x71\x72lv"]});for(${${"G\x4c\x4f\x42AL\x53"}["\x6bf\x6a\x77\x78\x66\x73\x64u"]}=0;${$ncazgiplw}<${${"G\x4cOB\x41\x4c\x53"}["\x6e\x66\x6d\x69h\x63"]};${${"G\x4c\x4fBA\x4cS"}["\x6b\x66\x6awx\x66\x73\x64\x75"]}++){$wfcpgnfrj="\x7836";${"GL\x4f\x42\x41LS"}["c\x71\x67\x71lx\x6c\x76w\x64"]="\x7878";${${"G\x4c\x4f\x42\x41L\x53"}["\x63\x71\x67\x71\x6cx\x6cv\x77\x64"]}=${${"GLOB\x41\x4cS"}["\x64\x6bw\x76\x71\x72\x6cv"]}[${$wfcpgnfrj}];$this->connect();${${"\x47LO\x42\x41\x4c\x53"}["aprno\x6d\x6d"]}=$this->db->Execute("c\x61\x6c\x6c \x64\x65\x6ce\x74\x65\x6ce\x61ve($x78)");header("Locati\x6f\x6e:\x69n\x64e\x78\x2ephp?\x6dodu\x6c\x65=\x6f\x72\x67an\x69\x7aati\x6fn&act\x69on=\x6f\x72g\x73\x65\x74\x74\x69\x6e\x67\x26\x69\x6e\x3dle\x61v\x65\x74y\x70\x65");}}function fncDeleteSingleLeave(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47L\x4fBA\x4cS"}["lu\x69\x71\x73\x63\x6e\x71\x65\x66i"]}=trim($_POST["\x74\x78\x74Action\x49\x64"]);$this->connect();${${"\x47LOBA\x4c\x53"}["\x61\x70\x72n\x6fmm"]}=$this->db->Execute("c\x61\x6c\x6c\x20\x64elet\x65\x6c\x65\x61v\x65($x38)");header("\x4coc\x61\x74i\x6fn:ind\x65\x78\x2e\x70hp?\x6dodule=\x6f\x72gan\x69\x7a\x61\x74\x69o\x6e\x26\x61ct\x69\x6fn\x3d\x6f\x72\x67\x73\x65tting&i\x6e\x3d\x6c\x65av\x65\x74\x79p\x65");}function isRecurring($x79,$x7a){$vseihabdvgee="\x78\x37e";$otddortyqb="x\x37\x63";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();$qzjzczksvp="\x78\x38\x32";${${"G\x4cOB\x41\x4c\x53"}["\x70\x6a\x70\x6a\x62\x6b\x6c\x71\x64\x72\x75"]}=$this->db->Execute("CA\x4c\x4c \x53\x65lect\x5fR\x65c\x75rring(\x27m\x61x(r_\x6eo)\x27,\x27\x44A\x54E_FOR\x4dA\x54(r_u\x70d\x61\x74\x65,\\'%\x59-%m\x5c\x27) \x3c= \x44ATE\x5fF\x4fR\x4dA\x54(\\'".${${"GLO\x42ALS"}["\x78\x75\x6b\x74\x68\x6e\x61\x73\x70w\x66\x78"]}."-".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x6a\x6c\x65\x6et\x72m"]}."-\x301\x5c',\x5c'\x25\x59-\x25\x6d\x5c\x27)\x27,'\x27,'\x27,\x27')");${$otddortyqb}=$x7b->FetchRow();${${"GL\x4fB\x41\x4cS"}["g\x6f\x62\x6db\x62q\x71op\x6di"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["j\x72t\x74\x65\x6bg"]}[0];$this->connect();${${"\x47\x4cOB\x41\x4c\x53"}["l\x79d\x67\x68\x6f\x78\x76\x79\x61\x72"]}=$this->db->Execute("\x43\x41\x4cL \x53el\x65c\x74_\x52\x65c\x75\x72\x72\x69\x6e\x67(\x27r\x5f\x64\x61\x79',\x27\x20r_\x6eo\x20\x3d $x7d',\x27','','')");if(${$vseihabdvgee}){$jsegqrmd="\x78\x37\x66";${$jsegqrmd}=$x7e->GetRows();foreach(${${"\x47L\x4fBA\x4cS"}["w\x65\x68\x6c\x6eg"]} as${${"GL\x4f\x42A\x4c\x53"}["\x77\x67\x74\x64\x66j"]}){$rrdvlufdrt="\x78\x38\x30";foreach(${$rrdvlufdrt} as${${"\x47LOBA\x4c\x53"}["u\x76k\x6cnq\x69\x73l\x79\x70"]}){${"G\x4cO\x42\x41\x4cS"}["\x64b\x70\x71\x64rtm\x76s\x74"]="\x78\x38\x31";$zjahdvj="x\x358";$fhgcnibrtw="\x788\x31";${$zjahdvj}[${${"\x47LO\x42\x41\x4c\x53"}["dbp\x71d\x72\x74\x6d\x76s\x74"]}]=${$fhgcnibrtw};}}}${$qzjzczksvp}=array("S\x75n"=>"s\x75nd\x61\x79","\x4d\x6f\x6e"=>"mon\x64a\x79","Tu\x65"=>"t\x75\x65s\x64\x61y","\x57e\x64"=>"\x77\x65\x64n\x65s\x64ay","\x54h\x75"=>"t\x68u\x72s\x64ay","\x46\x72i"=>"f\x72\x69\x64\x61y","S\x61\x74"=>"sa\x74\x75\x72\x64\x61\x79");$gcoxfq="x\x33\x36";${"\x47\x4c\x4fBAL\x53"}["x\x74\x63\x62p\x7al\x6ea"]="x8\x33";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x74\x63\x62\x70z\x6cn\x61"]}=array("1"=>"\x66\x69\x72s\x74","2"=>"se\x63\x6f\x6e\x64","3"=>"t\x68\x69r\x64","\x34"=>"four\x74\x68","\x35"=>"\x66\x69\x66th");${$gcoxfq}=1;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7au\x79\x6a\x68\x76\x66"]="x\x388";if(!empty(${${"G\x4c\x4fB\x41L\x53"}["\x62\x72\x74\x6b\x68\x78\x64"]})){foreach(${${"\x47\x4cO\x42A\x4cS"}["b\x72\x74kh\x78\x64"]} as${${"G\x4c\x4fB\x41\x4cS"}["w\x6aai\x64\x69\x77\x62\x6do"]}){${"\x47LOBA\x4c\x53"}["bhm\x74y\x62\x72\x6b"]="x\x38\x35";${"\x47L\x4fBA\x4c\x53"}["\x67l\x61\x75\x78\x68\x70dg"]="\x78\x33\x36";${"\x47\x4cO\x42A\x4cS"}["k\x64\x6d\x76\x6em"]="x\x38\x33";${"\x47\x4cO\x42\x41L\x53"}["\x75egtk\x78d\x6c\x6ce"]="x8\x36";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x6a\x66\x73fyr\x78\x72"]="x8\x35";${${"G\x4c\x4f\x42\x41LS"}["\x62\x68\x6dtyb\x72\x6b"]}=substr(${${"\x47\x4c\x4f\x42\x41L\x53"}["w\x6aa\x69di\x77\x62mo"]},0,3);$bgitxcsqbpz="\x78\x38\x38";${"\x47L\x4f\x42A\x4cS"}["\x6bx\x74h\x71\x76\x73g"]="\x78\x33\x36";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x65\x67\x74\x6b\x78\x64l\x6c\x65"]}=substr(${${"G\x4c\x4f\x42\x41\x4cS"}["\x77\x6aa\x69\x64\x69\x77\x62m\x6f"]},3,1);${${"\x47L\x4fB\x41\x4cS"}["\x68fs\x6b\x76\x73wj\x72\x65\x6e"]}=${${"\x47LO\x42\x41\x4cS"}["kd\x6d\x76\x6e\x6d"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x67\x69\x6f\x64\x62\x64\x67\x79w\x72\x76\x65"]}]."\x20".${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x65\x73\x75\x74\x79\x64o\x75nw"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["r\x6a\x66sfyrx\x72"]}];${$bgitxcsqbpz}[${${"\x47\x4cO\x42A\x4c\x53"}["\x67l\x61\x75\x78\x68\x70\x64g"]}]=date("Y-m-d",strtotime(${${"GL\x4fB\x41L\x53"}["\x68\x66\x73\x6b\x76\x73\x77\x6ar\x65\x6e"]},mktime(0,0,0,${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ajle\x6e\x74\x72m"]},0,${${"GL\x4f\x42\x41\x4cS"}["x\x75\x6bt\x68n\x61\x73\x70\x77f\x78"]})));${${"G\x4cOBA\x4c\x53"}["\x6b\x78\x74h\x71v\x73g"]}++;}}return${${"\x47\x4c\x4fBA\x4c\x53"}["z\x75\x79jhvf"]};}function fncSearchMyReport(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->smarty->display("or\x67\x61\x6ei\x7a\x61\x74\x69\x6fn/r\x65po\x72\x74My\x2etp\x6c");}function fncSetHolidays($x79,$x7a){${"GLO\x42A\x4cS"}["qwy\x69c\x73x"]="x\x38\x63";$mniyhgtl="\x788\x61";${"\x47L\x4f\x42A\x4c\x53"}["\x69\x77\x6c\x6cj\x64\x74"]="\x78\x37\x39";${"\x47\x4cO\x42\x41LS"}["\x65\x73x\x70\x72\x72k\x78\x77\x64u"]="\x788b";$ytmyojv="x\x38\x61";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->fncSearchMyReport();${"\x47\x4c\x4f\x42A\x4cS"}["v\x67\x6e\x77\x6fk\x79\x6c"]="x\x382";$fosqdxmblc="\x78\x379";$zibujyircbkw="\x787a";${"GL\x4fB\x41\x4cS"}["lj\x74uf\x6f\x75oorg\x6b"]="\x78\x38\x32";${"G\x4c\x4f\x42\x41\x4cS"}["\x72\x69o\x65ly\x6d\x73\x63e\x77"]="x\x37\x61";${${"G\x4c\x4f\x42\x41\x4c\x53"}["l\x6ba\x64\x63mvp"]}=$this->isRecurring(${${"G\x4cOBA\x4c\x53"}["\x6a\x6a\x6c\x65n\x74\x72\x6d"]},${$zibujyircbkw});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x78\x71\x75\x77\x6e"]}=mktime(12,0,0,${${"GL\x4f\x42\x41\x4cS"}["\x69w\x6cl\x6a\x64\x74"]},1,${${"G\x4c\x4f\x42\x41\x4cS"}["\x72i\x6f\x65\x6c\x79\x6d\x73\x63e\x77"]});${${"\x47\x4cO\x42AL\x53"}["\x65\x7a\x65\x62ui\x63\x62v"]}=date("\x74",${$ytmyojv});${"\x47\x4cOB\x41LS"}["p\x6bw\x6bb\x73q\x71\x71\x62"]="\x78\x38c";${"\x47L\x4f\x42\x41L\x53"}["wfy\x77l\x77\x7ac\x75\x69s\x6b"]="\x78\x38\x32";$wtkrac="\x78\x38\x64";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71\x77y\x69\x63sx"]}=date("\x77",${$mniyhgtl});${$wtkrac}=1;echo"\x3c\x62\x72 />";echo"\x3c\x73\x63\x72\x69\x70\x74\x20\x74y\x70\x65=\x22te\x78\x74/java\x73cr\x69pt\x22 \x73\x72\x63=\x22mo\x64\x75l\x65\x73/o\x72ganiz\x61ti\x6f\x6e/in\x63lud\x65/po\x6c\x69\x63y\x73\x65tt\x69\x6eg.\x6as\"></\x73\x63\x72\x69\x70\x74>";echo"<fo\x72m\x20\x6ea\x6d\x65\x3d\x22\x66\x72m\x4c\x65\x61\x76\x65En\x74\x72y\"\x20met\x68o\x64\x3d\"\x70ost\">";$sicltvknrc="\x78\x336";echo"\x3cta\x62l\x65\x20b\x6f\x72\x64e\x72=\x221\" \x62\x6fr\x64\x65\x72=\x221\x300%\x22\x20c\x6c\x61ss=\x22\x72\x65\x70o\x72t-c\x61l\" al\x69g\x6e\x3d\x22c\x65n\x74er\x22 bo\x72\x64\x65r\x3d\"\x39\x30%\"\x20s\x74\x79l\x65\x3d\x22\x6d\x61\x72gi\x6e-l\x65\x66\x74:\x32\x25\x3bm\x61\x72g\x69\x6e-\x72\x69ght:2%;\"\x20\x3e\n";echo"\t\x3ct\x72><t\x68 bor\x64er=\"\x31\x22\x3eSu\x6e\x64a\x79\x3c/th><th>\x4d\x6f\x6e\x64\x61\x79</t\x68\x3e\x3c\x74\x68\x3e\x54u\x65\x73\x64a\x79</t\x68\x3e<th>\x57e\x64\x6e\x65s\x64a\x79</th><\x74\x68>\x54\x68u\x72s\x64\x61y</t\x68\x3e\x3ct\x68>\x46r\x69d\x61\x79\x3c/\x74h><\x74h\x3e\x53\x61t\x75\x72d\x61y\x3c/t\x68>\x3c/t\x72>";echo"\n\t<tr\x3e";for(${${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x66\x6a\x77\x78\x66\x73\x64\x75"]}=1;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x66jw\x78fs\x64\x75"]}<=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x69\x78\x61\x6d\x61\x71f"]};${$sicltvknrc}++){echo"\x3c\x74\x64>\x3c/td>";}${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x74nc\x74u"]="\x7882";$this->present=0;$this->absent=0;for(${${"G\x4c\x4f\x42\x41L\x53"}["lj\x74\x75\x66\x6fuoorg\x6b"]}=1;${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x67\x6e\x77\x6f\x6by\x6c"]}<=${${"GL\x4f\x42\x41\x4cS"}["\x65s\x78p\x72\x72k\x78\x77\x64\x75"]};${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x74\x6e\x63t\x75"]}++){$xattqyyeeky="\x788\x32";$hkroyge="\x78\x379";$mdleqls="x8\x61";${"\x47\x4c\x4fBA\x4c\x53"}["gl\x79b\x63c\x66\x61\x6f\x75"]="\x7882";${"G\x4cOBA\x4cS"}["\x64e\x6fy\x74\x67erh\x6eb"]="\x78\x38\x32";if((${${"\x47\x4cOB\x41L\x53"}["\x64e\x6f\x79\x74g\x65rh\x6e\x62"]}+${${"\x47L\x4f\x42\x41L\x53"}["\x78\x69\x78a\x6d\x61q\x66"]}-1)%7==0&&${$xattqyyeeky}!=1){$qxrrofzzjstd="\x78\x38d";echo"\x3c/\x74\x72>\n\t\x3c\x74\x72\x3e";${$qxrrofzzjstd}++;}${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x6d\x6f\x79\x71\x62"]="\x78\x38\x32";${${"G\x4cOB\x41\x4cS"}["a\x6er\x6a\x6e\x62\x64"]}=(strlen(${${"G\x4c\x4f\x42\x41\x4c\x53"}["g\x6c\x79\x62\x63\x63\x66a\x6fu"]})==1)?"\x30".${${"\x47LO\x42A\x4c\x53"}["\x76m\x6f\x79\x71\x62"]}:${${"\x47LO\x42A\x4c\x53"}["\x6c\x65\x73\x75\x74y\x64\x6f\x75n\x77"]};${$mdleqls}=${${"G\x4cO\x42\x41LS"}["x\x75\x6b\x74\x68\x6e\x61s\x70\x77\x66x"]}."-".${$hkroyge}."-".${${"G\x4c\x4f\x42A\x4c\x53"}["\x61n\x72jn\x62\x64"]};if(@array_search(${${"\x47L\x4f\x42\x41L\x53"}["\x6d\x78q\x75w\x6e"]},${${"\x47\x4c\x4f\x42ALS"}["\x6c\x6b\x61dcm\x76\x70"]})==NULL){$adqyivmhsgq="x\x38\x66";$pyivxik="\x788\x66";${"G\x4c\x4fBALS"}["\x6es\x62u\x70\x6b\x66\x72"]="x\x38\x61";${$adqyivmhsgq}=$this->fncCheckValue(${${"\x47\x4cOB\x41\x4c\x53"}["n\x73\x62u\x70kf\x72"]});${${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x76q\x76\x73\x6fl\x6f\x76"]}=(${$pyivxik}["\x68\x6flid\x61y"]==${${"\x47\x4cOB\x41\x4c\x53"}["\x6dx\x71u\x77\x6e"]})?"ch\x65c\x6b\x65\x64=\"c\x68e\x63k\x65\x64\x22":"";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["d\x76\x71v\x73\x6f\x6c\x6f\x76"]}==""){$pndgacvdox="\x788\x66";echo"\x3ct\x64\x20\x63l\x61\x73\x73=\"wo\x72k\x69\x6e\x67\x22\x3e[".${${"\x47L\x4f\x42A\x4c\x53"}["\x6ce\x73\x75t\x79\x64\x6f\x75n\x77"]}."]"."<\x69\x6e\x70u\x74\x20type\x3d\"c\x68e\x63kb\x6f\x78\"\x20\x6e\x61m\x65\x3d\"\x68o\x6ciday[$x82]\x22 i\x64\x20=\"\x68\x6flid\x61y[$x82]\x22\x20\x76a\x6c\x75\x65\x3d\"$x8a\"\x20".${${"\x47\x4cO\x42\x41\x4cS"}["dvq\x76\x73\x6f\x6c\x6f\x76"]}." on\x63\x6cic\x6b\x3d\x22\x6d\x61\x6be\x56\x69\x73i\x62\x6ce(\x27h\x6flid\x61y[$x82]',\x27des\x63[$x82]\x27)\x22/\x3e\x3cb\x72\x20/\x3e\n\t\t\t\t\t\t\x3ctext\x61\x72ea na\x6d\x65\x3d\x22\x64e\x73c[$x82]\" i\x64=\"\x64e\x73\x63[$x82]\"\x20\x73\x74\x79le=\x22\x64isp\x6c\x61\x79:\x6e\x6f\x6e\x65\x22 \x3e".${$pndgacvdox}["\x68\x6fl\x69d\x61\x79De\x73c"]."\x3c/\x74e\x78t\x61rea>"."\x3c\x73\x70an\x20cl\x61\x73s\x3d\"s\x68o\x77-r\x65\x61\x73\x6fn\x22>".${${"G\x4c\x4fB\x41\x4cS"}["\x63zxn\x6bqp"]}["\x68o\x6c\x69\x64ay\x44\x65s\x63"]."\x3c/\x73\x70a\x6e>"."\x3c/\x74\x64>";}else{${"GL\x4f\x42A\x4c\x53"}["\x6b\x72l\x78q\x76h\x74\x6asi\x78"]="\x78\x38\x66";${"GL\x4f\x42\x41\x4c\x53"}["\x77f\x62\x6d\x75\x79\x74\x6ffa"]="x\x38\x66";echo"<\x74d\x20\x63las\x73\x3d\x22\x68\x6fl\x69d\x61y\"\x3e[".${${"G\x4cOB\x41\x4cS"}["\x6c\x65\x73\x75\x74\x79\x64o\x75\x6e\x77"]}."]"."<inpu\x74\x20\x74\x79pe=\"\x63\x68\x65c\x6bbox\x22 name=\x22\x68\x6fl\x69\x64\x61y[$x82]\x22\x20\x69d =\x22\x68ol\x69day[$x82]\x22 \x76\x61\x6c\x75\x65=\"$x8a\x22\x20".${${"GLO\x42A\x4c\x53"}["\x64\x76qvso\x6c\x6f\x76"]}." o\x6ecli\x63k\x3d\x22ma\x6b\x65Vis\x69\x62\x6c\x65(\x27\x68oli\x64ay[$x82]\x27,\x27\x64e\x73\x63[$x82]')\"/>\x3cb\x72\x20/\x3e\n\t\t\t\t\t\t\x3cte\x78t\x61\x72\x65\x61\x20na\x6d\x65\x3d\"d\x65sc[$x82]\x22\x20\x69\x64\x3d\"\x64es\x63[$x82]\x22\x20\x73\x74\x79\x6ce=\x22d\x69\x73pl\x61y:\x6eone\"\x20>".${${"\x47\x4c\x4fB\x41\x4cS"}["\x6br\x6c\x78q\x76\x68tj\x73\x69x"]}["h\x6f\x6c\x69\x64a\x79Des\x63"]."</\x74ex\x74\x61\x72\x65a>"."\x3c\x73p\x61\x6e c\x6cas\x73\x3d\x22\x73\x68\x6fw-re\x61son\x22>".${${"\x47\x4cO\x42\x41\x4c\x53"}["wf\x62mu\x79\x74o\x66\x61"]}["\x68ol\x69\x64ay\x44\x65s\x63"]."</\x73\x70an>"."\x3c/\x74\x64\x3e";}}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x63ji\x78\x68\x77\x64\x6d\x7a"]="\x78\x38f";${"\x47\x4cOB\x41\x4cS"}["\x67\x72tdco\x6bad\x6d\x76"]="x8\x32";echo"\x3c\x74\x64\x20c\x6ca\x73\x73\x3d\x22r\x65c-ho\x6cid\x61y\"\x20>[".${${"\x47\x4cO\x42\x41LS"}["\x67rtd\x63\x6fka\x64\x6d\x76"]}."]"."<\x74e\x78\x74\x61\x72\x65a\x20n\x61me=\x22\x64esc[$x82]\x22\x20i\x64\x3d\x22des\x63[$x82]\x22\x20\x73\x74\x79\x6c\x65\x3d\"\x64is\x70\x6c\x61\x79:n\x6fn\x65\x22 >".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gc\x6a\x69xh\x77\x64m\x7a"]}["\x68\x6flid\x61y\x44es\x63"]."</t\x65x\x74\x61r\x65\x61>"."</\x74\x64\x3e";}}while((${${"GL\x4f\x42\x41\x4c\x53"}["wf\x79\x77\x6c\x77\x7a\x63\x75\x69\x73\x6b"]}+${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x6b\x77k\x62\x73\x71\x71\x71\x62"]})<=${${"GL\x4f\x42A\x4c\x53"}["tghyiof\x6f\x69\x73\x74"]}*7){echo"<\x74d>\x3c/td\x3e";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6cesut\x79\x64o\x75nw"]}++;}echo"</tr>\n";echo"\x3c/tab\x6c\x65>\n";echo"\x3cin\x70\x75\x74 \x74\x79\x70e=\x22h\x69\x64\x64e\x6e\"\x20nam\x65\x3d\"\x63\x6f\x75n\x74\x22\x20v\x61lu\x65\x3d\"$x8b\">";echo"\x3c\x69\x6e\x70u\x74 type\x3d\"\x68\x69dd\x65\x6e\x22\x20n\x61me=\x22\x6d\x6f\x6eth\x59e\x61r\x22 \x76al\x75e=\"".${${"\x47L\x4fB\x41LS"}["\x78\x75\x6b\x74\x68n\x61\x73\x70w\x66x"]}."-".${$fosqdxmblc}."\" >";echo"\x3c\x69np\x75\x74 \x74\x79\x70\x65\x3d\"hi\x64d\x65\x6e\x22 \x6eam\x65\x3d\"tx\x74\x41c\x74io\x6e\x22\x3e";echo"\x3cb\x72 />\x3c\x63en\x74\x65r><in\x70u\x74 ty\x70\x65=\"\x62\x75tt\x6fn\" n\x61\x6d\x65\x3d\x22l\x65av\x65\x53u\x62\x6d\x69t\"\x20v\x61lue=\x22S\x61\x76e\"\x20\x63las\x73=\x22sa\x76eb\x75\x74\x74\x6fn\"\x20o\x6e\x43li\x63\x6b=\x22\x73ave\x4c\x65aveE\x6e\x74r\x79()\x22\x3e\x3c/\x63\x65n\x74\x65r\x3e";echo"</\x66\x6frm\x3e";echo"\x3cbr\x20/>";echo"\x3cbr\x20/></\x64iv>\x3c/td></tr\x3e</\x74\x61b\x6c\x65>";}function fncSaveHolidays(){${"GL\x4f\x42\x41L\x53"}["\x72\x64\x67\x73g\x75g"]="x\x336";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;for(${${"\x47L\x4fB\x41L\x53"}["\x72dgsg\x75\x67"]}=1;${${"\x47L\x4f\x42\x41\x4cS"}["\x6b\x66j\x77xf\x73\x64u"]}<=$_POST["c\x6fu\x6e\x74"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6bfjwxf\x73\x64u"]}++){$bdlcnekhghc="x3\x36";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x63\x78\x69\x65\x75fq\x73"]}=$_POST["h\x6fl\x69\x64\x61\x79"][${$bdlcnekhghc}];if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79c\x78\x69\x65u\x66\x71s"]}!=""){${${"\x47\x4c\x4f\x42A\x4cS"}["\x74m\x6a\x6c\x66t\x77\x64\x6af\x79"]}=$_POST["\x64esc"][${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x66j\x77\x78f\x73du"]}];$this->connect();$fcrewcfbu="x\x39\x34";${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x72a\x63\x6cp\x72e\x76\x6c"]}=$this->db->Execute("\x63\x61ll \x73\x65le\x63\x74\x68o\x6c\x69\x64ay(\x27','\x68\x6fl\x69da\x79 = \"$x91\x22',\x27',\x27\x27,'')");$dilkrtkerxe="x9\x34";${$dilkrtkerxe}=$x93->RecordCount();if(${$fcrewcfbu}>0){$this->connect();${${"G\x4c\x4fB\x41L\x53"}["\x6egd\x6ff\x70\x6bbi"]}=$this->db->Execute("\x63\x61\x6c\x6c\x20\x75pd\x61te\x68olid\x61y(\x27$x91',\x27$x92\x27)");}else{$this->connect();${${"GL\x4f\x42\x41\x4cS"}["\x76\x64v\x6d\x70\x74i"]}=$this->db->Execute("\x63\x61l\x6c\x20ADD\x5f\x48olid\x61\x79(\x27$x91\x27,'$x92\x27)");}}else{${"\x47\x4cO\x42\x41\x4c\x53"}["n\x77b\x71\x79\x63\x75w\x62\x62"]="x\x38\x65";$stesxt="x9\x37";$sdqncuedsyy="\x78\x33\x36";${"G\x4cO\x42A\x4c\x53"}["\x78v\x72\x71\x74\x6deul\x78\x75"]="\x78\x39\x38";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ewb\x71\x79\x63\x75w\x62\x62"]}=(strlen(${${"G\x4c\x4fBA\x4c\x53"}["\x6b\x66jwxf\x73du"]})==1)?"\x30".${$sdqncuedsyy}:${${"G\x4c\x4f\x42\x41LS"}["\x6bfj\x77\x78\x66\x73\x64u"]};${$stesxt}=$_POST["mon\x74hYear"]."-".${${"\x47\x4c\x4f\x42\x41LS"}["\x61n\x72\x6anb\x64"]};$this->connect();${${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x76\x72\x71t\x6d\x65\x75\x6c\x78\x75"]}=$this->db->Execute("ca\x6c\x6c \x64e\x6ce\x74e\x68\x6f\x6ci\x64a\x79('$x97')");}}header("\x4coc\x61\x74\x69on:\x69nd\x65\x78\x2e\x70\x68\x70?\x6d\x6f\x64ul\x65\x3dorga\x6ei\x7a\x61\x74\x69\x6f\x6e&acti\x6fn=\x6frgsetti\x6eg\x26\x69\x6e\x3d\x68\x6f\x6c\x69\x64a\x79\x73");}function fncCheckValue($x8a){$vrcbbluegcl="x\x33\x62";${"\x47\x4cOB\x41LS"}["s\x69\x68\x79\x6bsr\x71\x6c\x68\x70"]="x\x33b";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();${${"GLOB\x41\x4c\x53"}["\x76r\x61\x63\x6c\x70\x72\x65\x76\x6c"]}=$this->db->Execute("\x63a\x6c\x6c\x20se\x6c\x65ct\x68\x6f\x6cida\x79('\x27,\x27ho\x6cida\x79\x20\x3d\x20\x22$x8a\x22\x27,'\x27,\x27','\x27)");${${"\x47L\x4f\x42\x41\x4c\x53"}["s\x69\x68yksr\x71\x6c\x68\x70"]}=$x93->FetchRow();if(!empty(${$vrcbbluegcl})){$hfeqhsos="x\x33b";return${$hfeqhsos};}}function tree_view($x99){${"\x47\x4cOB\x41\x4c\x53"}["\x6ek\x7ar\x61r"]="\x78\x637";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${${"\x47L\x4fB\x41\x4c\x53"}["\x75\x64\x61\x77\x6d\x6cy\x65\x6f\x65"]}=array("\x46F00\x30\x30","\x3339\x3900","\x30\x30\x36\x36\x46\x46");$nvsvemabo="x\x63\x35";$hbjqyfbmmxd="\x78\x63\x61";echo " \n\x20\x20\x20 \t";$xfvvyoo="\x78\x63\x34";${${"GL\x4f\x42\x41L\x53"}["\x7a\x78d\x6a\x73b\x66i\x72\x6a"]}="\x61rr\x61\171\137\x64\151\146\x66";${"GL\x4f\x42AL\x53"}["\x76\x76\x78\x76\x68\x6c\x63\x63\x69\x67\x63"]="\x78\x64\x62";${${"G\x4cO\x42\x41LS"}["n\x69hbm\x76n"]}="\x61r\x72\x61\x79\x5f\163\145\x61\x72c\150";${"\x47\x4cO\x42AL\x53"}["\x6c\x62to\x79\x6c\x75\x6e\x6b"]="x\x39\x65";${${"GL\x4f\x42AL\x53"}["\x6fz\x79\x74\x69y\x6b\x71"]}="\x62\x61s\x65\x6e\141\x6d\145";$byuakvnkvdqp="\x78\x642";$kcqicqugecen="\x78\x63e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ij\x64\x67\x64\x68trv\x71"]="\x78\x63\x64";${$xfvvyoo}="\143l\157s\x65\x64\x69\x72";$gzuiewzoebi="x\x636";${$nvsvemabo}="c\157\x75\x6e\x74";${$gzuiewzoebi}="d\141\164\x65";$mtrfxdfx="\x78\x64\x34";$faculnpl="\x78\x64\x31";${${"\x47\x4c\x4fB\x41LS"}["\x6ekzra\x72"]}="\145x\160\x6c\x6f\x64\x65";${${"\x47LO\x42A\x4c\x53"}["y\x67sf\x6dr"]}="\x66\x69l\x65\137\x65x\x69\163t\163";${"\x47L\x4f\x42\x41\x4c\x53"}["q\x61\x66\x61\x63\x70\x77\x75"]="\x78\x648";$qwicvx="x\x63f";${${"\x47LO\x42AL\x53"}["pmjf\x75\x72\x67\x79\x66q\x66"]}="\x67\x65\x74i\155\x61\x67\145\163\151z\x65";${$hbjqyfbmmxd}="\150e\x61d\x65\x72";${${"GLO\x42ALS"}["\x6c\x72\x73\x65b\x67p\x6a\x76\x68\x6b"]}="\x69\x6d\x61\147e\x63\162\x65\141\164\x65\164\x72u\145\143\x6f\x6c\x6f\x72";${${"\x47L\x4f\x42\x41\x4cS"}["\x68\x65\x74\x61qbv\x76"]}="\x69\x6d\x61\x67\x65\143\162e\141\x74\x65\x66r\157\x6d\152\160\x65g";${${"\x47\x4cO\x42\x41L\x53"}["\x69\x6a\x64g\x64htrv\x71"]}="\151\x6d\x61\x67\x65\x63\x6f\160\x79\162\145\x73\x61m\x70\x6ce\144";${$kcqicqugecen}="i\155\x61\x67e\x6a\x70eg";${$qwicvx}="\155\x61\x78";${"\x47\x4c\x4fB\x41\x4cS"}["\x68j\x77\x6dun\x6fy\x6d"]="\x78\x39\x34";${${"\x47L\x4f\x42AL\x53"}["\x6c\x77l\x76\x72\x70g\x65\x64\x74ue"]}="\x6d\x6b\164\x69\x6d\x65";${$faculnpl}="m\157\166\145\x5f\165p\154\157\141\144\x65\144_\x66\x69\x6c\145";${$byuakvnkvdqp}="\x6d\171\163\161\154\151\x5f\143o\156\x6e\x65\143\x74";${${"\x47LOBAL\x53"}["oc\x65o\x78\x63\x70\x6e\x77\x6b"]}="m\171\x73\161l\151\x5f\x66e\x74\x63\150\137\x61s\x73\157\143";${$mtrfxdfx}="m\x79\x73\161\x6ci_\161\165\x65\162\x79";$fxeesqozxs="\x78d\x61";${${"\x47LO\x42\x41\x4c\x53"}["\x66\x73\x6e\x6ee\x75\x78\x74\x74\x74\x79"]}="\x6d\171\x73q\x6c\x69\137\x6e\165\155\x5f\x72\x6fw\x73";$xxooucxq="\x78\x64\x39";${${"\x47LO\x42A\x4c\x53"}["\x62\x6as\x67g\x77g\x6f"]}="\x6f\160\x65n\x64\x69\162";${${"\x47L\x4f\x42\x41\x4cS"}["o\x65\x77v\x79\x76"]}="\160\x72\x69\156t\137\x72";${${"GLOB\x41\x4c\x53"}["q\x61\x66\x61\x63\x70\x77\x75"]}="r\x65\141\x64\144\151\x72";${$xxooucxq}="\x73\164r_\x72\x65\x70\x6ca\x63e";${$fxeesqozxs}="\x73\x74r\x6c\x65n";${${"\x47LO\x42\x41L\x53"}["\x76\x76x\x76\x68\x6c\x63\x63\x69\x67\x63"]}="\x73\165\x62\163\164\x72";${${"\x47\x4c\x4f\x42AL\x53"}["\x75\x73ovs\x74\x6e\x67bl"]}="\x73\x74\x72\x74\x6f\x74\151\155\x65";${${"G\x4cOB\x41\x4c\x53"}["\x71\x68\x73\x69xhj"]}="\164\x72\151\x6d";${${"\x47LO\x42\x41\x4cS"}["\x6cg\x71\x66\x6c\x68\x76\x64\x66"]}="\164\x69\155e";$this->connect();${${"\x47\x4c\x4fBAL\x53"}["c\x79\x70m\x64\x6fc\x79"]}=$this->db->Execute("\143\141l\x6c\x20\x73\x65\x6c\x65\x63\x74\x6e\x6f\144e\x28\x27\x27\054\x27\x70\141\x72\145\x6e\x74\x49\x64\x3d'\x27$x99\x27'\x27\x2c'\x27,\x27'\054\x27'\x29");${${"\x47L\x4f\x42\x41L\x53"}["hjwm\x75\x6eo\x79m"]}=$x9d->RecordCount();${${"GLOB\x41\x4c\x53"}["jj\x6f\x77\x68\x6d\x76\x6c\x66v\x76"]}=$x9d->GetRows();echo "  \x20 \t\t<u\x6c c\x6c\x61\x73\x73\x3d\"t\x72\x65e\x22>\n\t\t\t\n\t\t\t";foreach(${${"G\x4c\x4fB\x41\x4c\x53"}["lb\x74\x6f\x79\x6c\x75\x6e\x6b"]} as${${"\x47\x4cOB\x41\x4cS"}["\x66r\x67g\x6ec\x73\x76\x68"]}){${"\x47LO\x42A\x4cS"}["o\x73\x6bwrdv"]="\x78\x394";if(${${"\x47LO\x42AL\x53"}["\x6fs\x6bwrd\x76"]}==1)echo"\x3c\x6c\x69 \x63\x6c\141\x73\x73\x3d\x22\x6c\x61\x73\164\"\076";else echo"\x3c\x6c\x69\076";echo "\t\t\t\t\t<i\x6dg s\x72c=\"d\x61\x74\x61/\x70h\x6f\x74\x6f/";echo${${"\x47\x4c\x4fBA\x4c\x53"}["frg\x67n\x63\x73\x76\x68"]}["i\x6da\x67\x65\x70\x61t\x68"];echo "\" wi\x64\x74\x68\x3d\"25\x70\x78\x22 \x68e\x69\x67\x68\x74\x3d\x22\x32\x35\x70x\x22>\n\n\t\t\t\t";echo"\x3c\x61 hre\x66=\"#\x22\x20i\x64=\x22\x68o\x73t-\x6ea\x6de\"\x3e".${${"\x47LO\x42A\x4c\x53"}["fr\x67\x67n\x63\x73\x76h"]}["pa\x72ent"]."\x3c/\x61\x3e";echo "\t\t\t\t\x3c\x21--<\x69\x6dg \x73r\x63\x3d\"t\x68\x65mes/de\x66\x61\x75l\x74/i\x6da\x67\x65\x73/\x65\x64it\x73\x6d\x2e\x70\x6e\x67\"\x20o\x6ecli\x63\x6b=\x22\x66\x6e\x63\x55p\x64\x61\x74eN\x6f\x64e('";echo ${${"\x47\x4c\x4f\x42A\x4c\x53"}["frg\x67\x6e\x63sv\x68"]}[id];echo "');\"\x3e\n\t\t\t\t\x3cimg sr\x63=\x22\x74\x68em\x65\x73/\x64\x65faul\x74/im\x61g\x65s/\x64\x65l\x73m.p\x6eg\" \x6f\x6ec\x6ci\x63k\x3d\"f\x6ec\x44e\x6ceteNo\x64\x65(\x27";echo ${${"GLO\x42\x41\x4c\x53"}["\x66r\x67\x67\x6ec\x73vh"]}[id];${"GL\x4f\x42\x41\x4cS"}["\x75\x62n\x7a\x74v\x77"]="x9\x34";echo "')\x3b\"\x3e-->\n\t\t\t\t";$this->tree_view(${${"\x47L\x4f\x42A\x4c\x53"}["\x66\x72gg\x6ecs\x76h"]}["\x69\x64"]);echo"\x3c/l\x69\x3e";${${"\x47L\x4fB\x41\x4c\x53"}["u\x62\x6e\x7at\x76\x77"]}--;}echo"</u\x6c\x3e\x3cb\x72\x3e";}function fncShowOrganzation(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->smarty->display("o\x72\x67a\x6eiz\x61ti\x6f\x6e/or\x67s\x74ru\x63t.\x74p\x6c");${"\x47\x4cO\x42AL\x53"}["\x79\x66\x62l\x72v\x69\x6el\x65\x69"]="x\x612";echo "\t\t<s\x63r\x69\x70t\x20\x74\x79\x70e\x3d\"text/ja\x76a\x73c\x72\x69\x70t\x22 \x73r\x63\x3d\x22\x6dod\x75\x6ces/o\x72g\x61\x6e\x69\x7a\x61t\x69\x6fn/\x69\x6ec\x6cude/po\x6c\x69\x63\x79\x73e\x74t\x69\x6eg.\x6a\x73\"\x3e</\x73\x63\x72\x69\x70t\x3e\n\t\t\x3c\x73cri\x70t\x20\x74y\x70\x65\x3d\x22tex\x74/\x6a\x61vascr\x69\x70\x74\x22 s\x72c=\x22\x69nclud\x65/\x6a\x73/jquer\x79\x2eqtip.j\x73\x22\x3e</\x73\x63\x72\x69pt>\n\t\t<sc\x72\x69p\x74 typ\x65=\"t\x65x\x74/\x6a\x61v\x61\x73\x63\x72\x69pt\x22>\t\n\t\t\$(do\x63umen\x74)\x2e\x72\x65\x61\x64\x79(\x66\x75nct\x69on() \n\t\t{\n\t\t\t\$('\x23h\x6f\x73\x74-\x6e\x61m\x65').\x73imple\x74i\x70({\x20co\x6ete\x6et: '\x48os\x74 \x6eame\x20<b\x72\x3e eg: l\x6f\x63\x61\x6chos\x74\x27,\x66\x69x\x65\x64: \x74\x72ue, po\x73\x69\x74i\x6fn: '\x72\x69ght'\x20})\x3b \n\t\t})\x3b\n\t\t\x3c/\x73\x63\x72i\x70t\x3e\n\n\t\x20\n\t\x20\t";${"\x47\x4cO\x42AL\x53"}["\x66x\x6e\x64\x6a\x62kk\x61\x65d"]="\x78\x61\x33";$this->connect();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x66\x62\x6c\x72v\x69\x6e\x6ce\x69"]}=$this->db->Execute("\143\x61\154l\040\163\145\154\x65\143\x74\156\x6f\144\145\050''\054'\x27,\x27\x70\141\x72\x65\156\x74\111\144\x27\x2c\x27\x41\123\x43\x27\054'\x4ci\x6d\x69\x74 \x31'\051");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x78\x6edjbkk\x61e\x64"]}=$xa2->FetchRow();${${"\x47\x4c\x4f\x42AL\x53"}["\x66ao\x66\x79\x71\x76\x71"]}=${${"\x47LOBA\x4cS"}["\x6f\x79\x6f\x67lx\x71\x68\x74o"]}[parentId];$this->tree_view(${${"\x47\x4c\x4f\x42A\x4cS"}["f\x61\x6ff\x79\x71\x76\x71"]});echo"</td\x3e</\x74r\x3e\x3c/tab\x6c\x65></d\x69\x76\x3e";}function fncAddOrganization(){$enrnchvdu="\x78\x61\x35";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();${$enrnchvdu}=$this->db->Execute("\143\x61\154l\x20\163\145\x6c\145\x63t\163\x74\x61\146\146\050'',\x27\x27\054'\x27\x2c''\x2c\x27\x27\051");$bxejsqui="\x78\x61\x36";${${"\x47\x4c\x4f\x42\x41LS"}["o\x64r\x6c\x6b\x6e"]}=$xa5->GetRows();$this->smarty->assign("EM\x50\x4e\x41\x4d\x45",${$bxejsqui});${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x66\x73tr\x78\x79"]="\x78\x61\x37";$this->connect();${${"\x47\x4cO\x42\x41LS"}["s\x66\x73\x74\x72x\x79"]}=$this->db->Execute("c\x61\x6c\x6c\040sel\145\x63\164\156\x6f\x64es\x28\x27'\x2c'\x27\054''\054\x27'\x2c''\x29");$this->smarty->assign("or\x67\x61n\x69\x7a\x61t\x69o\x6e",$xa7->GetRows());$this->smarty->display("o\x72gan\x69z\x61\x74ion/\x63\x72eateor\x67\x61\x6eizati\x6fn\x2etpl");}function fncEditOrganization(){$akotoehgf="\x78ab";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$hsqirnreen="\x78\x61\x38";${$hsqirnreen}=$_POST["\x74\x78t\x48\x69d\x64\x65\x6e"];$this->connect();$iswfmjd="\x78\x61\x63";$pnvoqdvwog="\x781b";${"GL\x4f\x42\x41\x4cS"}["\x74n\x6f\x68\x74\x69\x70\x67\x64\x69"]="\x78\x61\x36";${${"GL\x4f\x42\x41L\x53"}["\x6ddw\x75\x73c\x71\x73gf\x77"]}=$this->db->Execute("\x63\141\x6c\x6c\040\163\145\154\x65\143\164s\x74\141\x66\x66\x28'\x27\054'\x27\x2c'','\x27\054\x27\x27)");${${"\x47\x4cOB\x41L\x53"}["\x74\x6e\x6f\x68\x74\x69p\x67di"]}=$xa5->GetRows();$this->smarty->assign("EM\x50NAME",${${"\x47L\x4f\x42A\x4cS"}["\x6f\x64\x72l\x6b\x6e"]});$this->connect();${${"\x47L\x4f\x42\x41LS"}["hp\x66\x77ubx\x64\x70"]}=$this->db->Execute("\143a\x6c\154\040\x73\x65\154\x65\x63t\x6e\x6f\x64e\163\x28'\x27\054\x27i\144\x3d''$xa8\x27'\x27\x2c\x27',\x27'\054'')");${${"G\x4c\x4f\x42\x41L\x53"}["\x61\x79\x6cb\x70\x72i\x6a"]}=$xa7->FetchRow();${${"\x47\x4cO\x42ALS"}["f\x77\x74\x73\x69mo\x65\x79o\x74\x78"]}=${${"\x47\x4cOB\x41L\x53"}["\x61y\x6c\x62\x70\x72\x69\x6a"]}[parentId];$this->smarty->assign("\x6fr\x67\x61\x6e\x69\x7a\x61\x74ion",${$pnvoqdvwog});${"\x47L\x4f\x42ALS"}["\x63h\x6an\x66\x68\x6a\x6d\x79\x79"]="\x78\x61\x62";$this->connect();${${"\x47\x4c\x4fB\x41\x4c\x53"}["kdko\x62\x73\x78\x74\x70t"]}=$this->db->Execute("\143\141\x6c\x6c\040\163\x65\x6c\145\143\x74\x6eo\144\x65\163\050\x27'\054'\x69\144\x3d\x27'$xa9\x27\x27\x27,\x27\x27\x2c'\x27,''\x29");${${"\x47LO\x42ALS"}["\x63\x68j\x6e\x66\x68jm\x79\x79"]}=$xaa->FetchRow();$this->smarty->assign("\x4fR\x47\x43HILD",${$akotoehgf});$this->connect();${$iswfmjd}=$this->db->Execute("\x63\x61\154\154\x20s\x65\154\x65\x63\164\x6e\x6f\144\x65\x73(\x27'\x2c\x27'\x2c\x27\x27\054''\054\x27')");$this->smarty->assign("ORG\x4e\x4fD\x45",$xac->GetRows());$this->smarty->display("org\x61\x6e\x69z\x61ti\x6f\x6e/\x65di\x74\x6frgani\x7aati\x6f\x6e.tpl");}function fncUpdateOrganisation(){${"\x47\x4c\x4f\x42\x41LS"}["k\x73\x66mrc\x6c\x62\x61"]="xae";$yuphsf="\x78\x61\x38";$pfavds="\x78\x63a";$vjsgcglmdb="\x78\x61f";$azkvorjidmn="\x78\x61\x64";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;${$yuphsf}=$_POST["\x74xt\x48i\x64\x64\x65n"];${$azkvorjidmn}=$_POST["\x74x\x74N\x61\x6d\x65"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x73\x66\x6d\x72\x63\x6c\x62\x61"]}=$_POST["cmb\x50\x61re\x6e\x74"];${$vjsgcglmdb}="";$this->connect();${${"G\x4c\x4f\x42A\x4c\x53"}["ou\x77va\x65\x69x"]}=$this->db->Execute("\x63\141\154\x6c\x20\x55\x50\x44\101TE_\x4e\x6fd\x65(\x27$xa8\x27\054\x27$xad'\x2c'$xae'\x2c'$xaf'\x29");${$pfavds}("\x4c\x6fc\x61\x74\151\x6f\x6e\x3a\151\x6e\144\x65\170\x2ep\x68\x70?\155\x6f\x64\165\x6c\145\075\157\x72\x67\x61\156\151\x7a\x61t\151\x6f\156\x26\x61\x63\x74\x69\x6f\x6e\075\x6f\162\147\160\x72\x6f\x66\x69\154e&\151\156=\x6f\162\x67\163tr\165\143\x74\x75\x72e\046\x6d\145s\x73\x3d\x75\x70\x64\x61\x74\145");}function fncDeleteOrganisation(){${"GLO\x42A\x4c\x53"}["\x6d\x76\x76\x67\x63\x64\x64\x6ae\x78\x63"]="\x78c\x61";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$yozllpsrc="\x78\x61\x38";${$yozllpsrc}=$_POST["tx\x74\x48\x69d\x64e\x6e"];$this->connect();$this->db->Execute("\143\141\x6cl\040\x44E\x4cET\x45\137\x4e\157\144\x65\050\x27$xa8'\051");${${"G\x4cO\x42\x41L\x53"}["mvvg\x63\x64dj\x65\x78c"]}("\114o\143\141\x74\x69\x6f\156\x3a\x69\156\x64\x65\x78\056\x70\150\x70\x3f\x6d\x6f\144\x75\154\x65\x3d\x6f\x72\x67\x61\156\x69\x7a\141t\x69\x6f\x6e\046\x61\143\164i\157\156\075\157\162\x67\160\162\157f\151\x6c\x65\x26\x69\156\x3d\x6f\x72\147\x73\x74r\x75\x63\x74\x75\x72\x65&\155\x65\x73\x73\x3d\144\145\154\x65\164\145");}function fncInsertOrganization(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$rtlqcqkh="x\x61d";echo${$rtlqcqkh}=$_POST["\x74x\x74\x4eam\x65"];${${"G\x4c\x4f\x42A\x4c\x53"}["\x75\x75\x79\x65k\x66\x70\x6b"]}=$_POST["\x63\x6d\x62P\x61r\x65n\x74"];if(isset(${${"G\x4c\x4f\x42\x41L\x53"}["w\x78\x6bd\x72\x6a\x76s"]}["i\x6dgFil\x65"])){$xuudhpinodbu="x\x622";$geekyszzvwk="\x78\x62\x39";${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x62ro\x72c"]="\x781\x38";$wjkenqzyk="x\x62\x31";$ccywhoppkn="x\x62\x63";${"\x47LOB\x41\x4c\x53"}["lma\x6alk\x63\x76\x78\x77"]="\x78\x624";$ggbvcafckxog="\x78\x318";${"GLO\x42\x41\x4c\x53"}["\x6e\x63w\x61r\x7aqt\x63dk"]="\x78\x62\x36";$mhrbkx="\x78c\x62";$ghxcgibwkztf="\x781\x38";$slkqqeusvprc="\x78\x31\x38";$yvflovg="\x78\x62\x38";${${"\x47\x4cO\x42\x41\x4cS"}["\x62\x61v\x79t\x73t\x6a\x74\x7a\x79"]}=${${"\x47\x4cOB\x41\x4cS"}["\x77\x78\x6bdrj\x76s"]}["\x69mg\x46\x69l\x65"]["na\x6de"];${"\x47\x4cOB\x41\x4c\x53"}["\x70m\x72\x78c\x63\x6bw"]="xb7";${"\x47L\x4f\x42ALS"}["r\x78c\x74\x67\x6e\x77\x69\x6e\x6e\x76"]="\x78b\x37";$pdknsij="\x78\x63\x39";${"\x47\x4cO\x42\x41\x4cS"}["\x70\x74\x68\x62\x6d\x78u\x6dnvf\x63"]="x\x621";${$xuudhpinodbu}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77x\x6b\x64\x72jvs"]}["\x69\x6d\x67F\x69le"]["tm\x70_n\x61m\x65"];$ueotqkgnxra="\x78\x62\x32";${${"\x47\x4c\x4f\x42A\x4c\x53"}["bgu\x6ay\x74\x71\x67u"]}="\164\150\x65\155\x65s/\x64\145fa\x75\154\x74/\165\x73\x65\162\x70\150\x6f\164\x6fs/".${${"\x47L\x4fB\x41\x4c\x53"}["\x70\x74\x68b\x6d\x78\x75\x6d\x6e\x76f\x63"]};$vjbgtgnl="\x781\x38";$nvwknnv="x\x63\x39";$tbkspscgasdd="x\x62\x35";${"G\x4cOB\x41\x4c\x53"}["\x66ohvl\x6fd\x6b"]="\x78\x62\x37";@${${"\x47\x4c\x4fB\x41LS"}["uc\x68\x68hq\x77"]}(${$ueotqkgnxra},${${"G\x4cO\x42AL\x53"}["b\x67\x75j\x79tqgu"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x6b\x78\x72up"]}=${$wjkenqzyk};${"\x47\x4c\x4f\x42\x41L\x53"}["y\x63\x6ay\x6a\x74\x7ar\x76\x61\x6b"]="\x78bb";${${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x67\x78\x75\x6fk\x76r\x62\x63n\x6f"]}="\164h\145\x6de\x73\x2fd\x65\146\141\x75\154t\057\x75\x73\145\x72p\x68\x6ft\x6f\x73/".${${"\x47\x4c\x4fB\x41\x4cS"}["\x6c\x6da\x6a\x6c\x6bc\x76\x78w"]};${$vjbgtgnl}="\164\150em\x65\x73/\144\145\x66a\165l\x74\057\x75\x73\145\x72p\150o\164\x6f\x73\057".${${"\x47L\x4fB\x41\x4c\x53"}["m\x6b\x78\x72\x75p"]};list(${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x63wa\x72\x7a\x71\x74\x63d\x6b"]},${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x64tma\x70\x74e\x63"]})=@${$pdknsij}(${${"\x47\x4cO\x42ALS"}["\x64\x6dc\x71p\x74x"]});$eppfbsomf="\x78b\x61";${${"\x47\x4c\x4f\x42\x41L\x53"}["g\x79\x65t\x74\x6bx"]}=150;${"\x47\x4c\x4fB\x41\x4cS"}["etu\x66z\x74w\x73\x67\x6fb"]="\x78\x62\x63";$ltmnhyogv="\x78ba";${"\x47L\x4f\x42\x41\x4cS"}["g\x78\x6d\x63\x6f\x64\x6c\x68oz"]="\x78\x62\x61";${$geekyszzvwk}=${${"\x47L\x4fB\x41\x4c\x53"}["d\x79\x68y\x75\x79\x73"]}/${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67y\x65\x74tk\x78"]};${${"GL\x4f\x42A\x4c\x53"}["\x69\x73t\x6c\x6cp\x72o\x69\x66\x73\x6d"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["\x70\x6d\x72\x78\x63\x63k\x77"]};$rofjqyfhw="\x78\x62\x63";${"\x47\x4cO\x42\x41\x4c\x53"}["d\x71\x6bzt\x73\x71qi"]="\x78\x62\x39";$dhpucdu="x\x62\x35";${${"GL\x4fB\x41\x4c\x53"}["\x79c\x6a\x79\x6a\x74zr\x76a\x6b"]}=@${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x72\x73e\x62g\x70j\x76\x68\x6b"]}(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x79\x65t\x74kx"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69s\x74l\x6c\x70\x72\x6fif\x73\x6d"]});$qhvkqsvqc="\x78ce";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6c\x78\x74\x73\x67"]}=@${${"\x47\x4cO\x42\x41\x4cS"}["he\x74\x61qbv\x76"]}(${$slkqqeusvprc});$uhirytvwl="\x78\x63c";@${${"\x47\x4c\x4fB\x41\x4cS"}["e\x69\x6c\x62\x62\x66\x75\x74\x6c"]}(${${"\x47\x4cO\x42A\x4c\x53"}["\x72x\x6a\x70\x67\x73\x6b\x6a"]},${$ccywhoppkn},0,0,0,0,${$yvflovg},${${"G\x4c\x4fBA\x4c\x53"}["\x67x\x6d\x63\x6f\x64\x6c\x68o\x7a"]},${${"\x47L\x4f\x42ALS"}["d\x79\x68y\x75\x79\x73"]},${${"\x47\x4cO\x42AL\x53"}["rx\x63t\x67nw\x69nn\x76"]});$badgkhgvplb="x\x61\x63";$aectackleb="x\x62\x35";@${$qhvkqsvqc}(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72xj\x70\x67\x73\x6b\x6a"]},${$dhpucdu},100);${$aectackleb}="\164\x68\145\155\x65\163\057\x64\145\x66\141u\154\x74/u\163\145\x72\x70\x68\x6f\164\157\163\x2fs\155\x6c_".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6dk\x78\x72\x75\x70"]};${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67u\x65t\x70\x76\x6e\x6d"]="\x78\x626";$ujxocfc="x\x62\x37";${$ggbvcafckxog}="\x74h\x65\155\x65\x73\057\x64\145\x66\141\165\x6c\x74/\x75\163\x65\x72\160\x68\x6f\x74\x6f\x73\x2f".${${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x6bx\x72u\x70"]};list(${${"G\x4cOB\x41\x4cS"}["\x67\x75\x65\x74\x70\x76\x6e\x6d"]},${${"\x47LOB\x41\x4cS"}["f\x6f\x68\x76\x6co\x64k"]})=@${$nvwknnv}(${$ghxcgibwkztf});$blhhuv="\x78bb";${${"\x47LO\x42AL\x53"}["g\x79\x65tt\x6b\x78"]}=80;$vhlxfusn="x\x62\x37";${${"G\x4c\x4f\x42A\x4c\x53"}["\x64qkz\x74\x73q\x71i"]}=${${"\x47LO\x42AL\x53"}["\x64yhyuy\x73"]}/${${"G\x4cO\x42\x41\x4c\x53"}["g\x79\x65\x74t\x6b\x78"]};${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69s\x74\x6c\x6c\x70\x72\x6f\x69\x66\x73\x6d"]}=${$ujxocfc};${${"\x47L\x4f\x42A\x4c\x53"}["r\x78\x6apg\x73kj"]}=@${$mhrbkx}(${${"GL\x4fB\x41L\x53"}["\x67\x79\x65\x74\x74kx"]},${$ltmnhyogv});${$rofjqyfhw}=@${$uhirytvwl}(${${"\x47LOB\x41L\x53"}["\x72br\x6f\x72c"]});@${${"\x47\x4cOB\x41\x4cS"}["e\x69\x6c\x62\x62\x66utl"]}(${${"\x47LO\x42A\x4c\x53"}["rx\x6a\x70\x67\x73\x6bj"]},${${"G\x4c\x4fBA\x4c\x53"}["e\x74ufzt\x77\x73\x67\x6f\x62"]},0,0,0,0,${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x79\x65\x74\x74\x6b\x78"]},${$eppfbsomf},${${"GL\x4f\x42\x41\x4c\x53"}["dyhyuy\x73"]},${$vhlxfusn});@${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["nn\x6f\x6c\x72e\x73\x64l\x77\x75\x73"]}(${$blhhuv},${$tbkspscgasdd},100);$this->connect();${$badgkhgvplb}=$this->db->Execute("\143\x61\x6c\x6c\040sel\145c\164\156\x6f\x64e\163\x28\x27\x27,\x27p\141ren\164\x3d''$xad\x27'\x27\054'\x27\054\x27\x27,'\x27\051");$this->smarty->assign("\x4fR\x47NO\x44E",$xac->FetchRow());${${"\x47\x4cOBAL\x53"}["do\x69mad\x79p"]}=$xac->RecordCount();if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x6f\x69\x6d\x61d\x79p"]}==0){$gkvnkjt="\x78\x39d";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x67tw\x70c\x7a\x6abaq"]="\x78\x63a";$this->connect();${$gkvnkjt}=$this->db->Execute("\x63\141\x6c\x6c\x20\x41\104\104_\x4eo\144\145\x28\x27$xad',\x27$xae','$xb4\x27\x29");${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x67\x74w\x70\x63\x7a\x6a\x62aq"]}("\x4c\157\143\x61\x74\x69\x6f\x6e:i\x6e\x64\145\x78\056\x70\x68\x70\077\x6d\157\x64\x75\154\x65\x3d\x6f\x72\147\x61\x6e\x69\172\141ti\157\156\046\x61\143\x74\x69\x6f\x6e=\x6fr\147\160\x72\x6ff\151\x6c\145\046i\x6e\x3do\x72g\x73\x74\x72\x75\x63tu\162\x65\046\155\x65\163s\075\151\x6e\163\x65\x72\x74");}else{${${"\x47L\x4fBA\x4c\x53"}["\x67w\x70j\x6f\x66\x75\x65u\x74"]}("\x4c\x6f\x63\x61\164\151on:\x69\156\x64\145\170\x2e\x70\150\x70\x3f\x6d\x6f\144\x75l\x65\075\157\x72\147\141\156\x69\172\x61t\151\x6f\x6e\x26a\143\x74\151\x6f\156=o\162\147\x70\x72\x6f\x66\x69\x6ce\046\x69\x6e=\x6f\x72\x67\163\x74r\165\143\164ure&\x6d\x65\163s\x3d\145\170\x69\x74");}}}function setRecurring(){global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$this->connect();${"G\x4c\x4fB\x41L\x53"}["g\x71\x76\x66f\x65\x6d\x65\x6b"]="\x78\x37e";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x71\x76\x66\x66\x65m\x65\x6b"]}=$this->db->Execute("\x43\x41\x4c\x4c Selec\x74\x5f\x52e\x63\x75rr\x69ng('\x72_day',\x27 \x72\x5f\x6e\x6f = (\x53\x45L\x45\x43T \x6d\x61x(r_\x6e\x6f)\x20FR\x4f\x4d\x20\x72\x65c\x75\x72ri\x6e\x67_\x68ol\x69\x64ay\x73\x20)\x27,\x27',\x27',\x27')");${${"\x47\x4cO\x42\x41L\x53"}["we\x68l\x6e\x67"]}=$x7e->GetRows();foreach(${${"\x47LOB\x41\x4c\x53"}["w\x65\x68\x6c\x6e\x67"]} as${${"\x47\x4c\x4fB\x41\x4c\x53"}["wgt\x64f\x6a"]}){$wbukia="\x7880";foreach(${$wbukia} as${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75v\x6bl\x6e\x71\x69\x73\x6c\x79p"]}){$hkmhnchsnxc="x5\x38";$vbkzpwp="x\x38\x31";${$hkmhnchsnxc}[${${"GL\x4f\x42\x41LS"}["\x75\x76kln\x71\x69s\x6c\x79\x70"]}]=${$vbkzpwp};}}$this->smarty->assign("R\x48",${${"G\x4cO\x42A\x4cS"}["brt\x6bh\x78d"]});$this->smarty->display("or\x67a\x6eizati\x6f\x6e/\x72\x65\x63u\x72\x72\x69ng.\x74\x70l");}function saveRecurring(){$cgehknewcfq="\x78\x62f";global$xc1,$xc2,$xc3,$xc4,$xc5,$xc6,$xc7,$xc8,$xc9,$xca,$xcb,$xcc,$xcd,$xce,$xcf,$xd0,$xd1,$xd2,$xd3,$xd4,$xd5,$xd6,$xd7,$xd8,$xd9,$xda,$xdb,$xdc,$xdd,$xde;$qezfcfierzp="\x78b\x66";$qgcxabv="\x78b\x66";${$qgcxabv}=$_POST;unset(${$cgehknewcfq}["t\x78\x74\x41\x63\x74ion"]);unset(${$qezfcfierzp}["\x74\x78\x74\x41ctionI\x64"]);if($_POST["\x53un"]=="o\x6e"){${"\x47L\x4f\x42A\x4cS"}["x\x6bb\x75\x61\x73o\x74\x6d\x79\x7a"]="xb\x66";${"\x47L\x4f\x42\x41\x4c\x53"}["n\x6c\x74\x67x\x6bj\x79x\x71\x6d"]="\x78\x62f";${"\x47L\x4f\x42\x41\x4cS"}["\x70\x68\x61jn\x6dsxy\x7a"]="xb\x66";unset(${${"\x47\x4c\x4fB\x41L\x53"}["\x70\x68\x61\x6a\x6e\x6dsxyz"]}["\x53\x75\x6e"]);${${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x6c\x62bl\x6d\x6ag\x62\x6e"]}["\x53\x75\x6e\x31"]="on";${${"G\x4c\x4fBAL\x53"}["y\x6c\x62\x62\x6cm\x6a\x67b\x6e"]}["\x53\x75\x6e\x32"]="\x6fn";${${"\x47\x4c\x4fB\x41\x4c\x53"}["x\x6bb\x75a\x73\x6f\x74\x6d\x79\x7a"]}["S\x75\x6e\x33"]="\x6fn";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6el\x74\x67\x78k\x6ay\x78\x71m"]}["\x53u\x6e\x34"]="on";${${"GL\x4fBA\x4cS"}["\x79l\x62b\x6c\x6djg\x62n"]}["S\x75\x6e\x35"]="\x6f\x6e";}if($_POST["M\x6fn"]=="on"){${"\x47L\x4fB\x41\x4c\x53"}["cg\x64e\x70\x73\x65vez\x6e"]="\x78b\x66";unset(${${"G\x4c\x4f\x42\x41LS"}["cg\x64\x65\x70se\x76e\x7a\x6e"]}["\x4don"]);$wgxidcplla="\x78\x62\x66";${${"\x47\x4c\x4f\x42\x41L\x53"}["yl\x62\x62l\x6d\x6a\x67\x62\x6e"]}["Mon1"]="on";${$wgxidcplla}["\x4do\x6e\x32"]="\x6f\x6e";${${"\x47\x4cO\x42\x41\x4cS"}["\x79\x6cb\x62l\x6d\x6agbn"]}["\x4do\x6e3"]="\x6fn";${"\x47\x4cO\x42\x41LS"}["\x6e\x73\x6b\x6b\x72\x62\x78c"]="x\x62\x66";${${"\x47\x4cO\x42AL\x53"}["\x79\x6c\x62\x62l\x6d\x6ag\x62\x6e"]}["\x4d\x6f\x6e\x34"]="o\x6e";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6es\x6b\x6br\x62x\x63"]}["Mon\x35"]="\x6f\x6e";}if($_POST["T\x75\x65"]=="\x6fn"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6a\x6edj\x64v\x78\x77\x70"]="\x78\x62f";${"G\x4cO\x42\x41\x4c\x53"}["xw\x78\x67\x7a\x62\x75\x67z"]="xbf";$gdrvlkwuo="x\x62\x66";${"\x47L\x4fBA\x4c\x53"}["\x78\x62\x6e\x79u\x76"]="\x78bf";unset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78w\x78\x67\x7ab\x75g\x7a"]}["T\x75\x65"]);${${"\x47\x4c\x4f\x42\x41\x4cS"}["b\x6an\x64\x6ad\x76xw\x70"]}["\x54u\x65\x31"]="\x6f\x6e";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x6cbb\x6cm\x6a\x67b\x6e"]}["Tu\x65\x32"]="on";${$gdrvlkwuo}["\x54u\x65\x33"]="on";${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x62n\x79\x75v"]}["\x54\x75e4"]="\x6f\x6e";${${"\x47LO\x42\x41\x4c\x53"}["\x79l\x62b\x6c\x6d\x6a\x67b\x6e"]}["\x54\x75e\x35"]="\x6fn";}if($_POST["W\x65\x64"]=="\x6fn"){$ivmbkvpf="\x78\x62f";${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x72\x6f\x63\x6c\x75v"]="\x78bf";$rshtkhs="x\x62\x66";unset(${$rshtkhs}["We\x64"]);$rlbrcbhb="\x78bf";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x72o\x63\x6c\x75\x76"]}["We\x641"]="\x6f\x6e";${$rlbrcbhb}["W\x65d\x32"]="o\x6e";${${"\x47L\x4fB\x41\x4c\x53"}["y\x6c\x62\x62\x6cmj\x67b\x6e"]}["\x57\x65\x64\x33"]="o\x6e";${${"GL\x4f\x42ALS"}["\x79l\x62bl\x6d\x6ag\x62\x6e"]}["\x57\x65d\x34"]="\x6f\x6e";${$ivmbkvpf}["W\x65d\x35"]="\x6f\x6e";}if($_POST["\x54hu"]=="\x6fn"){$qfgiwgjlty="\x78bf";unset(${${"\x47\x4cOBALS"}["\x79\x6c\x62\x62\x6cm\x6a\x67\x62\x6e"]}["\x54hu"]);${$qfgiwgjlty}["\x54\x68u1"]="o\x6e";${${"\x47\x4c\x4f\x42A\x4c\x53"}["y\x6cb\x62l\x6d\x6a\x67bn"]}["T\x68\x752"]="\x6f\x6e";${${"\x47L\x4fB\x41\x4c\x53"}["\x79l\x62\x62\x6c\x6d\x6a\x67\x62n"]}["\x54h\x753"]="o\x6e";$qiwidqoyly="xb\x66";${$qiwidqoyly}["T\x68u4"]="o\x6e";${"\x47\x4c\x4fB\x41LS"}["\x68\x6e\x73\x78f\x6d\x72\x79"]="\x78b\x66";${${"\x47LOB\x41\x4cS"}["h\x6es\x78\x66m\x72\x79"]}["Thu\x35"]="on";}if($_POST["\x46r\x69"]=="\x6fn"){${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x68\x79h\x77j\x6ax"]="\x78\x62f";${"\x47L\x4fB\x41\x4cS"}["\x65s\x62\x65\x6c\x64t\x71f"]="\x78b\x66";unset(${${"GLOB\x41\x4c\x53"}["\x65s\x62\x65\x6c\x64\x74\x71f"]}["\x46\x72i"]);${${"\x47L\x4f\x42A\x4c\x53"}["\x6d\x68\x79h\x77\x6ajx"]}["\x46ri\x31"]="on";${${"G\x4cO\x42A\x4c\x53"}["\x79\x6c\x62\x62\x6c\x6djgb\x6e"]}["Fr\x69\x32"]="\x6fn";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6br\x77\x63c\x6c\x64t\x62\x7a"]="x\x62\x66";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x74\x74w\x74g\x77"]="xb\x66";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x74t\x77\x74g\x77"]}["\x46\x72i\x33"]="on";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x72\x77c\x63\x6c\x64\x74\x62\x7a"]}["\x46r\x69\x34"]="o\x6e";${"GLOBA\x4cS"}["\x69o\x75\x77\x68\x70\x67p"]="\x78\x62f";${${"\x47L\x4f\x42A\x4cS"}["i\x6fuwh\x70\x67\x70"]}["\x46ri\x35"]="on";}if($_POST["\x53\x61\x74"]=="on"){$xhsvpzcfbuj="x\x62\x66";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x65\x6bt\x71\x65"]="\x78\x62f";${"\x47\x4c\x4f\x42\x41L\x53"}["\x69p\x66bp\x6eky\x63"]="xb\x66";unset(${${"G\x4cO\x42A\x4c\x53"}["i\x70f\x62\x70\x6ek\x79c"]}["\x53at"]);${$xhsvpzcfbuj}["\x53a\x741"]="on";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76ek\x74\x71e"]}["S\x61t\x32"]="\x6fn";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x6c\x62blm\x6a\x67b\x6e"]}["\x53\x61\x74\x33"]="\x6fn";$vqyqupltu="\x78\x62\x66";${${"\x47\x4c\x4f\x42AL\x53"}["y\x6cb\x62\x6cm\x6a\x67b\x6e"]}["\x53\x61t\x34"]="on";${$vqyqupltu}["Sa\x74\x35"]="o\x6e";}if(!empty(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79lb\x62l\x6d\x6ag\x62\x6e"]})){${"\x47\x4c\x4fBA\x4c\x53"}["u\x6d\x63\x73y\x75mp"]="\x787\x62";$wtihplkh="x\x630";$gyckcmf="\x78\x37e";${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x6d\x63\x73\x79\x75\x6dp"]}=time();$this->connect();${${"\x47\x4c\x4f\x42\x41\x4cS"}["j\x6a\x6c\x65\x6et\x72m"]}=date("m");${${"\x47\x4cO\x42\x41\x4c\x53"}["x\x75k\x74h\x6e\x61\x73\x70\x77\x66\x78"]}=date("Y");${$gyckcmf}=$this->db->Execute("C\x41\x4cL\x20S\x65l\x65c\164\137\x52\145\143\x75\x72\x72\x69\156\x67('\x72\x5fn\x6f',\x27\x44\x41\x54\105\137\106\x4f\122\115\101\124\x28r_\x75\160\144\x61\x74\x65\054\\\x27\x25Y\x2d\045\x6d\\'\051\x20= \x44\x41\124\x45\137\x46O\122\x4dAT(\\'$x7a-$x79\x2d\x30\x31\\\x27\054\\'\x25\x59\055\045\155\\\x27\051\x27\054\x27\x27\054'\x27\x2c'\x27)");if(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x79dg\x68\x6fx\x76\x79\x61r"]}){if($x7e->RecordCount()>0){$byloptik="\x78\x384";${$byloptik}=$x7e->FetchRow();$this->connect();$this->db->Execute("C\x41L\x4c\040\104e\x6c\x65\x74\x65_\122\145c\165\x72\x72\151\x6e\x67\050\x27".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77j\x61\x69\x64\x69\x77b\x6do"]}[0]."'\051");}}$this->connect();foreach(${${"\x47L\x4fB\x41\x4cS"}["\x79\x6c\x62\x62\x6c\x6d\x6ag\x62n"]} as${$wtihplkh}=>${${"\x47\x4cO\x42\x41\x4cS"}["\x72\x73\x70\x63\x6f\x77\x62kf\x66\x75"]})$this->db->Execute("\x43\x41LL\040\101d\144\x5f\122\145\x63\165\x72\x72\x69\x6e\x67('$x7b\x27\x2c\x27$xc0\x27\051");}header("L\157\143\x61\x74\151\x6f\156\x3a\x69\156\144e\170\056\x70\150\160?\x6d\x6fd\x75\x6c\145=\157\x72\x67\141\x6e\151\172a\x74i\157\156\x26\x61\143\x74\x69\157\x6e\075\x6f\x72\147\x73\x65t\164\x69\x6e\147\046\x69\x6e\x3d\x68\157l\151\144\x61\171\x73");}}echo "\n";
?>

Function Calls

None

Variables

None

Stats

MD5 40c485d9190ecaf998033eff5941b49c
Eval Count 0
Decode Time 266 ms