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 /* Copyright (c) 2015 Trirand Ltd If you want to obtain license for this product, ..

Decoded Output download

<?php /* 
Copyright (c) 2015 Trirand Ltd 
If you want to obtain license for this product, go to http://www.guriddo.net 
*/ 
${"GLOBALS"}["cdjufi"]="echo";${"GLOBALS"}["lhytod"]="summary";${"GLOBALS"}["ckerkzlb"]="errmsg";${"GLOBALS"}["vrgzujkhtiub"]="ide";${"GLOBALS"}["gbexnlbkn"]="custom";${"GLOBALS"}["ojxlrfavr"]="delids";${"GLOBALS"}["olqdtjn"]="id";${"GLOBALS"}["ykdgzvhvogwd"]="where";${"GLOBALS"}["fsjjnzffacgy"]="odbc";${"GLOBALS"}["dntvtgcdilyv"]="pk";${"GLOBALS"}["auvtzysyrj"]="updateFields";${"GLOBALS"}["uhwlldyrdtx"]="v2";${"GLOBALS"}["qidmvohf"]="datefmt";${"GLOBALS"}["pifywpfnrme"]="field";${"GLOBALS"}["lhwfhbc"]="saver";${"GLOBALS"}["uorxwzuyov"]="insertFields";${"GLOBALS"}["boozscd"]="types";${"GLOBALS"}["jlebhprwmp"]="v";${"GLOBALS"}["qdorvqdhm"]="value";${"GLOBALS"}["ikmfjsq"]="val";${"GLOBALS"}["gnbtktcba"]="t";${"GLOBALS"}["vlspuperj"]="binds";${"GLOBALS"}["ejagtyhxby"]="rowFields";${"GLOBALS"}["trvznxfkts"]="tableFields";${"GLOBALS"}["htvkwalfu"]="timefmt";${"GLOBALS"}["bbdbzeberbg"]="validator";${"GLOBALS"}["zvwwhuf"]="data";${"GLOBALS"}["hrwlusptcf"]="prop";${"GLOBALS"}["cpqvssbqvmc"]="values";${"GLOBALS"}["kochhimq"]="key";${"GLOBALS"}["lqshxiv"]="params";${"GLOBALS"}["djqlsshsadm"]="event";${"GLOBALS"}["fbocjeyn"]="stmt";${"GLOBALS"}["btzcksm"]="ar";${"GLOBALS"}["vyhmnchjfwv"]="acnt";${"GLOBALS"}["mnuuvhud"]="oper";${"GLOBALS"}["vverkfhgfeb"]="ret";${"GLOBALS"}["izvxnn"]="type";${"GLOBALS"}["idfmbophsiq"]="meta";${"GLOBALS"}["gcuyogg"]="i";${"GLOBALS"}["ysbdydvbu"]="colcount";${"GLOBALS"}["eunkpciccun"]="select";${"GLOBALS"}["xvmnkbkop"]="sql";${"GLOBALS"}["blhpcmoux"]="wh";${"GLOBALS"}["nzrgyljo"]="result";${"GLOBALS"}["gesqzdfpqyby"]="keyid";${"GLOBALS"}["xuxewbior"]="arule";if(!defined("PHPSUITO_ROOT")){define("PHPSUITO_ROOT",dirname(__FILE__)."/");require(PHPSUITO_ROOT."Autoloader.php");}class jqGridEdit extends jqGridExport{protected$fields=array();protected$successmsg="";public function setSuccessMsg($msg){$tjvyxwh="msg";if(${$tjvyxwh}){$igsqnagtcu="msg";$this->successmsg=${$igsqnagtcu};}}public$serialKey=true;public$getLastInsert=false;protected$lastId=null;public$trans=true;public$add=true;public$edit=true;public$del=true;public$mtype="POST";public$decodeinput=false;public$serverValidate=false;public$serverSanitize=false;protected$validations=array();public function setValidationRules($arule){if(is_array(${${"GLOBALS"}["xuxewbior"]})){$this->validations=${${"GLOBALS"}["xuxewbior"]};}}protected$sanatations=array();public function setSanitatationRules($arule){${"GLOBALS"}["trtxmtjiir"]="arule";if(is_array(${${"GLOBALS"}["trtxmtjiir"]})){$this->sanatations=${${"GLOBALS"}["xuxewbior"]};}}public function getPrimaryKeyId(){return$this->primaryKey;}public function setPrimaryKeyId($keyid){$this->primaryKey=${${"GLOBALS"}["gesqzdfpqyby"]};}public function setTable($_newtable){$povdkbbruu="_newtable";$this->table=${$povdkbbruu};}protected function _buildFields(){${${"GLOBALS"}["nzrgyljo"]}=false;if(strlen(trim($this->table))>0){${${"GLOBALS"}["blhpcmoux"]}=($this->dbtype=="sqlite")?"":" WHERE 1=2";$quchfwoakfj="sql";${$quchfwoakfj}="SELECT * FROM ".$this->table.${${"GLOBALS"}["blhpcmoux"]};if($this->debug){$this->logQuery(${${"GLOBALS"}["xvmnkbkop"]});$this->debugout();}try{${"GLOBALS"}["fywnhbguypp"]="select";${${"GLOBALS"}["eunkpciccun"]}=jqGridDB::query($this->pdo,${${"GLOBALS"}["xvmnkbkop"]});if(${${"GLOBALS"}["fywnhbguypp"]}){${"GLOBALS"}["kxupndu"]="i";${"GLOBALS"}["fspbydc"]="select";$sgnxlnq="i";${${"GLOBALS"}["ysbdydvbu"]}=jqGridDB::columnCount(${${"GLOBALS"}["eunkpciccun"]});$this->fields=array();for(${$sgnxlnq}=0;${${"GLOBALS"}["gcuyogg"]}<${${"GLOBALS"}["ysbdydvbu"]};${${"GLOBALS"}["kxupndu"]}++){$mkldexypqar="type";$jfjvusnp="i";$mtuolxjh="select";$zttrob="meta";${${"GLOBALS"}["idfmbophsiq"]}=jqGridDB::getColumnMeta(${$jfjvusnp},${$mtuolxjh});${${"GLOBALS"}["izvxnn"]}=jqGridDB::MetaType(${$zttrob},$this->dbtype);$this->fields[${${"GLOBALS"}["idfmbophsiq"]}["name"]]=array("type"=>${$mkldexypqar});}jqGridDB::closeCursor(${${"GLOBALS"}["fspbydc"]});${${"GLOBALS"}["nzrgyljo"]}=true;}else{$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){${${"GLOBALS"}["nzrgyljo"]}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}else{$this->errorMessage="No database table is set to operate!";}if($this->showError&&!${${"GLOBALS"}["nzrgyljo"]}){$this->sendErrorHeader();}return${${"GLOBALS"}["nzrgyljo"]};}protected$_addarray=array();protected$_addarrayb=array();protected$_editarray=array();protected$_editarrayb=array();protected$_delarray=array();protected$_delarrayb=array();protected function _actionsCRUDGrid($oper,$event){$jagtwl="ar";$mknezllegr="acnt";$rewbjah="acnt";$qlkdvn="event";${"GLOBALS"}["vtwglydpmm"]="acnt";${"GLOBALS"}["ikfelbdmzdd"]="ar";${"GLOBALS"}["woiyibfrle"]="acnt";${"GLOBALS"}["ljjasijkl"]="ret";$dglnnmarvzh="event";${${"GLOBALS"}["vverkfhgfeb"]}=true;switch(${${"GLOBALS"}["mnuuvhud"]}){case"add":if(${$dglnnmarvzh}=="before"){${"GLOBALS"}["wvkdlilrmic"]="ar";${${"GLOBALS"}["wvkdlilrmic"]}=$this->_addarrayb;}else{${"GLOBALS"}["tbwdnyf"]="ar";${${"GLOBALS"}["tbwdnyf"]}=$this->_addarray;}${${"GLOBALS"}["vyhmnchjfwv"]}=count(${$jagtwl});if(${${"GLOBALS"}["vyhmnchjfwv"]}>0){${"GLOBALS"}["jhxpvcsyb"]="i";${"GLOBALS"}["folxrhdeqq"]="acnt";for(${${"GLOBALS"}["gcuyogg"]}=0;${${"GLOBALS"}["jhxpvcsyb"]}<${${"GLOBALS"}["folxrhdeqq"]};${${"GLOBALS"}["gcuyogg"]}++){${"GLOBALS"}["drrtmolhj"]="i";if($this->debug){$spngrvlmrkz="ar";${"GLOBALS"}["imzpqijftns"]="i";$luobefvaes="i";$this->logQuery(${${"GLOBALS"}["btzcksm"]}[${$luobefvaes}]["sql"],${$spngrvlmrkz}[${${"GLOBALS"}["imzpqijftns"]}]["params"]);}${"GLOBALS"}["gwqafcu"]="result";$kfksgtzo="ar";${"GLOBALS"}["lrdggvwjtn"]="stmt";$yqkfnqgd="i";${${"GLOBALS"}["lrdggvwjtn"]}=jqGridDB::prepare($this->pdo,${${"GLOBALS"}["btzcksm"]}[${${"GLOBALS"}["gcuyogg"]}]["sql"],${$kfksgtzo}[${${"GLOBALS"}["drrtmolhj"]}]["params"]);${${"GLOBALS"}["gwqafcu"]}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["btzcksm"]}[${$yqkfnqgd}]["params"],$this->pdo);if(!${${"GLOBALS"}["nzrgyljo"]}){${"GLOBALS"}["wjkerczop"]="ret";${${"GLOBALS"}["wjkerczop"]}=false;break;}jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${${"GLOBALS"}["fbocjeyn"]});}}break;case"edit":if(${${"GLOBALS"}["djqlsshsadm"]}=="before"){$utyrjwdcr="ar";${$utyrjwdcr}=$this->_editarrayb;}else{${"GLOBALS"}["zacsehgkdgy"]="ar";${${"GLOBALS"}["zacsehgkdgy"]}=$this->_editarray;}${${"GLOBALS"}["vtwglydpmm"]}=count(${${"GLOBALS"}["btzcksm"]});if(${${"GLOBALS"}["woiyibfrle"]}>0){${"GLOBALS"}["cwqjwtaid"]="i";for(${${"GLOBALS"}["cwqjwtaid"]}=0;${${"GLOBALS"}["gcuyogg"]}<${${"GLOBALS"}["vyhmnchjfwv"]};${${"GLOBALS"}["gcuyogg"]}++){$qiiqxmgj="stmt";$vcixjwjj="ar";$pintydxrtw="i";$gpkxoluk="result";if($this->debug){${"GLOBALS"}["ozpypphel"]="i";$albdxfkaopx="i";$this->logQuery(${${"GLOBALS"}["btzcksm"]}[${${"GLOBALS"}["ozpypphel"]}]["sql"],${${"GLOBALS"}["btzcksm"]}[${$albdxfkaopx}]["params"]);}${"GLOBALS"}["vmujhjjqrpie"]="result";${"GLOBALS"}["qvojnjyic"]="i";$ascyplaiz="i";${$qiiqxmgj}=jqGridDB::prepare($this->pdo,${${"GLOBALS"}["btzcksm"]}[${$ascyplaiz}]["sql"],${$vcixjwjj}[${$pintydxrtw}]["params"]);${${"GLOBALS"}["vmujhjjqrpie"]}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["btzcksm"]}[${${"GLOBALS"}["qvojnjyic"]}]["params"],$this->pdo);if(!${$gpkxoluk}){$fslzhyew="ret";${$fslzhyew}=false;break;}jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${${"GLOBALS"}["fbocjeyn"]});}}break;case"del":if(${$qlkdvn}=="before"){${${"GLOBALS"}["btzcksm"]}=$this->_delarrayb;}else{${${"GLOBALS"}["btzcksm"]}=$this->_delarray;}${$mknezllegr}=count(${${"GLOBALS"}["ikfelbdmzdd"]});if(${$rewbjah}>0){$efrtpcy="i";${"GLOBALS"}["olwdyy"]="i";$qswkwkyq="acnt";for(${${"GLOBALS"}["gcuyogg"]}=0;${$efrtpcy}<${$qswkwkyq};${${"GLOBALS"}["olwdyy"]}++){$igwvtcunkn="i";${"GLOBALS"}["pughgyrffqvd"]="stmt";${"GLOBALS"}["gejtvb"]="stmt";$kpjbgbq="stmt";${"GLOBALS"}["eieaahc"]="result";if($this->debug){$fuvwwdc="ar";$this->logQuery(${$fuvwwdc}[${${"GLOBALS"}["gcuyogg"]}]["sql"],${${"GLOBALS"}["btzcksm"]}[${${"GLOBALS"}["gcuyogg"]}]["params"]);}${${"GLOBALS"}["pughgyrffqvd"]}=jqGridDB::prepare($this->pdo,${${"GLOBALS"}["btzcksm"]}[${$igwvtcunkn}]["sql"],${${"GLOBALS"}["btzcksm"]}[${${"GLOBALS"}["gcuyogg"]}]["params"]);${${"GLOBALS"}["eieaahc"]}=${$kpjbgbq}?jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["btzcksm"]}[${${"GLOBALS"}["gcuyogg"]}]["params"],$this->pdo):false;if(!${${"GLOBALS"}["nzrgyljo"]}){${${"GLOBALS"}["vverkfhgfeb"]}=false;break;}jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${${"GLOBALS"}["gejtvb"]});}}break;}return${${"GLOBALS"}["ljjasijkl"]};}public function setBeforeCrudAction($oper,$sql,$params=null){${"GLOBALS"}["yseipnricn"]="sql";${"GLOBALS"}["cjrkgbktcw"]="sql";${"GLOBALS"}["fcvwumjsm"]="params";${"GLOBALS"}["przfdryg"]="oper";switch(${${"GLOBALS"}["przfdryg"]}){case"add":$this->_addarrayb[]=array("sql"=>${${"GLOBALS"}["xvmnkbkop"]},"params"=>${${"GLOBALS"}["fcvwumjsm"]});break;case"edit":$this->_editarrayb[]=array("sql"=>${${"GLOBALS"}["yseipnricn"]},"params"=>${${"GLOBALS"}["lqshxiv"]});break;case"del":$this->_delarrayb[]=array("sql"=>${${"GLOBALS"}["cjrkgbktcw"]},"params"=>${${"GLOBALS"}["lqshxiv"]});break;}}public function setAfterCrudAction($oper,$sql,$params=null){$zvctpqvuw="sql";$jjlqkjn="params";${"GLOBALS"}["sawbecqu"]="params";$uuxbiep="sql";$ivejepme="sql";${"GLOBALS"}["fvtralwef"]="params";switch(${${"GLOBALS"}["mnuuvhud"]}){case"add":$this->_addarray[]=array("sql"=>${$ivejepme},"params"=>${${"GLOBALS"}["sawbecqu"]});break;case"edit":$this->_editarray[]=array("sql"=>${$uuxbiep},"params"=>${$jjlqkjn});break;case"del":$this->_delarray[]=array("sql"=>${$zvctpqvuw},"params"=>${${"GLOBALS"}["fvtralwef"]});break;}}public function getFields(){return$this->fields;}public function insert($data){if(!$this->add){return false;}if(!$this->_buildFields()){return false;}$rlgelnq="datefmt";${"GLOBALS"}["vswezkz"]="v";if(!$this->checkPrimary()){return false;}${"GLOBALS"}["yciwsbtrhaf"]="result";${"GLOBALS"}["kykyrijl"]="insertFields";${"GLOBALS"}["cdglmoy"]="data";if($this->serverSanitize){if(is_array($this->sanatations)&&count($this->sanatations)==0){foreach($this->validations as${${"GLOBALS"}["kochhimq"]}=>${${"GLOBALS"}["cpqvssbqvmc"]}){${"GLOBALS"}["isymuxto"]="values";${"GLOBALS"}["ubbemdwj"]="prop";$cflgeiat="val";foreach(${${"GLOBALS"}["isymuxto"]} as${${"GLOBALS"}["ubbemdwj"]}=>${$cflgeiat}){if(${${"GLOBALS"}["hrwlusptcf"]}=="sanitize"&&${${"GLOBALS"}["cpqvssbqvmc"]}[${${"GLOBALS"}["hrwlusptcf"]}]==true){$iorkmaeu="key";$this->sanatations[]=${$iorkmaeu};break;}}}}}${"GLOBALS"}["hngdvhccx"]="insertFields";$yccwjrhiwpa="types";${"GLOBALS"}["wilgixk"]="result";if($this->serverValidate){$thpmsywqg="validator";${$thpmsywqg}=new jqValidator($this->validations,$this->sanatations);$validator->linebreak="<br/>";if(!$validator->validate(${${"GLOBALS"}["zvwwhuf"]})){$this->errorMessage=$validator->getJSON();$this->sendErrorHeader();return false;}}if($this->serverSanitize){$twsnoyignaw="data";$xtisuelxao="data";if(!$this->serverValidate){${${"GLOBALS"}["bbdbzeberbg"]}=new jqValidator($this->validations,$this->sanatations);}${$twsnoyignaw}=$validator->sanatize(${$xtisuelxao});}$mmoeckicupw="val";${$rlgelnq}=$this->userdateformat;$ujtxwh="rowFields";${${"GLOBALS"}["htvkwalfu"]}=$this->usertimeformat;if($this->serialKey){unset(${${"GLOBALS"}["zvwwhuf"]}[$this->getPrimaryKeyId()]);}${${"GLOBALS"}["trvznxfkts"]}=array_keys($this->fields);${${"GLOBALS"}["ejagtyhxby"]}=array_intersect(${${"GLOBALS"}["trvznxfkts"]},array_keys(${${"GLOBALS"}["cdglmoy"]}));${${"GLOBALS"}["kykyrijl"]}=array();${${"GLOBALS"}["vlspuperj"]}=array();${$yccwjrhiwpa}=array();${${"GLOBALS"}["vswezkz"]}="";foreach(${$ujtxwh} as${${"GLOBALS"}["kochhimq"]}=>${$mmoeckicupw}){$tsepwmsyis="insertFields";$zgoqjyts="v";${"GLOBALS"}["pcitxervgv"]="binds";$snbikpaojee="val";${$tsepwmsyis}[]="?";${${"GLOBALS"}["gnbtktcba"]}=$this->fields[${${"GLOBALS"}["ikmfjsq"]}]["type"];${${"GLOBALS"}["qdorvqdhm"]}=${${"GLOBALS"}["zvwwhuf"]}[${$snbikpaojee}];if(strtolower($this->encoding)!="utf-8"){${"GLOBALS"}["mityjjm"]="value";${${"GLOBALS"}["qdorvqdhm"]}=iconv("utf-8",$this->encoding."//TRANSLIT",${${"GLOBALS"}["mityjjm"]});}${"GLOBALS"}["rgfkgdiac"]="value";if(strtolower(${${"GLOBALS"}["qdorvqdhm"]})=="null"){${${"GLOBALS"}["jlebhprwmp"]}=NULL;}else if(trim(${${"GLOBALS"}["rgfkgdiac"]})==""){$qhqedmel="v";${$qhqedmel}=${${"GLOBALS"}["qdorvqdhm"]};}else{$ygkvktfbk="datefmt";${"GLOBALS"}["dbjbpbhizwi"]="timefmt";${"GLOBALS"}["adgmafbodh"]="value";${"GLOBALS"}["vfewtv"]="value";$tejsguoi="datefmt";${"GLOBALS"}["nefpthjsa"]="timefmt";$tudfltjxjad="value";$cfhcycyll="v";${"GLOBALS"}["pciqslqghcts"]="v";$yajdqy="value";switch(${${"GLOBALS"}["gnbtktcba"]}){case"date":${${"GLOBALS"}["jlebhprwmp"]}=${$ygkvktfbk}!=$this->dbdateformat?jqGridUtils::parseDate(${$tejsguoi},${$yajdqy},$this->dbdateformat):${${"GLOBALS"}["adgmafbodh"]};break;case"datetime":${$cfhcycyll}=${${"GLOBALS"}["htvkwalfu"]}!=$this->dbtimeformat?jqGridUtils::parseDate(${${"GLOBALS"}["nefpthjsa"]},${${"GLOBALS"}["qdorvqdhm"]},$this->dbtimeformat):${$tudfltjxjad};break;case"time":${${"GLOBALS"}["pciqslqghcts"]}=jqGridUtils::parseDate(${${"GLOBALS"}["dbjbpbhizwi"]},${${"GLOBALS"}["qdorvqdhm"]},"H:i:s");break;default:${${"GLOBALS"}["jlebhprwmp"]}=${${"GLOBALS"}["vfewtv"]};}if($this->decodeinput){$ltjilll="v";${$ltjilll}=htmlspecialchars_decode(${${"GLOBALS"}["jlebhprwmp"]});}}${${"GLOBALS"}["boozscd"]}[]=${${"GLOBALS"}["gnbtktcba"]};${${"GLOBALS"}["pcitxervgv"]}[]=${$zgoqjyts};unset(${${"GLOBALS"}["jlebhprwmp"]});}${${"GLOBALS"}["yciwsbtrhaf"]}=false;if(count(${${"GLOBALS"}["hngdvhccx"]})>0){$ppnsto="stmt";${"GLOBALS"}["cbqylorymvl"]="binds";${${"GLOBALS"}["xvmnkbkop"]}="INSERT INTO ".$this->table." (".implode(", ",${${"GLOBALS"}["ejagtyhxby"]}).")"." VALUES( ".implode(", ",${${"GLOBALS"}["uorxwzuyov"]}).")";${$ppnsto}=$this->parseSql(${${"GLOBALS"}["xvmnkbkop"]},${${"GLOBALS"}["cbqylorymvl"]},false);if(${${"GLOBALS"}["fbocjeyn"]}){$sqpxzzgmr="binds";jqGridDB::bindValues(${${"GLOBALS"}["fbocjeyn"]},${$sqpxzzgmr},${${"GLOBALS"}["boozscd"]});if($this->trans){try{$drdjrtm="ret";$iaqetdrsj="result";jqGridDB::beginTransaction($this->pdo);${$iaqetdrsj}=$this->_actionsCRUDGrid("add","before");$xauuhfesfx="result";if($this->debug){$vkoyudvz="data";$this->logQuery(${${"GLOBALS"}["xvmnkbkop"]},${${"GLOBALS"}["vlspuperj"]},${${"GLOBALS"}["boozscd"]},${$vkoyudvz},$this->fields,$this->primaryKey);}${$drdjrtm}=false;if(${${"GLOBALS"}["nzrgyljo"]}){$umjknoeud="binds";${${"GLOBALS"}["vverkfhgfeb"]}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${$umjknoeud},$this->pdo);}$nfqbjp="result";${$xauuhfesfx}=${${"GLOBALS"}["vverkfhgfeb"]}?true:false;if(${$nfqbjp}){if($this->serialKey&&$this->getLastInsert){$this->lastId=jqGridDB::lastInsertId($this->pdo,$this->table,$this->primaryKey,$this->dbtype);if(!is_numeric($this->lastId)){${${"GLOBALS"}["nzrgyljo"]}=false;}}}if(${${"GLOBALS"}["nzrgyljo"]}){$deosmstvtqf="saver";${$deosmstvtqf}=$this->showError;$this->showError=false;${${"GLOBALS"}["nzrgyljo"]}=$this->_actionsCRUDGrid("add","after");$this->showError=${${"GLOBALS"}["lhwfhbc"]};}if(${${"GLOBALS"}["nzrgyljo"]}){${"GLOBALS"}["hyawyx"]="result";${${"GLOBALS"}["hyawyx"]}=jqGridDB::commit($this->pdo);}if(!${${"GLOBALS"}["nzrgyljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$wgbwtquy="result";jqGridDB::rollBack($this->pdo);${$wgbwtquy}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}try{jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["vverkfhgfeb"]}:${${"GLOBALS"}["fbocjeyn"]});}catch(Exception$e){};}else{try{${"GLOBALS"}["fcrktyf"]="result";${"GLOBALS"}["rwstqljm"]="result";${"GLOBALS"}["aorstobznwh"]="stmt";${${"GLOBALS"}["fcrktyf"]}=$this->_actionsCRUDGrid("add","before");$ftaezrgqr="ret";$ccbpetcrprpn="result";$erjiebaxl="ret";if($this->debug){${"GLOBALS"}["gvjjcrfrjg"]="sql";$amymzwg="types";${"GLOBALS"}["gqsopdghelzo"]="binds";$this->logQuery(${${"GLOBALS"}["gvjjcrfrjg"]},${${"GLOBALS"}["gqsopdghelzo"]},${$amymzwg},${${"GLOBALS"}["zvwwhuf"]},$this->fields,$this->primaryKey);}${$erjiebaxl}=false;if(${${"GLOBALS"}["nzrgyljo"]}){${"GLOBALS"}["psatysjks"]="stmt";${${"GLOBALS"}["vverkfhgfeb"]}=jqGridDB::execute(${${"GLOBALS"}["psatysjks"]},${${"GLOBALS"}["vlspuperj"]},$this->pdo);}${${"GLOBALS"}["nzrgyljo"]}=${${"GLOBALS"}["vverkfhgfeb"]}?true:false;if(!${${"GLOBALS"}["nzrgyljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${$ftaezrgqr}:${${"GLOBALS"}["aorstobznwh"]});$cktwusnw="result";if($this->serialKey&&$this->getLastInsert&&${${"GLOBALS"}["rwstqljm"]}){$this->lastId=jqGridDB::lastInsertId($this->pdo,$this->table,$this->primaryKey,$this->dbtype);if(!is_numeric($this->lastId)){${${"GLOBALS"}["nzrgyljo"]}=false;}}if(${$cktwusnw}){${${"GLOBALS"}["nzrgyljo"]}=$this->_actionsCRUDGrid("add","after");}if(!${$ccbpetcrprpn}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$zavebycd="result";${$zavebycd}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}}else{$this->errorMessage="Error when preparing a INSERT statement!";${${"GLOBALS"}["nzrgyljo"]}=false;}}else{${"GLOBALS"}["cishqbmsmby"]="result";$this->errorMessage="Data posted does not match insert fields!";${${"GLOBALS"}["cishqbmsmby"]}=false;}if($this->debug){$this->debugout();}if($this->showError&&!${${"GLOBALS"}["nzrgyljo"]}){$this->sendErrorHeader();}return${${"GLOBALS"}["wilgixk"]};}public function update($data){$jchghvpdm="datefmt";if(!$this->edit){return false;}if(!$this->_buildFields()){return false;}$rdhrkttcscek="types";if(!$this->checkPrimary()){return false;}${$jchghvpdm}=$this->userdateformat;${${"GLOBALS"}["htvkwalfu"]}=$this->usertimeformat;${"GLOBALS"}["jmzbcfqqhl"]="updateFields";if($this->serverSanitize){if(is_array($this->sanatations)&&count($this->sanatations)==0){$tcnopovzicw="values";foreach($this->validations as${${"GLOBALS"}["kochhimq"]}=>${$tcnopovzicw}){$yvihemlvn="val";${"GLOBALS"}["thagjsu"]="prop";foreach(${${"GLOBALS"}["cpqvssbqvmc"]} as${${"GLOBALS"}["thagjsu"]}=>${$yvihemlvn}){$bfcpdbg="prop";$ugtepsnt="values";if(${${"GLOBALS"}["hrwlusptcf"]}=="sanitize"&&${$ugtepsnt}[${$bfcpdbg}]==true){$hubpguxgs="key";$this->sanatations[]=${$hubpguxgs};break;}}}}}${"GLOBALS"}["wsahetnkeiv"]="field";$ryinttql="binds";if($this->serverValidate){${${"GLOBALS"}["bbdbzeberbg"]}=new jqValidator($this->validations,$this->sanatations);$validator->linebreak="<br/>";if(!$validator->validate(${${"GLOBALS"}["zvwwhuf"]})){$this->errorMessage=$validator->getJSON();$this->sendErrorHeader();return false;}}if($this->serverSanitize){${"GLOBALS"}["oumheuk"]="data";if(!$this->serverValidate){${${"GLOBALS"}["bbdbzeberbg"]}=new jqValidator($this->validations,$this->sanatations);}$wsfbaemrvenh="data";${$wsfbaemrvenh}=$validator->sanatize(${${"GLOBALS"}["oumheuk"]});}${"GLOBALS"}["fvmwwevrs"]="result";${${"GLOBALS"}["trvznxfkts"]}=array_keys($this->fields);${"GLOBALS"}["glrajvifm"]="updateFields";${${"GLOBALS"}["ejagtyhxby"]}=array_intersect(${${"GLOBALS"}["trvznxfkts"]},array_keys(${${"GLOBALS"}["zvwwhuf"]}));${"GLOBALS"}["sfoqqcpcrve"]="pk";$moejxaotw="t2";${${"GLOBALS"}["jmzbcfqqhl"]}=array();${${"GLOBALS"}["vlspuperj"]}=array();${$rdhrkttcscek}=array();${${"GLOBALS"}["sfoqqcpcrve"]}=$this->getPrimaryKeyId();$pcemmhrsuq="result";foreach(${${"GLOBALS"}["ejagtyhxby"]} as${${"GLOBALS"}["kochhimq"]}=>${${"GLOBALS"}["wsahetnkeiv"]}){${"GLOBALS"}["byotgb"]="data";${"GLOBALS"}["limglrnifv"]="value";${${"GLOBALS"}["gnbtktcba"]}=$this->fields[${${"GLOBALS"}["pifywpfnrme"]}]["type"];${"GLOBALS"}["bljirfjouj"]="pk";$kwzaak="value";${$kwzaak}=${${"GLOBALS"}["byotgb"]}[${${"GLOBALS"}["pifywpfnrme"]}];if(strtolower($this->encoding)!="utf-8"){$klgwfzfykiuo="value";$beyvcctmeeu="value";${$klgwfzfykiuo}=iconv("utf-8",$this->encoding."//TRANSLIT",${$beyvcctmeeu});}${"GLOBALS"}["wubtjwibr"]="field";if(strtolower(${${"GLOBALS"}["qdorvqdhm"]})=="null"){${${"GLOBALS"}["jlebhprwmp"]}=NULL;}else if(trim(${${"GLOBALS"}["limglrnifv"]})==""){${"GLOBALS"}["opgereicko"]="v";${${"GLOBALS"}["opgereicko"]}=${${"GLOBALS"}["qdorvqdhm"]};}else{${"GLOBALS"}["tmnviqko"]="value";${"GLOBALS"}["xrwejfipon"]="v";${"GLOBALS"}["nxyryaylti"]="timefmt";${"GLOBALS"}["yrhdwiv"]="value";${"GLOBALS"}["ancqivepe"]="value";${"GLOBALS"}["wedpyqctmyf"]="value";${"GLOBALS"}["ccofsamgwk"]="v";${"GLOBALS"}["expyqreewtj"]="value";${"GLOBALS"}["mtkrlrdsfi"]="value";${"GLOBALS"}["isafpl"]="datefmt";${"GLOBALS"}["ojdzgb"]="v";${"GLOBALS"}["cjiswfzqfdn"]="timefmt";switch(${${"GLOBALS"}["gnbtktcba"]}){case"date":${${"GLOBALS"}["xrwejfipon"]}=${${"GLOBALS"}["isafpl"]}!=$this->dbdateformat?jqGridUtils::parseDate(${${"GLOBALS"}["qidmvohf"]},${${"GLOBALS"}["yrhdwiv"]},$this->dbdateformat):${${"GLOBALS"}["mtkrlrdsfi"]};break;case"datetime":${${"GLOBALS"}["jlebhprwmp"]}=${${"GLOBALS"}["cjiswfzqfdn"]}!=$this->dbtimeformat?jqGridUtils::parseDate(${${"GLOBALS"}["htvkwalfu"]},${${"GLOBALS"}["ancqivepe"]},$this->dbtimeformat):${${"GLOBALS"}["wedpyqctmyf"]};break;case"time":${${"GLOBALS"}["ojdzgb"]}=jqGridUtils::parseDate(${${"GLOBALS"}["nxyryaylti"]},${${"GLOBALS"}["tmnviqko"]},"H:i:s");break;default:${${"GLOBALS"}["ccofsamgwk"]}=${${"GLOBALS"}["expyqreewtj"]};}if($this->decodeinput){${${"GLOBALS"}["jlebhprwmp"]}=htmlspecialchars_decode(${${"GLOBALS"}["jlebhprwmp"]});}}$jtmcomhmdy="field";${"GLOBALS"}["kmfnvxi"]="pk";if(${$jtmcomhmdy}!=${${"GLOBALS"}["bljirfjouj"]}){${"GLOBALS"}["lfpkofqngcpb"]="updateFields";${${"GLOBALS"}["lfpkofqngcpb"]}[]=${${"GLOBALS"}["pifywpfnrme"]}." = ?";$wdfalltc="t";${"GLOBALS"}["mqfreggkofp"]="types";${${"GLOBALS"}["vlspuperj"]}[]=${${"GLOBALS"}["jlebhprwmp"]};${${"GLOBALS"}["mqfreggkofp"]}[]=${$wdfalltc};}else if(${${"GLOBALS"}["wubtjwibr"]}==${${"GLOBALS"}["kmfnvxi"]}){$qjpyxige="v2";$onkpiheoltx="t2";$gbwxgtlhey="v";${$qjpyxige}=${$gbwxgtlhey};${$onkpiheoltx}=${${"GLOBALS"}["gnbtktcba"]};}unset(${${"GLOBALS"}["jlebhprwmp"]});}${${"GLOBALS"}["fvmwwevrs"]}=false;if(!isset(${${"GLOBALS"}["uhwlldyrdtx"]})){$this->errorMessage="Primary key/value is missing or is not correctly set!";$wlwywscjy="result";if($this->showError){$this->sendErrorHeader();}return${$wlwywscjy};}${$ryinttql}[]=${${"GLOBALS"}["uhwlldyrdtx"]};${${"GLOBALS"}["boozscd"]}[]=${$moejxaotw};if(count(${${"GLOBALS"}["glrajvifm"]})>0){$betkvxmlr="stmt";$jrvdtmf="sql";${${"GLOBALS"}["xvmnkbkop"]}="UPDATE ".$this->table." SET ".implode(", ",${${"GLOBALS"}["auvtzysyrj"]})." WHERE ".${${"GLOBALS"}["dntvtgcdilyv"]}." = ?";${${"GLOBALS"}["fbocjeyn"]}=$this->parseSql(${$jrvdtmf},${${"GLOBALS"}["vlspuperj"]},false);if(${$betkvxmlr}){$hnxytfyez="stmt";${"GLOBALS"}["hlzhkctaeby"]="types";$ybggbgrrfw="binds";jqGridDB::bindValues(${$hnxytfyez},${$ybggbgrrfw},${${"GLOBALS"}["hlzhkctaeby"]});if($this->trans){try{${"GLOBALS"}["nskjlcr"]="result";jqGridDB::beginTransaction($this->pdo);${"GLOBALS"}["wdjjqtl"]="ret";${"GLOBALS"}["fuvrooien"]="result";${${"GLOBALS"}["nskjlcr"]}=$this->_actionsCRUDGrid("edit","before");if($this->debug){$ugenkcckdd="data";$this->logQuery(${${"GLOBALS"}["xvmnkbkop"]},${${"GLOBALS"}["vlspuperj"]},${${"GLOBALS"}["boozscd"]},${$ugenkcckdd},$this->fields,$this->primaryKey);}${"GLOBALS"}["pvvpkblctw"]="result";${${"GLOBALS"}["wdjjqtl"]}=false;if(${${"GLOBALS"}["fuvrooien"]}){${${"GLOBALS"}["vverkfhgfeb"]}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["vlspuperj"]},$this->pdo);}${${"GLOBALS"}["nzrgyljo"]}=${${"GLOBALS"}["vverkfhgfeb"]}?true:false;if(!${${"GLOBALS"}["nzrgyljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}$ttcgfk="result";jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["vverkfhgfeb"]}:${${"GLOBALS"}["fbocjeyn"]});if(${${"GLOBALS"}["pvvpkblctw"]}){${${"GLOBALS"}["nzrgyljo"]}=$this->_actionsCRUDGrid("edit","after");}if(${$ttcgfk}){${${"GLOBALS"}["nzrgyljo"]}=jqGridDB::commit($this->pdo);}else{$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){jqGridDB::rollBack($this->pdo);${${"GLOBALS"}["nzrgyljo"]}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}else{try{${"GLOBALS"}["xhapiojiwut"]="ret";${"GLOBALS"}["qqfdjcgjcprw"]="ret";$lvqmturlxne="result";${"GLOBALS"}["kecurjod"]="result";${${"GLOBALS"}["kecurjod"]}=$this->_actionsCRUDGrid("edit","before");if($this->debug){${"GLOBALS"}["nvxshgr"]="sql";$lnpneofj="binds";${"GLOBALS"}["bhuflshoet"]="types";$this->logQuery(${${"GLOBALS"}["nvxshgr"]},${$lnpneofj},${${"GLOBALS"}["bhuflshoet"]},${${"GLOBALS"}["zvwwhuf"]},$this->fields,$this->primaryKey);}$kmliiy="result";${"GLOBALS"}["dkwsjewhb"]="result";${${"GLOBALS"}["vverkfhgfeb"]}=false;if(${${"GLOBALS"}["nzrgyljo"]}){${"GLOBALS"}["lqfaica"]="ret";${${"GLOBALS"}["lqfaica"]}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["vlspuperj"]},$this->pdo);}${$lvqmturlxne}=${${"GLOBALS"}["xhapiojiwut"]}?true:false;if(!${$kmliiy}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["qqfdjcgjcprw"]}:${${"GLOBALS"}["fbocjeyn"]});if(${${"GLOBALS"}["dkwsjewhb"]}){$cyctisriirvg="result";${$cyctisriirvg}=$this->_actionsCRUDGrid("edit","after");}if(!${${"GLOBALS"}["nzrgyljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$cycdkjvznfmf="result";${$cycdkjvznfmf}=false;if(!$this->errorMessage)$this->errorMessage=$e->getMessage();}}}else{$this->errorMessage="Error when preparing a UPDATE statement!";}}else{$this->errorMessage="Data posted does not match update fields!";}if($this->debug){$this->debugout();}if($this->showError&&!${$pcemmhrsuq}){$this->sendErrorHeader();}return${${"GLOBALS"}["nzrgyljo"]};}public function getLastInsertId(){return$this->lastId;}public function delete(array$data,$where='',array$params=null){${"GLOBALS"}["hgyvolruy"]="result";${${"GLOBALS"}["hgyvolruy"]}=false;if(!$this->del){$faspccefjty="result";return${$faspccefjty};}if(!$this->checkPrimary()){$sthxxmbabg="result";return${$sthxxmbabg};}$kifnalsnv="ide";$vxabbvch="data";$fvymqjjmta="ide";${$fvymqjjmta}=null;${${"GLOBALS"}["vlspuperj"]}=array(&${$kifnalsnv});${${"GLOBALS"}["boozscd"]}=array();${${"GLOBALS"}["fsjjnzffacgy"]}=strpos($this->dbtype,"odbc");if(count(${$vxabbvch})>0){$kgprdaeg="stmt";${"GLOBALS"}["pggxyzg"]="where";$urwhfkmo="types";if(${${"GLOBALS"}["pggxyzg"]}&&strlen(${${"GLOBALS"}["ykdgzvhvogwd"]})>0){$cvpmbndubb="stmt";${"GLOBALS"}["rtlsshhrvh"]="where";${"GLOBALS"}["njikle"]="delids";${${"GLOBALS"}["olqdtjn"]}="";${${"GLOBALS"}["xvmnkbkop"]}="DELETE FROM ".$this->table." WHERE ".${${"GLOBALS"}["rtlsshhrvh"]};$yqbvxecyp="custom";${$cvpmbndubb}=$this->parseSql(${${"GLOBALS"}["xvmnkbkop"]},${${"GLOBALS"}["lqshxiv"]});${${"GLOBALS"}["njikle"]}="";${$yqbvxecyp}=true;}else{$bwqotkrgvh="odbc";${"GLOBALS"}["rsfedr"]="id";${"GLOBALS"}["wrfywxrnp"]="id";${"GLOBALS"}["nrdtmswcu"]="id";$mmzssnwn="id";$ppoifw="sql";${$mmzssnwn}=$this->getPrimaryKeyId();if(!isset(${${"GLOBALS"}["zvwwhuf"]}[${${"GLOBALS"}["nrdtmswcu"]}])){$this->errorMessage="Missed data id value to perform delete!";if($this->showError){$this->sendErrorHeader();}$mhsqpvr="result";return${$mhsqpvr};}${$ppoifw}="DELETE FROM ".$this->table." WHERE ".${${"GLOBALS"}["wrfywxrnp"]}."=?";${${"GLOBALS"}["fbocjeyn"]}=${$bwqotkrgvh}===false?$this->parseSql(${${"GLOBALS"}["xvmnkbkop"]},${${"GLOBALS"}["vlspuperj"]},false):true;${${"GLOBALS"}["ojxlrfavr"]}=explode(",",${${"GLOBALS"}["zvwwhuf"]}[${${"GLOBALS"}["rsfedr"]}]);${${"GLOBALS"}["gbexnlbkn"]}=false;}${$urwhfkmo}[0]="custom";if(${$kgprdaeg}){if($this->trans){try{$kolapidb="result";jqGridDB::beginTransaction($this->pdo);${$kolapidb}=$this->_actionsCRUDGrid("del","before");if(${${"GLOBALS"}["gbexnlbkn"]}){$rtkjfwridej="params";$gyocrkk="result";if($this->debug){$fikrcfv="data";$jweirtysyv="params";$this->logQuery(${${"GLOBALS"}["xvmnkbkop"]},${$jweirtysyv},false,${$fikrcfv},null,$this->primaryKey);}${$gyocrkk}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${$rtkjfwridej},$this->pdo);if(${${"GLOBALS"}["nzrgyljo"]}){${"GLOBALS"}["hxkmqvq"]="stmt";jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${${"GLOBALS"}["hxkmqvq"]});}}else{foreach(${${"GLOBALS"}["ojxlrfavr"]} as${${"GLOBALS"}["gcuyogg"]}=>${${"GLOBALS"}["vrgzujkhtiub"]}){${"GLOBALS"}["vhwlprovmrog"]="odbc";${${"GLOBALS"}["ojxlrfavr"]}[${${"GLOBALS"}["gcuyogg"]}]=trim(${${"GLOBALS"}["ojxlrfavr"]}[${${"GLOBALS"}["gcuyogg"]}]);${${"GLOBALS"}["vlspuperj"]}[0]=&${${"GLOBALS"}["ojxlrfavr"]}[${${"GLOBALS"}["gcuyogg"]}];if($this->debug){${"GLOBALS"}["vufjwsu"]="types";$breyvgbrgwn="binds";${"GLOBALS"}["jihtklc"]="sql";$this->logQuery(${${"GLOBALS"}["jihtklc"]},${$breyvgbrgwn},${${"GLOBALS"}["vufjwsu"]},${${"GLOBALS"}["zvwwhuf"]},$this->fields,$this->primaryKey);}$arfdho="result";if(${${"GLOBALS"}["vhwlprovmrog"]}===false){${"GLOBALS"}["hehykn"]="stmt";${"GLOBALS"}["yonwvtetugo"]="binds";jqGridDB::bindValues(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["vlspuperj"]},${${"GLOBALS"}["boozscd"]});${${"GLOBALS"}["nzrgyljo"]}=jqGridDB::execute(${${"GLOBALS"}["hehykn"]},${${"GLOBALS"}["yonwvtetugo"]},$this->pdo);}else{$chmwhvraovxx="binds";${"GLOBALS"}["tsqstx"]="stmt";$joqhubyklqj="sql";${"GLOBALS"}["itlxdvzekg"]="stmt";$fdnudxs="stmt";${${"GLOBALS"}["tsqstx"]}=jqGridDB::prepare($this->pdo,${$joqhubyklqj},${${"GLOBALS"}["vlspuperj"]},false,false);${${"GLOBALS"}["nzrgyljo"]}=jqGridDB::execute(${$fdnudxs},${$chmwhvraovxx},$this->pdo);if(!${${"GLOBALS"}["nzrgyljo"]}){break;}jqGridDB::closeCursor(${${"GLOBALS"}["itlxdvzekg"]});}if(!${$arfdho}){break;}unset(${${"GLOBALS"}["vlspuperj"]}[0]);}if(${${"GLOBALS"}["fsjjnzffacgy"]}===false&&${${"GLOBALS"}["nzrgyljo"]}){jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${${"GLOBALS"}["fbocjeyn"]});}}${${"GLOBALS"}["vverkfhgfeb"]}=${${"GLOBALS"}["nzrgyljo"]}?true:false;if(${${"GLOBALS"}["vverkfhgfeb"]}){${${"GLOBALS"}["nzrgyljo"]}=$this->_actionsCRUDGrid("del","after");}else{${${"GLOBALS"}["nzrgyljo"]}=false;}if(${${"GLOBALS"}["nzrgyljo"]}){jqGridDB::commit($this->pdo);}else{$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){${"GLOBALS"}["tjicxpexnj"]="result";jqGridDB::rollBack($this->pdo);${${"GLOBALS"}["tjicxpexnj"]}=false;if(!$this->errorMessage)$this->errorMessage=$e->getMessage();}}else{try{${"GLOBALS"}["wylhiuhyf"]="result";${"GLOBALS"}["peyulnlxb"]="result";${${"GLOBALS"}["peyulnlxb"]}=$this->_actionsCRUDGrid("del","before");if(${${"GLOBALS"}["nzrgyljo"]}){if(${${"GLOBALS"}["gbexnlbkn"]}){${"GLOBALS"}["yayhjmb"]="stmt";$etmvsth="params";${${"GLOBALS"}["nzrgyljo"]}=jqGridDB::execute(${${"GLOBALS"}["yayhjmb"]},${$etmvsth},$this->pdo);if(${${"GLOBALS"}["nzrgyljo"]}){jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${${"GLOBALS"}["fbocjeyn"]});}}else{${"GLOBALS"}["yxxpsiu"]="delids";${"GLOBALS"}["rifiwn"]="odbc";$qvvmfrivvlo="result";$somzxyb="i";foreach(${${"GLOBALS"}["yxxpsiu"]} as${$somzxyb}=>${${"GLOBALS"}["vrgzujkhtiub"]}){$hoktkurogfe="i";${"GLOBALS"}["xvcdtbcch"]="delids";${"GLOBALS"}["uobwsc"]="i";${"GLOBALS"}["lofwtxf"]="delids";${${"GLOBALS"}["xvcdtbcch"]}[${${"GLOBALS"}["uobwsc"]}]=trim(${${"GLOBALS"}["ojxlrfavr"]}[${${"GLOBALS"}["gcuyogg"]}]);${${"GLOBALS"}["vlspuperj"]}[0]=&${${"GLOBALS"}["lofwtxf"]}[${$hoktkurogfe}];if($this->debug){${"GLOBALS"}["ofqhoxgfn"]="data";$rzdhkydydng="binds";${"GLOBALS"}["dmskcfph"]="sql";$this->logQuery(${${"GLOBALS"}["dmskcfph"]},${$rzdhkydydng},${${"GLOBALS"}["boozscd"]},${${"GLOBALS"}["ofqhoxgfn"]},$this->fields,$this->primaryKey);}if(${${"GLOBALS"}["fsjjnzffacgy"]}===false){$wwqcdsbss="binds";${"GLOBALS"}["wgbpxylbeohc"]="types";$fzicrubt="stmt";${"GLOBALS"}["lpmkdfvpiy"]="binds";${"GLOBALS"}["mhuylfr"]="stmt";jqGridDB::bindValues(${${"GLOBALS"}["mhuylfr"]},${$wwqcdsbss},${${"GLOBALS"}["wgbpxylbeohc"]});${${"GLOBALS"}["nzrgyljo"]}=jqGridDB::execute(${$fzicrubt},${${"GLOBALS"}["lpmkdfvpiy"]},$this->pdo);}else{${"GLOBALS"}["juydbnuvomi"]="result";${"GLOBALS"}["qnsrmrezqrt"]="stmt";${"GLOBALS"}["wjskfwxqxk"]="result";${${"GLOBALS"}["qnsrmrezqrt"]}=jqGridDB::prepare($this->pdo,${${"GLOBALS"}["xvmnkbkop"]},${${"GLOBALS"}["vlspuperj"]},false,false);${${"GLOBALS"}["juydbnuvomi"]}=jqGridDB::execute(${${"GLOBALS"}["fbocjeyn"]},${${"GLOBALS"}["vlspuperj"]},$this->pdo);if(${${"GLOBALS"}["wjskfwxqxk"]}){jqGridDB::closeCursor(${${"GLOBALS"}["fbocjeyn"]});}}if(!${${"GLOBALS"}["nzrgyljo"]}){break;}unset(${${"GLOBALS"}["vlspuperj"]}[0]);}if(${${"GLOBALS"}["rifiwn"]}==false&&${$qvvmfrivvlo}){$qsidnko="stmt";jqGridDB::closeCursor(($this->dbtype=="adodb"||$this->dbtype=="ibase")?${${"GLOBALS"}["nzrgyljo"]}:${$qsidnko});}}}${${"GLOBALS"}["vverkfhgfeb"]}=${${"GLOBALS"}["wylhiuhyf"]}?true:false;if(${${"GLOBALS"}["vverkfhgfeb"]}){${"GLOBALS"}["tlhjbzwt"]="result";${${"GLOBALS"}["tlhjbzwt"]}=$this->_actionsCRUDGrid("del","after");}else{$shrfxsggqme="result";${$shrfxsggqme}=false;}if(!${${"GLOBALS"}["nzrgyljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$opktheeygeae="result";${$opktheeygeae}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}}}if($this->debug){$this->debugout();}if($this->showError&&!${${"GLOBALS"}["nzrgyljo"]}){$this->sendErrorHeader();}return${${"GLOBALS"}["nzrgyljo"]};}protected function checkPrimary(){${${"GLOBALS"}["nzrgyljo"]}=true;${${"GLOBALS"}["ckerkzlb"]}="Primary key can not be found!";$efixsfig="result";if(strlen(trim($this->table))>0&&!$this->primaryKey){$this->primaryKey=jqGridDB::getPrimaryKey($this->table,$this->pdo,$this->dbtype);if(!$this->primaryKey){$jiqtgxm="errmsg";$this->errorMessage=${$jiqtgxm}." ".jqGridDB::errorMessage($this->pdo);${${"GLOBALS"}["nzrgyljo"]}=false;}}if($this->showError&&!${${"GLOBALS"}["nzrgyljo"]}){$this->sendErrorHeader();}return${$efixsfig};}public function editGrid(array$summary=null,array$params=null,$oper=false,$echo=true){$pvbjktggef="params";$stnycljb="oper";$gpevrr="data";$wekmmsuanoky="oper";${"GLOBALS"}["sgmjmzyvdp"]="data";if(!${$stnycljb}){${${"GLOBALS"}["mnuuvhud"]}=$this->oper?$this->oper:"grid";}switch(${$wekmmsuanoky}){case$this->GridParams["editoper"]:${$gpevrr}=strtolower($this->mtype)=="post"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->update(${${"GLOBALS"}["zvwwhuf"]})){if($this->successmsg){echo$this->successmsg;}}break;case$this->GridParams["addoper"]:${${"GLOBALS"}["zvwwhuf"]}=strtolower($this->mtype)=="post"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->insert(${${"GLOBALS"}["sgmjmzyvdp"]})){if($this->getLastInsert){echo$this->getPrimaryKeyId()."#".$this->lastId;}else{if($this->successmsg){echo$this->successmsg;}}}break;case$this->GridParams["deloper"]:${${"GLOBALS"}["zvwwhuf"]}=strtolower($this->mtype)=="post"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->delete(${${"GLOBALS"}["zvwwhuf"]})){if($this->successmsg){echo$this->successmsg;}}break;default:return$this->queryGrid(${${"GLOBALS"}["lhytod"]},${$pvbjktggef},${${"GLOBALS"}["cdjufi"]});}}} 
?>

Did this file decode correctly?

Original Code

<?php /*
Copyright (c) 2015 Trirand Ltd
If you want to obtain license for this product, go to http://www.guriddo.net
*/
${"G\x4cOBAL\x53"}["\x63\x64j\x75\x66i"]="\x65\x63h\x6f";${"\x47LO\x42\x41\x4c\x53"}["l\x68\x79t\x6f\x64"]="s\x75m\x6d\x61\x72\x79";${"\x47LOB\x41L\x53"}["\x63k\x65\x72kz\x6c\x62"]="e\x72\x72\x6d\x73\x67";${"\x47\x4cO\x42\x41L\x53"}["\x76\x72g\x7a\x75\x6a\x6b\x68\x74\x69u\x62"]="\x69\x64\x65";${"GLO\x42\x41L\x53"}["g\x62\x65x\x6e\x6cbk\x6e"]="\x63\x75\x73\x74\x6f\x6d";${"G\x4cOB\x41\x4c\x53"}["\x6f\x6ax\x6c\x72\x66a\x76\x72"]="\x64el\x69\x64\x73";${"\x47LO\x42\x41LS"}["\x6f\x6c\x71d\x74jn"]="i\x64";${"\x47L\x4f\x42\x41L\x53"}["\x79\x6b\x64gz\x76\x68\x76\x6fgwd"]="wh\x65\x72\x65";${"\x47L\x4f\x42A\x4c\x53"}["\x66s\x6a\x6a\x6e\x7a\x66f\x61c\x67\x79"]="\x6f\x64bc";${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x6e\x74vt\x67\x63\x64i\x6c\x79\x76"]="\x70\x6b";${"GL\x4f\x42\x41\x4c\x53"}["\x61u\x76t\x7a\x79\x73yrj"]="u\x70\x64\x61t\x65Fie\x6c\x64\x73";${"G\x4c\x4fB\x41\x4cS"}["\x75\x68\x77\x6cl\x64\x79\x72dtx"]="v\x32";${"G\x4c\x4f\x42\x41\x4cS"}["\x71i\x64\x6d\x76\x6f\x68\x66"]="\x64\x61\x74ef\x6d\x74";${"\x47\x4cO\x42\x41\x4c\x53"}["\x70i\x66\x79\x77\x70f\x6e\x72\x6de"]="\x66i\x65\x6c\x64";${"G\x4c\x4f\x42\x41LS"}["\x6c\x68wf\x68\x62c"]="s\x61v\x65\x72";${"\x47\x4c\x4f\x42\x41LS"}["\x75\x6f\x72\x78\x77zuy\x6f\x76"]="i\x6e\x73\x65\x72\x74\x46\x69\x65l\x64s";${"\x47\x4c\x4fB\x41LS"}["\x62o\x6fz\x73\x63\x64"]="\x74y\x70\x65\x73";${"\x47\x4c\x4fBALS"}["jl\x65\x62\x68\x70rwm\x70"]="\x76";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x64orv\x71\x64h\x6d"]="\x76\x61\x6c\x75\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69k\x6d\x66j\x73q"]="\x76\x61\x6c";${"\x47\x4cO\x42\x41LS"}["gnbt\x6b\x74cb\x61"]="\x74";${"G\x4c\x4fB\x41\x4c\x53"}["v\x6c\x73p\x75\x70er\x6a"]="\x62\x69\x6ed\x73";${"\x47LO\x42\x41\x4cS"}["e\x6a\x61g\x74\x79h\x78\x62\x79"]="\x72\x6f\x77\x46\x69\x65l\x64s";${"GL\x4f\x42\x41LS"}["\x74\x72\x76\x7an\x78fk\x74s"]="\x74\x61b\x6ce\x46\x69\x65\x6cd\x73";${"\x47\x4cO\x42\x41L\x53"}["\x68\x74\x76\x6bw\x61\x6c\x66\x75"]="t\x69me\x66m\x74";${"\x47L\x4fBA\x4cS"}["\x62\x62\x64\x62\x7a\x65be\x72\x62\x67"]="\x76\x61\x6ci\x64at\x6fr";${"\x47\x4c\x4f\x42A\x4cS"}["zv\x77\x77\x68u\x66"]="d\x61t\x61";${"\x47L\x4fB\x41\x4c\x53"}["\x68r\x77\x6c\x75\x73\x70\x74\x63\x66"]="\x70r\x6f\x70";${"\x47\x4c\x4f\x42A\x4c\x53"}["cpq\x76s\x73\x62qv\x6dc"]="va\x6c\x75e\x73";${"\x47\x4cO\x42A\x4c\x53"}["\x6bo\x63\x68\x68\x69\x6d\x71"]="\x6b\x65\x79";${"G\x4cO\x42\x41\x4c\x53"}["\x6c\x71\x73\x68\x78\x69\x76"]="\x70\x61\x72\x61m\x73";${"\x47\x4c\x4f\x42A\x4cS"}["d\x6a\x71l\x73s\x68\x73a\x64\x6d"]="\x65\x76\x65\x6e\x74";${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x62\x6f\x63\x6a\x65\x79n"]="\x73\x74\x6dt";${"\x47LO\x42\x41\x4c\x53"}["b\x74\x7ack\x73\x6d"]="a\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76yhm\x6ec\x68\x6a\x66\x77\x76"]="\x61\x63\x6e\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["m\x6e\x75\x75\x76\x68\x75\x64"]="\x6f\x70\x65r";${"\x47\x4cOB\x41\x4c\x53"}["v\x76\x65\x72\x6b\x66\x68g\x66\x65\x62"]="re\x74";${"\x47\x4cOB\x41\x4cS"}["\x69z\x76\x78\x6en"]="\x74\x79\x70\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["id\x66\x6d\x62o\x70\x68\x73\x69q"]="\x6d\x65\x74\x61";${"G\x4c\x4f\x42AL\x53"}["gc\x75y\x6fgg"]="i";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x73b\x64\x79\x64v\x62u"]="\x63\x6flc\x6f\x75\x6e\x74";${"GL\x4fB\x41\x4c\x53"}["eunkp\x63\x69\x63\x63\x75\x6e"]="\x73\x65\x6c\x65c\x74";${"GLO\x42A\x4c\x53"}["\x78\x76\x6dn\x6b\x62\x6b\x6fp"]="\x73\x71l";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6c\x68p\x63mo\x75x"]="\x77\x68";${"\x47\x4c\x4fB\x41L\x53"}["n\x7ar\x67\x79l\x6a\x6f"]="\x72e\x73u\x6c\x74";${"GL\x4fB\x41L\x53"}["\x67\x65sq\x7adf\x70\x71\x79by"]="\x6b\x65\x79\x69\x64";${"\x47\x4cOB\x41\x4c\x53"}["x\x75\x78\x65\x77\x62i\x6f\x72"]="\x61\x72\x75\x6c\x65";if(!defined("PH\x50SU\x49T\x4f_R\x4f\x4fT")){define("\x50HP\x53UIT\x4f\x5fR\x4f\x4f\x54",dirname(__FILE__)."/");require(PHPSUITO_ROOT."Au\x74\x6f\x6coad\x65r\x2e\x70h\x70");}class jqGridEdit extends jqGridExport{protected$fields=array();protected$successmsg="";public function setSuccessMsg($msg){$tjvyxwh="m\x73\x67";if(${$tjvyxwh}){$igsqnagtcu="\x6d\x73\x67";$this->successmsg=${$igsqnagtcu};}}public$serialKey=true;public$getLastInsert=false;protected$lastId=null;public$trans=true;public$add=true;public$edit=true;public$del=true;public$mtype="POST";public$decodeinput=false;public$serverValidate=false;public$serverSanitize=false;protected$validations=array();public function setValidationRules($arule){if(is_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78uxewb\x69\x6f\x72"]})){$this->validations=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x75x\x65\x77bio\x72"]};}}protected$sanatations=array();public function setSanitatationRules($arule){${"GL\x4f\x42\x41L\x53"}["\x74\x72\x74\x78\x6d\x74\x6a\x69\x69\x72"]="arul\x65";if(is_array(${${"\x47\x4c\x4fB\x41\x4cS"}["t\x72tx\x6d\x74j\x69\x69r"]})){$this->sanatations=${${"\x47\x4cOBALS"}["\x78u\x78\x65w\x62\x69\x6fr"]};}}public function getPrimaryKeyId(){return$this->primaryKey;}public function setPrimaryKeyId($keyid){$this->primaryKey=${${"G\x4cOB\x41\x4cS"}["\x67\x65\x73q\x7a\x64\x66\x70\x71y\x62\x79"]};}public function setTable($_newtable){$povdkbbruu="\x5f\x6e\x65\x77\x74\x61\x62\x6c\x65";$this->table=${$povdkbbruu};}protected function _buildFields(){${${"\x47\x4c\x4f\x42\x41L\x53"}["n\x7a\x72\x67y\x6cjo"]}=false;if(strlen(trim($this->table))>0){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6c\x68\x70\x63m\x6f\x75\x78"]}=($this->dbtype=="\x73\x71li\x74\x65")?"":" WHE\x52\x45 \x31=2";$quchfwoakfj="\x73q\x6c";${$quchfwoakfj}="\x53\x45L\x45\x43\x54 * F\x52\x4f\x4d\x20".$this->table.${${"G\x4cOBAL\x53"}["\x62\x6ch\x70c\x6do\x75x"]};if($this->debug){$this->logQuery(${${"G\x4cO\x42\x41L\x53"}["x\x76\x6d\x6e\x6b\x62\x6b\x6fp"]});$this->debugout();}try{${"\x47L\x4fB\x41\x4c\x53"}["fy\x77nh\x62\x67u\x79\x70\x70"]="s\x65\x6cec\x74";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x75\x6ek\x70cicc\x75\x6e"]}=jqGridDB::query($this->pdo,${${"GL\x4f\x42\x41\x4cS"}["x\x76mn\x6bbk\x6f\x70"]});if(${${"\x47L\x4f\x42\x41L\x53"}["\x66y\x77n\x68\x62\x67\x75\x79pp"]}){${"\x47L\x4f\x42\x41\x4cS"}["k\x78\x75pn\x64u"]="\x69";${"\x47\x4c\x4f\x42\x41L\x53"}["f\x73\x70\x62yd\x63"]="\x73el\x65\x63\x74";$sgnxlnq="i";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x73\x62\x64\x79\x64\x76\x62\x75"]}=jqGridDB::columnCount(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x75n\x6b\x70c\x69\x63\x63\x75n"]});$this->fields=array();for(${$sgnxlnq}=0;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67c\x75y\x6fg\x67"]}<${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79sbdy\x64\x76\x62u"]};${${"GL\x4fBA\x4c\x53"}["kx\x75p\x6e\x64u"]}++){$mkldexypqar="\x74y\x70e";$jfjvusnp="i";$mtuolxjh="\x73\x65l\x65\x63\x74";$zttrob="\x6deta";${${"\x47\x4c\x4f\x42A\x4cS"}["\x69d\x66\x6d\x62o\x70\x68\x73iq"]}=jqGridDB::getColumnMeta(${$jfjvusnp},${$mtuolxjh});${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x7a\x76\x78\x6e\x6e"]}=jqGridDB::MetaType(${$zttrob},$this->dbtype);$this->fields[${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x64f\x6dbophs\x69\x71"]}["\x6eame"]]=array("ty\x70e"=>${$mkldexypqar});}jqGridDB::closeCursor(${${"GL\x4fB\x41\x4cS"}["\x66s\x70\x62yd\x63"]});${${"GL\x4f\x42\x41L\x53"}["\x6ez\x72\x67yl\x6a\x6f"]}=true;}else{$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x7ar\x67\x79l\x6a\x6f"]}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}else{$this->errorMessage="\x4e\x6f dat\x61b\x61\x73e \x74\x61\x62l\x65\x20is \x73\x65\x74\x20\x74o\x20\x6f\x70\x65r\x61\x74e\x21";}if($this->showError&&!${${"\x47L\x4f\x42A\x4cS"}["n\x7a\x72\x67y\x6c\x6a\x6f"]}){$this->sendErrorHeader();}return${${"\x47\x4cOB\x41LS"}["\x6e\x7a\x72gy\x6c\x6a\x6f"]};}protected$_addarray=array();protected$_addarrayb=array();protected$_editarray=array();protected$_editarrayb=array();protected$_delarray=array();protected$_delarrayb=array();protected function _actionsCRUDGrid($oper,$event){$jagtwl="ar";$mknezllegr="\x61\x63\x6e\x74";$rewbjah="\x61\x63\x6e\x74";$qlkdvn="e\x76e\x6et";${"\x47L\x4fBA\x4c\x53"}["\x76t\x77g\x6c\x79\x64\x70m\x6d"]="ac\x6e\x74";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69k\x66e\x6cb\x64\x6d\x7ad\x64"]="a\x72";${"GL\x4f\x42\x41\x4cS"}["\x77o\x69\x79\x69\x62\x66\x72l\x65"]="\x61\x63nt";${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x6aj\x61s\x69\x6a\x6b\x6c"]="r\x65\x74";$dglnnmarvzh="\x65\x76\x65nt";${${"\x47\x4c\x4f\x42AL\x53"}["\x76\x76er\x6b\x66h\x67\x66\x65\x62"]}=true;switch(${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x6e\x75\x75\x76h\x75\x64"]}){case"\x61\x64\x64":if(${$dglnnmarvzh}=="b\x65\x66ore"){${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x76\x6bd\x6c\x69\x6c\x72m\x69\x63"]="\x61\x72";${${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x76\x6b\x64l\x69\x6c\x72\x6d\x69\x63"]}=$this->_addarrayb;}else{${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x62w\x64nyf"]="\x61\x72";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x62\x77\x64\x6e\x79\x66"]}=$this->_addarray;}${${"GL\x4f\x42A\x4c\x53"}["\x76\x79\x68\x6d\x6e\x63hj\x66\x77\x76"]}=count(${$jagtwl});if(${${"\x47\x4cOBALS"}["\x76y\x68mn\x63h\x6afwv"]}>0){${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x68\x78\x70\x76c\x73\x79\x62"]="\x69";${"\x47L\x4f\x42\x41L\x53"}["f\x6f\x6c\x78rh\x64\x65\x71\x71"]="\x61\x63\x6e\x74";for(${${"\x47L\x4fB\x41L\x53"}["g\x63\x75\x79\x6f\x67\x67"]}=0;${${"\x47LO\x42\x41LS"}["j\x68x\x70\x76\x63s\x79b"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x6fl\x78\x72\x68d\x65qq"]};${${"G\x4c\x4f\x42A\x4c\x53"}["\x67\x63\x75y\x6f\x67g"]}++){${"\x47L\x4f\x42\x41LS"}["\x64\x72\x72\x74\x6d\x6f\x6chj"]="\x69";if($this->debug){$spngrvlmrkz="\x61\x72";${"G\x4c\x4f\x42A\x4c\x53"}["i\x6d\x7a\x70q\x69j\x66\x74\x6es"]="\x69";$luobefvaes="\x69";$this->logQuery(${${"\x47\x4c\x4fBA\x4c\x53"}["\x62tz\x63\x6b\x73\x6d"]}[${$luobefvaes}]["\x73\x71l"],${$spngrvlmrkz}[${${"G\x4c\x4f\x42A\x4c\x53"}["imz\x70\x71\x69\x6a\x66\x74\x6e\x73"]}]["p\x61\x72\x61\x6ds"]);}${"G\x4c\x4f\x42\x41\x4cS"}["g\x77q\x61fc\x75"]="\x72\x65s\x75\x6c\x74";$kfksgtzo="\x61\x72";${"GL\x4fBA\x4c\x53"}["\x6cr\x64g\x67v\x77\x6at\x6e"]="s\x74\x6dt";$yqkfnqgd="i";${${"\x47\x4c\x4fBAL\x53"}["l\x72d\x67\x67\x76w\x6a\x74n"]}=jqGridDB::prepare($this->pdo,${${"\x47\x4c\x4f\x42AL\x53"}["\x62\x74zc\x6b\x73\x6d"]}[${${"\x47\x4c\x4f\x42AL\x53"}["\x67c\x75\x79o\x67\x67"]}]["s\x71\x6c"],${$kfksgtzo}[${${"\x47LO\x42\x41\x4c\x53"}["dr\x72tmo\x6c\x68j"]}]["par\x61m\x73"]);${${"\x47\x4c\x4f\x42A\x4c\x53"}["gw\x71\x61\x66\x63u"]}=jqGridDB::execute(${${"G\x4c\x4f\x42A\x4c\x53"}["fb\x6f\x63\x6ae\x79\x6e"]},${${"G\x4c\x4f\x42\x41L\x53"}["\x62\x74\x7a\x63k\x73\x6d"]}[${$yqkfnqgd}]["pa\x72\x61ms"],$this->pdo);if(!${${"\x47\x4c\x4f\x42\x41LS"}["nz\x72\x67\x79\x6c\x6a\x6f"]}){${"\x47\x4c\x4f\x42A\x4cS"}["\x77jke\x72\x63\x7aop"]="\x72\x65t";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6ak\x65\x72\x63\x7a\x6f\x70"]}=false;break;}jqGridDB::closeCursor(($this->dbtype=="\x61d\x6fdb"||$this->dbtype=="i\x62a\x73e")?${${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x7a\x72\x67yl\x6ao"]}:${${"\x47L\x4fB\x41\x4cS"}["f\x62o\x63\x6a\x65\x79n"]});}}break;case"e\x64\x69\x74":if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x64j\x71\x6c\x73s\x68\x73\x61\x64\x6d"]}=="be\x66ore"){$utyrjwdcr="\x61\x72";${$utyrjwdcr}=$this->_editarrayb;}else{${"\x47LO\x42A\x4c\x53"}["\x7aa\x63\x73\x65h\x67\x6b\x64g\x79"]="\x61\x72";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["z\x61\x63\x73e\x68g\x6b\x64\x67\x79"]}=$this->_editarray;}${${"\x47L\x4f\x42\x41\x4cS"}["\x76t\x77\x67\x6c\x79\x64\x70\x6dm"]}=count(${${"G\x4c\x4fB\x41LS"}["bt\x7acksm"]});if(${${"\x47L\x4f\x42A\x4cS"}["w\x6f\x69\x79\x69\x62\x66r\x6ce"]}>0){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63wqj\x77\x74\x61\x69\x64"]="\x69";for(${${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x77\x71\x6a\x77\x74\x61\x69\x64"]}=0;${${"GL\x4f\x42\x41\x4c\x53"}["\x67\x63\x75yo\x67\x67"]}<${${"GL\x4fB\x41\x4cS"}["vy\x68\x6dn\x63h\x6a\x66\x77\x76"]};${${"\x47\x4c\x4fB\x41L\x53"}["\x67\x63\x75\x79o\x67g"]}++){$qiiqxmgj="s\x74\x6d\x74";$vcixjwjj="a\x72";$pintydxrtw="\x69";$gpkxoluk="\x72e\x73u\x6c\x74";if($this->debug){${"\x47\x4c\x4f\x42\x41LS"}["o\x7ap\x79\x70ph\x65\x6c"]="i";$albdxfkaopx="\x69";$this->logQuery(${${"\x47L\x4f\x42A\x4c\x53"}["b\x74\x7ack\x73m"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x6f\x7ap\x79\x70\x70\x68\x65\x6c"]}]["\x73\x71\x6c"],${${"\x47LO\x42\x41L\x53"}["\x62t\x7ac\x6b\x73\x6d"]}[${$albdxfkaopx}]["par\x61\x6ds"]);}${"G\x4c\x4fBA\x4c\x53"}["\x76\x6d\x75jh\x6a\x6aq\x72\x70\x69e"]="re\x73\x75\x6c\x74";${"\x47\x4c\x4f\x42ALS"}["\x71\x76\x6fj\x6e\x6ay\x69\x63"]="\x69";$ascyplaiz="\x69";${$qiiqxmgj}=jqGridDB::prepare($this->pdo,${${"\x47LOB\x41LS"}["\x62\x74zc\x6b\x73\x6d"]}[${$ascyplaiz}]["\x73\x71l"],${$vcixjwjj}[${$pintydxrtw}]["p\x61r\x61m\x73"]);${${"G\x4c\x4fBA\x4cS"}["\x76\x6du\x6a\x68\x6a\x6aq\x72p\x69e"]}=jqGridDB::execute(${${"GL\x4f\x42A\x4c\x53"}["\x66\x62\x6f\x63j\x65\x79\x6e"]},${${"GL\x4f\x42\x41\x4cS"}["b\x74\x7ac\x6b\x73\x6d"]}[${${"\x47\x4cO\x42A\x4c\x53"}["q\x76ojn\x6a\x79ic"]}]["\x70\x61rams"],$this->pdo);if(!${$gpkxoluk}){$fslzhyew="r\x65t";${$fslzhyew}=false;break;}jqGridDB::closeCursor(($this->dbtype=="ado\x64b"||$this->dbtype=="ib\x61se")?${${"GL\x4f\x42\x41L\x53"}["n\x7a\x72gy\x6c\x6a\x6f"]}:${${"\x47L\x4f\x42\x41L\x53"}["\x66\x62\x6f\x63j\x65\x79n"]});}}break;case"d\x65l":if(${$qlkdvn}=="\x62e\x66o\x72e"){${${"GL\x4f\x42AL\x53"}["btz\x63\x6b\x73\x6d"]}=$this->_delarrayb;}else{${${"G\x4c\x4f\x42\x41LS"}["\x62\x74\x7a\x63\x6b\x73m"]}=$this->_delarray;}${$mknezllegr}=count(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x6b\x66\x65l\x62\x64\x6d\x7a\x64\x64"]});if(${$rewbjah}>0){$efrtpcy="\x69";${"G\x4c\x4fB\x41\x4cS"}["\x6fl\x77\x64y\x79"]="\x69";$qswkwkyq="\x61\x63\x6e\x74";for(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x63\x75\x79o\x67\x67"]}=0;${$efrtpcy}<${$qswkwkyq};${${"G\x4c\x4fB\x41\x4cS"}["o\x6cw\x64\x79y"]}++){$igwvtcunkn="i";${"\x47L\x4f\x42AL\x53"}["p\x75\x67h\x67\x79\x72f\x66q\x76\x64"]="\x73\x74\x6d\x74";${"\x47L\x4fBAL\x53"}["\x67\x65\x6a\x74v\x62"]="s\x74m\x74";$kpjbgbq="s\x74\x6d\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x65\x69\x65\x61\x61\x68c"]="\x72\x65s\x75\x6ct";if($this->debug){$fuvwwdc="a\x72";$this->logQuery(${$fuvwwdc}[${${"\x47L\x4fBAL\x53"}["\x67\x63u\x79\x6f\x67\x67"]}]["\x73\x71l"],${${"\x47L\x4f\x42\x41\x4c\x53"}["b\x74\x7a\x63\x6bs\x6d"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x63\x75y\x6f\x67\x67"]}]["p\x61\x72a\x6ds"]);}${${"GL\x4f\x42A\x4cS"}["p\x75\x67\x68\x67\x79\x72f\x66\x71\x76\x64"]}=jqGridDB::prepare($this->pdo,${${"\x47LOB\x41\x4c\x53"}["\x62\x74z\x63\x6bs\x6d"]}[${$igwvtcunkn}]["s\x71\x6c"],${${"\x47L\x4f\x42AL\x53"}["b\x74\x7a\x63k\x73m"]}[${${"G\x4cO\x42A\x4c\x53"}["\x67\x63\x75yo\x67g"]}]["p\x61r\x61m\x73"]);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x69\x65aa\x68\x63"]}=${$kpjbgbq}?jqGridDB::execute(${${"\x47L\x4f\x42\x41\x4c\x53"}["fb\x6f\x63j\x65\x79\x6e"]},${${"\x47L\x4f\x42\x41L\x53"}["bt\x7a\x63\x6b\x73\x6d"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67c\x75\x79o\x67\x67"]}]["\x70aram\x73"],$this->pdo):false;if(!${${"\x47\x4c\x4f\x42A\x4c\x53"}["n\x7ar\x67y\x6c\x6a\x6f"]}){${${"\x47\x4cO\x42\x41LS"}["\x76\x76\x65rk\x66hgf\x65\x62"]}=false;break;}jqGridDB::closeCursor(($this->dbtype=="a\x64od\x62"||$this->dbtype=="i\x62\x61\x73\x65")?${${"GL\x4f\x42AL\x53"}["\x6ez\x72\x67\x79l\x6a\x6f"]}:${${"GL\x4f\x42\x41\x4cS"}["\x67\x65jtvb"]});}}break;}return${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x6aja\x73\x69\x6a\x6b\x6c"]};}public function setBeforeCrudAction($oper,$sql,$params=null){${"\x47\x4cO\x42\x41\x4c\x53"}["\x79s\x65\x69\x70\x6e\x72\x69c\x6e"]="\x73\x71l";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x6a\x72\x6bgbk\x74c\x77"]="sql";${"\x47\x4cO\x42\x41\x4cS"}["\x66\x63\x76wu\x6d\x6a\x73\x6d"]="p\x61\x72ams";${"\x47\x4c\x4fB\x41\x4cS"}["\x70\x72z\x66\x64r\x79\x67"]="\x6f\x70\x65\x72";switch(${${"G\x4cO\x42\x41\x4c\x53"}["\x70r\x7af\x64\x72\x79\x67"]}){case"\x61dd":$this->_addarrayb[]=array("sq\x6c"=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x76\x6d\x6ek\x62\x6b\x6f\x70"]},"p\x61\x72a\x6ds"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x63\x76\x77\x75mj\x73\x6d"]});break;case"ed\x69\x74":$this->_editarrayb[]=array("\x73\x71l"=>${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x73\x65\x69\x70nric\x6e"]},"\x70a\x72ams"=>${${"\x47\x4c\x4fBA\x4c\x53"}["\x6c\x71\x73\x68\x78i\x76"]});break;case"\x64el":$this->_delarrayb[]=array("s\x71l"=>${${"\x47\x4c\x4f\x42AL\x53"}["c\x6ark\x67b\x6b\x74cw"]},"\x70ar\x61\x6ds"=>${${"GL\x4f\x42\x41\x4c\x53"}["l\x71s\x68\x78iv"]});break;}}public function setAfterCrudAction($oper,$sql,$params=null){$zvctpqvuw="\x73ql";$jjlqkjn="p\x61r\x61m\x73";${"\x47\x4c\x4fBA\x4c\x53"}["s\x61\x77\x62ec\x71u"]="\x70\x61\x72\x61\x6ds";$uuxbiep="\x73\x71\x6c";$ivejepme="s\x71l";${"GLO\x42A\x4cS"}["\x66\x76\x74\x72a\x6cwe\x66"]="\x70a\x72\x61\x6d\x73";switch(${${"\x47L\x4f\x42A\x4c\x53"}["m\x6e\x75\x75\x76\x68\x75\x64"]}){case"add":$this->_addarray[]=array("\x73q\x6c"=>${$ivejepme},"param\x73"=>${${"G\x4cOB\x41\x4c\x53"}["s\x61w\x62\x65\x63\x71u"]});break;case"e\x64it":$this->_editarray[]=array("s\x71\x6c"=>${$uuxbiep},"p\x61\x72am\x73"=>${$jjlqkjn});break;case"\x64el":$this->_delarray[]=array("\x73ql"=>${$zvctpqvuw},"\x70\x61\x72\x61m\x73"=>${${"\x47\x4c\x4fB\x41\x4cS"}["\x66vtr\x61\x6c\x77e\x66"]});break;}}public function getFields(){return$this->fields;}public function insert($data){if(!$this->add){return false;}if(!$this->_buildFields()){return false;}$rlgelnq="\x64\x61\x74\x65\x66\x6dt";${"G\x4c\x4f\x42A\x4c\x53"}["v\x73\x77\x65\x7a\x6b\x7a"]="\x76";if(!$this->checkPrimary()){return false;}${"G\x4c\x4f\x42\x41L\x53"}["y\x63\x69\x77sb\x74\x72\x68\x61f"]="\x72\x65\x73\x75lt";${"\x47\x4cO\x42\x41LS"}["\x6by\x6b\x79\x72i\x6a\x6c"]="\x69\x6e\x73\x65r\x74F\x69\x65\x6c\x64\x73";${"\x47\x4cO\x42\x41L\x53"}["c\x64\x67\x6c\x6d\x6fy"]="\x64\x61\x74a";if($this->serverSanitize){if(is_array($this->sanatations)&&count($this->sanatations)==0){foreach($this->validations as${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x6fc\x68\x68\x69\x6d\x71"]}=>${${"\x47\x4c\x4fBA\x4c\x53"}["c\x70\x71\x76s\x73\x62q\x76mc"]}){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x73\x79m\x75\x78t\x6f"]="\x76\x61\x6c\x75e\x73";${"\x47LOB\x41L\x53"}["\x75bb\x65m\x64\x77j"]="\x70\x72\x6fp";$cflgeiat="\x76\x61l";foreach(${${"G\x4c\x4f\x42ALS"}["\x69\x73\x79\x6du\x78\x74o"]} as${${"G\x4cOB\x41\x4c\x53"}["ub\x62\x65\x6dd\x77\x6a"]}=>${$cflgeiat}){if(${${"\x47\x4c\x4f\x42ALS"}["\x68r\x77lu\x73p\x74c\x66"]}=="sa\x6e\x69\x74iz\x65"&&${${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x70\x71\x76\x73sbqv\x6dc"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["hrw\x6c\x75spt\x63f"]}]==true){$iorkmaeu="key";$this->sanatations[]=${$iorkmaeu};break;}}}}}${"G\x4c\x4fB\x41\x4cS"}["\x68ng\x64\x76\x68\x63\x63\x78"]="\x69\x6e\x73\x65\x72\x74\x46\x69\x65l\x64\x73";$yccwjrhiwpa="ty\x70\x65s";${"\x47LO\x42\x41L\x53"}["w\x69\x6c\x67i\x78k"]="r\x65\x73\x75\x6c\x74";if($this->serverValidate){$thpmsywqg="v\x61li\x64\x61\x74o\x72";${$thpmsywqg}=new jqValidator($this->validations,$this->sanatations);$validator->linebreak="\x3c\x62r/\x3e";if(!$validator->validate(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7av\x77\x77\x68\x75\x66"]})){$this->errorMessage=$validator->getJSON();$this->sendErrorHeader();return false;}}if($this->serverSanitize){$twsnoyignaw="\x64\x61\x74a";$xtisuelxao="\x64\x61t\x61";if(!$this->serverValidate){${${"G\x4cO\x42ALS"}["\x62b\x64\x62\x7a\x65\x62erb\x67"]}=new jqValidator($this->validations,$this->sanatations);}${$twsnoyignaw}=$validator->sanatize(${$xtisuelxao});}$mmoeckicupw="va\x6c";${$rlgelnq}=$this->userdateformat;$ujtxwh="\x72\x6fw\x46\x69\x65\x6c\x64s";${${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x74vk\x77\x61\x6c\x66u"]}=$this->usertimeformat;if($this->serialKey){unset(${${"GLO\x42\x41\x4cS"}["\x7av\x77\x77\x68\x75\x66"]}[$this->getPrimaryKeyId()]);}${${"\x47\x4cO\x42\x41\x4cS"}["\x74\x72\x76zn\x78f\x6bt\x73"]}=array_keys($this->fields);${${"\x47\x4c\x4f\x42ALS"}["ej\x61gt\x79\x68\x78by"]}=array_intersect(${${"G\x4c\x4f\x42\x41LS"}["\x74\x72v\x7a\x6ex\x66\x6bt\x73"]},array_keys(${${"GL\x4f\x42\x41\x4c\x53"}["c\x64\x67\x6c\x6d\x6f\x79"]}));${${"\x47\x4c\x4fB\x41\x4cS"}["k\x79\x6b\x79\x72ij\x6c"]}=array();${${"\x47\x4cO\x42\x41L\x53"}["\x76l\x73\x70u\x70\x65\x72\x6a"]}=array();${$yccwjrhiwpa}=array();${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x73\x77\x65\x7a\x6b\x7a"]}="";foreach(${$ujtxwh} as${${"\x47\x4c\x4fBA\x4c\x53"}["k\x6fc\x68h\x69\x6d\x71"]}=>${$mmoeckicupw}){$tsepwmsyis="\x69n\x73\x65\x72t\x46\x69el\x64\x73";$zgoqjyts="\x76";${"\x47LOB\x41\x4c\x53"}["pci\x74\x78\x65\x72\x76\x67\x76"]="\x62\x69\x6e\x64\x73";$snbikpaojee="\x76a\x6c";${$tsepwmsyis}[]="?";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x6e\x62\x74\x6b\x74\x63b\x61"]}=$this->fields[${${"G\x4cO\x42\x41L\x53"}["\x69km\x66\x6a\x73q"]}]["\x74ype"];${${"G\x4c\x4f\x42\x41\x4c\x53"}["q\x64\x6f\x72\x76q\x64\x68m"]}=${${"\x47\x4c\x4fB\x41\x4cS"}["\x7a\x76wwh\x75\x66"]}[${$snbikpaojee}];if(strtolower($this->encoding)!="\x75\x74\x66-8"){${"\x47LO\x42\x41L\x53"}["\x6d\x69t\x79\x6a\x6am"]="\x76\x61\x6c\x75e";${${"\x47\x4c\x4fBA\x4c\x53"}["\x71\x64o\x72\x76\x71dh\x6d"]}=iconv("utf-\x38",$this->encoding."//\x54\x52AN\x53LI\x54",${${"\x47\x4cOBA\x4cS"}["m\x69\x74yjj\x6d"]});}${"\x47L\x4f\x42\x41\x4c\x53"}["r\x67\x66\x6b\x67\x64\x69\x61\x63"]="\x76\x61\x6c\x75\x65";if(strtolower(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71d\x6f\x72\x76qd\x68\x6d"]})=="nu\x6c\x6c"){${${"\x47\x4c\x4fB\x41\x4cS"}["jleb\x68\x70r\x77mp"]}=NULL;}else if(trim(${${"G\x4c\x4f\x42A\x4cS"}["\x72g\x66k\x67\x64\x69\x61\x63"]})==""){$qhqedmel="\x76";${$qhqedmel}=${${"G\x4cO\x42\x41\x4c\x53"}["\x71d\x6fr\x76q\x64\x68\x6d"]};}else{$ygkvktfbk="\x64\x61t\x65\x66\x6dt";${"\x47L\x4fB\x41\x4c\x53"}["\x64\x62j\x62p\x62\x68iz\x77\x69"]="\x74im\x65f\x6dt";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x64\x67\x6da\x66\x62\x6f\x64\x68"]="\x76al\x75\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x66ew\x74v"]="\x76\x61\x6cu\x65";$tejsguoi="d\x61\x74e\x66\x6d\x74";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x65\x66\x70t\x68j\x73\x61"]="\x74i\x6d\x65\x66\x6dt";$tudfltjxjad="\x76a\x6c\x75\x65";$cfhcycyll="\x76";${"GL\x4f\x42\x41\x4c\x53"}["pc\x69\x71\x73\x6c\x71gh\x63\x74s"]="v";$yajdqy="\x76\x61\x6c\x75e";switch(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6e\x62tk\x74\x63\x62\x61"]}){case"d\x61t\x65":${${"G\x4c\x4f\x42A\x4cS"}["\x6a\x6c\x65\x62\x68\x70\x72\x77\x6d\x70"]}=${$ygkvktfbk}!=$this->dbdateformat?jqGridUtils::parseDate(${$tejsguoi},${$yajdqy},$this->dbdateformat):${${"\x47\x4cO\x42\x41\x4c\x53"}["ad\x67\x6daf\x62\x6f\x64\x68"]};break;case"\x64a\x74e\x74\x69\x6de":${$cfhcycyll}=${${"\x47\x4c\x4fB\x41\x4cS"}["h\x74\x76\x6bw\x61l\x66u"]}!=$this->dbtimeformat?jqGridUtils::parseDate(${${"\x47LO\x42A\x4c\x53"}["n\x65\x66\x70th\x6a\x73\x61"]},${${"\x47L\x4f\x42\x41LS"}["q\x64o\x72\x76\x71dh\x6d"]},$this->dbtimeformat):${$tudfltjxjad};break;case"t\x69m\x65":${${"GL\x4f\x42AL\x53"}["pci\x71s\x6c\x71\x67\x68\x63ts"]}=jqGridUtils::parseDate(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x62\x6a\x62\x70\x62\x68\x69\x7a\x77\x69"]},${${"\x47L\x4f\x42AL\x53"}["q\x64\x6frv\x71\x64\x68\x6d"]},"\x48:\x69:\x73");break;default:${${"G\x4c\x4fB\x41\x4c\x53"}["\x6al\x65\x62\x68\x70rw\x6d\x70"]}=${${"G\x4c\x4f\x42\x41LS"}["\x76\x66e\x77t\x76"]};}if($this->decodeinput){$ltjilll="\x76";${$ltjilll}=htmlspecialchars_decode(${${"\x47L\x4fBA\x4c\x53"}["\x6ale\x62\x68\x70\x72w\x6dp"]});}}${${"\x47\x4cO\x42\x41L\x53"}["\x62o\x6fz\x73\x63\x64"]}[]=${${"G\x4c\x4fB\x41L\x53"}["\x67\x6ebt\x6b\x74\x63b\x61"]};${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70c\x69t\x78\x65\x72v\x67\x76"]}[]=${$zgoqjyts};unset(${${"GLO\x42\x41L\x53"}["\x6a\x6c\x65\x62\x68p\x72w\x6dp"]});}${${"\x47\x4cOB\x41L\x53"}["y\x63i\x77\x73\x62\x74\x72\x68a\x66"]}=false;if(count(${${"\x47\x4c\x4f\x42\x41L\x53"}["h\x6e\x67\x64vh\x63c\x78"]})>0){$ppnsto="s\x74\x6dt";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63b\x71\x79\x6co\x72ym\x76\x6c"]="\x62\x69\x6e\x64s";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78vm\x6ek\x62\x6b\x6f\x70"]}="\x49NSER\x54 \x49\x4eTO ".$this->table." (".implode(", ",${${"\x47LO\x42\x41L\x53"}["\x65\x6aa\x67ty\x68\x78b\x79"]}).")"." VA\x4cU\x45S( ".implode(", ",${${"\x47L\x4f\x42\x41LS"}["\x75o\x72\x78\x77zuy\x6f\x76"]}).")";${$ppnsto}=$this->parseSql(${${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x76\x6d\x6ek\x62k\x6fp"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x62\x71y\x6c\x6f\x72\x79\x6d\x76l"]},false);if(${${"G\x4c\x4fB\x41L\x53"}["\x66\x62\x6f\x63\x6ae\x79\x6e"]}){$sqpxzzgmr="\x62i\x6e\x64s";jqGridDB::bindValues(${${"GLOB\x41\x4c\x53"}["\x66\x62\x6fc\x6a\x65\x79\x6e"]},${$sqpxzzgmr},${${"\x47\x4c\x4f\x42\x41L\x53"}["bo\x6f\x7asc\x64"]});if($this->trans){try{$drdjrtm="\x72\x65t";$iaqetdrsj="re\x73\x75\x6c\x74";jqGridDB::beginTransaction($this->pdo);${$iaqetdrsj}=$this->_actionsCRUDGrid("add","\x62\x65\x66\x6fre");$xauuhfesfx="re\x73\x75\x6c\x74";if($this->debug){$vkoyudvz="\x64\x61\x74a";$this->logQuery(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x76\x6d\x6e\x6b\x62\x6b\x6fp"]},${${"\x47L\x4f\x42A\x4c\x53"}["v\x6c\x73pup\x65\x72\x6a"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x62\x6f\x6f\x7a\x73\x63\x64"]},${$vkoyudvz},$this->fields,$this->primaryKey);}${$drdjrtm}=false;if(${${"G\x4cO\x42\x41\x4c\x53"}["nz\x72\x67y\x6c\x6a\x6f"]}){$umjknoeud="\x62\x69\x6ed\x73";${${"\x47\x4cO\x42A\x4cS"}["\x76\x76e\x72\x6b\x66\x68\x67feb"]}=jqGridDB::execute(${${"GL\x4fB\x41\x4cS"}["\x66\x62\x6f\x63j\x65y\x6e"]},${$umjknoeud},$this->pdo);}$nfqbjp="r\x65su\x6ct";${$xauuhfesfx}=${${"GLOBAL\x53"}["\x76v\x65rk\x66\x68gfeb"]}?true:false;if(${$nfqbjp}){if($this->serialKey&&$this->getLastInsert){$this->lastId=jqGridDB::lastInsertId($this->pdo,$this->table,$this->primaryKey,$this->dbtype);if(!is_numeric($this->lastId)){${${"GL\x4f\x42\x41\x4c\x53"}["\x6ez\x72g\x79\x6c\x6ao"]}=false;}}}if(${${"\x47\x4c\x4f\x42AL\x53"}["n\x7argy\x6c\x6a\x6f"]}){$deosmstvtqf="sav\x65\x72";${$deosmstvtqf}=$this->showError;$this->showError=false;${${"G\x4c\x4f\x42\x41LS"}["\x6ezr\x67\x79l\x6a\x6f"]}=$this->_actionsCRUDGrid("\x61dd","a\x66\x74e\x72");$this->showError=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x68\x77\x66\x68\x62c"]};}if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ez\x72g\x79\x6c\x6a\x6f"]}){${"\x47\x4cO\x42A\x4c\x53"}["\x68\x79\x61w\x79x"]="\x72\x65\x73\x75lt";${${"\x47\x4c\x4fB\x41\x4cS"}["\x68y\x61wyx"]}=jqGridDB::commit($this->pdo);}if(!${${"\x47\x4cO\x42\x41L\x53"}["\x6e\x7a\x72g\x79l\x6a\x6f"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$wgbwtquy="\x72\x65\x73u\x6c\x74";jqGridDB::rollBack($this->pdo);${$wgbwtquy}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}try{jqGridDB::closeCursor(($this->dbtype=="ad\x6fdb"||$this->dbtype=="i\x62\x61se")?${${"G\x4cOB\x41L\x53"}["\x76\x76\x65\x72\x6b\x66\x68g\x66\x65\x62"]}:${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66b\x6f\x63\x6a\x65\x79n"]});}catch(Exception$e){};}else{try{${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x63\x72\x6b\x74\x79\x66"]="\x72\x65\x73u\x6ct";${"GLOB\x41\x4c\x53"}["\x72\x77\x73\x74q\x6c\x6a\x6d"]="r\x65s\x75\x6c\x74";${"GL\x4f\x42\x41\x4cS"}["a\x6frs\x74\x6f\x62\x7a\x6ewh"]="s\x74\x6dt";${${"\x47LO\x42A\x4cS"}["fcr\x6btyf"]}=$this->_actionsCRUDGrid("\x61d\x64","befo\x72\x65");$ftaezrgqr="\x72e\x74";$ccbpetcrprpn="r\x65\x73ul\x74";$erjiebaxl="\x72e\x74";if($this->debug){${"GLO\x42A\x4cS"}["\x67\x76\x6a\x6a\x63\x72fr\x6ag"]="s\x71l";$amymzwg="t\x79\x70\x65\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x71\x73op\x64g\x68\x65l\x7ao"]="bin\x64\x73";$this->logQuery(${${"G\x4c\x4f\x42\x41\x4c\x53"}["g\x76\x6a\x6ac\x72\x66r\x6a\x67"]},${${"G\x4c\x4f\x42A\x4c\x53"}["gqs\x6f\x70\x64g\x68\x65\x6c\x7ao"]},${$amymzwg},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7a\x76ww\x68\x75f"]},$this->fields,$this->primaryKey);}${$erjiebaxl}=false;if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x7a\x72gy\x6c\x6ao"]}){${"\x47L\x4fBA\x4c\x53"}["\x70\x73\x61\x74\x79s\x6a\x6b\x73"]="\x73\x74\x6d\x74";${${"G\x4cOB\x41\x4c\x53"}["\x76\x76e\x72\x6bf\x68\x67\x66e\x62"]}=jqGridDB::execute(${${"\x47L\x4f\x42\x41LS"}["p\x73\x61t\x79\x73jks"]},${${"\x47LO\x42\x41\x4c\x53"}["\x76\x6c\x73\x70u\x70\x65\x72j"]},$this->pdo);}${${"\x47\x4cOB\x41\x4cS"}["\x6ezr\x67yl\x6a\x6f"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["v\x76\x65\x72\x6b\x66hg\x66e\x62"]}?true:false;if(!${${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x7a\x72\x67y\x6c\x6a\x6f"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}jqGridDB::closeCursor(($this->dbtype=="ado\x64b"||$this->dbtype=="iba\x73e")?${$ftaezrgqr}:${${"\x47\x4c\x4fB\x41\x4c\x53"}["a\x6f\x72s\x74\x6f\x62z\x6e\x77h"]});$cktwusnw="r\x65\x73\x75\x6c\x74";if($this->serialKey&&$this->getLastInsert&&${${"G\x4cO\x42\x41L\x53"}["r\x77st\x71lj\x6d"]}){$this->lastId=jqGridDB::lastInsertId($this->pdo,$this->table,$this->primaryKey,$this->dbtype);if(!is_numeric($this->lastId)){${${"\x47L\x4fBAL\x53"}["\x6e\x7a\x72\x67\x79\x6cjo"]}=false;}}if(${$cktwusnw}){${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x7a\x72gy\x6c\x6ao"]}=$this->_actionsCRUDGrid("a\x64d","\x61f\x74e\x72");}if(!${$ccbpetcrprpn}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$zavebycd="\x72e\x73u\x6c\x74";${$zavebycd}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}}else{$this->errorMessage="\x45\x72r\x6f\x72\x20wh\x65\x6e\x20\x70repar\x69n\x67 a\x20INSERT\x20\x73\x74\x61t\x65me\x6e\x74\x21";${${"\x47\x4cO\x42\x41L\x53"}["n\x7ar\x67\x79\x6c\x6a\x6f"]}=false;}}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63\x69\x73hq\x62\x6d\x73mby"]="re\x73\x75l\x74";$this->errorMessage="Da\x74\x61 \x70o\x73\x74\x65\x64 \x64\x6f\x65s\x20\x6eo\x74 \x6da\x74\x63\x68 \x69\x6e\x73er\x74 fi\x65ld\x73!";${${"\x47L\x4f\x42A\x4c\x53"}["\x63\x69\x73\x68\x71b\x6d\x73m\x62\x79"]}=false;}if($this->debug){$this->debugout();}if($this->showError&&!${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x7a\x72g\x79lj\x6f"]}){$this->sendErrorHeader();}return${${"\x47\x4cO\x42A\x4c\x53"}["w\x69\x6c\x67\x69\x78k"]};}public function update($data){$jchghvpdm="\x64\x61\x74\x65\x66\x6d\x74";if(!$this->edit){return false;}if(!$this->_buildFields()){return false;}$rdhrkttcscek="ty\x70\x65\x73";if(!$this->checkPrimary()){return false;}${$jchghvpdm}=$this->userdateformat;${${"GLOB\x41L\x53"}["ht\x76\x6b\x77al\x66u"]}=$this->usertimeformat;${"\x47\x4cO\x42\x41L\x53"}["\x6am\x7abc\x66\x71q\x68l"]="\x75\x70\x64\x61\x74\x65F\x69e\x6cd\x73";if($this->serverSanitize){if(is_array($this->sanatations)&&count($this->sanatations)==0){$tcnopovzicw="\x76\x61l\x75\x65s";foreach($this->validations as${${"\x47\x4c\x4f\x42\x41L\x53"}["k\x6fch\x68\x69\x6d\x71"]}=>${$tcnopovzicw}){$yvihemlvn="\x76al";${"G\x4c\x4f\x42\x41LS"}["\x74\x68a\x67j\x73u"]="p\x72\x6f\x70";foreach(${${"G\x4c\x4fB\x41\x4c\x53"}["\x63p\x71v\x73\x73bq\x76\x6d\x63"]} as${${"\x47LO\x42A\x4cS"}["th\x61\x67\x6as\x75"]}=>${$yvihemlvn}){$bfcpdbg="p\x72\x6f\x70";$ugtepsnt="\x76a\x6c\x75\x65\x73";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x72\x77lu\x73p\x74\x63f"]}=="sa\x6ei\x74i\x7ae"&&${$ugtepsnt}[${$bfcpdbg}]==true){$hubpguxgs="\x6b\x65\x79";$this->sanatations[]=${$hubpguxgs};break;}}}}}${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x73\x61\x68e\x74\x6e\x6b\x65i\x76"]="\x66iel\x64";$ryinttql="\x62i\x6e\x64\x73";if($this->serverValidate){${${"\x47L\x4f\x42\x41\x4cS"}["\x62\x62\x64\x62\x7a\x65berb\x67"]}=new jqValidator($this->validations,$this->sanatations);$validator->linebreak="\x3cb\x72/\x3e";if(!$validator->validate(${${"\x47\x4c\x4f\x42AL\x53"}["\x7a\x76\x77\x77\x68u\x66"]})){$this->errorMessage=$validator->getJSON();$this->sendErrorHeader();return false;}}if($this->serverSanitize){${"\x47\x4cO\x42\x41L\x53"}["\x6fu\x6d\x68\x65u\x6b"]="\x64a\x74\x61";if(!$this->serverValidate){${${"GL\x4f\x42\x41\x4c\x53"}["b\x62\x64\x62ze\x62\x65\x72\x62\x67"]}=new jqValidator($this->validations,$this->sanatations);}$wsfbaemrvenh="\x64at\x61";${$wsfbaemrvenh}=$validator->sanatize(${${"\x47LO\x42\x41L\x53"}["ou\x6dhe\x75\x6b"]});}${"GL\x4fBA\x4cS"}["\x66\x76\x6d\x77w\x65\x76\x72\x73"]="\x72e\x73\x75l\x74";${${"G\x4c\x4f\x42\x41\x4c\x53"}["t\x72\x76\x7a\x6exf\x6b\x74\x73"]}=array_keys($this->fields);${"\x47LOB\x41\x4c\x53"}["\x67\x6c\x72\x61\x6a\x76\x69f\x6d"]="\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6c\x64\x73";${${"G\x4cO\x42AL\x53"}["\x65\x6a\x61g\x74y\x68\x78b\x79"]}=array_intersect(${${"\x47L\x4f\x42\x41\x4cS"}["\x74r\x76znx\x66\x6bt\x73"]},array_keys(${${"\x47L\x4fB\x41LS"}["\x7a\x76ww\x68\x75\x66"]}));${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x66o\x71q\x63pc\x72\x76\x65"]="p\x6b";$moejxaotw="\x74\x32";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x6d\x7a\x62\x63\x66qq\x68\x6c"]}=array();${${"\x47LO\x42A\x4c\x53"}["v\x6csp\x75\x70\x65r\x6a"]}=array();${$rdhrkttcscek}=array();${${"\x47\x4c\x4fBA\x4cS"}["\x73\x66\x6f\x71\x71\x63\x70\x63r\x76e"]}=$this->getPrimaryKeyId();$pcemmhrsuq="re\x73ul\x74";foreach(${${"\x47\x4cO\x42\x41L\x53"}["\x65\x6aag\x74y\x68\x78\x62\x79"]} as${${"GL\x4fBAL\x53"}["\x6bo\x63hh\x69m\x71"]}=>${${"\x47\x4cO\x42\x41LS"}["\x77\x73\x61\x68\x65\x74\x6e\x6be\x69\x76"]}){${"\x47\x4cOBA\x4c\x53"}["\x62y\x6f\x74\x67\x62"]="\x64\x61\x74\x61";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x69\x6dg\x6c\x72\x6eif\x76"]="\x76\x61l\x75e";${${"G\x4cOB\x41L\x53"}["\x67nb\x74\x6b\x74\x63\x62\x61"]}=$this->fields[${${"GLOB\x41\x4cS"}["\x70\x69\x66yw\x70fnrm\x65"]}]["\x74\x79pe"];${"GL\x4f\x42\x41L\x53"}["\x62lji\x72\x66\x6ao\x75j"]="\x70\x6b";$kwzaak="\x76\x61l\x75\x65";${$kwzaak}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62yot\x67\x62"]}[${${"G\x4cOB\x41\x4c\x53"}["\x70\x69\x66\x79\x77\x70\x66nr\x6de"]}];if(strtolower($this->encoding)!="\x75tf-\x38"){$klgwfzfykiuo="\x76al\x75e";$beyvcctmeeu="\x76\x61\x6cu\x65";${$klgwfzfykiuo}=iconv("u\x74\x66-8",$this->encoding."//TRAN\x53\x4c\x49\x54",${$beyvcctmeeu});}${"\x47\x4c\x4f\x42\x41L\x53"}["\x77ub\x74\x6awi\x62\x72"]="\x66\x69\x65\x6c\x64";if(strtolower(${${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x64\x6f\x72\x76\x71d\x68\x6d"]})=="\x6e\x75ll"){${${"GL\x4f\x42\x41\x4cS"}["\x6a\x6c\x65\x62\x68\x70\x72\x77\x6d\x70"]}=NULL;}else if(trim(${${"G\x4c\x4f\x42\x41L\x53"}["\x6cim\x67\x6c\x72n\x69\x66v"]})==""){${"GL\x4f\x42\x41\x4c\x53"}["\x6f\x70\x67e\x72\x65i\x63k\x6f"]="\x76";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x70g\x65r\x65\x69\x63\x6bo"]}=${${"\x47LO\x42AL\x53"}["qdo\x72\x76\x71\x64\x68\x6d"]};}else{${"G\x4cOB\x41\x4cS"}["\x74\x6d\x6e\x76\x69q\x6b\x6f"]="\x76a\x6cu\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x72\x77e\x6a\x66\x69\x70\x6f\x6e"]="\x76";${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x78y\x72\x79\x61y\x6c\x74\x69"]="\x74\x69me\x66\x6dt";${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x72\x68\x64\x77\x69\x76"]="v\x61\x6c\x75\x65";${"\x47\x4cO\x42\x41L\x53"}["a\x6ec\x71\x69\x76\x65p\x65"]="\x76al\x75\x65";${"G\x4c\x4f\x42AL\x53"}["\x77\x65\x64p\x79\x71ct\x6d\x79f"]="va\x6c\x75\x65";${"\x47LOBA\x4cS"}["\x63\x63\x6ff\x73\x61\x6d\x67w\x6b"]="\x76";${"G\x4cO\x42\x41\x4c\x53"}["e\x78\x70\x79q\x72ee\x77\x74j"]="v\x61\x6c\x75\x65";${"GL\x4f\x42ALS"}["\x6dt\x6br\x6c\x72dsf\x69"]="v\x61lue";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x73\x61\x66pl"]="\x64\x61t\x65\x66\x6d\x74";${"\x47L\x4f\x42\x41L\x53"}["o\x6a\x64\x7a\x67b"]="v";${"\x47\x4cO\x42\x41L\x53"}["\x63jis\x77\x66\x7a\x71\x66\x64n"]="\x74\x69\x6d\x65fm\x74";switch(${${"GL\x4f\x42ALS"}["\x67n\x62\x74\x6btcba"]}){case"da\x74e":${${"\x47\x4c\x4fB\x41L\x53"}["\x78\x72we\x6a\x66i\x70\x6f\x6e"]}=${${"\x47\x4c\x4fB\x41L\x53"}["i\x73a\x66\x70\x6c"]}!=$this->dbdateformat?jqGridUtils::parseDate(${${"G\x4c\x4fB\x41\x4c\x53"}["\x71id\x6dv\x6fh\x66"]},${${"GLOB\x41LS"}["yr\x68d\x77\x69\x76"]},$this->dbdateformat):${${"\x47\x4c\x4fBALS"}["\x6d\x74k\x72\x6c\x72\x64s\x66\x69"]};break;case"\x64at\x65\x74\x69me":${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6aleb\x68\x70\x72wm\x70"]}=${${"G\x4c\x4fB\x41\x4cS"}["\x63jisw\x66z\x71\x66\x64\x6e"]}!=$this->dbtimeformat?jqGridUtils::parseDate(${${"\x47L\x4f\x42\x41\x4cS"}["h\x74\x76k\x77a\x6c\x66u"]},${${"\x47\x4cO\x42\x41\x4cS"}["\x61n\x63\x71\x69\x76\x65p\x65"]},$this->dbtimeformat):${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x65\x64\x70y\x71\x63\x74\x6dyf"]};break;case"ti\x6de":${${"\x47\x4c\x4f\x42\x41\x4cS"}["oj\x64\x7a\x67b"]}=jqGridUtils::parseDate(${${"\x47\x4c\x4fB\x41L\x53"}["n\x78\x79r\x79a\x79\x6c\x74i"]},${${"\x47LO\x42\x41L\x53"}["\x74m\x6ev\x69qk\x6f"]},"\x48:\x69:\x73");break;default:${${"\x47L\x4f\x42\x41L\x53"}["\x63\x63o\x66\x73\x61\x6d\x67w\x6b"]}=${${"\x47LOBA\x4c\x53"}["e\x78\x70\x79\x71\x72\x65\x65\x77\x74j"]};}if($this->decodeinput){${${"\x47L\x4fB\x41\x4cS"}["\x6ale\x62\x68p\x72\x77mp"]}=htmlspecialchars_decode(${${"\x47\x4cOBA\x4c\x53"}["jl\x65\x62h\x70r\x77\x6d\x70"]});}}$jtmcomhmdy="\x66\x69e\x6cd";${"\x47\x4c\x4f\x42\x41L\x53"}["k\x6df\x6e\x76x\x69"]="\x70\x6b";if(${$jtmcomhmdy}!=${${"\x47\x4cO\x42AL\x53"}["\x62lj\x69r\x66j\x6fu\x6a"]}){${"\x47\x4c\x4fBA\x4c\x53"}["l\x66\x70\x6b\x6ff\x71n\x67c\x70\x62"]="\x75\x70\x64\x61\x74\x65\x46\x69\x65l\x64\x73";${${"GL\x4f\x42AL\x53"}["\x6c\x66\x70\x6bo\x66\x71\x6egc\x70\x62"]}[]=${${"\x47L\x4f\x42\x41L\x53"}["\x70i\x66\x79\x77\x70f\x6e\x72\x6d\x65"]}." = ?";$wdfalltc="\x74";${"GLOB\x41L\x53"}["\x6d\x71\x66r\x65gg\x6b\x6f\x66p"]="t\x79\x70\x65\x73";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x6c\x73\x70\x75\x70\x65\x72\x6a"]}[]=${${"\x47\x4c\x4f\x42ALS"}["j\x6cebhpr\x77mp"]};${${"G\x4c\x4fBAL\x53"}["\x6d\x71\x66r\x65g\x67\x6b\x6ff\x70"]}[]=${$wdfalltc};}else if(${${"G\x4cO\x42A\x4cS"}["\x77u\x62\x74j\x77\x69\x62r"]}==${${"\x47L\x4f\x42AL\x53"}["k\x6d\x66\x6e\x76\x78\x69"]}){$qjpyxige="v2";$onkpiheoltx="\x74\x32";$gbwxgtlhey="v";${$qjpyxige}=${$gbwxgtlhey};${$onkpiheoltx}=${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x6e\x62tkt\x63b\x61"]};}unset(${${"\x47L\x4fB\x41\x4c\x53"}["j\x6c\x65\x62h\x70\x72w\x6dp"]});}${${"\x47L\x4f\x42\x41L\x53"}["\x66\x76\x6dw\x77\x65\x76rs"]}=false;if(!isset(${${"G\x4c\x4f\x42AL\x53"}["uh\x77\x6c\x6cd\x79\x72\x64\x74\x78"]})){$this->errorMessage="\x50ri\x6d\x61r\x79\x20k\x65y/va\x6c\x75\x65\x20i\x73 m\x69s\x73\x69\x6eg o\x72\x20is \x6e\x6f\x74\x20co\x72\x72e\x63tly\x20\x73\x65t!";$wlwywscjy="\x72\x65\x73\x75l\x74";if($this->showError){$this->sendErrorHeader();}return${$wlwywscjy};}${$ryinttql}[]=${${"\x47\x4cO\x42A\x4c\x53"}["\x75\x68\x77\x6cl\x64\x79r\x64\x74\x78"]};${${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x6f\x6f\x7a\x73c\x64"]}[]=${$moejxaotw};if(count(${${"\x47\x4c\x4fB\x41\x4cS"}["gl\x72\x61j\x76\x69\x66m"]})>0){$betkvxmlr="st\x6dt";$jrvdtmf="s\x71l";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x76\x6d\x6e\x6bb\x6bo\x70"]}="\x55\x50\x44\x41\x54\x45 ".$this->table." \x53E\x54 ".implode(",\x20",${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x75\x76\x74\x7ay\x73\x79\x72\x6a"]})." W\x48ER\x45\x20".${${"\x47L\x4f\x42\x41LS"}["\x64n\x74v\x74\x67\x63\x64\x69\x6c\x79\x76"]}."\x20\x3d\x20?";${${"\x47LO\x42\x41\x4cS"}["\x66\x62\x6f\x63j\x65\x79n"]}=$this->parseSql(${$jrvdtmf},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x6c\x73\x70up\x65\x72\x6a"]},false);if(${$betkvxmlr}){$hnxytfyez="st\x6d\x74";${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x6c\x7ahkcta\x65\x62\x79"]="\x74\x79p\x65\x73";$ybggbgrrfw="\x62\x69n\x64\x73";jqGridDB::bindValues(${$hnxytfyez},${$ybggbgrrfw},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6c\x7a\x68\x6bc\x74a\x65by"]});if($this->trans){try{${"GL\x4fB\x41\x4c\x53"}["n\x73\x6bj\x6cc\x72"]="r\x65\x73u\x6ct";jqGridDB::beginTransaction($this->pdo);${"\x47\x4c\x4f\x42\x41L\x53"}["w\x64\x6aj\x71t\x6c"]="\x72\x65\x74";${"\x47\x4c\x4fB\x41LS"}["\x66\x75\x76\x72o\x6f\x69\x65\x6e"]="\x72e\x73\x75lt";${${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x73\x6b\x6alcr"]}=$this->_actionsCRUDGrid("\x65\x64\x69\x74","be\x66o\x72\x65");if($this->debug){$ugenkcckdd="\x64\x61\x74a";$this->logQuery(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x76\x6d\x6e\x6bb\x6b\x6f\x70"]},${${"GL\x4f\x42\x41L\x53"}["\x76\x6cspu\x70\x65\x72\x6a"]},${${"G\x4cOBAL\x53"}["b\x6fo\x7asc\x64"]},${$ugenkcckdd},$this->fields,$this->primaryKey);}${"\x47LOB\x41\x4c\x53"}["\x70\x76\x76\x70\x6b\x62\x6c\x63\x74\x77"]="\x72\x65\x73\x75l\x74";${${"GL\x4fBA\x4c\x53"}["wd\x6ajq\x74\x6c"]}=false;if(${${"G\x4cO\x42\x41LS"}["\x66u\x76\x72\x6foi\x65\x6e"]}){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x76\x65\x72k\x66\x68gfe\x62"]}=jqGridDB::execute(${${"GLO\x42A\x4cS"}["\x66\x62\x6f\x63\x6a\x65\x79\x6e"]},${${"\x47L\x4f\x42AL\x53"}["vl\x73\x70u\x70e\x72j"]},$this->pdo);}${${"\x47\x4cO\x42A\x4c\x53"}["\x6ez\x72\x67yl\x6a\x6f"]}=${${"GL\x4f\x42\x41LS"}["\x76\x76\x65\x72k\x66\x68\x67\x66\x65b"]}?true:false;if(!${${"\x47\x4c\x4fB\x41LS"}["\x6e\x7arg\x79ljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}$ttcgfk="r\x65\x73\x75\x6c\x74";jqGridDB::closeCursor(($this->dbtype=="\x61dodb"||$this->dbtype=="iba\x73\x65")?${${"\x47\x4cO\x42A\x4c\x53"}["\x76\x76e\x72\x6b\x66h\x67f\x65\x62"]}:${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x62\x6fcj\x65y\x6e"]});if(${${"\x47\x4cOB\x41\x4c\x53"}["\x70v\x76p\x6bblc\x74\x77"]}){${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x7a\x72\x67y\x6c\x6a\x6f"]}=$this->_actionsCRUDGrid("e\x64\x69t","\x61fter");}if(${$ttcgfk}){${${"\x47L\x4fB\x41\x4c\x53"}["\x6ez\x72gyl\x6a\x6f"]}=jqGridDB::commit($this->pdo);}else{$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){jqGridDB::rollBack($this->pdo);${${"G\x4c\x4f\x42\x41LS"}["\x6e\x7a\x72\x67y\x6c\x6ao"]}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}else{try{${"\x47L\x4f\x42\x41L\x53"}["xha\x70\x69ojiwu\x74"]="re\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71q\x66\x64j\x63\x67\x6a\x63\x70\x72\x77"]="\x72\x65\x74";$lvqmturlxne="\x72\x65\x73\x75l\x74";${"G\x4cOBALS"}["k\x65c\x75\x72\x6ao\x64"]="r\x65\x73u\x6c\x74";${${"\x47LOB\x41\x4cS"}["\x6b\x65c\x75r\x6a\x6fd"]}=$this->_actionsCRUDGrid("\x65\x64\x69t","\x62ef\x6f\x72\x65");if($this->debug){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x76x\x73h\x67\x72"]="\x73\x71\x6c";$lnpneofj="\x62\x69\x6e\x64\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62h\x75\x66\x6c\x73\x68o\x65t"]="ty\x70\x65\x73";$this->logQuery(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x76x\x73\x68\x67r"]},${$lnpneofj},${${"\x47L\x4fB\x41\x4cS"}["\x62hufl\x73\x68\x6f\x65t"]},${${"\x47LO\x42A\x4c\x53"}["\x7avw\x77h\x75f"]},$this->fields,$this->primaryKey);}$kmliiy="\x72e\x73\x75l\x74";${"GL\x4f\x42A\x4c\x53"}["\x64\x6b\x77\x73\x6a\x65\x77h\x62"]="\x72\x65\x73u\x6c\x74";${${"\x47\x4cO\x42A\x4cS"}["\x76\x76\x65\x72\x6b\x66\x68g\x66\x65b"]}=false;if(${${"\x47LO\x42\x41\x4c\x53"}["nzrgy\x6cj\x6f"]}){${"\x47\x4cO\x42\x41L\x53"}["lq\x66\x61\x69\x63a"]="\x72\x65t";${${"G\x4cO\x42A\x4c\x53"}["l\x71fa\x69\x63a"]}=jqGridDB::execute(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x62\x6fc\x6a\x65yn"]},${${"\x47\x4cOB\x41L\x53"}["\x76ls\x70\x75\x70e\x72j"]},$this->pdo);}${$lvqmturlxne}=${${"\x47LO\x42A\x4cS"}["xh\x61\x70i\x6fj\x69\x77u\x74"]}?true:false;if(!${$kmliiy}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}jqGridDB::closeCursor(($this->dbtype=="\x61\x64od\x62"||$this->dbtype=="\x69\x62\x61se")?${${"G\x4c\x4fB\x41\x4c\x53"}["\x71\x71fd\x6a\x63gj\x63p\x72\x77"]}:${${"G\x4c\x4fB\x41LS"}["f\x62\x6f\x63\x6a\x65\x79n"]});if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x64k\x77\x73j\x65\x77h\x62"]}){$cyctisriirvg="r\x65\x73u\x6c\x74";${$cyctisriirvg}=$this->_actionsCRUDGrid("\x65\x64it","\x61f\x74\x65r");}if(!${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x7arg\x79ljo"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$cycdkjvznfmf="r\x65\x73\x75l\x74";${$cycdkjvznfmf}=false;if(!$this->errorMessage)$this->errorMessage=$e->getMessage();}}}else{$this->errorMessage="E\x72\x72\x6fr\x20\x77\x68en\x20p\x72\x65p\x61\x72i\x6eg \x61 U\x50DATE s\x74a\x74\x65\x6de\x6et!";}}else{$this->errorMessage="Da\x74\x61 p\x6f\x73\x74e\x64\x20\x64oes \x6eo\x74\x20ma\x74ch\x20u\x70d\x61\x74\x65\x20fie\x6cds\x21";}if($this->debug){$this->debugout();}if($this->showError&&!${$pcemmhrsuq}){$this->sendErrorHeader();}return${${"GL\x4fB\x41\x4cS"}["nz\x72\x67\x79\x6c\x6a\x6f"]};}public function getLastInsertId(){return$this->lastId;}public function delete(array$data,$where='',array$params=null){${"\x47\x4c\x4f\x42\x41LS"}["h\x67y\x76\x6f\x6c\x72\x75y"]="\x72\x65s\x75\x6ct";${${"\x47\x4c\x4f\x42A\x4c\x53"}["hg\x79v\x6f\x6cru\x79"]}=false;if(!$this->del){$faspccefjty="r\x65sul\x74";return${$faspccefjty};}if(!$this->checkPrimary()){$sthxxmbabg="res\x75lt";return${$sthxxmbabg};}$kifnalsnv="id\x65";$vxabbvch="\x64\x61\x74\x61";$fvymqjjmta="\x69\x64\x65";${$fvymqjjmta}=null;${${"\x47L\x4fB\x41\x4c\x53"}["v\x6c\x73\x70\x75\x70\x65\x72\x6a"]}=array(&${$kifnalsnv});${${"\x47L\x4f\x42A\x4cS"}["\x62o\x6f\x7as\x63d"]}=array();${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x73\x6a\x6an\x7a\x66f\x61\x63\x67\x79"]}=strpos($this->dbtype,"od\x62\x63");if(count(${$vxabbvch})>0){$kgprdaeg="\x73\x74m\x74";${"GLO\x42ALS"}["\x70g\x67\x78\x79z\x67"]="\x77he\x72\x65";$urwhfkmo="\x74y\x70e\x73";if(${${"\x47L\x4fB\x41\x4cS"}["p\x67\x67\x78\x79\x7a\x67"]}&&strlen(${${"\x47\x4c\x4f\x42A\x4cS"}["ykd\x67z\x76\x68v\x6f\x67w\x64"]})>0){$cvpmbndubb="s\x74\x6dt";${"\x47L\x4fB\x41\x4c\x53"}["\x72t\x6c\x73s\x68h\x72\x76h"]="\x77\x68e\x72e";${"G\x4c\x4fB\x41\x4c\x53"}["n\x6a\x69k\x6c\x65"]="deli\x64\x73";${${"GL\x4fB\x41\x4c\x53"}["\x6flq\x64\x74\x6a\x6e"]}="";${${"G\x4cO\x42\x41L\x53"}["\x78\x76\x6d\x6e\x6b\x62\x6bo\x70"]}="DE\x4cE\x54E \x46\x52\x4fM ".$this->table." \x57HERE\x20".${${"GL\x4fB\x41L\x53"}["rt\x6c\x73s\x68hrv\x68"]};$yqbvxecyp="\x63\x75\x73\x74\x6f\x6d";${$cvpmbndubb}=$this->parseSql(${${"GL\x4fB\x41\x4c\x53"}["\x78\x76\x6dnk\x62\x6b\x6f\x70"]},${${"\x47LOB\x41LS"}["\x6c\x71\x73\x68x\x69\x76"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ej\x69kl\x65"]}="";${$yqbvxecyp}=true;}else{$bwqotkrgvh="o\x64\x62\x63";${"\x47\x4cO\x42\x41L\x53"}["rsf\x65d\x72"]="\x69\x64";${"G\x4c\x4fBAL\x53"}["\x77\x72\x66\x79\x77\x78\x72\x6ep"]="\x69d";${"G\x4cO\x42\x41\x4c\x53"}["\x6er\x64\x74\x6ds\x77\x63\x75"]="\x69\x64";$mmzssnwn="\x69\x64";$ppoifw="\x73\x71\x6c";${$mmzssnwn}=$this->getPrimaryKeyId();if(!isset(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7a\x76\x77\x77h\x75\x66"]}[${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6er\x64\x74\x6d\x73w\x63\x75"]}])){$this->errorMessage="M\x69\x73sed da\x74\x61\x20id va\x6c\x75\x65\x20t\x6f\x20\x70\x65rform de\x6ce\x74\x65!";if($this->showError){$this->sendErrorHeader();}$mhsqpvr="r\x65\x73\x75\x6c\x74";return${$mhsqpvr};}${$ppoifw}="DELETE \x46\x52O\x4d ".$this->table." WH\x45R\x45\x20".${${"\x47L\x4f\x42A\x4c\x53"}["\x77\x72\x66y\x77\x78\x72\x6e\x70"]}."=?";${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x62o\x63\x6a\x65yn"]}=${$bwqotkrgvh}===false?$this->parseSql(${${"\x47\x4c\x4fB\x41\x4cS"}["\x78v\x6dnkb\x6b\x6fp"]},${${"\x47\x4c\x4f\x42ALS"}["\x76\x6cs\x70\x75\x70e\x72\x6a"]},false):true;${${"\x47\x4cO\x42\x41LS"}["o\x6a\x78\x6c\x72\x66a\x76\x72"]}=explode(",",${${"G\x4c\x4fB\x41\x4c\x53"}["\x7a\x76w\x77h\x75\x66"]}[${${"G\x4c\x4f\x42A\x4c\x53"}["\x72\x73f\x65\x64\x72"]}]);${${"\x47\x4cOB\x41\x4c\x53"}["\x67\x62ex\x6e\x6c\x62k\x6e"]}=false;}${$urwhfkmo}[0]="cu\x73t\x6f\x6d";if(${$kgprdaeg}){if($this->trans){try{$kolapidb="\x72\x65\x73u\x6c\x74";jqGridDB::beginTransaction($this->pdo);${$kolapidb}=$this->_actionsCRUDGrid("del","\x62\x65\x66\x6fre");if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["gb\x65\x78nl\x62k\x6e"]}){$rtkjfwridej="p\x61\x72a\x6ds";$gyocrkk="\x72\x65s\x75\x6c\x74";if($this->debug){$fikrcfv="da\x74\x61";$jweirtysyv="\x70a\x72a\x6d\x73";$this->logQuery(${${"\x47L\x4fBA\x4c\x53"}["\x78\x76\x6dn\x6b\x62ko\x70"]},${$jweirtysyv},false,${$fikrcfv},null,$this->primaryKey);}${$gyocrkk}=jqGridDB::execute(${${"GL\x4f\x42A\x4cS"}["\x66\x62\x6f\x63\x6ae\x79n"]},${$rtkjfwridej},$this->pdo);if(${${"G\x4cOBA\x4c\x53"}["\x6e\x7ar\x67\x79\x6c\x6a\x6f"]}){${"GL\x4f\x42\x41LS"}["h\x78\x6b\x6d\x71\x76q"]="\x73\x74mt";jqGridDB::closeCursor(($this->dbtype=="a\x64o\x64\x62"||$this->dbtype=="iba\x73e")?${${"GLO\x42A\x4c\x53"}["\x6e\x7ar\x67\x79\x6c\x6a\x6f"]}:${${"\x47LO\x42\x41\x4c\x53"}["hx\x6bm\x71\x76\x71"]});}}else{foreach(${${"G\x4c\x4f\x42AL\x53"}["\x6fj\x78l\x72\x66av\x72"]} as${${"G\x4c\x4f\x42\x41\x4cS"}["\x67\x63u\x79\x6f\x67\x67"]}=>${${"\x47\x4cO\x42AL\x53"}["\x76\x72\x67\x7a\x75j\x6b\x68t\x69\x75b"]}){${"\x47\x4c\x4f\x42AL\x53"}["\x76h\x77l\x70r\x6fvmr\x6fg"]="\x6fd\x62\x63";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fjx\x6c\x72\x66a\x76r"]}[${${"GL\x4f\x42\x41\x4c\x53"}["\x67\x63\x75\x79\x6f\x67\x67"]}]=trim(${${"G\x4cO\x42A\x4c\x53"}["o\x6ax\x6c\x72f\x61\x76r"]}[${${"GL\x4f\x42\x41\x4c\x53"}["\x67c\x75\x79\x6f\x67\x67"]}]);${${"GL\x4f\x42A\x4cS"}["v\x6c\x73p\x75p\x65r\x6a"]}[0]=&${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["oj\x78\x6cr\x66av\x72"]}[${${"\x47L\x4fB\x41\x4c\x53"}["\x67\x63\x75y\x6fgg"]}];if($this->debug){${"\x47L\x4fB\x41\x4cS"}["v\x75\x66\x6aws\x75"]="\x74y\x70\x65\x73";$breyvgbrgwn="b\x69\x6e\x64\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x69htkl\x63"]="\x73\x71l";$this->logQuery(${${"\x47LO\x42AL\x53"}["ji\x68\x74k\x6cc"]},${$breyvgbrgwn},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x75\x66j\x77\x73\x75"]},${${"\x47\x4cOB\x41\x4cS"}["\x7av\x77\x77h\x75\x66"]},$this->fields,$this->primaryKey);}$arfdho="r\x65\x73u\x6c\x74";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76h\x77\x6c\x70\x72ov\x6d\x72o\x67"]}===false){${"\x47L\x4f\x42\x41L\x53"}["\x68\x65h\x79\x6b\x6e"]="s\x74\x6dt";${"GLO\x42A\x4cS"}["\x79o\x6e\x77v\x74\x65\x74\x75\x67\x6f"]="\x62\x69n\x64s";jqGridDB::bindValues(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x62\x6f\x63\x6a\x65\x79n"]},${${"\x47L\x4f\x42\x41LS"}["\x76\x6cs\x70u\x70\x65r\x6a"]},${${"\x47\x4c\x4fB\x41L\x53"}["\x62\x6f\x6fz\x73\x63\x64"]});${${"\x47L\x4fBA\x4cS"}["\x6e\x7a\x72\x67y\x6c\x6a\x6f"]}=jqGridDB::execute(${${"G\x4cO\x42\x41\x4c\x53"}["\x68\x65\x68y\x6bn"]},${${"\x47LO\x42A\x4c\x53"}["\x79\x6fn\x77\x76\x74e\x74u\x67\x6f"]},$this->pdo);}else{$chmwhvraovxx="\x62\x69\x6ed\x73";${"\x47L\x4f\x42\x41\x4cS"}["\x74\x73qs\x74\x78"]="\x73\x74mt";$joqhubyklqj="\x73ql";${"G\x4cO\x42\x41\x4cS"}["\x69\x74lxd\x76ze\x6b\x67"]="\x73\x74\x6dt";$fdnudxs="\x73\x74\x6d\x74";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x73\x71\x73t\x78"]}=jqGridDB::prepare($this->pdo,${$joqhubyklqj},${${"G\x4c\x4f\x42\x41LS"}["\x76\x6c\x73p\x75\x70er\x6a"]},false,false);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ez\x72\x67y\x6c\x6a\x6f"]}=jqGridDB::execute(${$fdnudxs},${$chmwhvraovxx},$this->pdo);if(!${${"GL\x4f\x42A\x4c\x53"}["n\x7a\x72\x67\x79l\x6a\x6f"]}){break;}jqGridDB::closeCursor(${${"\x47\x4c\x4f\x42ALS"}["i\x74\x6c\x78dv\x7aek\x67"]});}if(!${$arfdho}){break;}unset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6c\x73\x70u\x70er\x6a"]}[0]);}if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66s\x6ajn\x7a\x66fa\x63g\x79"]}===false&&${${"G\x4c\x4fB\x41\x4c\x53"}["\x6e\x7a\x72g\x79\x6c\x6a\x6f"]}){jqGridDB::closeCursor(($this->dbtype=="\x61d\x6fd\x62"||$this->dbtype=="\x69\x62a\x73e")?${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x7a\x72g\x79l\x6ao"]}:${${"\x47\x4cO\x42A\x4c\x53"}["\x66\x62o\x63j\x65\x79\x6e"]});}}${${"\x47\x4cOB\x41\x4cS"}["\x76ve\x72\x6b\x66h\x67\x66\x65\x62"]}=${${"\x47\x4c\x4f\x42\x41LS"}["n\x7a\x72g\x79\x6c\x6a\x6f"]}?true:false;if(${${"GL\x4fB\x41\x4c\x53"}["\x76\x76\x65\x72k\x66\x68gf\x65\x62"]}){${${"\x47LO\x42\x41L\x53"}["\x6e\x7a\x72\x67y\x6cj\x6f"]}=$this->_actionsCRUDGrid("\x64\x65\x6c","\x61ft\x65\x72");}else{${${"\x47L\x4f\x42\x41LS"}["\x6e\x7a\x72\x67\x79\x6cj\x6f"]}=false;}if(${${"\x47\x4cOB\x41LS"}["\x6e\x7a\x72\x67\x79\x6c\x6ao"]}){jqGridDB::commit($this->pdo);}else{$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){${"\x47\x4c\x4f\x42\x41L\x53"}["tj\x69cx\x70ex\x6e\x6a"]="\x72\x65s\x75\x6c\x74";jqGridDB::rollBack($this->pdo);${${"\x47\x4c\x4f\x42\x41L\x53"}["tj\x69\x63xp\x65\x78nj"]}=false;if(!$this->errorMessage)$this->errorMessage=$e->getMessage();}}else{try{${"\x47\x4cO\x42\x41LS"}["wy\x6c\x68i\x75h\x79\x66"]="\x72\x65\x73\x75\x6ct";${"GL\x4f\x42\x41\x4cS"}["\x70\x65\x79\x75\x6cn\x6cx\x62"]="res\x75\x6c\x74";${${"\x47L\x4f\x42\x41\x4cS"}["\x70\x65\x79uln\x6c\x78\x62"]}=$this->_actionsCRUDGrid("\x64e\x6c","\x62\x65\x66\x6fre");if(${${"\x47\x4cO\x42\x41\x4c\x53"}["nz\x72\x67yl\x6a\x6f"]}){if(${${"G\x4cO\x42\x41\x4c\x53"}["\x67\x62\x65\x78\x6elbk\x6e"]}){${"\x47\x4cOB\x41LS"}["ya\x79\x68\x6a\x6d\x62"]="s\x74\x6dt";$etmvsth="\x70\x61\x72a\x6ds";${${"\x47LO\x42\x41L\x53"}["n\x7a\x72\x67\x79\x6c\x6a\x6f"]}=jqGridDB::execute(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x61y\x68\x6am\x62"]},${$etmvsth},$this->pdo);if(${${"\x47\x4cO\x42A\x4c\x53"}["nz\x72g\x79\x6c\x6ao"]}){jqGridDB::closeCursor(($this->dbtype=="\x61\x64\x6fd\x62"||$this->dbtype=="\x69\x62\x61s\x65")?${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["nz\x72\x67yl\x6a\x6f"]}:${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x62\x6f\x63\x6a\x65\x79\x6e"]});}}else{${"G\x4c\x4fB\x41\x4c\x53"}["y\x78\x78p\x73iu"]="de\x6c\x69\x64\x73";${"\x47\x4c\x4f\x42AL\x53"}["\x72\x69\x66\x69\x77n"]="\x6f\x64\x62\x63";$qvvmfrivvlo="\x72e\x73\x75l\x74";$somzxyb="\x69";foreach(${${"GLO\x42\x41L\x53"}["y\x78\x78\x70\x73iu"]} as${$somzxyb}=>${${"\x47\x4cO\x42A\x4c\x53"}["v\x72g\x7a\x75jk\x68\x74iu\x62"]}){$hoktkurogfe="\x69";${"\x47L\x4f\x42A\x4c\x53"}["xv\x63d\x74\x62\x63\x63\x68"]="\x64el\x69d\x73";${"\x47\x4cO\x42\x41\x4cS"}["\x75\x6f\x62w\x73\x63"]="\x69";${"\x47\x4c\x4f\x42AL\x53"}["lo\x66w\x74\x78f"]="\x64\x65\x6c\x69\x64\x73";${${"G\x4c\x4f\x42A\x4c\x53"}["\x78\x76\x63\x64\x74\x62\x63c\x68"]}[${${"GLOBA\x4c\x53"}["\x75\x6fbwsc"]}]=trim(${${"\x47L\x4f\x42\x41\x4cS"}["\x6fjxl\x72\x66av\x72"]}[${${"GL\x4f\x42\x41\x4c\x53"}["\x67c\x75\x79\x6f\x67\x67"]}]);${${"\x47\x4cOBA\x4c\x53"}["\x76\x6c\x73p\x75p\x65\x72j"]}[0]=&${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x6f\x66\x77t\x78\x66"]}[${$hoktkurogfe}];if($this->debug){${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x66\x71\x68\x6f\x78\x67\x66\x6e"]="\x64\x61\x74\x61";$rzdhkydydng="bi\x6eds";${"\x47L\x4f\x42\x41\x4c\x53"}["\x64m\x73k\x63\x66\x70h"]="sq\x6c";$this->logQuery(${${"\x47LOB\x41\x4c\x53"}["dm\x73k\x63f\x70h"]},${$rzdhkydydng},${${"\x47\x4c\x4f\x42\x41L\x53"}["bo\x6f\x7as\x63d"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["o\x66\x71ho\x78gf\x6e"]},$this->fields,$this->primaryKey);}if(${${"\x47\x4c\x4fB\x41L\x53"}["\x66\x73j\x6a\x6e\x7a\x66\x66acg\x79"]}===false){$wwqcdsbss="b\x69\x6eds";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x67\x62p\x78\x79\x6cb\x65\x6f\x68\x63"]="\x74ypes";$fzicrubt="\x73t\x6d\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x70\x6dk\x64\x66\x76\x70\x69\x79"]="\x62\x69\x6ed\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["m\x68\x75yl\x66\x72"]="\x73\x74m\x74";jqGridDB::bindValues(${${"\x47LOBA\x4c\x53"}["\x6d\x68\x75\x79\x6c\x66\x72"]},${$wwqcdsbss},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77gbp\x78\x79\x6cb\x65\x6fh\x63"]});${${"\x47\x4cO\x42ALS"}["n\x7argy\x6c\x6ao"]}=jqGridDB::execute(${$fzicrubt},${${"\x47\x4c\x4fBA\x4cS"}["\x6cp\x6d\x6b\x64\x66\x76\x70\x69\x79"]},$this->pdo);}else{${"\x47\x4c\x4fBA\x4c\x53"}["j\x75\x79d\x62\x6e\x75vo\x6di"]="r\x65su\x6c\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71nsr\x6d\x72\x65zqrt"]="\x73tmt";${"\x47\x4c\x4fBA\x4c\x53"}["w\x6as\x6b\x66w\x78\x71\x78\x6b"]="r\x65s\x75lt";${${"\x47\x4c\x4fBAL\x53"}["qn\x73r\x6d\x72\x65z\x71\x72\x74"]}=jqGridDB::prepare($this->pdo,${${"\x47\x4cOB\x41LS"}["\x78\x76\x6d\x6e\x6bbk\x6f\x70"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x6c\x73\x70\x75pe\x72\x6a"]},false,false);${${"\x47\x4cOBA\x4cS"}["\x6au\x79\x64\x62n\x75v\x6f\x6d\x69"]}=jqGridDB::execute(${${"\x47\x4cOB\x41\x4c\x53"}["\x66b\x6f\x63jeyn"]},${${"\x47LO\x42\x41\x4c\x53"}["\x76\x6c\x73\x70\x75p\x65\x72\x6a"]},$this->pdo);if(${${"G\x4cO\x42\x41\x4c\x53"}["w\x6a\x73\x6b\x66\x77\x78q\x78\x6b"]}){jqGridDB::closeCursor(${${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x62\x6fcj\x65\x79n"]});}}if(!${${"\x47\x4c\x4fBAL\x53"}["nzr\x67ylj\x6f"]}){break;}unset(${${"\x47\x4c\x4fB\x41L\x53"}["\x76ls\x70u\x70\x65\x72j"]}[0]);}if(${${"\x47LOBALS"}["\x72\x69\x66i\x77\x6e"]}==false&&${$qvvmfrivvlo}){$qsidnko="\x73\x74\x6d\x74";jqGridDB::closeCursor(($this->dbtype=="a\x64o\x64\x62"||$this->dbtype=="i\x62as\x65")?${${"G\x4cOBA\x4c\x53"}["\x6e\x7a\x72\x67y\x6c\x6ao"]}:${$qsidnko});}}}${${"\x47L\x4f\x42\x41LS"}["\x76\x76\x65\x72kf\x68\x67f\x65b"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x77y\x6ch\x69uh\x79\x66"]}?true:false;if(${${"\x47\x4c\x4fB\x41LS"}["v\x76\x65r\x6bf\x68\x67\x66\x65\x62"]}){${"\x47\x4cO\x42A\x4c\x53"}["\x74\x6ch\x6a\x62\x7a\x77\x74"]="\x72es\x75\x6c\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74lhj\x62\x7a\x77\x74"]}=$this->_actionsCRUDGrid("del","\x61\x66ter");}else{$shrfxsggqme="\x72\x65\x73\x75\x6c\x74";${$shrfxsggqme}=false;}if(!${${"\x47\x4cO\x42A\x4c\x53"}["n\x7a\x72\x67\x79lj\x6f"]}){$this->errorMessage=jqGridDB::errorMessage($this->pdo);throw new Exception($this->errorMessage);}}catch(Exception$e){$opktheeygeae="r\x65\x73\x75l\x74";${$opktheeygeae}=false;if(!$this->errorMessage){$this->errorMessage=$e->getMessage();}}}}}if($this->debug){$this->debugout();}if($this->showError&&!${${"\x47\x4c\x4fBA\x4c\x53"}["n\x7a\x72\x67\x79lj\x6f"]}){$this->sendErrorHeader();}return${${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x7ar\x67\x79\x6c\x6a\x6f"]};}protected function checkPrimary(){${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ez\x72\x67\x79\x6c\x6a\x6f"]}=true;${${"\x47\x4c\x4f\x42A\x4cS"}["\x63kerk\x7a\x6cb"]}="\x50r\x69m\x61ry\x20\x6b\x65\x79\x20ca\x6e\x20not\x20b\x65\x20\x66\x6fu\x6ed\x21";$efixsfig="r\x65s\x75l\x74";if(strlen(trim($this->table))>0&&!$this->primaryKey){$this->primaryKey=jqGridDB::getPrimaryKey($this->table,$this->pdo,$this->dbtype);if(!$this->primaryKey){$jiqtgxm="er\x72\x6d\x73g";$this->errorMessage=${$jiqtgxm}."\x20".jqGridDB::errorMessage($this->pdo);${${"GL\x4f\x42\x41LS"}["\x6ez\x72\x67\x79\x6c\x6a\x6f"]}=false;}}if($this->showError&&!${${"G\x4cO\x42A\x4cS"}["\x6e\x7a\x72\x67\x79ljo"]}){$this->sendErrorHeader();}return${$efixsfig};}public function editGrid(array$summary=null,array$params=null,$oper=false,$echo=true){$pvbjktggef="\x70\x61ra\x6d\x73";$stnycljb="\x6f\x70\x65\x72";$gpevrr="\x64\x61\x74\x61";$wekmmsuanoky="o\x70\x65\x72";${"\x47L\x4f\x42\x41\x4cS"}["sg\x6d\x6a\x6d\x7a\x79v\x64p"]="\x64a\x74\x61";if(!${$stnycljb}){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dn\x75u\x76h\x75\x64"]}=$this->oper?$this->oper:"gr\x69\x64";}switch(${$wekmmsuanoky}){case$this->GridParams["e\x64\x69\x74\x6f\x70er"]:${$gpevrr}=strtolower($this->mtype)=="p\x6f\x73\x74"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->update(${${"G\x4c\x4fBA\x4cS"}["\x7avw\x77\x68uf"]})){if($this->successmsg){echo$this->successmsg;}}break;case$this->GridParams["a\x64\x64o\x70\x65r"]:${${"G\x4c\x4f\x42\x41\x4c\x53"}["z\x76\x77w\x68uf"]}=strtolower($this->mtype)=="p\x6f\x73t"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->insert(${${"\x47\x4cO\x42\x41L\x53"}["\x73\x67mjm\x7a\x79\x76\x64p"]})){if($this->getLastInsert){echo$this->getPrimaryKeyId()."#".$this->lastId;}else{if($this->successmsg){echo$this->successmsg;}}}break;case$this->GridParams["\x64\x65lope\x72"]:${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["z\x76\x77\x77\x68\x75f"]}=strtolower($this->mtype)=="p\x6f\x73t"?jqGridUtils::Strip($_POST):jqGridUtils::Strip($_GET);if($this->delete(${${"\x47LO\x42A\x4cS"}["z\x76ww\x68\x75\x66"]})){if($this->successmsg){echo$this->successmsg;}}break;default:return$this->queryGrid(${${"G\x4cOB\x41\x4c\x53"}["\x6c\x68\x79t\x6fd"]},${$pvbjktggef},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x64\x6a\x75\x66\x69"]});}}}
?>

Function Calls

None

Variables

None

Stats

MD5 a332e67f9c82537c4d302c6da9eb343c
Eval Count 0
Decode Time 142 ms