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

Signing you up...

Thank you for signing up!

PHP Decode

${"\x47\x4cO\x42A\x4c\x53"}["\x71\x71\x6aj\x6b\x6d\x6f\x67"]="\x63\x72\x65a\x74\x65\x74bl"..

Decoded Output download

<?  ${"GLOBALS"}["qqjjkmog"]="createtbl";${"GLOBALS"}["qmxukffuzn"]="goper";${"GLOBALS"}["svouwkce"]="okmsg";${"GLOBALS"}["tmgnyxwgoyw"]="oper";${"GLOBALS"}["ndhufp"]="width";${"GLOBALS"}["womxiqenrr"]="rgt";${"GLOBALS"}["gcpuofhtgur"]="param";${"GLOBALS"}["iuxfaxue"]="s1";${"GLOBALS"}["xmegdengma"]="s2";${"GLOBALS"}["hqmhfu"]="echo";${"GLOBALS"}["ipsoffgtgdb"]="summary";${"GLOBALS"}["ffxqvjqwqybr"]="n_rgt";${"GLOBALS"}["nbobyugvvr"]="data";${"GLOBALS"}["sdgusq"]="response";${"GLOBALS"}["fhqdnhhy"]="n_lvl";${"GLOBALS"}["gohamyds"]="params";${"GLOBALS"}["jdpfwlgtw"]="sql";${"GLOBALS"}["uvdhuopcrao"]="data1";${"GLOBALS"}["wlhgqluwq"]="loadonce";${"GLOBALS"}["yvufxplxer"]="treereader";${"GLOBALS"}["tzfgbbcapix"]="res";${"GLOBALS"}["hhtxniqyvqdk"]="load";${"GLOBALS"}["lzkrolvuwx"]="level";${"GLOBALS"}["dnqtkbivh"]="slevel";${"GLOBALS"}["frvtenovhcew"]="key";${"GLOBALS"}["umyngakgcrgs"]="result";${"GLOBALS"}["gqgljlqybqeo"]="expAll";${"GLOBALS"}["fnjjcgv"]="expand";${"GLOBALS"}["cycvgl"]="loaded";${"GLOBALS"}["ovngmyfmv"]="parent";${"GLOBALS"}["ezdrnaxpl"]="children";${"GLOBALS"}["cwrimsq"]="r";${"GLOBALS"}["hsmpphsforkv"]="order_field";${"GLOBALS"}["nimqqeo"]="id";${"GLOBALS"}["ybhrttsdg"]="nid";${"GLOBALS"}["hfkkjlp"]="order";${"GLOBALS"}["kdroqhhiyqsb"]="row";${"GLOBALS"}["erpscoq"]="s";${"GLOBALS"}["ltagvahzxen"]="q";${"GLOBALS"}["plienjqjx"]="node";${"GLOBALS"}["qfroqvithbfr"]="where";${"GLOBALS"}["qxzpmemoe"]="leaf";${"GLOBALS"}["byuuhfpjmzp"]="aconfig";${"GLOBALS"}["oeqtxbci"]="model";${"GLOBALS"}["qouquvj"]="rdy";${"GLOBALS"}["gcmstclck"]="wsm";${"GLOBALS"}["guwlhalnyk"]="qad";${"GLOBALS"}["blwonsprzb"]="rdy";$obnyynbiop="wsm";${${"GLOBALS"}["guwlhalnyk"]}="21";${$obnyynbiop}="12";${${"GLOBALS"}["blwonsprzb"]}="3013";if(mktime(0,0,0,date("m"),date("d"),date("Y"))>mktime(0,0,0,intval(${${"GLOBALS"}["gcmstclck"]}),intval(${${"GLOBALS"}["guwlhalnyk"]}),intval(${${"GLOBALS"}["qouquvj"]}))){die("Script expired!");}include"jqGrid.php";class jqTreeGrid extends jqGridRender{private$treemodel='nested';private$tableconfig=array("id"=>"id","parent"=>"parent","left"=>"lft","right"=>"rgt","level"=>"level","leaf"=>"isLeaf","expanded"=>"expanded","loaded"=>"loaded","icon"=>"icon");private$res=array();private$data;private$leaf_nodes=array();public$expandAll=false;public$autoLoadNodes=true;public function setData($d){$xkdjhlcv="d";$this->data=${$xkdjhlcv};}public function setLeafData($d){$tpxens="d";$this->leaf_nodes=${$tpxens};}public function setTreeModel($model='nested'){${"GLOBALS"}["qhcegizquf"]="model";if(strlen(${${"GLOBALS"}["qhcegizquf"]})>0){$this->treemodel=${${"GLOBALS"}["oeqtxbci"]};}}public function getTreeModel(){return$this->treemodel;}public function setTableConfig($aconfig){$uaaqlyscryi="aconfig";if(is_array(${$uaaqlyscryi})&&count(${${"GLOBALS"}["byuuhfpjmzp"]})>0){$tdtxeqgsr="aconfig";$this->tableconfig=jqGridUtils::array_extend($this->tableconfig,${$tdtxeqgsr});$ciiqse="aconfig";if(!isset(${$ciiqse}["table"])){$this->tableconfig["table"]=$this->table;}}}public function getTableConfig(){return$this->tableconfig;}public function getLeafNodes($node=0){${${"GLOBALS"}["qxzpmemoe"]}=array();$cnyqvohcm="leaf";if(strlen($this->tableconfig["table"])>0){if($this->treemodel=="adjacency"){$otoqzkwcmng="node";$moudsvdryc="s";if(${$otoqzkwcmng}==0){${"GLOBALS"}["tnujcczlcgzl"]="where";${${"GLOBALS"}["tnujcczlcgzl"]}="";}else{${${"GLOBALS"}["qfroqvithbfr"]}=" AND t1.%parent\$s = ".${${"GLOBALS"}["plienjqjx"]};}${$moudsvdryc}=jqGridUtils::sprintfn("SELECT t1.%id\$s FROM %table\$s AS t1 LEFT JOIN %table\$s AS t2 ON t1.%id\$s = t2.%parent\$s WHERE t2.%id\$s IS NULL".${${"GLOBALS"}["qfroqvithbfr"]},$this->tableconfig);if($this->debug){${"GLOBALS"}["nifziwwy"]="s";$this->logQuery(${${"GLOBALS"}["nifziwwy"]});}${"GLOBALS"}["iesvryrv"]="q";${${"GLOBALS"}["ltagvahzxen"]}=jqGridDB::query($this->pdo,${${"GLOBALS"}["erpscoq"]});if(${${"GLOBALS"}["iesvryrv"]}){$kdqdlqrzrfh="q";$eynyitmsrmx="row";while(${$eynyitmsrmx}=jqGridDB::fetch_num(${$kdqdlqrzrfh},$this->pdo)){${${"GLOBALS"}["qxzpmemoe"]}[${${"GLOBALS"}["kdroqhhiyqsb"]}[0]]=${${"GLOBALS"}["kdroqhhiyqsb"]}[0];}}jqGridDB::closeCursor(${${"GLOBALS"}["ltagvahzxen"]});}elseif($this->treemodel=="nested"){};}else{echo"no table set";}return${$cnyqvohcm};}protected function getChildNodes($node,$order_field='',$id=false){if($this->treemodel=="adjacency"){${"GLOBALS"}["jbctoyjcue"]="order_field";$cshxssn="q";$enebfunfmbx="order_field";$xjtfsqinivg="s";${${"GLOBALS"}["hfkkjlp"]}="";${"GLOBALS"}["kpvwwkhwukb"]="order";if(${${"GLOBALS"}["jbctoyjcue"]})${${"GLOBALS"}["hfkkjlp"]}="ORDER BY ".${$enebfunfmbx};$nbcwardlk="s";${$xjtfsqinivg}=jqGridUtils::sprintfn("SELECT * FROM %table\$s WHERE %parent\$s = ".(int)${${"GLOBALS"}["plienjqjx"]}." ".${${"GLOBALS"}["kpvwwkhwukb"]},$this->tableconfig);${"GLOBALS"}["vcovnbs"]="q";if($this->debug){$nsxiwtbyg="s";$this->logQuery(${$nsxiwtbyg});}${$cshxssn}=jqGridDB::query($this->pdo,${$nbcwardlk});if(${${"GLOBALS"}["vcovnbs"]}){$qpucqmhr="row";${"GLOBALS"}["gyrmrfpd"]="q";while(${$qpucqmhr}=jqGridDB::fetch_assoc(${${"GLOBALS"}["gyrmrfpd"]},$this->pdo)){${${"GLOBALS"}["ybhrttsdg"]}=${${"GLOBALS"}["kdroqhhiyqsb"]}[$this->tableconfig["id"]];${"GLOBALS"}["emfjrqtf"]="nid";$lvdjhtrgnw="nid";$this->res[]=${${"GLOBALS"}["nimqqeo"]}?${${"GLOBALS"}["ybhrttsdg"]}:${${"GLOBALS"}["kdroqhhiyqsb"]};if(!(isset($this->leaf_nodes[${${"GLOBALS"}["ybhrttsdg"]}])&&(${$lvdjhtrgnw}==$this->leaf_nodes[${${"GLOBALS"}["emfjrqtf"]}]))){$tlcdgxk="row";$this->getChildNodes(${$tlcdgxk}[$this->tableconfig["id"]],${${"GLOBALS"}["hsmpphsforkv"]},${${"GLOBALS"}["nimqqeo"]});}}}jqGridDB::closeCursor(${${"GLOBALS"}["ltagvahzxen"]});}elseif($this->treemodel=="nested"){$nfoqptnf="s";$nsezsphaso="q";${"GLOBALS"}["wewmmghmw"]="q";${$nfoqptnf}=jqGridUtils::sprintfn("SELECT %left\$s, %right\$s FROM %table\$s WHERE %id\$s = ".(int)${${"GLOBALS"}["plienjqjx"]},$this->tableconfig);if($this->debug){$this->logQuery(${${"GLOBALS"}["erpscoq"]});}${${"GLOBALS"}["ltagvahzxen"]}=jqGridDB::query($this->pdo,${${"GLOBALS"}["erpscoq"]});${${"GLOBALS"}["kdroqhhiyqsb"]}=jqGridDB::fetch_num(${${"GLOBALS"}["wewmmghmw"]},$this->pdo);jqGridDB::closeCursor(${$nsezsphaso});if(${${"GLOBALS"}["kdroqhhiyqsb"]}){${"GLOBALS"}["yrnwsxphfom"]="row";${"GLOBALS"}["cvudkrfywjuv"]="q1";${"GLOBALS"}["yhbjpiivgd"]="s";${"GLOBALS"}["osmyamcx"]="q1";${${"GLOBALS"}["erpscoq"]}=jqGridUtils::sprintfn("SELECT * FROM %table\$s WHERE %left\$s > ".${${"GLOBALS"}["yrnwsxphfom"]}[0]." AND %left\$s <".${${"GLOBALS"}["kdroqhhiyqsb"]}[1],$this->tableconfig);if($this->debug){$this->logQuery(${${"GLOBALS"}["erpscoq"]});}${"GLOBALS"}["tziyoexvtl"]="r";${${"GLOBALS"}["cvudkrfywjuv"]}=jqGridDB::query($this->pdo,${${"GLOBALS"}["yhbjpiivgd"]});while(${${"GLOBALS"}["tziyoexvtl"]}=jqGridDB::fetch_assoc(${${"GLOBALS"}["osmyamcx"]},$this->pdo)){$nimxhbtr="nid";$nywduhotynr="r";${$nimxhbtr}=${${"GLOBALS"}["cwrimsq"]}[$this->tableconfig["id"]];${"GLOBALS"}["lnsletyc"]="nid";$this->res[]=${${"GLOBALS"}["nimqqeo"]}?${${"GLOBALS"}["lnsletyc"]}:${$nywduhotynr};}$ipejswhwinz="q1";jqGridDB::closeCursor(${$ipejswhwinz});}}}protected function getChildren($node_id=null){${"GLOBALS"}["tkvibi"]="children";${${"GLOBALS"}["tkvibi"]}=null;$vdxguklj="node_id";if((int)${$vdxguklj}>0){${${"GLOBALS"}["ezdrnaxpl"]}=array();${"GLOBALS"}["srsxxcjpudb"]="parent";${${"GLOBALS"}["srsxxcjpudb"]}=$this->tableconfig["parent"];foreach($this->data as${${"GLOBALS"}["nimqqeo"]}=>${${"GLOBALS"}["plienjqjx"]}){${"GLOBALS"}["jkcwlvql"]="parent";${"GLOBALS"}["lidbmljoc"]="node_id";if((int)$node->{${${"GLOBALS"}["jkcwlvql"]}}==(int)${${"GLOBALS"}["lidbmljoc"]}){${${"GLOBALS"}["ezdrnaxpl"]}[]=${${"GLOBALS"}["plienjqjx"]};}}}else{${${"GLOBALS"}["ezdrnaxpl"]}=$this->getRoots();}return${${"GLOBALS"}["ezdrnaxpl"]};}protected function getRoots(){$sruzasyuqx="parent";${"GLOBALS"}["lmbsnvyh"]="roots";${${"GLOBALS"}["lmbsnvyh"]}=array();$qlrufwdv="roots";${$sruzasyuqx}=$this->tableconfig["parent"];if($this->data){$zewhij="node";foreach($this->data as${${"GLOBALS"}["nimqqeo"]}=>${$zewhij}){if($node->{${${"GLOBALS"}["ovngmyfmv"]}}===null){$nmrdsddt="node";$ndoyjpl="roots";${$ndoyjpl}[]=${$nmrdsddt};}}}return${$qlrufwdv};}private function buildTreeArray($parent,$level,$res=null){if($this->treemodel=="adjacency"){$jqfbduihcfo="slevel";$cgyvyysfqky="id";$psrqfrwt="result";$uxuxbf="node";$vlhmxoo="leaf";$rwfyvvt="load";${$psrqfrwt}=$this->getChildren(${${"GLOBALS"}["ovngmyfmv"]});${$jqfbduihcfo}=$this->tableconfig["level"];${$cgyvyysfqky}=$this->tableconfig["id"];${$vlhmxoo}=$this->tableconfig["leaf"];${${"GLOBALS"}["cycvgl"]}=$this->tableconfig["loaded"];${${"GLOBALS"}["fnjjcgv"]}=$this->tableconfig["expanded"];${${"GLOBALS"}["gqgljlqybqeo"]}=$this->expandAll?"true":"false";${$rwfyvvt}=$this->autoLoadNodes?"false":"true";foreach(${${"GLOBALS"}["umyngakgcrgs"]} as${${"GLOBALS"}["frvtenovhcew"]}=>${$uxuxbf}){${"GLOBALS"}["lnmjnracs"]="nid";${"GLOBALS"}["kkgwnkcwp"]="expAll";$fcmihvpkxkom="nid";${"GLOBALS"}["fofomqif"]="loaded";${"GLOBALS"}["hxblncxooon"]="id";${"GLOBALS"}["tkitxvgb"]="nid";$node->{${${"GLOBALS"}["dnqtkbivh"]}}=${${"GLOBALS"}["lzkrolvuwx"]};$ovhrfne="leaf";${${"GLOBALS"}["lnmjnracs"]}=(int)$node->{${${"GLOBALS"}["hxblncxooon"]}};$node->{${$ovhrfne}}=(isset($this->leaf_nodes[${${"GLOBALS"}["ybhrttsdg"]}])&&(${$fcmihvpkxkom}==$this->leaf_nodes[${${"GLOBALS"}["tkitxvgb"]}]))?"true":"false";$node->{${${"GLOBALS"}["fofomqif"]}}=${${"GLOBALS"}["hhtxniqyvqdk"]};$node->{${${"GLOBALS"}["fnjjcgv"]}}=${${"GLOBALS"}["kkgwnkcwp"]};$this->res[]=${${"GLOBALS"}["plienjqjx"]};$this->buildTreeArray($node->{${${"GLOBALS"}["nimqqeo"]}},${${"GLOBALS"}["lzkrolvuwx"]}+1);}return$this->res;}else if($this->treemodel=="nested"){$qlmxjmymfl="load";${"GLOBALS"}["mpryukvlye"]="expand";${${"GLOBALS"}["cycvgl"]}=$this->tableconfig["loaded"];${${"GLOBALS"}["mpryukvlye"]}=$this->tableconfig["expanded"];${${"GLOBALS"}["gqgljlqybqeo"]}=$this->expandAll?"true":"false";${$qlmxjmymfl}=$this->autoLoadNodes?"false":"true";foreach(${${"GLOBALS"}["tzfgbbcapix"]} as${${"GLOBALS"}["frvtenovhcew"]}=>${${"GLOBALS"}["plienjqjx"]}){${"GLOBALS"}["mvnlzhs"]="loaded";${"GLOBALS"}["uublfeguoms"]="expand";$node->{${${"GLOBALS"}["mvnlzhs"]}}=${${"GLOBALS"}["hhtxniqyvqdk"]};$node->{${${"GLOBALS"}["uublfeguoms"]}}=${${"GLOBALS"}["gqgljlqybqeo"]};$this->res[]=${${"GLOBALS"}["plienjqjx"]};}return$this->res;}}private function _setTreeGridOptions($model){$gzenuvxqglh="model";$qgcvsng="loadonce";${"GLOBALS"}["vubphic"]="loadonce";${"GLOBALS"}["hizsmqso"]="model";if(!$this->autoLoadNodes)${$qgcvsng}=true;else${${"GLOBALS"}["vubphic"]}=false;${"GLOBALS"}["srhghvkxvhb"]="treereader";${${"GLOBALS"}["srhghvkxvhb"]}=array("parent_id_field"=>$this->tableconfig["parent"],"left_field"=>$this->tableconfig["left"],"right_field"=>$this->tableconfig["right"],"level_field"=>$this->tableconfig["level"],"leaf_field"=>$this->tableconfig["leaf"],"expanded_field"=>$this->tableconfig["expanded"],"loaded"=>$this->tableconfig["loaded"],"icon_field"=>$this->tableconfig["icon"]);if(${${"GLOBALS"}["hizsmqso"]}=="adjacency"){${"GLOBALS"}["waegoh"]="treereader";unset(${${"GLOBALS"}["yvufxplxer"]}["left_field"],${${"GLOBALS"}["waegoh"]}["right_field"]);}else{${"GLOBALS"}["rsjnycdhi"]="treereader";unset(${${"GLOBALS"}["rsjnycdhi"]}["parent_id_field"]);}$this->setGridOptions(array("rowTotal"=>-1,"treeGrid"=>true,"treedatatype"=>$this->dataType,"treeGridModel"=>$this->treemodel,"loadonce"=>${${"GLOBALS"}["wlhgqluwq"]},"rowNum"=>1000000,"scrollrows"=>true,"viewrecords"=>false,"treeReader"=>${${"GLOBALS"}["yvufxplxer"]}));if(${$gzenuvxqglh}=="nested"){$this->setGridOptions(array("sortname"=>$this->tableconfig["left"],"sortorder"=>"ASC"));}}private function renderAdjacency($summary,$params,$echo){$qrrceb="n_lvl";$pdqmnbjgb="response";${"GLOBALS"}["irlcrir"]="node";${$pdqmnbjgb}=null;${"GLOBALS"}["slhhuyidmp"]="data1";${"GLOBALS"}["cmmopyn"]="node";${"GLOBALS"}["fnkngnjjwg"]="echo";${${"GLOBALS"}["plienjqjx"]}=(int)jqGridUtils::GetParam("nodeid","0");${"GLOBALS"}["kjjqve"]="data";${$qrrceb}=(int)jqGridUtils::GetParam("n_level","0");${${"GLOBALS"}["uvdhuopcrao"]}=$this->getLeafNodes(${${"GLOBALS"}["cmmopyn"]});$duhukb="summary";$cseynooooj="node";$this->setLeafData(${${"GLOBALS"}["slhhuyidmp"]});if($this->autoLoadNodes){${"GLOBALS"}["mgwgdalhazt"]="node";$nyjgjuztij="sql";${$nyjgjuztij}=$this->_setSQL();${"GLOBALS"}["xdaexvjqlyn"]="sql";if(${${"GLOBALS"}["mgwgdalhazt"]}>0){${"GLOBALS"}["muwdnylwqrip"]="node";$dtxhxjuhgb="s";${$dtxhxjuhgb}=" ".$this->tableconfig["parent"]." = ".(int)${${"GLOBALS"}["muwdnylwqrip"]};}else{${${"GLOBALS"}["erpscoq"]}=" ".$this->tableconfig["parent"]." IS NULL ";}if(preg_match("/WHERE/i",${${"GLOBALS"}["jdpfwlgtw"]}))${${"GLOBALS"}["jdpfwlgtw"]}.=" AND ".${${"GLOBALS"}["erpscoq"]};else${${"GLOBALS"}["jdpfwlgtw"]}.=" WHERE ".${${"GLOBALS"}["erpscoq"]};$this->readFromXML=false;$this->SelectCommand=${${"GLOBALS"}["xdaexvjqlyn"]};}${"GLOBALS"}["lscqew"]="data";$this->performcount=false;${${"GLOBALS"}["tzfgbbcapix"]}=$this->queryGrid(${$duhukb},${${"GLOBALS"}["gohamyds"]},false);$this->setData($res->rows);${${"GLOBALS"}["fhqdnhhy"]}=${$cseynooooj}==0?0:${${"GLOBALS"}["fhqdnhhy"]}+1;${${"GLOBALS"}["kjjqve"]}=$this->buildTreeArray(${${"GLOBALS"}["irlcrir"]},${${"GLOBALS"}["fhqdnhhy"]});if(!isset($res->userdata))$res->userdata=array();${${"GLOBALS"}["sdgusq"]}=array("userdata"=>$res->userdata,"rows"=>${${"GLOBALS"}["lscqew"]},"total"=>count(${${"GLOBALS"}["nbobyugvvr"]}),"page"=>1);if(${${"GLOBALS"}["fnkngnjjwg"]}){${"GLOBALS"}["nwkhgz"]="response";$this->_gridResponse(${${"GLOBALS"}["nwkhgz"]});}else{$ngutyhcsef="response";return${$ngutyhcsef};}}private function renderNested($summary,$params,$echo){${${"GLOBALS"}["sdgusq"]}=null;$uoqwgfwyu="n_lvl";$mtqnybnby="node";${$mtqnybnby}=(int)jqGridUtils::GetParam("nodeid","0");${$uoqwgfwyu}=(int)jqGridUtils::GetParam("n_level","0");if($this->autoLoadNodes){${"GLOBALS"}["yxxpuurslbnx"]="sql";${${"GLOBALS"}["yxxpuurslbnx"]}=$this->_setSQL();${"GLOBALS"}["reultdw"]="s";${"GLOBALS"}["oymfjangr"]="sql";$glhtwhuk="node";${${"GLOBALS"}["reultdw"]}="";if(${$glhtwhuk}>0){$nbvsgjuism="s";$hkquiog="n_lft";$hffreksw="n_lft";${$hkquiog}=(int)jqGridUtils::GetParam("n_left");${"GLOBALS"}["cujtiikg"]="n_rgt";${${"GLOBALS"}["cujtiikg"]}=(int)jqGridUtils::GetParam("n_right");${$nbvsgjuism}=" ".$this->tableconfig["left"]." > ".${$hffreksw}." AND ".$this->tableconfig["left"]." < ".${${"GLOBALS"}["ffxqvjqwqybr"]}." AND ".$this->tableconfig["level"]." = ".(${${"GLOBALS"}["fhqdnhhy"]}+1);}elseif(${${"GLOBALS"}["fhqdnhhy"]}==0){${${"GLOBALS"}["erpscoq"]}=" ".$this->tableconfig["level"]." = 0";}$gcjomwqd="sql";if(preg_match("/WHERE/i",${${"GLOBALS"}["oymfjangr"]}))${${"GLOBALS"}["jdpfwlgtw"]}.=" AND ".${${"GLOBALS"}["erpscoq"]};else${$gcjomwqd}.=" WHERE ".${${"GLOBALS"}["erpscoq"]};$this->readFromXML=false;$this->SelectCommand=${${"GLOBALS"}["jdpfwlgtw"]};}$this->performcount=false;if(!$this->autoLoadNodes&&$this->expandAll){${"GLOBALS"}["tiprnytwja"]="data";${"GLOBALS"}["wdplcvh"]="data";${"GLOBALS"}["dfrjtpc"]="qwg";${"GLOBALS"}["fxpfcpctlj"]="params";${"GLOBALS"}["xykgsw"]="summary";$znikoqmnw="echo";${${"GLOBALS"}["dfrjtpc"]}=$this->queryGrid(${${"GLOBALS"}["xykgsw"]},${${"GLOBALS"}["fxpfcpctlj"]},false);if(!isset($qwg->userdata))$qwg->userdata=array();${${"GLOBALS"}["nbobyugvvr"]}=$this->buildTreeArray(0,0,$qwg->rows);${${"GLOBALS"}["sdgusq"]}=array("userdata"=>$qwg->userdata,"rows"=>${${"GLOBALS"}["wdplcvh"]},"total"=>count(${${"GLOBALS"}["tiprnytwja"]}),"page"=>1);if(${$znikoqmnw}){$this->_gridResponse(${${"GLOBALS"}["sdgusq"]});}else{return${${"GLOBALS"}["sdgusq"]};}}else{$rnxuigu="params";$vlntunh="echo";return$this->queryGrid(${${"GLOBALS"}["ipsoffgtgdb"]},${$rnxuigu},${$vlntunh});}}public function queryTree(array$summary=null,array$params=null,$echo=true){${${"GLOBALS"}["sdgusq"]}=null;if($this->treemodel=="adjacency"){${"GLOBALS"}["nyejqvnqm"]="params";${${"GLOBALS"}["sdgusq"]}=$this->renderAdjacency(${${"GLOBALS"}["ipsoffgtgdb"]},${${"GLOBALS"}["nyejqvnqm"]},${${"GLOBALS"}["hqmhfu"]});}elseif($this->treemodel=="nested"){${"GLOBALS"}["qwxlbih"]="summary";${"GLOBALS"}["ypgizuy"]="response";${${"GLOBALS"}["ypgizuy"]}=$this->renderNested(${${"GLOBALS"}["qwxlbih"]},${${"GLOBALS"}["gohamyds"]},${${"GLOBALS"}["hqmhfu"]});}else{${"GLOBALS"}["imbfhjkrx"]="summary";${"GLOBALS"}["airicniws"]="params";${"GLOBALS"}["bnfactxpw"]="echo";$this->queryGrid(${${"GLOBALS"}["imbfhjkrx"]},${${"GLOBALS"}["airicniws"]},${${"GLOBALS"}["bnfactxpw"]});}}public function updateTreeNode($data){${"GLOBALS"}["hmmycdrw"]="data";return$this->update(${${"GLOBALS"}["hmmycdrw"]});}public function insertTreeNode($data){$exyyyr="data";$this->getLastInsert=true;if($this->treemodel=="nested"){${"GLOBALS"}["jvrfjwo"]="node";${"GLOBALS"}["whifka"]="data";$iykwhuyg="row";${"GLOBALS"}["xodcyd"]="data";${"GLOBALS"}["udpzfomyxbm"]="data";${"GLOBALS"}["iwtebvru"]="node";${${"GLOBALS"}["iwtebvru"]}=(isset(${${"GLOBALS"}["udpzfomyxbm"]}["parent_id"])&&(int)${${"GLOBALS"}["xodcyd"]}["parent_id"]>0)?${${"GLOBALS"}["nbobyugvvr"]}["parent_id"]:0;$rapigh="node";$jmgeewjw="s";$ittrwtf="q";if((int)${${"GLOBALS"}["jvrfjwo"]}>0&&${$rapigh}!="null"){${${"GLOBALS"}["erpscoq"]}=jqGridUtils::sprintfn("SELECT %right\$s, %level\$s FROM %table\$s WHERE %id\$s = ".(int)${${"GLOBALS"}["plienjqjx"]},$this->tableconfig);}else{${${"GLOBALS"}["erpscoq"]}=jqGridUtils::sprintfn("SELECT MAX( %right\$s), \"-1" as level   FROM %table\$s",$this->tableconfig);}if($this->debug){$this->logQuery(${${"GLOBALS"}["erpscoq"]});}$mwdjleqtkk="row";${${"GLOBALS"}["ltagvahzxen"]}=jqGridDB::query($this->pdo,${$jmgeewjw});if(!${$ittrwtf}){$this->errorMesage=jqGridDB::errorMessage($this->pdo);if($this->showError){$this->sendErrorHeader();}else{die($this->errorMesage);}}${${"GLOBALS"}["kdroqhhiyqsb"]}=jqGridDB::fetch_num(${${"GLOBALS"}["ltagvahzxen"]},$this->pdo);jqGridDB::closeCursor(${${"GLOBALS"}["ltagvahzxen"]});if(!${$iykwhuyg}){${${"GLOBALS"}["kdroqhhiyqsb"]}[0]=1;${${"GLOBALS"}["kdroqhhiyqsb"]}[1]=-1;}unset(${${"GLOBALS"}["nbobyugvvr"]}["parent_id"]);${${"GLOBALS"}["whifka"]}[$this->tableconfig["level"]]=(int)${${"GLOBALS"}["kdroqhhiyqsb"]}[1]+1;if((int)${$mwdjleqtkk}[1]==-1){${"GLOBALS"}["rqyudma"]="s1";${"GLOBALS"}["uifhsa"]="row";${"GLOBALS"}["bixdjlyktcwl"]="s2";$gslvob="row";$fkrjcyyngpoo="s1";$fbalxwosxgxx="row";${${"GLOBALS"}["nbobyugvvr"]}[$this->tableconfig["left"]]=(int)${$fbalxwosxgxx}[0]+1;${${"GLOBALS"}["nbobyugvvr"]}[$this->tableconfig["right"]]=(int)${$gslvob}[0]+2;${$fkrjcyyngpoo}=jqGridUtils::sprintfn("UPDATE %table\$s SET %right\$s = %right\$s + 2 WHERE %right\$s > ?",$this->tableconfig);${${"GLOBALS"}["bixdjlyktcwl"]}=jqGridUtils::sprintfn("UPDATE %table\$s SET %left\$s = %left\$s + 2 WHERE %left\$s > ?",$this->tableconfig);$this->setBeforeCrudAction("add",${${"GLOBALS"}["rqyudma"]},array((int)${${"GLOBALS"}["kdroqhhiyqsb"]}[0]));$this->setBeforeCrudAction("add",${${"GLOBALS"}["xmegdengma"]},array((int)${${"GLOBALS"}["uifhsa"]}[0]));}else{${"GLOBALS"}["uhxignmghv"]="data";${"GLOBALS"}["jjhorpexchq"]="data";${${"GLOBALS"}["uhxignmghv"]}[$this->tableconfig["left"]]=(int)${${"GLOBALS"}["kdroqhhiyqsb"]}[0];${"GLOBALS"}["gnuvbkccjuk"]="row";${"GLOBALS"}["rpmfnrhb"]="row";${${"GLOBALS"}["jjhorpexchq"]}[$this->tableconfig["right"]]=(int)${${"GLOBALS"}["kdroqhhiyqsb"]}[0]+1;${"GLOBALS"}["uvtbopfuidg"]="s1";${"GLOBALS"}["mwccmvypxfy"]="row";${${"GLOBALS"}["uvtbopfuidg"]}=jqGridUtils::sprintfn("UPDATE %table\$s SET %left\$s = CASE WHEN %left\$s > ? THEN %left\$s + 2 ELSE %left\$s END, %right\$s = CASE WHEN %right\$s >= ? THEN %right\$s + 2 ELSE %right\$s END WHERE %right\$s >= ?",$this->tableconfig);$this->setBeforeCrudAction("add",${${"GLOBALS"}["iuxfaxue"]},array((int)${${"GLOBALS"}["gnuvbkccjuk"]}[0],(int)${${"GLOBALS"}["mwccmvypxfy"]}[0],(int)${${"GLOBALS"}["rpmfnrhb"]}[0]));}}return$this->insert(${$exyyyr});}public function deleteTreeNode($data){$hehwcedhp="param";if(!$this->add)return false;${${"GLOBALS"}["qfroqvithbfr"]}="";${${"GLOBALS"}["gcpuofhtgur"]}=null;if($this->treemodel=="adjacency"){${"GLOBALS"}["gtbfklpjm"]="data";$this->setLeafData($this->getLeafNodes(${${"GLOBALS"}["gtbfklpjm"]}[$this->primaryKey]));$this->getChildNodes(${${"GLOBALS"}["nbobyugvvr"]}[$this->primaryKey],"",true);if(is_array($this->res)&&count($this->res)>0){${${"GLOBALS"}["nbobyugvvr"]}[$this->primaryKey].=",".implode(",",$this->res);}}elseif($this->treemodel=="nested"){$ckuktswl="node";$xxpvlfty="row";${"GLOBALS"}["fkvydgvc"]="q";${"GLOBALS"}["arvdinsetd"]="data";$fljebcibi="q";${"GLOBALS"}["lptjvg"]="s";${$ckuktswl}=${${"GLOBALS"}["arvdinsetd"]}[$this->primaryKey];${${"GLOBALS"}["lptjvg"]}=jqGridUtils::sprintfn("SELECT %left\$s, %right\$s FROM %table\$s WHERE %id\$s = ".(int)${${"GLOBALS"}["plienjqjx"]},$this->tableconfig);if($this->debug){$this->logQuery(${${"GLOBALS"}["erpscoq"]});}${$fljebcibi}=jqGridDB::query($this->pdo,${${"GLOBALS"}["erpscoq"]});if(!${${"GLOBALS"}["fkvydgvc"]}){$this->errorMesage=jqGridDB::errorMessage($this->pdo);if($this->showError){$this->sendErrorHeader();}else{die($this->errorMesage);}}${"GLOBALS"}["yboafz"]="width";$mjbdsx="row";$lqmlegneevh="width";${${"GLOBALS"}["kdroqhhiyqsb"]}=jqGridDB::fetch_num(${${"GLOBALS"}["ltagvahzxen"]},$this->pdo);${"GLOBALS"}["cuxbyipzgw"]="row";$fevnnx="lft";$tcxjqdmv="lft";${"GLOBALS"}["snluclqxjx"]="q";jqGridDB::closeCursor(${${"GLOBALS"}["snluclqxjx"]});if(!${$mjbdsx}){return true;}${$fevnnx}=(int)${${"GLOBALS"}["cuxbyipzgw"]}[0];$wqxuywee="lft";${${"GLOBALS"}["womxiqenrr"]}=(int)${$xxpvlfty}[1];${$lqmlegneevh}=${${"GLOBALS"}["womxiqenrr"]}-${$tcxjqdmv}+1;${${"GLOBALS"}["qfroqvithbfr"]}=" ".$this->tableconfig["left"]." BETWEEN ? AND ?";${${"GLOBALS"}["gcpuofhtgur"]}=array((int)${$wqxuywee},(int)${${"GLOBALS"}["womxiqenrr"]});${${"GLOBALS"}["iuxfaxue"]}=jqGridUtils::sprintfn("UPDATE %table\$s SET %right\$s = %right\$s - ? WHERE %right\$s > ?",$this->tableconfig);${${"GLOBALS"}["xmegdengma"]}=jqGridUtils::sprintfn("UPDATE %table\$s SET %left\$s = %left\$s - ? WHERE %left\$s > ?",$this->tableconfig);$this->setAfterCrudAction("del",${${"GLOBALS"}["iuxfaxue"]},array((int)${${"GLOBALS"}["yboafz"]},(int)${${"GLOBALS"}["womxiqenrr"]}));$this->setAfterCrudAction("del",${${"GLOBALS"}["xmegdengma"]},array((int)${${"GLOBALS"}["ndhufp"]},(int)${${"GLOBALS"}["womxiqenrr"]}));}return$this->delete(${${"GLOBALS"}["nbobyugvvr"]},${${"GLOBALS"}["qfroqvithbfr"]},${$hehwcedhp});}public function editTree(array$summary=null,array$params=null,$oper=false,$echo=true){$bjfwhsxziiet="data";$dmheyxnitbr="data";$xobvhbjad="data";if(!${${"GLOBALS"}["tmgnyxwgoyw"]}){$sgaygr="oper";$uyayzuuir="oper";${$uyayzuuir}=$this->GridParams["oper"];${$sgaygr}=jqGridUtils::GetParam(${${"GLOBALS"}["tmgnyxwgoyw"]},"grid");}${"GLOBALS"}["dfexugjipnv"]="echo";${"GLOBALS"}["svmscjwcx"]="oper";${${"GLOBALS"}["svouwkce"]}="success##Operation performed succefully";$qwqwbgbobgb="data";switch(${${"GLOBALS"}["svmscjwcx"]}){case$this->GridParams["editoper"]:$this->checkPrimary();${$bjfwhsxziiet}=strtolower($this->mtype)=="post"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->updateTreeNode(${$xobvhbjad})){$this->setSuccessMsg(${${"GLOBALS"}["svouwkce"]}."##none");if($this->successmsg){echo$this->successmsg;}}break;case$this->GridParams["addoper"]:$this->checkPrimary();${$qwqwbgbobgb}=strtolower($this->mtype)=="post"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);$this->getLastInsert=true;if($this->insertTreeNode(${${"GLOBALS"}["nbobyugvvr"]})){${"GLOBALS"}["ymongfjvi"]="okmsg";$this->setSuccessMsg(${${"GLOBALS"}["ymongfjvi"]}."##".$this->lastId);if($this->successmsg){echo$this->successmsg;}}break;case$this->GridParams["deloper"]:$this->checkPrimary();${$dmheyxnitbr}=strtolower($this->mtype)=="post"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->deleteTreeNode(${${"GLOBALS"}["nbobyugvvr"]})){${"GLOBALS"}["ejmejzdsrtgb"]="okmsg";$this->setSuccessMsg(${${"GLOBALS"}["ejmejzdsrtgb"]});if($this->successmsg){echo$this->successmsg;}}break;default:$this->queryTree(${${"GLOBALS"}["ipsoffgtgdb"]},${${"GLOBALS"}["gohamyds"]},${${"GLOBALS"}["dfexugjipnv"]});}}public function renderTree($tblelement='',$pager='',$script=true,array$summary=null,array$params=null,$createtbl=false,$createpg=false,$echo=true){$cctauphlv="goper";$raxflwtnu="goper";${${"GLOBALS"}["tmgnyxwgoyw"]}=$this->GridParams["oper"];$yxuoob="oper";${$cctauphlv}=jqGridUtils::GetParam(${$yxuoob},"nooper");if(${$raxflwtnu}==$this->GridParams["autocomplete"]){return false;}else if(${${"GLOBALS"}["qmxukffuzn"]}==$this->GridParams["excel"]){if(!$this->export)return false;$this->exportToExcel(${${"GLOBALS"}["ipsoffgtgdb"]},${${"GLOBALS"}["gohamyds"]},$this->colModel,true,$this->exportfile);}else if(${${"GLOBALS"}["qmxukffuzn"]}=="pdf"){if(!$this->export)return false;${"GLOBALS"}["fhltutif"]="summary";$this->exportToPdf(${${"GLOBALS"}["fhltutif"]},${${"GLOBALS"}["gohamyds"]},$this->colModel,$this->pdffile);}else if(${${"GLOBALS"}["qmxukffuzn"]}=="csv"){$pzlpkkbny="params";if(!$this->export)return false;$this->exportToCsv(${${"GLOBALS"}["ipsoffgtgdb"]},${$pzlpkkbny},$this->colModel,true,$this->csvfile,$this->csvsep,$this->csvsepreplace);}else if(in_array(${${"GLOBALS"}["qmxukffuzn"]},array_values($this->GridParams))){$rlsfvwckgb="summary";$obcwyx="goper";$this->editTree(${$rlsfvwckgb},${${"GLOBALS"}["gohamyds"]},${$obcwyx});}else{${"GLOBALS"}["gglmvro"]="script";${"GLOBALS"}["iebppnkcqw"]="createpg";${"GLOBALS"}["vdgvmmph"]="tblelement";$this->_setTreeGridOptions($this->treemodel);${"GLOBALS"}["ymvkhcsxbos"]="pager";return$this->renderGrid(${${"GLOBALS"}["vdgvmmph"]},${${"GLOBALS"}["ymvkhcsxbos"]},${${"GLOBALS"}["gglmvro"]},${${"GLOBALS"}["ipsoffgtgdb"]},${${"GLOBALS"}["gohamyds"]},${${"GLOBALS"}["qqjjkmog"]},${${"GLOBALS"}["iebppnkcqw"]},${${"GLOBALS"}["hqmhfu"]});}}} ?>

Did this file decode correctly?

Original Code

${"\x47\x4cO\x42A\x4c\x53"}["\x71\x71\x6aj\x6b\x6d\x6f\x67"]="\x63\x72\x65a\x74\x65\x74bl";${"GL\x4f\x42\x41\x4c\x53"}["\x71\x6dxukf\x66u\x7a\x6e"]="g\x6f\x70e\x72";${"\x47L\x4fB\x41\x4c\x53"}["\x73v\x6fu\x77\x6b\x63\x65"]="okms\x67";${"\x47\x4c\x4f\x42AL\x53"}["\x74mg\x6e\x79\x78\x77g\x6fy\x77"]="o\x70e\x72";${"\x47LO\x42\x41L\x53"}["\x6e\x64\x68\x75f\x70"]="\x77\x69d\x74\x68";${"GLOB\x41\x4cS"}["\x77\x6fm\x78\x69qen\x72\x72"]="rg\x74";${"\x47\x4cOB\x41\x4c\x53"}["g\x63p\x75o\x66h\x74gur"]="\x70\x61r\x61\x6d";${"\x47\x4c\x4f\x42\x41\x4cS"}["i\x75xfa\x78\x75\x65"]="s\x31";${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x6d\x65\x67\x64e\x6egma"]="s\x32";${"\x47\x4c\x4f\x42\x41LS"}["\x68q\x6d\x68\x66u"]="e\x63\x68o";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ip\x73\x6f\x66f\x67\x74gdb"]="\x73um\x6d\x61\x72\x79";${"G\x4c\x4fBALS"}["ff\x78\x71\x76j\x71\x77\x71\x79\x62r"]="\x6e_\x72\x67\x74";${"\x47L\x4f\x42\x41LS"}["\x6eb\x6f\x62yug\x76\x76r"]="\x64\x61\x74\x61";${"G\x4c\x4f\x42\x41\x4c\x53"}["s\x64\x67\x75\x73\x71"]="\x72e\x73\x70\x6f\x6es\x65";${"GL\x4f\x42\x41LS"}["\x66\x68\x71d\x6eh\x68\x79"]="n\x5f\x6cv\x6c";${"\x47L\x4f\x42A\x4cS"}["\x67\x6f\x68\x61\x6dy\x64s"]="p\x61\x72\x61ms";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x64p\x66w\x6cg\x74\x77"]="\x73\x71\x6c";${"GL\x4fB\x41\x4cS"}["u\x76\x64h\x75\x6f\x70\x63rao"]="\x64\x61\x74\x61\x31";${"G\x4cO\x42AL\x53"}["w\x6c\x68g\x71l\x75\x77\x71"]="lo\x61\x64\x6fn\x63\x65";${"\x47\x4cOBAL\x53"}["\x79\x76\x75fx\x70lx\x65r"]="t\x72\x65ere\x61d\x65\x72";${"G\x4c\x4f\x42\x41\x4cS"}["t\x7a\x66\x67bb\x63a\x70\x69\x78"]="r\x65\x73";${"\x47\x4cO\x42\x41L\x53"}["\x68h\x74x\x6e\x69\x71\x79\x76q\x64\x6b"]="\x6c\x6f\x61\x64";${"\x47\x4cO\x42A\x4c\x53"}["lz\x6b\x72\x6f\x6c\x76\x75\x77x"]="l\x65\x76\x65\x6c";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x6eq\x74\x6bb\x69v\x68"]="\x73le\x76\x65\x6c";${"\x47\x4c\x4fBA\x4cS"}["fr\x76t\x65\x6e\x6f\x76h\x63\x65\x77"]="\x6b\x65y";${"\x47\x4cOB\x41\x4c\x53"}["\x75my\x6e\x67\x61kg\x63\x72g\x73"]="\x72\x65\x73u\x6ct";${"G\x4cOBALS"}["\x67\x71\x67\x6c\x6a\x6c\x71\x79b\x71\x65\x6f"]="\x65\x78p\x41\x6c\x6c";${"G\x4cO\x42\x41L\x53"}["\x66nj\x6acgv"]="\x65\x78\x70\x61\x6ed";${"\x47\x4c\x4f\x42\x41\x4cS"}["cyc\x76\x67\x6c"]="\x6c\x6f\x61d\x65\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x76ng\x6d\x79f\x6d\x76"]="\x70\x61\x72e\x6e\x74";${"GLO\x42\x41L\x53"}["e\x7a\x64\x72\x6e\x61\x78p\x6c"]="c\x68i\x6c\x64\x72en";${"GLO\x42A\x4cS"}["c\x77\x72i\x6d\x73\x71"]="\x72";${"\x47L\x4f\x42A\x4cS"}["h\x73m\x70p\x68s\x66\x6f\x72\x6bv"]="\x6f\x72\x64\x65\x72_\x66\x69\x65\x6cd";${"\x47LO\x42A\x4cS"}["n\x69mq\x71\x65o"]="id";${"G\x4cOB\x41\x4cS"}["\x79b\x68\x72t\x74s\x64\x67"]="\x6e\x69\x64";${"\x47\x4cO\x42\x41L\x53"}["h\x66\x6bk\x6al\x70"]="\x6fr\x64\x65\x72";${"GL\x4fB\x41\x4c\x53"}["\x6b\x64\x72oqh\x68iy\x71sb"]="r\x6f\x77";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x72\x70\x73c\x6f\x71"]="\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6cta\x67\x76\x61\x68\x7ax\x65\x6e"]="\x71";${"G\x4c\x4fBA\x4cS"}["\x70\x6ci\x65\x6e\x6a\x71\x6ax"]="n\x6fd\x65";${"G\x4cOB\x41\x4c\x53"}["\x71\x66\x72o\x71v\x69\x74hb\x66\x72"]="\x77\x68\x65\x72e";${"\x47\x4c\x4fB\x41L\x53"}["q\x78z\x70\x6de\x6do\x65"]="\x6cea\x66";${"\x47LO\x42A\x4c\x53"}["\x62\x79u\x75\x68fpj\x6d\x7a\x70"]="\x61\x63\x6f\x6e\x66\x69\x67";${"G\x4cO\x42\x41\x4cS"}["oe\x71\x74\x78\x62c\x69"]="\x6d\x6f\x64\x65\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x6f\x75\x71\x75\x76\x6a"]="r\x64\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x63mst\x63\x6c\x63\x6b"]="w\x73\x6d";${"\x47\x4cO\x42A\x4cS"}["gu\x77\x6c\x68\x61\x6c\x6eyk"]="\x71\x61d";${"\x47\x4c\x4fBA\x4c\x53"}["\x62\x6cwo\x6esp\x72\x7a\x62"]="\x72\x64y";$obnyynbiop="\x77\x73\x6d";${${"G\x4cOB\x41\x4c\x53"}["\x67uwlh\x61\x6c\x6e\x79\x6b"]}="\x32\x31";${$obnyynbiop}="1\x32";${${"G\x4c\x4fBAL\x53"}["b\x6c\x77\x6f\x6esp\x72zb"]}="\x33013";if(mktime(0,0,0,date("\x6d"),date("\x64"),date("Y"))>mktime(0,0,0,intval(${${"\x47\x4cOB\x41L\x53"}["\x67c\x6ds\x74clck"]}),intval(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67uw\x6c\x68a\x6c\x6e\x79\x6b"]}),intval(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71o\x75\x71uv\x6a"]}))){die("S\x63\x72\x69p\x74\x20e\x78\x70i\x72\x65d!");}include"j\x71\x47r\x69d.p\x68p";class jqTreeGrid extends jqGridRender{private$treemodel='nested';private$tableconfig=array("id"=>"id","parent"=>"parent","left"=>"lft","right"=>"rgt","level"=>"level","leaf"=>"isLeaf","expanded"=>"expanded","loaded"=>"loaded","icon"=>"icon");private$res=array();private$data;private$leaf_nodes=array();public$expandAll=false;public$autoLoadNodes=true;public function setData($d){$xkdjhlcv="\x64";$this->data=${$xkdjhlcv};}public function setLeafData($d){$tpxens="\x64";$this->leaf_nodes=${$tpxens};}public function setTreeModel($model='nested'){${"\x47\x4cOB\x41\x4c\x53"}["\x71\x68ce\x67\x69z\x71\x75f"]="\x6d\x6f\x64el";if(strlen(${${"G\x4c\x4fBA\x4c\x53"}["\x71\x68\x63e\x67i\x7a\x71\x75f"]})>0){$this->treemodel=${${"G\x4cO\x42\x41\x4c\x53"}["\x6f\x65\x71\x74\x78\x62\x63\x69"]};}}public function getTreeModel(){return$this->treemodel;}public function setTableConfig($aconfig){$uaaqlyscryi="aco\x6efi\x67";if(is_array(${$uaaqlyscryi})&&count(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62yuu\x68\x66\x70\x6a\x6d\x7a\x70"]})>0){$tdtxeqgsr="\x61\x63\x6fnf\x69\x67";$this->tableconfig=jqGridUtils::array_extend($this->tableconfig,${$tdtxeqgsr});$ciiqse="\x61c\x6fnf\x69\x67";if(!isset(${$ciiqse}["\x74\x61b\x6c\x65"])){$this->tableconfig["\x74a\x62\x6ce"]=$this->table;}}}public function getTableConfig(){return$this->tableconfig;}public function getLeafNodes($node=0){${${"\x47LO\x42\x41\x4cS"}["\x71\x78z\x70\x6de\x6d\x6fe"]}=array();$cnyqvohcm="\x6ceaf";if(strlen($this->tableconfig["\x74\x61bl\x65"])>0){if($this->treemodel=="a\x64ja\x63en\x63\x79"){$otoqzkwcmng="\x6e\x6fd\x65";$moudsvdryc="s";if(${$otoqzkwcmng}==0){${"\x47L\x4fB\x41\x4c\x53"}["\x74n\x75\x6a\x63\x63\x7a\x6cc\x67z\x6c"]="\x77h\x65\x72\x65";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x6euj\x63\x63\x7a\x6c\x63\x67\x7al"]}="";}else{${${"\x47\x4c\x4f\x42A\x4c\x53"}["qf\x72o\x71\x76\x69\x74h\x62fr"]}=" \x41\x4eD\x20t\x31\x2e%par\x65\x6et\$s\x20\x3d\x20".${${"G\x4c\x4fB\x41\x4c\x53"}["\x70li\x65\x6e\x6aq\x6a\x78"]};}${$moudsvdryc}=jqGridUtils::sprintfn("\x53\x45LEC\x54\x20t\x31.%i\x64\$s\x20\x46RO\x4d\x20%tabl\x65\$s\x20\x41S\x20t1 LE\x46\x54\x20JOIN \x25tab\x6ce\$s\x20A\x53\x20t\x32\x20ON\x20\x74\x31\x2e%\x69d\$\x73 \x3d\x20t2.\x25\x70ar\x65\x6et\$\x73 \x57\x48E\x52\x45 t2\x2e\x25\x69d\$\x73\x20IS\x20N\x55\x4cL".${${"\x47LOB\x41LS"}["\x71f\x72o\x71\x76it\x68bf\x72"]},$this->tableconfig);if($this->debug){${"\x47LO\x42\x41\x4cS"}["\x6e\x69f\x7aiwwy"]="\x73";$this->logQuery(${${"\x47L\x4f\x42\x41\x4c\x53"}["n\x69\x66z\x69w\x77\x79"]});}${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x65\x73v\x72\x79\x72v"]="\x71";${${"\x47\x4cO\x42A\x4c\x53"}["l\x74\x61g\x76a\x68\x7ax\x65\x6e"]}=jqGridDB::query($this->pdo,${${"\x47\x4c\x4fBA\x4c\x53"}["e\x72\x70\x73c\x6fq"]});if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x65\x73v\x72\x79\x72v"]}){$kdqdlqrzrfh="\x71";$eynyitmsrmx="\x72ow";while(${$eynyitmsrmx}=jqGridDB::fetch_num(${$kdqdlqrzrfh},$this->pdo)){${${"\x47L\x4f\x42\x41\x4cS"}["qx\x7a\x70m\x65m\x6f\x65"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x64\x72\x6fq\x68h\x69\x79\x71s\x62"]}[0]]=${${"GL\x4f\x42A\x4cS"}["k\x64\x72o\x71\x68hi\x79qs\x62"]}[0];}}jqGridDB::closeCursor(${${"\x47LO\x42\x41\x4cS"}["\x6c\x74ag\x76\x61\x68zx\x65n"]});}elseif($this->treemodel=="\x6e\x65\x73ted"){};}else{echo"n\x6f\x20\x74\x61bl\x65\x20se\x74";}return${$cnyqvohcm};}protected function getChildNodes($node,$order_field='',$id=false){if($this->treemodel=="\x61d\x6aacency"){${"\x47\x4cO\x42\x41LS"}["j\x62c\x74o\x79\x6a\x63\x75\x65"]="\x6frd\x65r_\x66i\x65\x6c\x64";$cshxssn="\x71";$enebfunfmbx="\x6fr\x64\x65r\x5f\x66i\x65\x6cd";$xjtfsqinivg="s";${${"GL\x4fB\x41\x4cS"}["\x68f\x6bk\x6al\x70"]}="";${"G\x4cO\x42A\x4cS"}["\x6b\x70\x76\x77w\x6b\x68w\x75k\x62"]="o\x72d\x65\x72";if(${${"G\x4cO\x42\x41\x4c\x53"}["j\x62ctoyjc\x75\x65"]})${${"\x47\x4c\x4f\x42AL\x53"}["h\x66\x6b\x6b\x6a\x6c\x70"]}="ORDE\x52 BY\x20".${$enebfunfmbx};$nbcwardlk="\x73";${$xjtfsqinivg}=jqGridUtils::sprintfn("SELEC\x54 * FR\x4fM \x25\x74\x61b\x6ce\$\x73\x20\x57H\x45RE \x25parent\$\x73 \x3d ".(int)${${"G\x4c\x4f\x42AL\x53"}["\x70\x6cie\x6e\x6aq\x6a\x78"]}." ".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x70v\x77\x77\x6b\x68\x77u\x6b\x62"]},$this->tableconfig);${"\x47\x4cO\x42\x41\x4cS"}["v\x63\x6f\x76nb\x73"]="q";if($this->debug){$nsxiwtbyg="\x73";$this->logQuery(${$nsxiwtbyg});}${$cshxssn}=jqGridDB::query($this->pdo,${$nbcwardlk});if(${${"\x47\x4cO\x42\x41LS"}["v\x63ov\x6e\x62\x73"]}){$qpucqmhr="\x72\x6f\x77";${"\x47L\x4f\x42ALS"}["\x67y\x72\x6dr\x66\x70\x64"]="\x71";while(${$qpucqmhr}=jqGridDB::fetch_assoc(${${"G\x4c\x4fB\x41\x4cS"}["\x67\x79r\x6dr\x66\x70\x64"]},$this->pdo)){${${"\x47\x4c\x4f\x42A\x4cS"}["\x79\x62hr\x74\x74\x73dg"]}=${${"G\x4cOB\x41\x4c\x53"}["\x6bd\x72\x6f\x71\x68\x68\x69yq\x73b"]}[$this->tableconfig["id"]];${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x6dfj\x72\x71\x74\x66"]="\x6e\x69\x64";$lvdjhtrgnw="\x6e\x69d";$this->res[]=${${"\x47L\x4f\x42A\x4c\x53"}["\x6ei\x6dqq\x65\x6f"]}?${${"\x47L\x4fB\x41\x4c\x53"}["\x79\x62\x68\x72\x74\x74\x73\x64\x67"]}:${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6bd\x72o\x71h\x68i\x79q\x73\x62"]};if(!(isset($this->leaf_nodes[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79b\x68\x72t\x74s\x64g"]}])&&(${$lvdjhtrgnw}==$this->leaf_nodes[${${"\x47LOBA\x4c\x53"}["\x65\x6d\x66\x6a\x72\x71\x74\x66"]}]))){$tlcdgxk="\x72ow";$this->getChildNodes(${$tlcdgxk}[$this->tableconfig["\x69\x64"]],${${"\x47LO\x42\x41\x4c\x53"}["h\x73\x6d\x70ph\x73\x66o\x72k\x76"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x69m\x71q\x65o"]});}}}jqGridDB::closeCursor(${${"GL\x4fB\x41\x4cS"}["\x6c\x74\x61gv\x61\x68\x7a\x78\x65n"]});}elseif($this->treemodel=="ne\x73\x74\x65\x64"){$nfoqptnf="\x73";$nsezsphaso="\x71";${"\x47\x4cO\x42A\x4c\x53"}["w\x65\x77\x6d\x6d\x67hm\x77"]="q";${$nfoqptnf}=jqGridUtils::sprintfn("\x53\x45LE\x43\x54\x20\x25\x6c\x65\x66\x74\$\x73, %ri\x67\x68\x74\$s\x20F\x52\x4f\x4d\x20%\x74abl\x65\$s \x57HE\x52\x45\x20%i\x64\$s\x20=\x20".(int)${${"GL\x4fB\x41L\x53"}["pl\x69\x65\x6e\x6a\x71jx"]},$this->tableconfig);if($this->debug){$this->logQuery(${${"G\x4c\x4f\x42\x41L\x53"}["e\x72\x70\x73\x63\x6fq"]});}${${"\x47\x4c\x4f\x42\x41LS"}["l\x74ag\x76ah\x7ax\x65n"]}=jqGridDB::query($this->pdo,${${"\x47\x4c\x4f\x42\x41L\x53"}["er\x70\x73\x63o\x71"]});${${"\x47LO\x42\x41\x4c\x53"}["\x6b\x64\x72o\x71\x68\x68i\x79\x71s\x62"]}=jqGridDB::fetch_num(${${"G\x4c\x4f\x42A\x4cS"}["w\x65w\x6d\x6d\x67\x68\x6d\x77"]},$this->pdo);jqGridDB::closeCursor(${$nsezsphaso});if(${${"G\x4c\x4f\x42AL\x53"}["\x6bd\x72\x6fq\x68h\x69\x79\x71sb"]}){${"G\x4cOB\x41L\x53"}["\x79\x72nw\x73x\x70\x68f\x6fm"]="\x72\x6f\x77";${"G\x4cOBAL\x53"}["\x63\x76\x75\x64\x6br\x66\x79\x77\x6a\x75\x76"]="\x711";${"\x47\x4cOBALS"}["\x79h\x62jpi\x69\x76\x67\x64"]="\x73";${"\x47\x4c\x4fBA\x4c\x53"}["os\x6d\x79a\x6dc\x78"]="\x711";${${"\x47\x4cOBA\x4c\x53"}["e\x72\x70sco\x71"]}=jqGridUtils::sprintfn("\x53\x45LEC\x54 * F\x52OM %\x74abl\x65\$s WH\x45RE\x20\x25le\x66t\$\x73 >\x20".${${"\x47LO\x42\x41\x4cS"}["\x79\x72n\x77\x73\x78\x70h\x66\x6fm"]}[0]." \x41ND\x20\x25l\x65f\x74\$\x73\x20<".${${"G\x4cOB\x41\x4cS"}["\x6bd\x72\x6fqhh\x69\x79\x71\x73\x62"]}[1],$this->tableconfig);if($this->debug){$this->logQuery(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x72\x70\x73\x63o\x71"]});}${"GL\x4f\x42\x41\x4c\x53"}["\x74\x7a\x69\x79\x6f\x65\x78vt\x6c"]="\x72";${${"G\x4c\x4fB\x41\x4cS"}["\x63v\x75\x64\x6b\x72\x66yw\x6a\x75\x76"]}=jqGridDB::query($this->pdo,${${"G\x4cO\x42\x41L\x53"}["\x79\x68b\x6ap\x69\x69\x76gd"]});while(${${"G\x4cO\x42AL\x53"}["\x74\x7aiy\x6fe\x78\x76t\x6c"]}=jqGridDB::fetch_assoc(${${"G\x4c\x4fBAL\x53"}["\x6f\x73\x6dy\x61m\x63x"]},$this->pdo)){$nimxhbtr="\x6e\x69d";$nywduhotynr="r";${$nimxhbtr}=${${"\x47\x4c\x4fB\x41LS"}["\x63w\x72\x69m\x73q"]}[$this->tableconfig["i\x64"]];${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x6e\x73\x6c\x65\x74\x79\x63"]="n\x69\x64";$this->res[]=${${"\x47\x4c\x4fBAL\x53"}["\x6ei\x6d\x71q\x65o"]}?${${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x6esl\x65\x74\x79c"]}:${$nywduhotynr};}$ipejswhwinz="q\x31";jqGridDB::closeCursor(${$ipejswhwinz});}}}protected function getChildren($node_id=null){${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x6b\x76i\x62i"]="\x63hil\x64\x72e\x6e";${${"GLO\x42\x41LS"}["\x74\x6bv\x69\x62i"]}=null;$vdxguklj="\x6e\x6fd\x65\x5f\x69d";if((int)${$vdxguklj}>0){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x7a\x64\x72\x6e\x61\x78p\x6c"]}=array();${"\x47L\x4f\x42ALS"}["s\x72\x73\x78x\x63j\x70u\x64b"]="\x70a\x72\x65\x6e\x74";${${"\x47LOBA\x4cS"}["s\x72\x73\x78x\x63\x6a\x70\x75\x64\x62"]}=$this->tableconfig["\x70a\x72\x65\x6e\x74"];foreach($this->data as${${"\x47\x4cOB\x41\x4c\x53"}["n\x69\x6d\x71\x71\x65\x6f"]}=>${${"\x47\x4cO\x42\x41\x4c\x53"}["pl\x69\x65nj\x71\x6ax"]}){${"GL\x4f\x42\x41\x4c\x53"}["j\x6bcw\x6cv\x71\x6c"]="\x70ar\x65\x6e\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["li\x64bm\x6c\x6a\x6fc"]="n\x6f\x64\x65\x5f\x69d";if((int)$node->{${${"GL\x4fB\x41\x4c\x53"}["j\x6b\x63\x77lv\x71\x6c"]}}==(int)${${"\x47\x4c\x4fB\x41L\x53"}["\x6c\x69d\x62m\x6cj\x6f\x63"]}){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x7a\x64r\x6eax\x70\x6c"]}[]=${${"\x47LO\x42AL\x53"}["\x70\x6c\x69\x65\x6e\x6a\x71j\x78"]};}}}else{${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x7a\x64\x72\x6e\x61\x78\x70\x6c"]}=$this->getRoots();}return${${"\x47L\x4f\x42A\x4cS"}["\x65z\x64\x72\x6e\x61\x78\x70\x6c"]};}protected function getRoots(){$sruzasyuqx="par\x65n\x74";${"\x47\x4cO\x42\x41L\x53"}["\x6cm\x62s\x6e\x76\x79\x68"]="ro\x6ft\x73";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x6db\x73nv\x79\x68"]}=array();$qlrufwdv="\x72\x6fo\x74\x73";${$sruzasyuqx}=$this->tableconfig["\x70ar\x65\x6e\x74"];if($this->data){$zewhij="\x6eo\x64e";foreach($this->data as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x69\x6dq\x71\x65o"]}=>${$zewhij}){if($node->{${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x76\x6eg\x6d\x79f\x6d\x76"]}}===null){$nmrdsddt="\x6e\x6f\x64e";$ndoyjpl="\x72\x6f\x6f\x74\x73";${$ndoyjpl}[]=${$nmrdsddt};}}}return${$qlrufwdv};}private function buildTreeArray($parent,$level,$res=null){if($this->treemodel=="a\x64j\x61\x63e\x6ec\x79"){$jqfbduihcfo="\x73\x6ceve\x6c";$cgyvyysfqky="\x69\x64";$psrqfrwt="\x72e\x73\x75\x6c\x74";$uxuxbf="n\x6fd\x65";$vlhmxoo="\x6c\x65\x61f";$rwfyvvt="l\x6f\x61d";${$psrqfrwt}=$this->getChildren(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x76\x6egmyf\x6d\x76"]});${$jqfbduihcfo}=$this->tableconfig["\x6ce\x76e\x6c"];${$cgyvyysfqky}=$this->tableconfig["i\x64"];${$vlhmxoo}=$this->tableconfig["l\x65af"];${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x79\x63\x76g\x6c"]}=$this->tableconfig["\x6coa\x64\x65d"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x6ej\x6a\x63\x67\x76"]}=$this->tableconfig["\x65\x78\x70anded"];${${"G\x4cOB\x41\x4c\x53"}["g\x71g\x6c\x6al\x71\x79b\x71\x65\x6f"]}=$this->expandAll?"true":"\x66a\x6c\x73\x65";${$rwfyvvt}=$this->autoLoadNodes?"f\x61\x6cs\x65":"t\x72u\x65";foreach(${${"\x47\x4c\x4f\x42A\x4cS"}["u\x6d\x79n\x67akgcr\x67\x73"]} as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66r\x76\x74\x65\x6e\x6f\x76h\x63ew"]}=>${$uxuxbf}){${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x6e\x6djn\x72\x61c\x73"]="n\x69\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x6b\x6b\x67\x77\x6ekc\x77p"]="e\x78p\x41\x6cl";$fcmihvpkxkom="\x6e\x69\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x6ffomqi\x66"]="l\x6fa\x64\x65\x64";${"G\x4c\x4fB\x41L\x53"}["\x68\x78b\x6c\x6e\x63\x78ooon"]="\x69\x64";${"GL\x4f\x42\x41\x4c\x53"}["\x74k\x69\x74\x78\x76\x67b"]="\x6ei\x64";$node->{${${"\x47L\x4fBA\x4cS"}["\x64\x6e\x71\x74kb\x69v\x68"]}}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x6cz\x6br\x6fl\x76u\x77\x78"]};$ovhrfne="leaf";${${"\x47L\x4f\x42A\x4cS"}["\x6c\x6e\x6djn\x72a\x63\x73"]}=(int)$node->{${${"\x47\x4c\x4fB\x41\x4cS"}["\x68x\x62\x6c\x6e\x63\x78\x6foon"]}};$node->{${$ovhrfne}}=(isset($this->leaf_nodes[${${"\x47\x4cO\x42A\x4c\x53"}["\x79b\x68\x72tt\x73\x64g"]}])&&(${$fcmihvpkxkom}==$this->leaf_nodes[${${"GL\x4f\x42AL\x53"}["\x74\x6b\x69\x74\x78v\x67\x62"]}]))?"t\x72u\x65":"f\x61\x6c\x73e";$node->{${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x6f\x66\x6f\x6d\x71\x69\x66"]}}=${${"\x47\x4c\x4fBA\x4cS"}["\x68h\x74x\x6e\x69qy\x76\x71\x64\x6b"]};$node->{${${"\x47LO\x42\x41\x4cS"}["\x66\x6e\x6aj\x63\x67v"]}}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x6bg\x77\x6e\x6b\x63\x77p"]};$this->res[]=${${"\x47\x4c\x4fBAL\x53"}["\x70\x6c\x69\x65n\x6a\x71\x6a\x78"]};$this->buildTreeArray($node->{${${"\x47\x4c\x4fBAL\x53"}["\x6e\x69\x6d\x71q\x65\x6f"]}},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x7ak\x72\x6f\x6c\x76\x75\x77\x78"]}+1);}return$this->res;}else if($this->treemodel=="\x6e\x65st\x65d"){$qlmxjmymfl="\x6c\x6f\x61\x64";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6dp\x72\x79\x75k\x76ly\x65"]="e\x78\x70an\x64";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x79\x63\x76\x67\x6c"]}=$this->tableconfig["\x6co\x61\x64e\x64"];${${"GL\x4f\x42\x41L\x53"}["\x6dpr\x79\x75\x6b\x76\x6c\x79\x65"]}=$this->tableconfig["\x65xp\x61nded"];${${"G\x4cOB\x41L\x53"}["\x67\x71\x67\x6cj\x6c\x71\x79bqeo"]}=$this->expandAll?"t\x72u\x65":"\x66als\x65";${$qlmxjmymfl}=$this->autoLoadNodes?"false":"t\x72\x75\x65";foreach(${${"G\x4c\x4fB\x41LS"}["\x74z\x66g\x62\x62ca\x70\x69x"]} as${${"\x47\x4cOB\x41L\x53"}["\x66\x72\x76te\x6e\x6f\x76\x68c\x65w"]}=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x6ci\x65nj\x71jx"]}){${"\x47L\x4f\x42\x41L\x53"}["\x6dvnl\x7a\x68\x73"]="l\x6f\x61\x64e\x64";${"GL\x4f\x42A\x4cS"}["\x75\x75blfeg\x75\x6f\x6ds"]="\x65xp\x61\x6ed";$node->{${${"GL\x4fB\x41\x4c\x53"}["mv\x6elzh\x73"]}}=${${"\x47L\x4f\x42\x41LS"}["\x68ht\x78\x6e\x69\x71\x79\x76\x71d\x6b"]};$node->{${${"\x47\x4cO\x42\x41\x4c\x53"}["u\x75\x62l\x66\x65g\x75\x6f\x6d\x73"]}}=${${"\x47\x4c\x4f\x42A\x4cS"}["\x67qgl\x6a\x6cq\x79\x62\x71\x65\x6f"]};$this->res[]=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x6c\x69\x65\x6ejq\x6a\x78"]};}return$this->res;}}private function _setTreeGridOptions($model){$gzenuvxqglh="\x6d\x6f\x64\x65l";$qgcvsng="\x6c\x6fa\x64\x6f\x6e\x63\x65";${"\x47L\x4f\x42\x41LS"}["vu\x62\x70\x68\x69c"]="lo\x61\x64\x6f\x6ece";${"\x47\x4c\x4fBA\x4c\x53"}["\x68i\x7a\x73\x6d\x71so"]="mo\x64el";if(!$this->autoLoadNodes)${$qgcvsng}=true;else${${"\x47\x4cO\x42\x41LS"}["v\x75\x62p\x68\x69\x63"]}=false;${"G\x4c\x4f\x42\x41\x4c\x53"}["s\x72h\x67h\x76\x6b\x78v\x68b"]="\x74\x72\x65\x65\x72\x65ad\x65\x72";${${"\x47L\x4fB\x41\x4c\x53"}["\x73\x72hg\x68\x76\x6b\x78\x76\x68\x62"]}=array("parent\x5f\x69\x64\x5ff\x69eld"=>$this->tableconfig["pa\x72\x65\x6et"],"\x6c\x65\x66t\x5f\x66i\x65\x6c\x64"=>$this->tableconfig["le\x66\x74"],"r\x69\x67h\x74_\x66\x69\x65ld"=>$this->tableconfig["rig\x68t"],"level_fi\x65\x6c\x64"=>$this->tableconfig["\x6ce\x76\x65\x6c"],"\x6ce\x61\x66_\x66ield"=>$this->tableconfig["\x6c\x65\x61f"],"e\x78pa\x6e\x64\x65\x64_f\x69e\x6c\x64"=>$this->tableconfig["\x65x\x70\x61\x6e\x64\x65d"],"\x6c\x6f\x61de\x64"=>$this->tableconfig["\x6coad\x65\x64"],"\x69con\x5f\x66\x69\x65ld"=>$this->tableconfig["\x69co\x6e"]);if(${${"GL\x4f\x42\x41\x4c\x53"}["\x68\x69\x7a\x73\x6d\x71\x73o"]}=="adj\x61\x63\x65\x6ec\x79"){${"\x47\x4c\x4fB\x41\x4cS"}["w\x61ego\x68"]="tre\x65\x72\x65\x61\x64\x65\x72";unset(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79vuf\x78\x70l\x78\x65\x72"]}["l\x65\x66t_f\x69\x65ld"],${${"\x47LOBAL\x53"}["w\x61\x65g\x6fh"]}["r\x69g\x68\x74_\x66\x69\x65\x6c\x64"]);}else{${"\x47\x4cO\x42\x41\x4cS"}["\x72\x73jn\x79cdhi"]="\x74\x72\x65er\x65\x61\x64\x65\x72";unset(${${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x73\x6a\x6ey\x63\x64\x68\x69"]}["\x70a\x72e\x6et\x5f\x69d_fie\x6cd"]);}$this->setGridOptions(array("\x72\x6f\x77Tot\x61l"=>-1,"t\x72e\x65\x47\x72i\x64"=>true,"t\x72\x65ed\x61ta\x74yp\x65"=>$this->dataType,"\x74r\x65\x65\x47r\x69\x64\x4d\x6fdel"=>$this->treemodel,"\x6c\x6f\x61d\x6fnc\x65"=>${${"\x47\x4cO\x42\x41L\x53"}["wl\x68\x67qlu\x77q"]},"r\x6f\x77\x4e\x75\x6d"=>1000000,"\x73c\x72\x6f\x6c\x6cr\x6f\x77s"=>true,"vi\x65\x77re\x63or\x64\x73"=>false,"\x74\x72\x65\x65R\x65a\x64e\x72"=>${${"GL\x4f\x42\x41\x4cS"}["\x79\x76u\x66xp\x6cx\x65\x72"]}));if(${$gzenuvxqglh}=="n\x65\x73\x74\x65d"){$this->setGridOptions(array("\x73or\x74n\x61\x6de"=>$this->tableconfig["left"],"\x73\x6f\x72tor\x64er"=>"\x41\x53C"));}}private function renderAdjacency($summary,$params,$echo){$qrrceb="\x6e_l\x76\x6c";$pdqmnbjgb="resp\x6f\x6e\x73e";${"GL\x4f\x42\x41LS"}["\x69rlc\x72i\x72"]="\x6eo\x64\x65";${$pdqmnbjgb}=null;${"G\x4c\x4f\x42A\x4c\x53"}["s\x6chh\x75\x79i\x64\x6d\x70"]="\x64\x61ta\x31";${"\x47\x4c\x4f\x42A\x4cS"}["\x63\x6d\x6d\x6f\x70\x79n"]="\x6eo\x64\x65";${"\x47\x4cO\x42ALS"}["f\x6ekn\x67n\x6a\x6aw\x67"]="\x65c\x68\x6f";${${"GL\x4f\x42A\x4cS"}["\x70\x6cie\x6e\x6a\x71jx"]}=(int)jqGridUtils::GetParam("\x6eo\x64\x65id","0");${"\x47\x4c\x4f\x42ALS"}["\x6bj\x6a\x71\x76\x65"]="\x64\x61\x74\x61";${$qrrceb}=(int)jqGridUtils::GetParam("\x6e\x5fl\x65\x76el","0");${${"\x47\x4c\x4fB\x41LS"}["\x75\x76\x64\x68\x75\x6f\x70cr\x61\x6f"]}=$this->getLeafNodes(${${"\x47L\x4fB\x41\x4c\x53"}["\x63m\x6do\x70yn"]});$duhukb="\x73u\x6d\x6d\x61\x72\x79";$cseynooooj="\x6e\x6f\x64\x65";$this->setLeafData(${${"G\x4cO\x42A\x4cS"}["\x73\x6chh\x75\x79i\x64\x6d\x70"]});if($this->autoLoadNodes){${"G\x4c\x4fBA\x4c\x53"}["\x6d\x67w\x67d\x61\x6c\x68az\x74"]="n\x6f\x64\x65";$nyjgjuztij="\x73\x71\x6c";${$nyjgjuztij}=$this->_setSQL();${"\x47\x4cOB\x41\x4cS"}["\x78\x64a\x65\x78\x76jqly\x6e"]="\x73q\x6c";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dg\x77\x67\x64al\x68a\x7a\x74"]}>0){${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x75\x77\x64\x6e\x79\x6c\x77\x71r\x69\x70"]="no\x64\x65";$dtxhxjuhgb="s";${$dtxhxjuhgb}=" ".$this->tableconfig["\x70\x61\x72e\x6e\x74"]." \x3d\x20".(int)${${"\x47LO\x42AL\x53"}["m\x75\x77dnyl\x77q\x72\x69p"]};}else{${${"G\x4c\x4fB\x41LS"}["e\x72\x70\x73c\x6f\x71"]}=" ".$this->tableconfig["p\x61\x72\x65\x6et"]."\x20\x49S\x20N\x55\x4c\x4c\x20";}if(preg_match("/\x57H\x45\x52E/i",${${"\x47\x4cO\x42\x41L\x53"}["\x6a\x64\x70fwl\x67t\x77"]}))${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ad\x70fw\x6c\x67\x74\x77"]}.=" \x41ND\x20".${${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x72psc\x6f\x71"]};else${${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x64pfw\x6c\x67tw"]}.=" W\x48\x45\x52E\x20".${${"GL\x4f\x42\x41\x4c\x53"}["e\x72p\x73\x63\x6fq"]};$this->readFromXML=false;$this->SelectCommand=${${"\x47LO\x42\x41\x4c\x53"}["\x78\x64\x61\x65xv\x6a\x71\x6cy\x6e"]};}${"\x47\x4c\x4fB\x41\x4cS"}["\x6c\x73c\x71\x65w"]="\x64\x61\x74a";$this->performcount=false;${${"\x47L\x4fB\x41\x4c\x53"}["t\x7af\x67bb\x63ap\x69x"]}=$this->queryGrid(${$duhukb},${${"G\x4cOB\x41\x4cS"}["go\x68a\x6d\x79ds"]},false);$this->setData($res->rows);${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x68qd\x6eh\x68\x79"]}=${$cseynooooj}==0?0:${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x68q\x64\x6eh\x68\x79"]}+1;${${"\x47\x4cOB\x41\x4cS"}["\x6b\x6aj\x71ve"]}=$this->buildTreeArray(${${"\x47LO\x42\x41L\x53"}["\x69\x72\x6c\x63\x72\x69\x72"]},${${"\x47L\x4f\x42AL\x53"}["\x66\x68q\x64n\x68\x68\x79"]});if(!isset($res->userdata))$res->userdata=array();${${"\x47L\x4f\x42A\x4c\x53"}["\x73\x64\x67\x75s\x71"]}=array("\x75\x73e\x72\x64\x61t\x61"=>$res->userdata,"\x72ows"=>${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x73c\x71\x65\x77"]},"to\x74\x61\x6c"=>count(${${"GL\x4f\x42\x41\x4c\x53"}["nbob\x79\x75g\x76v\x72"]}),"pa\x67\x65"=>1);if(${${"\x47L\x4f\x42A\x4cS"}["\x66n\x6b\x6e\x67\x6e\x6a\x6a\x77\x67"]}){${"GLOB\x41L\x53"}["\x6ew\x6b\x68g\x7a"]="r\x65s\x70\x6fnse";$this->_gridResponse(${${"\x47\x4cO\x42A\x4cS"}["n\x77k\x68gz"]});}else{$ngutyhcsef="\x72\x65\x73\x70\x6fn\x73\x65";return${$ngutyhcsef};}}private function renderNested($summary,$params,$echo){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x64g\x75s\x71"]}=null;$uoqwgfwyu="\x6e\x5f\x6cv\x6c";$mtqnybnby="\x6eo\x64e";${$mtqnybnby}=(int)jqGridUtils::GetParam("no\x64eid","\x30");${$uoqwgfwyu}=(int)jqGridUtils::GetParam("\x6e\x5fl\x65v\x65l","0");if($this->autoLoadNodes){${"\x47LO\x42\x41\x4c\x53"}["\x79\x78x\x70\x75urs\x6c\x62\x6e\x78"]="\x73\x71\x6c";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x78\x78p\x75\x75\x72\x73\x6c\x62\x6e\x78"]}=$this->_setSQL();${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72e\x75\x6c\x74\x64\x77"]="\x73";${"\x47LO\x42A\x4c\x53"}["\x6fy\x6d\x66\x6aa\x6e\x67\x72"]="\x73q\x6c";$glhtwhuk="no\x64\x65";${${"\x47\x4cO\x42A\x4cS"}["r\x65\x75\x6c\x74\x64w"]}="";if(${$glhtwhuk}>0){$nbvsgjuism="\x73";$hkquiog="\x6e\x5f\x6cf\x74";$hffreksw="n_l\x66t";${$hkquiog}=(int)jqGridUtils::GetParam("n_\x6cef\x74");${"\x47\x4c\x4f\x42\x41LS"}["\x63\x75\x6a\x74\x69\x69\x6b\x67"]="\x6e_\x72\x67t";${${"G\x4c\x4f\x42A\x4c\x53"}["\x63\x75j\x74\x69\x69k\x67"]}=(int)jqGridUtils::GetParam("n\x5fr\x69gh\x74");${$nbvsgjuism}="\x20".$this->tableconfig["l\x65f\x74"]." >\x20".${$hffreksw}." AND ".$this->tableconfig["l\x65f\x74"]." <\x20".${${"\x47LOB\x41LS"}["ff\x78\x71\x76\x6aq\x77\x71\x79\x62\x72"]}." \x41N\x44\x20".$this->tableconfig["le\x76e\x6c"]." \x3d ".(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x68\x71\x64\x6e\x68\x68y"]}+1);}elseif(${${"G\x4cOB\x41\x4c\x53"}["f\x68q\x64nh\x68y"]}==0){${${"GLOB\x41\x4cS"}["\x65\x72p\x73\x63\x6fq"]}=" ".$this->tableconfig["l\x65\x76\x65\x6c"]." \x3d \x30";}$gcjomwqd="\x73\x71l";if(preg_match("/\x57\x48E\x52\x45/\x69",${${"\x47\x4cO\x42\x41L\x53"}["o\x79\x6d\x66\x6a\x61\x6e\x67\x72"]}))${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x64\x70\x66\x77l\x67\x74\x77"]}.="\x20AND\x20".${${"\x47\x4cO\x42A\x4c\x53"}["\x65\x72\x70\x73\x63\x6f\x71"]};else${$gcjomwqd}.="\x20WH\x45RE\x20".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65r\x70\x73co\x71"]};$this->readFromXML=false;$this->SelectCommand=${${"\x47\x4cO\x42\x41LS"}["jd\x70\x66w\x6c\x67\x74\x77"]};}$this->performcount=false;if(!$this->autoLoadNodes&&$this->expandAll){${"G\x4c\x4f\x42\x41L\x53"}["\x74ip\x72ny\x74\x77j\x61"]="data";${"\x47\x4c\x4fBA\x4cS"}["wdp\x6c\x63v\x68"]="\x64a\x74\x61";${"\x47\x4cOB\x41L\x53"}["\x64fr\x6a\x74\x70\x63"]="qw\x67";${"G\x4c\x4f\x42\x41\x4cS"}["\x66\x78pf\x63\x70\x63\x74lj"]="\x70\x61ra\x6d\x73";${"G\x4cO\x42A\x4c\x53"}["x\x79\x6b\x67\x73\x77"]="\x73\x75\x6dma\x72\x79";$znikoqmnw="\x65\x63\x68\x6f";${${"GL\x4f\x42\x41\x4c\x53"}["\x64\x66\x72j\x74\x70\x63"]}=$this->queryGrid(${${"\x47LO\x42A\x4cS"}["\x78y\x6bg\x73\x77"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x78p\x66cp\x63\x74\x6c\x6a"]},false);if(!isset($qwg->userdata))$qwg->userdata=array();${${"\x47\x4c\x4f\x42A\x4cS"}["n\x62o\x62\x79\x75\x67v\x76\x72"]}=$this->buildTreeArray(0,0,$qwg->rows);${${"\x47\x4cO\x42AL\x53"}["sdg\x75\x73\x71"]}=array("\x75s\x65r\x64at\x61"=>$qwg->userdata,"\x72\x6f\x77\x73"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x64\x70\x6c\x63vh"]},"tota\x6c"=>count(${${"\x47LO\x42\x41\x4c\x53"}["\x74\x69p\x72\x6e\x79t\x77ja"]}),"\x70\x61g\x65"=>1);if(${$znikoqmnw}){$this->_gridResponse(${${"\x47\x4c\x4fBA\x4cS"}["\x73d\x67u\x73\x71"]});}else{return${${"\x47L\x4f\x42\x41\x4cS"}["\x73d\x67\x75\x73q"]};}}else{$rnxuigu="\x70a\x72\x61ms";$vlntunh="e\x63\x68o";return$this->queryGrid(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x70s\x6f\x66\x66\x67\x74gdb"]},${$rnxuigu},${$vlntunh});}}public function queryTree(array$summary=null,array$params=null,$echo=true){${${"\x47L\x4fBAL\x53"}["\x73d\x67\x75\x73q"]}=null;if($this->treemodel=="ad\x6aac\x65ncy"){${"\x47\x4c\x4fB\x41\x4cS"}["\x6eyej\x71\x76\x6e\x71m"]="\x70\x61\x72\x61\x6ds";${${"\x47\x4c\x4f\x42AL\x53"}["sdg\x75\x73\x71"]}=$this->renderAdjacency(${${"GLOB\x41\x4c\x53"}["\x69\x70sof\x66g\x74\x67db"]},${${"\x47L\x4fBAL\x53"}["\x6eyejqv\x6e\x71\x6d"]},${${"G\x4c\x4f\x42ALS"}["\x68\x71m\x68\x66\x75"]});}elseif($this->treemodel=="\x6ee\x73\x74e\x64"){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x77\x78l\x62\x69\x68"]="s\x75m\x6d\x61\x72y";${"\x47LOB\x41LS"}["\x79\x70\x67izu\x79"]="\x72\x65\x73\x70\x6f\x6es\x65";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79pgi\x7au\x79"]}=$this->renderNested(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x77\x78\x6cb\x69\x68"]},${${"\x47\x4c\x4f\x42AL\x53"}["\x67o\x68a\x6d\x79ds"]},${${"GL\x4f\x42A\x4c\x53"}["\x68\x71\x6d\x68\x66u"]});}else{${"\x47\x4c\x4f\x42ALS"}["\x69mbfhj\x6brx"]="\x73umm\x61\x72\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61i\x72\x69\x63\x6ei\x77\x73"]="\x70\x61ra\x6d\x73";${"G\x4c\x4f\x42AL\x53"}["\x62n\x66a\x63\x74\x78\x70\x77"]="\x65c\x68\x6f";$this->queryGrid(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x6dbf\x68j\x6b\x72x"]},${${"GLOBAL\x53"}["\x61i\x72ic\x6e\x69ws"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x6e\x66\x61\x63txp\x77"]});}}public function updateTreeNode($data){${"\x47LOBA\x4c\x53"}["\x68\x6d\x6d\x79c\x64r\x77"]="d\x61t\x61";return$this->update(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68mm\x79c\x64\x72\x77"]});}public function insertTreeNode($data){$exyyyr="\x64\x61t\x61";$this->getLastInsert=true;if($this->treemodel=="n\x65s\x74ed"){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6a\x76\x72\x66\x6a\x77\x6f"]="\x6eo\x64\x65";${"GLO\x42\x41\x4cS"}["\x77hif\x6b\x61"]="d\x61t\x61";$iykwhuyg="\x72\x6f\x77";${"\x47\x4c\x4fB\x41L\x53"}["x\x6fd\x63\x79\x64"]="\x64a\x74\x61";${"G\x4c\x4f\x42\x41\x4c\x53"}["ud\x70\x7a\x66om\x79\x78\x62\x6d"]="\x64\x61\x74a";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x77\x74\x65\x62\x76ru"]="\x6e\x6f\x64e";${${"\x47\x4cO\x42A\x4c\x53"}["i\x77te\x62\x76\x72\x75"]}=(isset(${${"\x47LO\x42\x41\x4c\x53"}["\x75dp\x7a\x66\x6f\x6dyx\x62\x6d"]}["\x70ar\x65n\x74_\x69\x64"])&&(int)${${"G\x4cO\x42\x41\x4c\x53"}["\x78\x6f\x64c\x79\x64"]}["\x70\x61re\x6et\x5fid"]>0)?${${"\x47LO\x42\x41\x4c\x53"}["n\x62\x6f\x62yu\x67v\x76r"]}["\x70a\x72\x65\x6e\x74\x5fid"]:0;$rapigh="\x6e\x6f\x64\x65";$jmgeewjw="\x73";$ittrwtf="\x71";if((int)${${"G\x4c\x4fBAL\x53"}["\x6a\x76\x72\x66\x6awo"]}>0&&${$rapigh}!="\x6e\x75ll"){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x72\x70\x73c\x6fq"]}=jqGridUtils::sprintfn("\x53\x45\x4c\x45\x43\x54\x20%r\x69g\x68t\$s,\x20%\x6cev\x65\x6c\$s\x20FROM\x20\x25ta\x62\x6ce\$s\x20WH\x45\x52E\x20%\x69\x64\$s\x20\x3d ".(int)${${"G\x4c\x4fBA\x4c\x53"}["\x70\x6c\x69\x65n\x6aq\x6ax"]},$this->tableconfig);}else{${${"GL\x4f\x42\x41\x4c\x53"}["\x65\x72p\x73\x63\x6fq"]}=jqGridUtils::sprintfn("\x53E\x4cEC\x54 MA\x58( %ri\x67\x68t\$\x73), \"-1\x22\x20as le\x76\x65l\x20  \x46\x52O\x4d %t\x61bl\x65\$s",$this->tableconfig);}if($this->debug){$this->logQuery(${${"\x47\x4cO\x42ALS"}["\x65\x72\x70\x73\x63\x6f\x71"]});}$mwdjleqtkk="\x72\x6f\x77";${${"G\x4cO\x42ALS"}["\x6cta\x67\x76\x61h\x7ax\x65n"]}=jqGridDB::query($this->pdo,${$jmgeewjw});if(!${$ittrwtf}){$this->errorMesage=jqGridDB::errorMessage($this->pdo);if($this->showError){$this->sendErrorHeader();}else{die($this->errorMesage);}}${${"\x47\x4c\x4fBAL\x53"}["\x6b\x64ro\x71h\x68\x69\x79\x71\x73\x62"]}=jqGridDB::fetch_num(${${"GL\x4f\x42\x41L\x53"}["\x6c\x74\x61\x67\x76\x61h\x7a\x78\x65n"]},$this->pdo);jqGridDB::closeCursor(${${"\x47\x4cO\x42\x41LS"}["\x6c\x74\x61\x67va\x68\x7a\x78\x65\x6e"]});if(!${$iykwhuyg}){${${"GLO\x42\x41\x4c\x53"}["\x6b\x64r\x6f\x71\x68hi\x79\x71\x73b"]}[0]=1;${${"\x47LO\x42\x41LS"}["kd\x72\x6f\x71h\x68iy\x71sb"]}[1]=-1;}unset(${${"G\x4cO\x42A\x4c\x53"}["\x6e\x62o\x62\x79u\x67v\x76\x72"]}["\x70are\x6e\x74_id"]);${${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x68\x69fk\x61"]}[$this->tableconfig["\x6c\x65\x76\x65\x6c"]]=(int)${${"\x47\x4cOBALS"}["\x6b\x64\x72\x6f\x71\x68hiy\x71s\x62"]}[1]+1;if((int)${$mwdjleqtkk}[1]==-1){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72q\x79\x75d\x6da"]="\x73\x31";${"\x47L\x4fB\x41\x4cS"}["ui\x66hs\x61"]="r\x6f\x77";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62i\x78d\x6a\x6cy\x6b\x74\x63w\x6c"]="\x73\x32";$gslvob="\x72\x6f\x77";$fkrjcyyngpoo="\x731";$fbalxwosxgxx="r\x6f\x77";${${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x62o\x62\x79u\x67\x76\x76\x72"]}[$this->tableconfig["\x6c\x65\x66t"]]=(int)${$fbalxwosxgxx}[0]+1;${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x62\x6f\x62\x79\x75\x67\x76\x76\x72"]}[$this->tableconfig["r\x69\x67\x68\x74"]]=(int)${$gslvob}[0]+2;${$fkrjcyyngpoo}=jqGridUtils::sprintfn("\x55\x50\x44\x41T\x45\x20\x25\x74ab\x6ce\$s SET\x20%r\x69\x67\x68t\$s = \x25ri\x67h\x74\$\x73\x20+ 2\x20W\x48ER\x45\x20%\x72\x69g\x68t\$\x73\x20\x3e ?",$this->tableconfig);${${"\x47\x4cO\x42ALS"}["bi\x78d\x6al\x79k\x74\x63\x77l"]}=jqGridUtils::sprintfn("UP\x44AT\x45\x20\x25\x74a\x62\x6c\x65\$\x73\x20S\x45T %l\x65ft\$s\x20= %\x6c\x65\x66t\$s +\x20\x32 WHE\x52E\x20%\x6ce\x66\x74\$s\x20> ?",$this->tableconfig);$this->setBeforeCrudAction("\x61d\x64",${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72q\x79u\x64\x6da"]},array((int)${${"G\x4cOB\x41\x4c\x53"}["k\x64roqh\x68\x69\x79q\x73\x62"]}[0]));$this->setBeforeCrudAction("a\x64\x64",${${"G\x4cO\x42\x41\x4cS"}["\x78\x6d\x65\x67\x64\x65n\x67\x6d\x61"]},array((int)${${"\x47L\x4f\x42AL\x53"}["\x75if\x68\x73\x61"]}[0]));}else{${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75h\x78\x69\x67\x6e\x6dg\x68\x76"]="da\x74\x61";${"\x47\x4c\x4fBA\x4cS"}["\x6a\x6a\x68\x6f\x72\x70\x65\x78\x63h\x71"]="\x64\x61t\x61";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x68xi\x67nm\x67\x68\x76"]}[$this->tableconfig["l\x65f\x74"]]=(int)${${"\x47\x4cO\x42\x41L\x53"}["kdroq\x68h\x69y\x71\x73\x62"]}[0];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6eu\x76bk\x63c\x6a\x75\x6b"]="\x72\x6f\x77";${"G\x4c\x4f\x42A\x4cS"}["\x72pmf\x6er\x68\x62"]="\x72\x6fw";${${"GL\x4f\x42A\x4cS"}["\x6a\x6ah\x6f\x72\x70\x65\x78\x63hq"]}[$this->tableconfig["\x72\x69\x67h\x74"]]=(int)${${"GLO\x42A\x4c\x53"}["\x6b\x64ro\x71\x68h\x69\x79\x71\x73b"]}[0]+1;${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75v\x74\x62op\x66u\x69dg"]="\x73\x31";${"GLOB\x41\x4cS"}["\x6d\x77\x63\x63mv\x79\x70\x78\x66\x79"]="r\x6f\x77";${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x76t\x62\x6f\x70\x66\x75\x69dg"]}=jqGridUtils::sprintfn("U\x50\x44AT\x45\x20%\x74\x61\x62\x6ce\$\x73 \x53ET\x20\x25left\$\x73 = \x43AS\x45 WHE\x4e \x25\x6ce\x66\x74\$s\x20\x3e\x20?\x20T\x48\x45\x4e \x25\x6cef\x74\$s +\x20\x32\x20\x45L\x53E\x20\x25le\x66\x74\$\x73\x20END,\x20%ri\x67ht\$s\x20\x3d\x20CA\x53E\x20\x57HEN\x20\x25right\$\x73 >\x3d\x20? T\x48EN\x20\x25r\x69\x67h\x74\$\x73\x20+\x20\x32 \x45\x4cSE \x25\x72i\x67\x68t\$\x73 E\x4eD WHERE \x25r\x69\x67ht\$s \x3e=\x20?",$this->tableconfig);$this->setBeforeCrudAction("\x61dd",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x75\x78f\x61x\x75\x65"]},array((int)${${"\x47\x4cO\x42\x41L\x53"}["\x67\x6eu\x76\x62k\x63\x63\x6a\x75\x6b"]}[0],(int)${${"\x47\x4c\x4f\x42A\x4cS"}["\x6d\x77c\x63m\x76\x79\x70\x78\x66\x79"]}[0],(int)${${"\x47\x4c\x4fB\x41L\x53"}["\x72pmf\x6e\x72h\x62"]}[0]));}}return$this->insert(${$exyyyr});}public function deleteTreeNode($data){$hehwcedhp="\x70\x61\x72a\x6d";if(!$this->add)return false;${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71f\x72\x6f\x71\x76it\x68\x62\x66\x72"]}="";${${"\x47L\x4f\x42\x41\x4cS"}["\x67\x63\x70\x75\x6ff\x68\x74\x67\x75\x72"]}=null;if($this->treemodel=="\x61dja\x63\x65\x6ec\x79"){${"GLO\x42\x41\x4c\x53"}["\x67t\x62f\x6b\x6c\x70j\x6d"]="\x64\x61t\x61";$this->setLeafData($this->getLeafNodes(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x74b\x66k\x6cp\x6am"]}[$this->primaryKey]));$this->getChildNodes(${${"\x47\x4cO\x42A\x4c\x53"}["\x6e\x62\x6fby\x75\x67v\x76\x72"]}[$this->primaryKey],"",true);if(is_array($this->res)&&count($this->res)>0){${${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x62o\x62yugv\x76\x72"]}[$this->primaryKey].=",".implode(",",$this->res);}}elseif($this->treemodel=="\x6e\x65\x73t\x65\x64"){$ckuktswl="\x6e\x6fde";$xxpvlfty="\x72\x6f\x77";${"\x47L\x4f\x42\x41\x4c\x53"}["f\x6b\x76\x79\x64\x67\x76c"]="q";${"\x47LO\x42\x41L\x53"}["ar\x76\x64\x69\x6e\x73\x65\x74d"]="\x64\x61ta";$fljebcibi="\x71";${"\x47LO\x42A\x4cS"}["\x6c\x70t\x6a\x76\x67"]="\x73";${$ckuktswl}=${${"\x47\x4cO\x42\x41\x4cS"}["\x61\x72\x76\x64i\x6es\x65\x74\x64"]}[$this->primaryKey];${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x70t\x6a\x76\x67"]}=jqGridUtils::sprintfn("\x53\x45L\x45C\x54 %\x6ce\x66\x74\$\x73, %r\x69\x67ht\$s\x20F\x52\x4f\x4d\x20%t\x61\x62\x6c\x65\$s \x57H\x45\x52\x45\x20\x25id\$s\x20=\x20".(int)${${"\x47\x4cO\x42\x41\x4c\x53"}["p\x6c\x69\x65n\x6a\x71\x6a\x78"]},$this->tableconfig);if($this->debug){$this->logQuery(${${"\x47\x4cOBALS"}["\x65\x72\x70\x73\x63\x6f\x71"]});}${$fljebcibi}=jqGridDB::query($this->pdo,${${"G\x4c\x4fBAL\x53"}["\x65r\x70\x73\x63\x6fq"]});if(!${${"\x47L\x4fBA\x4c\x53"}["\x66\x6b\x76\x79dgvc"]}){$this->errorMesage=jqGridDB::errorMessage($this->pdo);if($this->showError){$this->sendErrorHeader();}else{die($this->errorMesage);}}${"\x47LO\x42\x41\x4c\x53"}["yb\x6f\x61\x66z"]="w\x69d\x74h";$mjbdsx="\x72\x6fw";$lqmlegneevh="\x77\x69\x64th";${${"GL\x4fB\x41LS"}["\x6bd\x72\x6f\x71h\x68\x69\x79\x71\x73\x62"]}=jqGridDB::fetch_num(${${"G\x4cOBALS"}["l\x74agv\x61h\x7a\x78\x65\x6e"]},$this->pdo);${"\x47\x4c\x4fBALS"}["\x63u\x78\x62y\x69\x70z\x67\x77"]="row";$fevnnx="\x6cf\x74";$tcxjqdmv="\x6c\x66\x74";${"\x47\x4c\x4f\x42AL\x53"}["\x73nl\x75\x63l\x71\x78\x6a\x78"]="\x71";jqGridDB::closeCursor(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x6e\x6cuc\x6c\x71\x78\x6ax"]});if(!${$mjbdsx}){return true;}${$fevnnx}=(int)${${"\x47L\x4f\x42A\x4c\x53"}["\x63u\x78\x62\x79i\x70\x7ag\x77"]}[0];$wqxuywee="\x6cf\x74";${${"\x47L\x4f\x42\x41\x4c\x53"}["w\x6f\x6dx\x69q\x65n\x72r"]}=(int)${$xxpvlfty}[1];${$lqmlegneevh}=${${"\x47L\x4fB\x41\x4cS"}["\x77\x6f\x6d\x78i\x71\x65n\x72\x72"]}-${$tcxjqdmv}+1;${${"\x47\x4c\x4f\x42\x41\x4cS"}["q\x66r\x6fqv\x69\x74\x68\x62\x66\x72"]}="\x20".$this->tableconfig["l\x65f\x74"]." BET\x57EEN\x20? A\x4eD ?";${${"G\x4cO\x42\x41\x4c\x53"}["\x67\x63\x70\x75o\x66\x68t\x67\x75r"]}=array((int)${$wqxuywee},(int)${${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x6f\x6d\x78i\x71\x65\x6e\x72\x72"]});${${"\x47\x4cO\x42\x41\x4c\x53"}["i\x75\x78\x66\x61x\x75e"]}=jqGridUtils::sprintfn("UPD\x41\x54E %\x74ab\x6c\x65\$s \x53\x45T \x25r\x69gh\x74\$\x73 =\x20\x25\x72i\x67ht\$s - ? WH\x45\x52E\x20%\x72\x69\x67h\x74\$s\x20\x3e ?",$this->tableconfig);${${"\x47\x4c\x4fB\x41L\x53"}["\x78\x6d\x65\x67d\x65\x6e\x67m\x61"]}=jqGridUtils::sprintfn("UP\x44\x41TE\x20\x25t\x61b\x6c\x65\$s\x20\x53ET\x20\x25l\x65\x66\x74\$s\x20= \x25\x6c\x65\x66t\$s - ? \x57\x48ERE %\x6ceft\$s\x20> ?",$this->tableconfig);$this->setAfterCrudAction("\x64el",${${"\x47\x4cO\x42\x41\x4c\x53"}["iu\x78\x66axue"]},array((int)${${"\x47L\x4f\x42\x41LS"}["\x79\x62o\x61f\x7a"]},(int)${${"\x47\x4cO\x42\x41\x4cS"}["\x77\x6f\x6d\x78i\x71\x65\x6e\x72\x72"]}));$this->setAfterCrudAction("\x64el",${${"\x47\x4c\x4f\x42\x41L\x53"}["xm\x65\x67\x64\x65\x6e\x67m\x61"]},array((int)${${"\x47L\x4fB\x41L\x53"}["\x6edh\x75fp"]},(int)${${"\x47L\x4fB\x41\x4c\x53"}["\x77o\x6dx\x69\x71\x65\x6err"]}));}return$this->delete(${${"G\x4c\x4f\x42\x41L\x53"}["\x6eb\x6f\x62yu\x67\x76\x76\x72"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x66\x72\x6fq\x76\x69\x74\x68\x62\x66r"]},${$hehwcedhp});}public function editTree(array$summary=null,array$params=null,$oper=false,$echo=true){$bjfwhsxziiet="\x64\x61t\x61";$dmheyxnitbr="\x64\x61\x74\x61";$xobvhbjad="da\x74\x61";if(!${${"\x47\x4cOB\x41L\x53"}["\x74\x6d\x67\x6ey\x78\x77\x67\x6fyw"]}){$sgaygr="\x6f\x70\x65\x72";$uyayzuuir="o\x70er";${$uyayzuuir}=$this->GridParams["ope\x72"];${$sgaygr}=jqGridUtils::GetParam(${${"\x47\x4c\x4fB\x41L\x53"}["\x74\x6d\x67n\x79xw\x67oy\x77"]},"\x67rid");}${"\x47\x4cOB\x41\x4c\x53"}["df\x65\x78\x75\x67\x6aip\x6e\x76"]="\x65c\x68o";${"\x47\x4c\x4fBAL\x53"}["s\x76\x6d\x73\x63\x6a\x77c\x78"]="op\x65\x72";${${"GL\x4fB\x41\x4cS"}["s\x76\x6fuwk\x63\x65"]}="\x73\x75ccess#\x23\x4f\x70e\x72\x61t\x69o\x6e\x20\x70\x65rf\x6frmed su\x63c\x65f\x75ll\x79";$qwqwbgbobgb="\x64a\x74\x61";switch(${${"\x47\x4cO\x42\x41L\x53"}["\x73v\x6d\x73\x63\x6a\x77\x63x"]}){case$this->GridParams["\x65d\x69top\x65\x72"]:$this->checkPrimary();${$bjfwhsxziiet}=strtolower($this->mtype)=="pos\x74"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->updateTreeNode(${$xobvhbjad})){$this->setSuccessMsg(${${"\x47L\x4f\x42A\x4c\x53"}["s\x76\x6f\x75\x77k\x63e"]}."#\x23n\x6f\x6ee");if($this->successmsg){echo$this->successmsg;}}break;case$this->GridParams["add\x6f\x70\x65r"]:$this->checkPrimary();${$qwqwbgbobgb}=strtolower($this->mtype)=="\x70\x6f\x73\x74"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);$this->getLastInsert=true;if($this->insertTreeNode(${${"\x47L\x4fB\x41L\x53"}["\x6e\x62\x6f\x62\x79\x75\x67vvr"]})){${"GL\x4fB\x41\x4c\x53"}["\x79\x6d\x6f\x6eg\x66\x6a\x76i"]="\x6f\x6b\x6ds\x67";$this->setSuccessMsg(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79mong\x66\x6a\x76i"]}."##".$this->lastId);if($this->successmsg){echo$this->successmsg;}}break;case$this->GridParams["delo\x70\x65r"]:$this->checkPrimary();${$dmheyxnitbr}=strtolower($this->mtype)=="\x70o\x73\x74"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->deleteTreeNode(${${"G\x4c\x4f\x42\x41L\x53"}["\x6eb\x6f\x62\x79\x75\x67v\x76\x72"]})){${"\x47\x4c\x4f\x42A\x4c\x53"}["ejm\x65j\x7a\x64\x73\x72\x74\x67\x62"]="\x6f\x6bmsg";$this->setSuccessMsg(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x6amej\x7a\x64\x73\x72\x74\x67b"]});if($this->successmsg){echo$this->successmsg;}}break;default:$this->queryTree(${${"\x47\x4c\x4f\x42AL\x53"}["i\x70s\x6f\x66\x66gtg\x64\x62"]},${${"\x47L\x4fBA\x4c\x53"}["\x67\x6fh\x61myd\x73"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x66\x65\x78\x75\x67\x6a\x69pnv"]});}}public function renderTree($tblelement='',$pager='',$script=true,array$summary=null,array$params=null,$createtbl=false,$createpg=false,$echo=true){$cctauphlv="\x67\x6fp\x65\x72";$raxflwtnu="go\x70e\x72";${${"GL\x4f\x42A\x4cS"}["t\x6d\x67\x6e\x79xw\x67\x6f\x79\x77"]}=$this->GridParams["op\x65\x72"];$yxuoob="\x6f\x70\x65\x72";${$cctauphlv}=jqGridUtils::GetParam(${$yxuoob},"\x6eoop\x65r");if(${$raxflwtnu}==$this->GridParams["a\x75tocom\x70l\x65t\x65"]){return false;}else if(${${"\x47\x4c\x4fBA\x4cS"}["q\x6d\x78u\x6bf\x66u\x7a\x6e"]}==$this->GridParams["ex\x63\x65\x6c"]){if(!$this->export)return false;$this->exportToExcel(${${"\x47\x4c\x4f\x42AL\x53"}["\x69p\x73\x6fffgt\x67\x64b"]},${${"G\x4c\x4f\x42ALS"}["g\x6fh\x61\x6d\x79d\x73"]},$this->colModel,true,$this->exportfile);}else if(${${"GL\x4f\x42\x41\x4c\x53"}["q\x6d\x78u\x6b\x66f\x75\x7a\x6e"]}=="pd\x66"){if(!$this->export)return false;${"\x47LO\x42\x41\x4cS"}["f\x68\x6c\x74\x75t\x69\x66"]="\x73u\x6dm\x61ry";$this->exportToPdf(${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x68l\x74\x75\x74if"]},${${"\x47\x4cO\x42ALS"}["g\x6fh\x61m\x79d\x73"]},$this->colModel,$this->pdffile);}else if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71mx\x75\x6bf\x66\x75z\x6e"]}=="\x63\x73\x76"){$pzlpkkbny="\x70\x61\x72\x61\x6d\x73";if(!$this->export)return false;$this->exportToCsv(${${"\x47L\x4f\x42A\x4c\x53"}["i\x70s\x6ff\x66\x67\x74\x67\x64\x62"]},${$pzlpkkbny},$this->colModel,true,$this->csvfile,$this->csvsep,$this->csvsepreplace);}else if(in_array(${${"G\x4c\x4f\x42\x41\x4cS"}["qm\x78u\x6b\x66\x66u\x7a\x6e"]},array_values($this->GridParams))){$rlsfvwckgb="s\x75\x6dma\x72\x79";$obcwyx="\x67\x6fp\x65\x72";$this->editTree(${$rlsfvwckgb},${${"\x47\x4c\x4f\x42A\x4cS"}["\x67oha\x6d\x79\x64\x73"]},${$obcwyx});}else{${"GLO\x42A\x4c\x53"}["\x67g\x6cm\x76\x72\x6f"]="scr\x69p\x74";${"\x47L\x4f\x42\x41\x4cS"}["ie\x62\x70\x70\x6ek\x63qw"]="\x63reate\x70g";${"\x47L\x4f\x42AL\x53"}["\x76d\x67\x76\x6d\x6d\x70\x68"]="\x74\x62le\x6c\x65\x6d\x65\x6et";$this->_setTreeGridOptions($this->treemodel);${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x6dv\x6b\x68\x63\x73\x78\x62os"]="p\x61\x67\x65\x72";return$this->renderGrid(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76d\x67v\x6dmph"]},${${"G\x4c\x4f\x42A\x4cS"}["y\x6dvk\x68\x63\x73\x78\x62\x6f\x73"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x67lm\x76\x72\x6f"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x70s\x6fff\x67\x74g\x64\x62"]},${${"G\x4cOB\x41LS"}["\x67oh\x61\x6dy\x64\x73"]},${${"G\x4cO\x42\x41\x4cS"}["\x71q\x6ajkm\x6f\x67"]},${${"\x47\x4c\x4fB\x41\x4cS"}["i\x65\x62\x70\x70n\x6b\x63\x71\x77"]},${${"\x47\x4cOB\x41\x4cS"}["\x68\x71m\x68\x66\x75"]});}}}

Function Calls

None

Variables

None

Stats

MD5 e54e5e51143b9130a2894cdaf2d2fcb5
Eval Count 0
Decode Time 212 ms