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 ${"\x47LOBA\x4c\x53"}["\x68l\x6du\x6bl\x72\x6b"]="js\x6fn";${"\x47\x4cOB\x41\x4c\x53..
Decoded Output download
<?php ${"GLOBALS"}["hlmuklrk"]="json";${"GLOBALS"}["xxfddisvu"]="values";${"GLOBALS"}["xwurbxevfj"]="fieldname";${"GLOBALS"}["pnxlprma"]="ret";${"GLOBALS"}["eipipdts"]="attributeName";${"GLOBALS"}["aalqbpbdwnj"]="e";${"GLOBALS"}["rsqkjurmw"]="sql";${"GLOBALS"}["futwfldbicrs"]="value";${"GLOBALS"}["tumscnhm"]="key";${"GLOBALS"}["kmnmild"]="unknownExceptionMessage";${"GLOBALS"}["dctbxqpmsas"]="done";${"GLOBALS"}["teglroqut"]="query";${"GLOBALS"}["yeimqhyxmy"]="return";${"GLOBALS"}["mraflcqtmng"]="returnId";${"GLOBALS"}["fiuhcvtwl"]="data";${"GLOBALS"}["yvbupmybxxtm"]="name";${"GLOBALS"}["nwrpert"]="atsetsTable";${"GLOBALS"}["mvccyjnko"]="jsondata";${"GLOBALS"}["nmomhgjia"]="akey";${"GLOBALS"}["dyhfggf"]="importProfile";${"GLOBALS"}["jncurhvnt"]="importProfileCode";${"GLOBALS"}["rwdpfbrqa"]="arrkeys";${"GLOBALS"}["blelxpgvzlr"]="enabled";${"GLOBALS"}["ewrrick"]="atmandval";${"GLOBALS"}["juwpgu"]="useForViewForm";${"GLOBALS"}["hitqehqdwix"]="wysiwyg";${"GLOBALS"}["yrwjmnvpjqw"]="i";${"GLOBALS"}["pqdvaucxojl"]="dbattributes";${"GLOBALS"}["jvoqoc"]="delstmt";${"GLOBALS"}["ojqlwsh"]="restoreQueryString";${"GLOBALS"}["mthxpero"]="arrkeysString";${"GLOBALS"}["vhjxpsxxte"]="attributes";${"GLOBALS"}["aeunmwqtir"]="importProfiles";${"GLOBALS"}["msyvvtwnnw"]="rows";${"GLOBALS"}["djngctemp"]="attSetId";${"GLOBALS"}["rotsqslxde"]="attributeSet";${"GLOBALS"}["cdpjjs"]="foundInDb";${"GLOBALS"}["btmfhnlbde"]="attributeSets";${"GLOBALS"}["jcegugiiglw"]="pTable";${"GLOBALS"}["zfkjpvz"]="stm";${"GLOBALS"}["lfsffnyaagwi"]="lasterr";${"GLOBALS"}["pmyipg"]="date";${"GLOBALS"}["xlmljicpls"]="conf_ok";${"GLOBALS"}["mzfrcovodypx"]="eplconf";${"GLOBALS"}["sujdit"]="profile";${"GLOBALS"}["nmusrroywj"]="cansock";${"GLOBALS"}["fvoserdmlo"]="dmysqlsock";${"GLOBALS"}["juoayxftxvu"]="conf";${"GLOBALS"}["evmewykcvb"]="loc";${"GLOBALS"}["zmsonfwumlk"]="userDefinedAttsAppend";${"GLOBALS"}["oilnsc"]="userDefinedAtts";${"GLOBALS"}["ugkvtzmnlj"]="apiURL";${"GLOBALS"}["rgptaugqtsdf"]="unserializedFieldsArr";${"GLOBALS"}["kjvlxouneex"]="apiUrlBS";Class configController Extends baseController{public$model;protected$tpl;function __construct($registry){${"GLOBALS"}["uylfjrnrq"]="registry";if(parent::__construct(${${"GLOBALS"}["uylfjrnrq"]})){$mwlehnnnra="apiURL";${$mwlehnnnra}=$this->registry->emveeApiUrl;${${"GLOBALS"}["kjvlxouneex"]}=$this->registry->emveeApiUrlBS;$this->tpl=$this->registry->template;$this->tpl->loadClass("config");$this->model=new Config($this->registry);${${"GLOBALS"}["rgptaugqtsdf"]}="";try{${"GLOBALS"}["vhuovqsu"]="apiUrlBS";$rlceuracvxdg="unserializedFieldsArr";${$rlceuracvxdg}=unserialize($this->utils->getFieldsInfoFromApi(array(${${"GLOBALS"}["ugkvtzmnlj"]},${${"GLOBALS"}["vhuovqsu"]})));}catch(Exception$e){$this->tpl->addLogBeforeLoad("There was an error while retrieving or unserializing the fields data. Please try again and make sure your hosts supports the PHP unserialize function. If this error keeps popping up, contact us for help. Please copy below error message too<br/><br/>".$e->getMessage(),"error");}try{$vbtheyvbsrgm="userDefinedAttsAppend";${${"GLOBALS"}["oilnsc"]}=$this->db->getUserDefinedAtts();${$vbtheyvbsrgm}=$this->db->getAttributesInfoFromMagento(${${"GLOBALS"}["oilnsc"]});}catch(Exception$e){$fcsswfyym="userDefinedAttsAppend";if(__DEBUG)echo$e->getMessage();${${"GLOBALS"}["oilnsc"]}=array();${$fcsswfyym}=array();}$this->model->fieldsArray=array_merge(${${"GLOBALS"}["rgptaugqtsdf"]},${${"GLOBALS"}["zmsonfwumlk"]});}else{$peeqokjfmx="loc";${$peeqokjfmx}=$this->registry->madminbase;header("location: ".${${"GLOBALS"}["evmewykcvb"]});}}public function index(){${${"GLOBALS"}["juoayxftxvu"]}=Magmi_Config::getInstance();${"GLOBALS"}["tjbfqacrvq"]="conf_ok";${"GLOBALS"}["cbkkfwjqj"]="cansock";$conf->load();${${"GLOBALS"}["tjbfqacrvq"]}=1;${"GLOBALS"}["hvstteqlctv"]="profile";${${"GLOBALS"}["cbkkfwjqj"]}=true;$kghghxwrh="profile";${${"GLOBALS"}["fvoserdmlo"]}=DBHelper::getMysqlSocket();${${"GLOBALS"}["nmusrroywj"]}=!(${${"GLOBALS"}["fvoserdmlo"]}===false);${${"GLOBALS"}["sujdit"]}="";if(isset($_REQUEST["profile"])){${${"GLOBALS"}["sujdit"]}=$_REQUEST["profile"];}else{if(isset($_SESSION["last_runned_profile"])){$jdushhkrcb="profile";${$jdushhkrcb}=$_SESSION["last_runned_profile"];}}if(${${"GLOBALS"}["hvstteqlctv"]}==""){${${"GLOBALS"}["sujdit"]}="default";}${${"GLOBALS"}["mzfrcovodypx"]}=new EnabledPlugins_Config(${$kghghxwrh});$eplconf->load();${"GLOBALS"}["hfwjiqqusei"]="profile";if(!$eplconf->hasSection("PLUGINS_DATASOURCES")){${${"GLOBALS"}["xlmljicpls"]}=0;}$this->tpl->profile=${${"GLOBALS"}["hfwjiqqusei"]};$this->tpl->conf=${${"GLOBALS"}["juoayxftxvu"]};$this->tpl->conf_ok=${${"GLOBALS"}["xlmljicpls"]};if(isset($_REQUEST["check"])&&$_REQUEST["check"]==1)$this->tpl->checkStatus=true;else$this->tpl->checkStatus=false;$this->tpl->show("configIndex");}public function save(){${"GLOBALS"}["wekipwot"]="conf";${${"GLOBALS"}["wekipwot"]}=Magmi_Config::getInstance();if($conf->save($_POST)){${${"GLOBALS"}["pmyipg"]}=filemtime($conf->getConfFile());${"GLOBALS"}["ojtelswr"]="date";$this->tpl->addLogAfterLoad("Common Configuration saved (".strftime("%c",${${"GLOBALS"}["ojtelswr"]}).")","info");}else{${${"GLOBALS"}["lfsffnyaagwi"]}=error_get_last();$this->tpl->addLogAfterLoad("Something has gone wrong".${${"GLOBALS"}["lfsffnyaagwi"]}["message"],"error");}}public function checkDbConf(){${"GLOBALS"}["tjemcmumpb"]="pTable";${${"GLOBALS"}["tjemcmumpb"]}=$this->registry->magTableForCheck;${${"GLOBALS"}["zfkjpvz"]}="SELECT entity_id FROM $pTableRep y LIMIT 1";if($this->db->constructed){$this->tpl->addLogAfterLoad("Congrats! We were able to connect to your database and retrieve data, you are done now.","info");}else{$this->tpl->addLogAfterLoad("Unfortunately it seems like your settings are not complete. Please make sure you have entered the right database details and saved your configuration. Don`t forget to add your table prefix if you are using one.","error");}}public function productform(){$ztaqggsmpuu="attributeSets";${${"GLOBALS"}["jcegugiiglw"]}=$this->registry->productConfTable;${$ztaqggsmpuu}=array();try{${${"GLOBALS"}["btmfhnlbde"]}=$this->db->getAttributeSets();$this->tpl->attributeSets=${${"GLOBALS"}["btmfhnlbde"]};}catch(PDOException$e){$this->tpl->attributeSets=${${"GLOBALS"}["btmfhnlbde"]};$this->tpl->addLogBeforeLoad("Error while retrieving attributesets, details:".$e->getMessage(),"install");}try{${"GLOBALS"}["rckndff"]="attSetId";$lpaqmiw="attSetId";${"GLOBALS"}["kmylxjwwmpr"]="rows";${${"GLOBALS"}["rckndff"]}=isset($_GET["attset"])?$_GET["attset"]:-1;${${"GLOBALS"}["cdpjjs"]}=false;foreach(${${"GLOBALS"}["btmfhnlbde"]} as${${"GLOBALS"}["rotsqslxde"]}){${"GLOBALS"}["lbtngzrjeg"]="foundInDb";if(${${"GLOBALS"}["rotsqslxde"]}["id"]==${${"GLOBALS"}["djngctemp"]})${${"GLOBALS"}["lbtngzrjeg"]}=true;}$mjxkof="foundInDb";if(!${$mjxkof})${$lpaqmiw}=${${"GLOBALS"}["btmfhnlbde"]}[0]["id"];${${"GLOBALS"}["msyvvtwnnw"]}=$this->db->getAttributes(${${"GLOBALS"}["djngctemp"]});$this->tpl->attributes=${${"GLOBALS"}["kmylxjwwmpr"]};}catch(PDOException$e){$this->tpl->addLogBeforeLoad("Error while retrieving fields, details:".$e->getMessage(),"install");}$this->tpl->model=$this->model;$this->tpl->show("configProductform");}public function importProfiles(){${${"GLOBALS"}["aeunmwqtir"]}=array();try{${${"GLOBALS"}["aeunmwqtir"]}=$this->db->getImportProfiles();$this->tpl->importProfiles=${${"GLOBALS"}["aeunmwqtir"]};}catch(PDOException$e){${"GLOBALS"}["kbhfbpnyty"]="importProfiles";$this->tpl->importProfiles=${${"GLOBALS"}["kbhfbpnyty"]};$this->tpl->addLogBeforeLoad("Error while retrieving attributesets, details:".$e->getMessage(),"install");}$this->tpl->show("configImportProfiles");}public function saveProductForm(){${"GLOBALS"}["pgrjiripzgjd"]="pTable";${"GLOBALS"}["hckeskiv"]="attributes";$pldwolfuqooh="restoreQueryString";${"GLOBALS"}["xdzhxcfsw"]="rows";$zirxnrui="pTable";$vupmdk="arrkeys";$uuzquvbcjls="arrkeys";${${"GLOBALS"}["vhjxpsxxte"]}=$_POST;${${"GLOBALS"}["xdzhxcfsw"]}=count(${${"GLOBALS"}["hckeskiv"]}["attributeName"]);${$vupmdk}=array_keys(${${"GLOBALS"}["vhjxpsxxte"]});${${"GLOBALS"}["mthxpero"]}=implode(",",${$uuzquvbcjls});${${"GLOBALS"}["pgrjiripzgjd"]}=$this->registry->productConfTable;${$pldwolfuqooh}=$this->db->backup_tables(${$zirxnrui});if(${${"GLOBALS"}["ojqlwsh"]}){${"GLOBALS"}["qkmdgyi"]="rows";${"GLOBALS"}["heropdrhxm"]="i";${"GLOBALS"}["whozus"]="pTable";$faufyqxs="delstmt";${$faufyqxs}="DELETE FROM ".${${"GLOBALS"}["whozus"]}." WHERE attributeset = ".${${"GLOBALS"}["vhjxpsxxte"]}["attributeSetId"];try{$this->db->_impEngine->exec_stmt(${${"GLOBALS"}["jvoqoc"]});}catch(PDOException$e){$this->tpl->addLogAfterLoad($e->getMessage(),"error");return false;}${${"GLOBALS"}["pqdvaucxojl"]}=array("attributeName","customAttributeTitle","defaultValue","enabled","useForViewForm","wysiwyg","sortOrder","inputWidth","systemmandatory","attributeset");for(${${"GLOBALS"}["yrwjmnvpjqw"]}=0;${${"GLOBALS"}["yrwjmnvpjqw"]}<${${"GLOBALS"}["qkmdgyi"]};${${"GLOBALS"}["heropdrhxm"]}++){$hjnmsktjxw="i";${"GLOBALS"}["qdyvewm"]="enabled";${"GLOBALS"}["rbuzdvpvdisv"]="i";$quvucsentu="i";$inxkvjcgs="attributes";${${"GLOBALS"}["qdyvewm"]}=${${"GLOBALS"}["vhjxpsxxte"]}["enabled"][${${"GLOBALS"}["rbuzdvpvdisv"]}]=="Yes"?1:0;$jcgoxtthlpi="stm";${${"GLOBALS"}["hitqehqdwix"]}=${${"GLOBALS"}["vhjxpsxxte"]}["wysiwyg"][${$hjnmsktjxw}]=="Yes"?1:0;$ugxrgthfeg="i";${${"GLOBALS"}["juwpgu"]}=${$inxkvjcgs}["useForViewForm"][${$quvucsentu}]=="Yes"?1:0;$vsdbdskmut="attributes";${"GLOBALS"}["ceifcvnfg"]="dbattributes";${${"GLOBALS"}["ewrrick"]}=${$vsdbdskmut}["systemmandatory"][${$ugxrgthfeg}];if(${${"GLOBALS"}["ewrrick"]}==""||${${"GLOBALS"}["ewrrick"]}==NULL){${${"GLOBALS"}["ewrrick"]}=0;}${$jcgoxtthlpi}="INSERT INTO ".${${"GLOBALS"}["jcegugiiglw"]}." (".implode(",",${${"GLOBALS"}["ceifcvnfg"]}).") VALUES (?,?,?,?,?,?,?,?,?,?)";try{${"GLOBALS"}["nlqtrjx"]="i";${"GLOBALS"}["zcvyxoqk"]="attributes";${"GLOBALS"}["supqdvofnj"]="stm";${"GLOBALS"}["fuyhorpu"]="i";${"GLOBALS"}["xbmhrqyqgap"]="attributes";$this->db->_impEngine->exec_stmt(${${"GLOBALS"}["supqdvofnj"]},array(${${"GLOBALS"}["vhjxpsxxte"]}["attributeName"][${${"GLOBALS"}["yrwjmnvpjqw"]}],${${"GLOBALS"}["xbmhrqyqgap"]}["customAttributeTitle"][${${"GLOBALS"}["yrwjmnvpjqw"]}],${${"GLOBALS"}["zcvyxoqk"]}["defaultValue"][${${"GLOBALS"}["yrwjmnvpjqw"]}],${${"GLOBALS"}["blelxpgvzlr"]},${${"GLOBALS"}["juwpgu"]},${${"GLOBALS"}["hitqehqdwix"]},${${"GLOBALS"}["fuyhorpu"]},${${"GLOBALS"}["vhjxpsxxte"]}["inputWidth"][${${"GLOBALS"}["nlqtrjx"]}],${${"GLOBALS"}["ewrrick"]},${${"GLOBALS"}["vhjxpsxxte"]}["attributeSetId"]));}catch(PDOException$e){$kvuxyerkh="restoreQueryString";$this->db->_impEngine->exec_stmt(${$kvuxyerkh});$this->tpl->addLogAfterLoad("Updating data failed. Backup restored. Please contact us if this error keeps popping up. Error:<br/>".$e->getMessage());}}${${"GLOBALS"}["pmyipg"]}=date("Y-m-d H:i:s");$this->tpl->addLogAfterLoad("Configuration succesfully saved on: ".${${"GLOBALS"}["pmyipg"]});}else{$this->tpl->addLogAfterLoad("Error while saving data. Please make sure you have completed the installation process.","install");}}public function saveImportProfiles(){$kutsouy="attributes";$uvvwwmuojn="pTable";$ejquevnaspb="rows";$llkpfngbyqp="importProfileCode";$hvwdut="attributes";${$kutsouy}=$_POST;$jbtsfxiq="pTable";${$ejquevnaspb}=count(${${"GLOBALS"}["vhjxpsxxte"]}["name"]);${${"GLOBALS"}["rwdpfbrqa"]}=array_keys(${$hvwdut});${$uvvwwmuojn}=$this->registry->productAutoSaveTable;${$llkpfngbyqp}="pip";${${"GLOBALS"}["jvoqoc"]}="DELETE FROM ".${$jbtsfxiq}." WHERE code = '".${${"GLOBALS"}["jncurhvnt"]}."'";try{$this->db->_impEngine->exec_stmt(${${"GLOBALS"}["jvoqoc"]});}catch(PDOException$e){$this->tpl->addLogAfterLoad($e->getMessage(),"error");return false;}if(${${"GLOBALS"}["msyvvtwnnw"]}!=NULL&&${${"GLOBALS"}["msyvvtwnnw"]}!=0){${"GLOBALS"}["katbusxo"]="i";$jdswrerrhdqf="i";${"GLOBALS"}["qdhpkhpryhie"]="rows";for(${${"GLOBALS"}["katbusxo"]}=0;${$jdswrerrhdqf}<${${"GLOBALS"}["qdhpkhpryhie"]};${${"GLOBALS"}["yrwjmnvpjqw"]}++){$aoqkrlrt="attributes";${"GLOBALS"}["hfmcyrj"]="name";${"GLOBALS"}["ijrouexgkd"]="arrkeys";${${"GLOBALS"}["hfmcyrj"]}=${$aoqkrlrt}["name"][${${"GLOBALS"}["yrwjmnvpjqw"]}];${${"GLOBALS"}["dyhfggf"]}=array();foreach(${${"GLOBALS"}["ijrouexgkd"]} as${${"GLOBALS"}["nmomhgjia"]}){${"GLOBALS"}["nmmimbtra"]="akey";${"GLOBALS"}["rbniccvtly"]="attributes";${${"GLOBALS"}["dyhfggf"]}[${${"GLOBALS"}["nmomhgjia"]}]=htmlentities((string)str_replace("\","/",${${"GLOBALS"}["rbniccvtly"]}[${${"GLOBALS"}["nmmimbtra"]}][${${"GLOBALS"}["yrwjmnvpjqw"]}]));}try{$xeosmmtvkeu="importProfile";${"GLOBALS"}["lyttocdsr"]="name";$pirwvvplkc="name";${"GLOBALS"}["udhigjkpernr"]="jsondata";if(version_compare(phpversion(),"5.4",">"))${${"GLOBALS"}["udhigjkpernr"]}=json_encode(${$xeosmmtvkeu},JSON_UNESCAPED_SLASHES);else${${"GLOBALS"}["mvccyjnko"]}=str_replace("\/","/",json_encode(${${"GLOBALS"}["dyhfggf"]}));if(${${"GLOBALS"}["lyttocdsr"]}==""||${$pirwvvplkc}==NULL){}else{${"GLOBALS"}["ntfqkghbwvxh"]="stm";${${"GLOBALS"}["ntfqkghbwvxh"]}="INSERT INTO ".${${"GLOBALS"}["jcegugiiglw"]}." (name,content,code) VALUES ('$name','$jsondata','$importProfileCode')";try{$hclhndfl="name";$bfdlqcfbo="importProfileCode";${"GLOBALS"}["djofmyxj"]="stm";$this->db->_impEngine->exec_stmt(${${"GLOBALS"}["djofmyxj"]},array(${$hclhndfl},${${"GLOBALS"}["mvccyjnko"]},${$bfdlqcfbo}));}catch(PDOException$e){$crznctjnfxyz="restoreQueryString";$this->db->_impEngine->exec_stmt(${$crznctjnfxyz});$this->tpl->addLogAfterLoad("Updating data failed. Please contact us if this error keeps popping up. Error:<br/>".$e->getMessage());}}}catch(Exception$e){$this->tpl->addLogAfterLoad("Error while encoding data: <br/>".$e->getMessage(),"error",true);}}$this->tpl->addLogAfterLoad("Configuration succesfully saved on: ".${${"GLOBALS"}["pmyipg"]});}else{$this->tpl->addLogAfterLoad("Error while saving data. Please make sure you have completed the installation process.","install");}}public function getProductAttributes(){$this->tpl->show("configGetProductAttributes",true);}public function saveAttributeOrder(){}public function productgeneral(){$hnilcqqwhel="pTable";${$hnilcqqwhel}=$this->registry->generalConfTable;try{$xfyzhlut="stm";$xaekbainsu="rows";$vbujlxcedp="rows";${"GLOBALS"}["scwuuip"]="stm";${$xfyzhlut}="SELECT * FROM $pTable y ORDER BY sorder ASC";${$xaekbainsu}=$this->db->_impEngine->selectAll(${${"GLOBALS"}["scwuuip"]},array(${${"GLOBALS"}["jcegugiiglw"]}));$this->tpl->configurableparams=${$vbujlxcedp};}catch(PDOException$e){$this->tpl->addLogBeforeLoad("Error while retrieving fields, details:");$this->tpl->addLogBeforeLoad($e->getMessage());}$this->tpl->show("configProductGeneral");}public function newAttributeSet(){$wnbehmmutszg="data";${$wnbehmmutszg}=$_POST;${${"GLOBALS"}["nwrpert"]}=$this->registry->attSetsTable;${${"GLOBALS"}["yvbupmybxxtm"]}=${${"GLOBALS"}["fiuhcvtwl"]}["value"];${${"GLOBALS"}["zfkjpvz"]}="INSERT INTO $atsetsTable (name) VALUES ('$name');";try{${"GLOBALS"}["vsjrvqcmi"]="atsetsTable";${${"GLOBALS"}["mraflcqtmng"]}=$this->db->_impEngine->insert(${${"GLOBALS"}["zfkjpvz"]},array(${${"GLOBALS"}["vsjrvqcmi"]},${${"GLOBALS"}["yvbupmybxxtm"]}));${${"GLOBALS"}["yeimqhyxmy"]}=$this->db->addDefaultAttributes(${${"GLOBALS"}["mraflcqtmng"]});echo${${"GLOBALS"}["mraflcqtmng"]};}catch(PDOException$e){$esudzsslp="unknownExceptionMessage";$this->tpl->addLogAfterLoad("Config: ".${$esudzsslp}." Details: <br/>".$e->getMessage());echo"error";}return true;}public function cloneAttributeSet(){${"GLOBALS"}["fytxwoicp"]="data";${${"GLOBALS"}["fiuhcvtwl"]}=$_POST;$wocnylbcdp="query";${"GLOBALS"}["obbnfv"]="newSetId";${${"GLOBALS"}["djngctemp"]}=${${"GLOBALS"}["fiuhcvtwl"]}["attSetId"];$iwqudlpnhexc="newSetId";${${"GLOBALS"}["yvbupmybxxtm"]}=${${"GLOBALS"}["fytxwoicp"]}["value"];${${"GLOBALS"}["obbnfv"]}=$this->newAttributeSetCustom(${${"GLOBALS"}["yvbupmybxxtm"]});${${"GLOBALS"}["jcegugiiglw"]}=$this->registry->productConfTable;${$wocnylbcdp}="
INSERT INTO $pTable
(attributeName, customAttributeTitle, enabled, useForViewForm, sortOrder, defaultValue, wysiwyg, inputWidth, systemmandatory, attributeset, knownFromList)
SELECT
attributeName, customAttributeTitle, enabled, useForViewForm, sortOrder, defaultValue, wysiwyg, inputWidth, systemmandatory, ".${$iwqudlpnhexc}.", knownFromList
FROM $pTable
WHERE attributeset = ".${${"GLOBALS"}["djngctemp"]};try{${"GLOBALS"}["mmvxmmdrt"]="pTable";$aqqxfimphwr="returnId";$vmitoqbovb="pTable";$xcddwykqks="newSetId";${$aqqxfimphwr}=$this->db->_impEngine->insert(${${"GLOBALS"}["teglroqut"]},array(${${"GLOBALS"}["mmvxmmdrt"]},${$vmitoqbovb}));echo${$xcddwykqks};}catch(PDOException$e){$this->tpl->addLogAfterLoad("ERROR, details: <br/>".$e->getMessage());echo"error";}return true;}public function newAttributeSetCustom($name){$yduhpbir="stm";${${"GLOBALS"}["nwrpert"]}=$this->registry->attSetsTable;${$yduhpbir}="INSERT INTO $atsetsTable (name) VALUES ('$name');";try{${"GLOBALS"}["gbubkqoevrcl"]="name";$npwluoo="returnId";$offqjykizkk="returnId";${$offqjykizkk}=$this->db->_impEngine->insert(${${"GLOBALS"}["zfkjpvz"]},array(${${"GLOBALS"}["nwrpert"]},${${"GLOBALS"}["gbubkqoevrcl"]}));return${$npwluoo};}catch(PDOException$e){$xxeatzbmh="unknownExceptionMessage";$this->tpl->addLogAfterLoad("Config: ".${$xxeatzbmh}." Details: <br/>".$e->getMessage());return"error";}}public function deleteAttributeSet(){$yhferbzzovd="data";${"GLOBALS"}["wrtxreicrvm"]="atsetsTable";${${"GLOBALS"}["fiuhcvtwl"]}=$_POST;${${"GLOBALS"}["wrtxreicrvm"]}=$this->registry->attSetsTable;${${"GLOBALS"}["djngctemp"]}=${$yhferbzzovd}["value"];${${"GLOBALS"}["zfkjpvz"]}="DELETE FROM $atsetsTable WHERE id = $attSetId;";try{$dupwfmthdr="attSetId";${${"GLOBALS"}["dctbxqpmsas"]}=$this->db->_impEngine->exec_stmt(${${"GLOBALS"}["zfkjpvz"]},array(${${"GLOBALS"}["nwrpert"]},${$dupwfmthdr}));}catch(PDOException$e){$this->tpl->addLogAfterLoad("Config: ".${${"GLOBALS"}["kmnmild"]}." Details: <br/>".$e->getMessage());}}public function saveGeneral(){$euqjggdrao="data";${${"GLOBALS"}["fiuhcvtwl"]}=$_POST;${${"GLOBALS"}["jcegugiiglw"]}=$this->registry->generalConfTable;foreach(${$euqjggdrao} as${${"GLOBALS"}["tumscnhm"]}=>${${"GLOBALS"}["futwfldbicrs"]}){${${"GLOBALS"}["rsqkjurmw"]}="UPDATE $pTable SET value = '$value' WHERE name = '$key'";try{${"GLOBALS"}["ywqstqr"]="pTable";$vyqujxxwysk="sql";$this->db->_impEngine->insert(${$vyqujxxwysk},array(${${"GLOBALS"}["ywqstqr"]},${${"GLOBALS"}["futwfldbicrs"]},${${"GLOBALS"}["tumscnhm"]}));$this->tpl->addLogAfterLoad("Save of ".${${"GLOBALS"}["tumscnhm"]}." succesfull<br/>","info");}catch(Exception$e){$this->tpl->addLogAfterLoad("Save of ".${${"GLOBALS"}["tumscnhm"]}." unsuccesfull.<br/>Details:<br/>".${${"GLOBALS"}["aalqbpbdwnj"]},"error");}}}public function getDefaultValueForInput($data){${"GLOBALS"}["cbmklw"]="ret";${"GLOBALS"}["phdlggsr"]="attributeName";${${"GLOBALS"}["eipipdts"]}=$_POST["attributeName"];${"GLOBALS"}["pbsurhg"]="defaultValue";$ooqrkpsrtv="defaultValue";${$ooqrkpsrtv}=$_POST["defaultValue"];${${"GLOBALS"}["cbmklw"]}=$this->model->getDefaultValueInput(${${"GLOBALS"}["phdlggsr"]},${${"GLOBALS"}["pbsurhg"]});echo${${"GLOBALS"}["pnxlprma"]};}public function attributeSelection($params){echo$this->lang["conf_attselect_subtext"];${"GLOBALS"}["ycbibij"]="values";echo"<table class=\"attributeSelectionTable">";echo"<th align="left">Attribute</th><th align="left\">Description</th><th align=\"left">Actions</th>";foreach($this->model->fieldsArray as${${"GLOBALS"}["xwurbxevfj"]}=>${${"GLOBALS"}["ycbibij"]}){${"GLOBALS"}["khftxwimrok"]="params";$wwkcuoh="json";${"GLOBALS"}["slnyhgxcml"]="type";$gfcyrege="params";${${"GLOBALS"}["slnyhgxcml"]}=${${"GLOBALS"}["xxfddisvu"]}["type"];$vgbnepfvpvxj="fieldname";$ybnnblpy="type";${$wwkcuoh}=addslashes(${${"GLOBALS"}["xxfddisvu"]}["selection"]);echo"<tr>";echo"<td class='fieldName'>
<input id='fieldI' type='hidden' disabled='disabled' value='".${$vgbnepfvpvxj}."' />
<label>".${${"GLOBALS"}["xwurbxevfj"]}."</label></td>
<td>".${${"GLOBALS"}["xxfddisvu"]}["description"]."</td>
<td><a href='#' class='btn' onClick='useThis(this,"".${${"GLOBALS"}["khftxwimrok"]}[0]."\","".${${"GLOBALS"}["xwurbxevfj"]}."",\"".${$gfcyrege}[1]."\","".addslashes(${$ybnnblpy})."\",\"".addslashes(${${"GLOBALS"}["hlmuklrk"]})."\")'>Insert</a></td>
";echo"</tr>";}echo"</table>";}} ?>
Did this file decode correctly?
Original Code
<?php ${"\x47LOBA\x4c\x53"}["\x68l\x6du\x6bl\x72\x6b"]="js\x6fn";${"\x47\x4cOB\x41\x4c\x53"}["xx\x66d\x64\x69\x73v\x75"]="\x76alu\x65\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x77\x75\x72bx\x65\x76\x66\x6a"]="\x66\x69e\x6cd\x6eam\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x70\x6e\x78l\x70\x72ma"]="r\x65\x74";${"G\x4c\x4f\x42\x41\x4cS"}["eipi\x70\x64\x74\x73"]="a\x74\x74ri\x62\x75\x74e\x4e\x61\x6d\x65";${"G\x4c\x4f\x42\x41\x4cS"}["\x61\x61\x6c\x71\x62\x70bd\x77nj"]="\x65";${"\x47\x4c\x4fBALS"}["r\x73q\x6b\x6a\x75r\x6d\x77"]="sq\x6c";${"\x47\x4cOB\x41\x4c\x53"}["\x66utw\x66l\x64b\x69\x63r\x73"]="\x76a\x6cu\x65";${"G\x4c\x4fB\x41L\x53"}["t\x75m\x73c\x6e\x68\x6d"]="\x6be\x79";${"\x47\x4cO\x42\x41L\x53"}["\x6b\x6dn\x6d\x69\x6c\x64"]="u\x6ek\x6e\x6f\x77\x6e\x45x\x63e\x70\x74\x69\x6fn\x4d\x65s\x73\x61\x67e";${"\x47\x4cO\x42\x41L\x53"}["d\x63\x74\x62\x78\x71p\x6ds\x61s"]="do\x6e\x65";${"G\x4c\x4f\x42\x41\x4cS"}["te\x67l\x72\x6f\x71\x75t"]="\x71\x75ery";${"GL\x4f\x42\x41\x4c\x53"}["yei\x6dqh\x79\x78\x6d\x79"]="\x72\x65\x74u\x72\x6e";${"\x47\x4c\x4fBA\x4c\x53"}["\x6d\x72af\x6cc\x71\x74\x6dng"]="\x72\x65\x74\x75\x72\x6e\x49d";${"\x47LO\x42\x41\x4c\x53"}["\x66iu\x68c\x76\x74\x77l"]="d\x61\x74\x61";${"G\x4cO\x42A\x4c\x53"}["\x79\x76b\x75pm\x79bx\x78\x74\x6d"]="\x6e\x61m\x65";${"G\x4cO\x42\x41LS"}["\x6e\x77\x72\x70e\x72t"]="\x61\x74s\x65\x74\x73\x54\x61b\x6ce";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x76\x63\x63\x79\x6a\x6e\x6bo"]="\x6as\x6f\x6e\x64\x61\x74a";${"G\x4cO\x42\x41\x4cS"}["\x6e\x6d\x6f\x6d\x68\x67j\x69\x61"]="\x61\x6b\x65\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64y\x68f\x67\x67\x66"]="\x69\x6d\x70o\x72tP\x72o\x66\x69\x6c\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x6e\x63u\x72hv\x6e\x74"]="i\x6dpo\x72tP\x72\x6ff\x69\x6ce\x43ode";${"\x47\x4cOBA\x4c\x53"}["\x72\x77dp\x66\x62r\x71\x61"]="\x61\x72rke\x79\x73";${"\x47LO\x42\x41LS"}["\x62\x6c\x65\x6cx\x70\x67\x76\x7a\x6cr"]="en\x61\x62\x6ced";${"\x47L\x4fB\x41L\x53"}["\x65\x77\x72\x72ick"]="\x61t\x6d\x61\x6e\x64\x76\x61l";${"\x47\x4c\x4f\x42ALS"}["\x6a\x75w\x70g\x75"]="useF\x6f\x72Vi\x65\x77\x46\x6f\x72m";${"\x47\x4c\x4f\x42\x41LS"}["h\x69t\x71\x65\x68\x71\x64\x77\x69\x78"]="\x77\x79\x73\x69\x77yg";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x72w\x6a\x6dn\x76p\x6a\x71\x77"]="\x69";${"GL\x4f\x42AL\x53"}["pq\x64\x76\x61\x75cx\x6f\x6a\x6c"]="\x64b\x61\x74\x74\x72\x69\x62\x75t\x65\x73";${"G\x4c\x4fBAL\x53"}["\x6a\x76\x6f\x71\x6f\x63"]="\x64\x65\x6c\x73\x74\x6d\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["o\x6a\x71l\x77s\x68"]="\x72\x65s\x74o\x72\x65\x51\x75\x65\x72\x79S\x74\x72i\x6e\x67";${"\x47LO\x42\x41LS"}["\x6dt\x68\x78\x70e\x72\x6f"]="\x61rr\x6b\x65\x79s\x53tr\x69n\x67";${"\x47\x4cO\x42A\x4c\x53"}["vh\x6ax\x70\x73\x78xt\x65"]="at\x74\x72\x69\x62u\x74e\x73";${"\x47L\x4fB\x41\x4cS"}["ae\x75\x6em\x77q\x74\x69\x72"]="i\x6d\x70\x6f\x72\x74P\x72\x6f\x66i\x6c\x65\x73";${"\x47\x4c\x4f\x42ALS"}["m\x73\x79v\x76tw\x6enw"]="\x72\x6f\x77\x73";${"\x47LO\x42\x41L\x53"}["d\x6a\x6eg\x63\x74emp"]="att\x53e\x74\x49\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6f\x74\x73\x71s\x6cxd\x65"]="\x61tt\x72\x69bute\x53\x65\x74";${"\x47LO\x42\x41\x4c\x53"}["\x63dp\x6a\x6a\x73"]="f\x6fu\x6ed\x49\x6eD\x62";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x74\x6d\x66\x68\x6e\x6cb\x64\x65"]="\x61\x74\x74\x72ibut\x65\x53\x65\x74s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x63\x65gu\x67\x69\x69g\x6c\x77"]="\x70\x54\x61\x62l\x65";${"\x47\x4c\x4f\x42A\x4cS"}["\x7af\x6b\x6a\x70v\x7a"]="\x73\x74m";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x66sf\x66\x6e\x79a\x61g\x77\x69"]="la\x73\x74\x65\x72\x72";${"\x47LO\x42\x41LS"}["\x70\x6dy\x69\x70g"]="\x64\x61\x74e";${"\x47L\x4fB\x41\x4c\x53"}["\x78\x6cm\x6cj\x69\x63\x70ls"]="con\x66\x5fo\x6b";${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x7af\x72\x63o\x76od\x79\x70x"]="\x65pl\x63\x6f\x6e\x66";${"G\x4c\x4fBA\x4cS"}["\x73uj\x64\x69t"]="\x70\x72of\x69\x6c\x65";${"\x47\x4cO\x42AL\x53"}["nm\x75s\x72r\x6fywj"]="\x63\x61\x6e\x73\x6f\x63k";${"\x47\x4cO\x42\x41\x4c\x53"}["fv\x6fse\x72\x64\x6d\x6co"]="\x64mys\x71ls\x6fck";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x75\x6fa\x79x\x66\x74x\x76u"]="\x63o\x6e\x66";${"G\x4cO\x42\x41LS"}["\x65vm\x65\x77\x79\x6b\x63\x76\x62"]="\x6coc";${"\x47\x4c\x4fBAL\x53"}["z\x6ds\x6f\x6ef\x77\x75m\x6ck"]="\x75\x73\x65r\x44\x65fi\x6e\x65\x64\x41\x74ts\x41\x70\x70\x65\x6e\x64";${"\x47\x4c\x4fBA\x4c\x53"}["\x6f\x69l\x6e\x73\x63"]="\x75\x73\x65rDef\x69\x6e\x65dA\x74\x74\x73";${"\x47LO\x42\x41LS"}["\x75g\x6b\x76\x74\x7am\x6e\x6cj"]="\x61\x70\x69\x55\x52\x4c";${"\x47\x4c\x4fBA\x4c\x53"}["\x72g\x70\x74\x61\x75\x67qts\x64f"]="u\x6e\x73e\x72\x69\x61li\x7ae\x64\x46i\x65\x6c\x64\x73\x41\x72\x72";${"\x47\x4cO\x42A\x4c\x53"}["\x6b\x6av\x6cx\x6f\x75\x6e\x65\x65\x78"]="a\x70\x69Ur\x6c\x42\x53";Class configController Extends baseController{public$model;protected$tpl;function __construct($registry){${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x79\x6cfjr\x6er\x71"]="re\x67\x69\x73\x74\x72\x79";if(parent::__construct(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x79\x6cf\x6a\x72\x6er\x71"]})){$mwlehnnnra="\x61p\x69\x55\x52\x4c";${$mwlehnnnra}=$this->registry->emveeApiUrl;${${"\x47\x4cO\x42\x41L\x53"}["kj\x76l\x78\x6f\x75n\x65\x65\x78"]}=$this->registry->emveeApiUrlBS;$this->tpl=$this->registry->template;$this->tpl->loadClass("\x63\x6f\x6e\x66\x69g");$this->model=new Config($this->registry);${${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x67\x70t\x61\x75\x67qts\x64\x66"]}="";try{${"\x47\x4cOB\x41\x4cS"}["v\x68\x75ov\x71\x73\x75"]="a\x70i\x55\x72\x6c\x42S";$rlceuracvxdg="\x75\x6e\x73\x65r\x69\x61\x6c\x69\x7a\x65dF\x69\x65l\x64\x73\x41\x72r";${$rlceuracvxdg}=unserialize($this->utils->getFieldsInfoFromApi(array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75gk\x76\x74\x7a\x6dn\x6c\x6a"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["vh\x75\x6f\x76\x71su"]})));}catch(Exception$e){$this->tpl->addLogBeforeLoad("\x54\x68er\x65 \x77\x61\x73 a\x6e\x20e\x72\x72or\x20\x77h\x69\x6c\x65 r\x65tr\x69ev\x69ng o\x72 u\x6e\x73eri\x61\x6c\x69\x7ai\x6e\x67\x20t\x68e\x20fi\x65\x6cd\x73\x20dat\x61\x2e \x50\x6ceas\x65\x20try\x20\x61g\x61i\x6e\x20\x61n\x64 m\x61\x6b\x65 \x73\x75r\x65 \x79\x6fu\x72 \x68\x6f\x73t\x73\x20\x73u\x70\x70or\x74\x73 \x74\x68e\x20\x50\x48P\x20u\x6es\x65\x72i\x61l\x69ze\x20\x66unc\x74ion\x2e\x20If\x20th\x69\x73 e\x72\x72or\x20\x6be\x65\x70\x73\x20pop\x70\x69n\x67 \x75p,\x20\x63\x6f\x6et\x61\x63\x74 \x75s \x66o\x72 \x68e\x6cp. \x50l\x65a\x73e \x63opy b\x65\x6co\x77 \x65\x72\x72\x6f\x72 \x6d\x65s\x73a\x67\x65\x20to\x6f<b\x72/\x3e\x3c\x62r/>".$e->getMessage(),"err\x6fr");}try{$vbtheyvbsrgm="u\x73\x65r\x44\x65fi\x6e\x65\x64\x41tt\x73\x41pp\x65\x6e\x64";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6fi\x6cn\x73\x63"]}=$this->db->getUserDefinedAtts();${$vbtheyvbsrgm}=$this->db->getAttributesInfoFromMagento(${${"GLOB\x41\x4c\x53"}["o\x69\x6c\x6es\x63"]});}catch(Exception$e){$fcsswfyym="u\x73\x65rDef\x69ne\x64Att\x73A\x70p\x65n\x64";if(__DEBUG)echo$e->getMessage();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x69l\x6e\x73\x63"]}=array();${$fcsswfyym}=array();}$this->model->fieldsArray=array_merge(${${"\x47\x4c\x4fBA\x4c\x53"}["\x72\x67\x70\x74\x61\x75g\x71\x74s\x64\x66"]},${${"\x47\x4cO\x42A\x4c\x53"}["z\x6dso\x6e\x66\x77\x75m\x6c\x6b"]});}else{$peeqokjfmx="\x6c\x6fc";${$peeqokjfmx}=$this->registry->madminbase;header("l\x6fcat\x69o\x6e: ".${${"\x47\x4cO\x42A\x4c\x53"}["\x65\x76\x6d\x65wyk\x63\x76\x62"]});}}public function index(){${${"\x47\x4c\x4fBA\x4cS"}["\x6a\x75\x6fa\x79\x78f\x74\x78vu"]}=Magmi_Config::getInstance();${"\x47\x4c\x4fBA\x4c\x53"}["\x74j\x62\x66\x71\x61\x63r\x76q"]="\x63\x6fn\x66_\x6fk";${"\x47\x4cO\x42ALS"}["\x63\x62\x6b\x6b\x66wj\x71j"]="\x63\x61n\x73o\x63k";$conf->load();${${"\x47L\x4f\x42\x41L\x53"}["\x74\x6abf\x71\x61\x63\x72v\x71"]}=1;${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68v\x73\x74\x74\x65\x71\x6c\x63\x74\x76"]="\x70\x72\x6f\x66\x69\x6c\x65";${${"G\x4c\x4fBALS"}["\x63\x62\x6bkf\x77\x6a\x71j"]}=true;$kghghxwrh="\x70\x72\x6ffi\x6c\x65";${${"\x47LO\x42ALS"}["f\x76\x6f\x73\x65r\x64\x6d\x6co"]}=DBHelper::getMysqlSocket();${${"\x47\x4c\x4fB\x41L\x53"}["nm\x75\x73\x72r\x6f\x79\x77j"]}=!(${${"\x47\x4c\x4fB\x41L\x53"}["f\x76os\x65\x72d\x6d\x6c\x6f"]}===false);${${"G\x4cO\x42\x41L\x53"}["\x73\x75\x6a\x64\x69\x74"]}="";if(isset($_REQUEST["\x70\x72\x6ff\x69l\x65"])){${${"GL\x4fB\x41LS"}["\x73\x75\x6a\x64it"]}=$_REQUEST["pr\x6ffil\x65"];}else{if(isset($_SESSION["l\x61s\x74_\x72\x75nn\x65d_\x70\x72\x6ffil\x65"])){$jdushhkrcb="\x70\x72\x6f\x66i\x6c\x65";${$jdushhkrcb}=$_SESSION["l\x61\x73\x74\x5f\x72u\x6e\x6eed_p\x72\x6ff\x69\x6ce"];}}if(${${"G\x4cO\x42AL\x53"}["\x68\x76\x73\x74t\x65\x71\x6cc\x74\x76"]}==""){${${"G\x4c\x4fBAL\x53"}["\x73uj\x64i\x74"]}="\x64ef\x61\x75\x6ct";}${${"\x47\x4c\x4fBAL\x53"}["\x6d\x7a\x66rc\x6f\x76od\x79\x70\x78"]}=new EnabledPlugins_Config(${$kghghxwrh});$eplconf->load();${"GL\x4f\x42A\x4c\x53"}["\x68\x66\x77\x6a\x69q\x71u\x73\x65i"]="\x70\x72\x6f\x66\x69\x6c\x65";if(!$eplconf->hasSection("P\x4cUG\x49NS_\x44\x41TAS\x4f\x55\x52C\x45S")){${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78lml\x6a\x69\x63\x70ls"]}=0;}$this->tpl->profile=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x66\x77\x6a\x69\x71q\x75\x73e\x69"]};$this->tpl->conf=${${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x75\x6f\x61\x79x\x66\x74\x78\x76\x75"]};$this->tpl->conf_ok=${${"\x47\x4c\x4f\x42ALS"}["\x78\x6c\x6d\x6c\x6a\x69\x63\x70\x6c\x73"]};if(isset($_REQUEST["\x63\x68\x65c\x6b"])&&$_REQUEST["\x63\x68e\x63\x6b"]==1)$this->tpl->checkStatus=true;else$this->tpl->checkStatus=false;$this->tpl->show("c\x6f\x6e\x66ig\x49n\x64ex");}public function save(){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77ek\x69p\x77o\x74"]="\x63\x6f\x6e\x66";${${"\x47\x4cO\x42A\x4c\x53"}["w\x65\x6bipw\x6f\x74"]}=Magmi_Config::getInstance();if($conf->save($_POST)){${${"\x47LOBA\x4cS"}["p\x6dyi\x70\x67"]}=filemtime($conf->getConfFile());${"\x47\x4c\x4fB\x41LS"}["\x6f\x6a\x74e\x6c\x73w\x72"]="da\x74\x65";$this->tpl->addLogAfterLoad("\x43o\x6dmon\x20\x43\x6f\x6efig\x75ration\x20\x73\x61v\x65d\x20(".strftime("%\x63",${${"G\x4cOBA\x4cS"}["\x6fj\x74e\x6c\x73w\x72"]}).")","\x69nfo");}else{${${"\x47\x4c\x4fBA\x4c\x53"}["\x6c\x66sf\x66\x6ey\x61\x61\x67\x77\x69"]}=error_get_last();$this->tpl->addLogAfterLoad("\x53o\x6d\x65th\x69n\x67\x20ha\x73 g\x6f\x6e\x65 \x77\x72on\x67".${${"GL\x4f\x42\x41\x4cS"}["\x6c\x66s\x66\x66\x6eya\x61\x67\x77\x69"]}["m\x65ssa\x67\x65"],"e\x72\x72\x6f\x72");}}public function checkDbConf(){${"\x47\x4cO\x42A\x4cS"}["t\x6aem\x63\x6du\x6d\x70b"]="\x70\x54abl\x65";${${"\x47\x4c\x4f\x42ALS"}["t\x6ae\x6d\x63m\x75\x6dp\x62"]}=$this->registry->magTableForCheck;${${"GLOBA\x4c\x53"}["\x7a\x66k\x6a\x70\x76\x7a"]}="S\x45\x4cE\x43T\x20\x65n\x74\x69t\x79_id\x20\x46RO\x4d\x20$pTableRep \x79 LIM\x49\x54\x201";if($this->db->constructed){$this->tpl->addLogAfterLoad("\x43on\x67rats!\x20We were\x20\x61\x62l\x65\x20t\x6f \x63\x6fnn\x65ct\x20\x74o\x20y\x6fur d\x61\x74\x61\x62\x61s\x65 an\x64\x20r\x65triev\x65\x20d\x61ta,\x20\x79\x6f\x75 are\x20d\x6f\x6e\x65 n\x6fw\x2e","\x69n\x66\x6f");}else{$this->tpl->addLogAfterLoad("U\x6efo\x72\x74\x75\x6e\x61t\x65\x6c\x79 it s\x65\x65m\x73 li\x6be\x20\x79ou\x72 \x73\x65\x74\x74\x69n\x67\x73\x20\x61\x72e \x6eo\x74 co\x6d\x70\x6c\x65\x74e\x2e P\x6ce\x61\x73e \x6d\x61ke sure\x20\x79\x6fu \x68a\x76e en\x74\x65\x72\x65d \x74\x68\x65 \x72i\x67h\x74 dat\x61ba\x73e det\x61i\x6c\x73\x20a\x6ed sa\x76\x65\x64\x20\x79our c\x6fn\x66\x69gur\x61\x74\x69\x6f\x6e\x2e\x20\x44o\x6e`\x74 \x66\x6fr\x67e\x74 \x74\x6f\x20a\x64\x64\x20y\x6fu\x72 t\x61\x62l\x65 \x70re\x66\x69\x78\x20\x69f \x79\x6fu \x61r\x65\x20u\x73in\x67\x20one\x2e","err\x6f\x72");}}public function productform(){$ztaqggsmpuu="\x61t\x74\x72i\x62\x75te\x53\x65ts";${${"\x47LO\x42\x41LS"}["\x6a\x63\x65\x67\x75g\x69\x69g\x6c\x77"]}=$this->registry->productConfTable;${$ztaqggsmpuu}=array();try{${${"\x47\x4cO\x42AL\x53"}["\x62t\x6df\x68\x6e\x6cb\x64e"]}=$this->db->getAttributeSets();$this->tpl->attributeSets=${${"GLOBA\x4cS"}["\x62\x74\x6df\x68\x6e\x6c\x62d\x65"]};}catch(PDOException$e){$this->tpl->attributeSets=${${"G\x4c\x4f\x42\x41LS"}["\x62tm\x66\x68\x6e\x6c\x62\x64e"]};$this->tpl->addLogBeforeLoad("\x45\x72ro\x72\x20w\x68i\x6ce retrie\x76\x69\x6e\x67\x20a\x74trib\x75\x74es\x65\x74\x73,\x20\x64\x65t\x61\x69\x6cs:".$e->getMessage(),"in\x73t\x61ll");}try{${"\x47\x4c\x4fBA\x4cS"}["\x72\x63\x6bn\x64ff"]="\x61\x74t\x53e\x74\x49d";$lpaqmiw="\x61\x74\x74\x53etI\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["km\x79l\x78\x6a\x77\x77\x6d\x70r"]="\x72\x6f\x77\x73";${${"G\x4c\x4fBA\x4c\x53"}["\x72\x63\x6b\x6ed\x66\x66"]}=isset($_GET["atts\x65t"])?$_GET["\x61\x74\x74\x73\x65t"]:-1;${${"G\x4c\x4f\x42ALS"}["\x63\x64p\x6a\x6a\x73"]}=false;foreach(${${"\x47\x4cOBALS"}["\x62\x74\x6df\x68\x6e\x6cb\x64\x65"]} as${${"\x47L\x4f\x42\x41LS"}["\x72\x6f\x74\x73qs\x6c\x78\x64\x65"]}){${"GLOB\x41L\x53"}["\x6cbtn\x67z\x72\x6a\x65\x67"]="f\x6f\x75n\x64I\x6e\x44\x62";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6ftsq\x73l\x78d\x65"]}["i\x64"]==${${"\x47\x4cOB\x41\x4cS"}["\x64jn\x67\x63t\x65m\x70"]})${${"\x47\x4cO\x42A\x4cS"}["l\x62t\x6e\x67\x7a\x72\x6ae\x67"]}=true;}$mjxkof="\x66\x6f\x75\x6ed\x49n\x44\x62";if(!${$mjxkof})${$lpaqmiw}=${${"GL\x4fB\x41\x4c\x53"}["\x62\x74\x6d\x66\x68n\x6c\x62\x64\x65"]}[0]["\x69\x64"];${${"\x47\x4c\x4fBA\x4c\x53"}["m\x73yv\x76t\x77\x6e\x6e\x77"]}=$this->db->getAttributes(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x6a\x6e\x67c\x74e\x6d\x70"]});$this->tpl->attributes=${${"G\x4cO\x42\x41\x4c\x53"}["k\x6dy\x6c\x78\x6a\x77\x77\x6d\x70r"]};}catch(PDOException$e){$this->tpl->addLogBeforeLoad("\x45rr\x6f\x72\x20\x77h\x69\x6ce \x72\x65tri\x65ving \x66\x69e\x6c\x64\x73, \x64e\x74\x61\x69\x6cs:".$e->getMessage(),"\x69n\x73\x74a\x6c\x6c");}$this->tpl->model=$this->model;$this->tpl->show("\x63\x6fnfi\x67Pr\x6fd\x75\x63\x74\x66o\x72m");}public function importProfiles(){${${"G\x4cO\x42\x41\x4c\x53"}["a\x65u\x6e\x6d\x77q\x74i\x72"]}=array();try{${${"G\x4c\x4f\x42\x41\x4cS"}["\x61e\x75\x6e\x6d\x77qt\x69\x72"]}=$this->db->getImportProfiles();$this->tpl->importProfiles=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61e\x75\x6e\x6dw\x71\x74\x69\x72"]};}catch(PDOException$e){${"GLO\x42AL\x53"}["\x6bb\x68f\x62pnyt\x79"]="\x69\x6d\x70o\x72\x74\x50rof\x69le\x73";$this->tpl->importProfiles=${${"G\x4c\x4f\x42A\x4c\x53"}["kbh\x66\x62p\x6e\x79t\x79"]};$this->tpl->addLogBeforeLoad("E\x72r\x6fr\x20w\x68\x69le\x20retrie\x76\x69\x6e\x67\x20\x61tt\x72ib\x75tes\x65t\x73,\x20d\x65\x74\x61\x69ls:".$e->getMessage(),"ins\x74all");}$this->tpl->show("c\x6fn\x66i\x67\x49mpo\x72t\x50ro\x66\x69l\x65\x73");}public function saveProductForm(){${"\x47\x4c\x4f\x42A\x4cS"}["p\x67rj\x69\x72i\x70\x7ag\x6a\x64"]="\x70Tab\x6c\x65";${"G\x4c\x4f\x42\x41L\x53"}["hc\x6beski\x76"]="\x61ttr\x69but\x65\x73";$pldwolfuqooh="\x72\x65\x73\x74or\x65Q\x75\x65ry\x53\x74\x72\x69\x6e\x67";${"\x47L\x4f\x42A\x4c\x53"}["\x78\x64\x7a\x68\x78\x63\x66s\x77"]="\x72\x6f\x77s";$zirxnrui="p\x54able";$vupmdk="ar\x72\x6b\x65y\x73";$uuzquvbcjls="\x61rr\x6b\x65y\x73";${${"\x47L\x4f\x42AL\x53"}["\x76hj\x78\x70sxx\x74e"]}=$_POST;${${"G\x4c\x4fB\x41\x4c\x53"}["\x78\x64z\x68x\x63\x66sw"]}=count(${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x63\x6beski\x76"]}["a\x74\x74r\x69bute\x4e\x61m\x65"]);${$vupmdk}=array_keys(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x68\x6a\x78p\x73\x78\x78\x74\x65"]});${${"G\x4c\x4f\x42A\x4c\x53"}["m\x74\x68\x78\x70e\x72o"]}=implode(",",${$uuzquvbcjls});${${"G\x4cO\x42\x41\x4cS"}["\x70gr\x6a\x69\x72\x69p\x7ag\x6a\x64"]}=$this->registry->productConfTable;${$pldwolfuqooh}=$this->db->backup_tables(${$zirxnrui});if(${${"\x47\x4cOB\x41L\x53"}["\x6f\x6a\x71\x6cw\x73\x68"]}){${"G\x4cO\x42A\x4c\x53"}["\x71\x6b\x6d\x64\x67\x79i"]="r\x6fw\x73";${"\x47LO\x42A\x4c\x53"}["\x68\x65r\x6fp\x64\x72\x68x\x6d"]="\x69";${"\x47L\x4fB\x41\x4c\x53"}["wh\x6f\x7a\x75\x73"]="\x70\x54\x61\x62l\x65";$faufyqxs="\x64e\x6c\x73\x74\x6dt";${$faufyqxs}="DEL\x45T\x45 F\x52\x4f\x4d\x20".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77hoz\x75\x73"]}." \x57\x48ERE\x20at\x74\x72ib\x75tes\x65\x74\x20=\x20".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x68\x6a\x78\x70\x73\x78\x78\x74e"]}["att\x72ibut\x65\x53\x65t\x49d"];try{$this->db->_impEngine->exec_stmt(${${"\x47\x4cOB\x41\x4cS"}["j\x76\x6f\x71oc"]});}catch(PDOException$e){$this->tpl->addLogAfterLoad($e->getMessage(),"er\x72o\x72");return false;}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x71d\x76\x61\x75c\x78\x6f\x6a\x6c"]}=array("a\x74\x74r\x69b\x75teN\x61m\x65","\x63ust\x6f\x6dA\x74\x74ri\x62u\x74\x65Tit\x6ce","d\x65\x66\x61ultValu\x65","\x65\x6e\x61ble\x64","\x75\x73e\x46\x6frV\x69\x65\x77\x46\x6f\x72\x6d","w\x79\x73\x69wy\x67","\x73or\x74\x4fr\x64e\x72","\x69\x6ep\x75\x74Wid\x74\x68","sy\x73\x74\x65\x6d\x6dan\x64at\x6f\x72\x79","att\x72\x69bu\x74e\x73\x65t");for(${${"\x47LO\x42A\x4c\x53"}["\x79\x72\x77\x6a\x6dn\x76\x70jqw"]}=0;${${"G\x4cO\x42A\x4cS"}["\x79\x72\x77\x6am\x6e\x76\x70\x6aq\x77"]}<${${"\x47\x4cOBA\x4cS"}["\x71k\x6d\x64\x67\x79i"]};${${"G\x4c\x4f\x42\x41LS"}["\x68\x65rop\x64\x72\x68\x78m"]}++){$hjnmsktjxw="\x69";${"G\x4c\x4fBA\x4c\x53"}["q\x64\x79v\x65w\x6d"]="\x65n\x61\x62\x6ced";${"\x47\x4c\x4fB\x41\x4cS"}["\x72b\x75\x7a\x64\x76\x70\x76\x64\x69\x73\x76"]="\x69";$quvucsentu="\x69";$inxkvjcgs="attr\x69but\x65\x73";${${"\x47\x4cO\x42A\x4c\x53"}["\x71d\x79v\x65\x77\x6d"]}=${${"\x47L\x4fB\x41\x4cS"}["v\x68\x6a\x78\x70\x73\x78\x78te"]}["\x65n\x61\x62\x6c\x65d"][${${"\x47L\x4f\x42\x41\x4c\x53"}["r\x62\x75\x7a\x64\x76pv\x64i\x73\x76"]}]=="Y\x65s"?1:0;$jcgoxtthlpi="\x73t\x6d";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68it\x71\x65\x68\x71dwix"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x68\x6axp\x73x\x78\x74\x65"]}["\x77ysiwy\x67"][${$hjnmsktjxw}]=="Y\x65s"?1:0;$ugxrgthfeg="\x69";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x75wp\x67u"]}=${$inxkvjcgs}["useF\x6f\x72\x56iew\x46\x6f\x72m"][${$quvucsentu}]=="\x59\x65s"?1:0;$vsdbdskmut="\x61ttri\x62\x75t\x65\x73";${"G\x4cO\x42\x41\x4c\x53"}["\x63e\x69f\x63\x76n\x66\x67"]="\x64\x62\x61ttr\x69\x62\x75te\x73";${${"GLO\x42A\x4c\x53"}["\x65\x77rr\x69\x63\x6b"]}=${$vsdbdskmut}["\x73yste\x6d\x6dan\x64\x61tory"][${$ugxrgthfeg}];if(${${"\x47\x4c\x4fBA\x4cS"}["\x65w\x72\x72\x69\x63\x6b"]}==""||${${"\x47LO\x42A\x4c\x53"}["e\x77\x72\x72\x69\x63k"]}==NULL){${${"G\x4c\x4f\x42ALS"}["\x65wr\x72\x69\x63\x6b"]}=0;}${$jcgoxtthlpi}="\x49NSER\x54\x20I\x4eTO ".${${"\x47L\x4f\x42\x41\x4cS"}["\x6ace\x67u\x67\x69\x69\x67lw"]}." (".implode(",",${${"\x47\x4cO\x42AL\x53"}["ce\x69\x66\x63v\x6e\x66\x67"]}).")\x20\x56ALUES (?,?,?,?,?,?,?,?,?,?)";try{${"G\x4cO\x42A\x4cS"}["n\x6c\x71tr\x6ax"]="\x69";${"\x47L\x4f\x42\x41\x4c\x53"}["\x7a\x63\x76\x79\x78\x6f\x71\x6b"]="\x61t\x74\x72\x69\x62u\x74\x65\x73";${"\x47\x4cOB\x41L\x53"}["\x73\x75pqd\x76\x6f\x66\x6e\x6a"]="s\x74\x6d";${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x75\x79\x68\x6fr\x70\x75"]="\x69";${"G\x4c\x4fBAL\x53"}["\x78b\x6d\x68\x72\x71\x79\x71\x67\x61\x70"]="at\x74r\x69\x62\x75\x74e\x73";$this->db->_impEngine->exec_stmt(${${"G\x4c\x4f\x42ALS"}["\x73\x75p\x71d\x76\x6f\x66\x6e\x6a"]},array(${${"\x47LO\x42A\x4c\x53"}["\x76hjx\x70\x73x\x78te"]}["a\x74\x74rib\x75t\x65Name"][${${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x72\x77\x6a\x6d\x6e\x76\x70\x6a\x71w"]}],${${"\x47\x4cO\x42\x41L\x53"}["\x78\x62\x6dhrq\x79\x71\x67ap"]}["cu\x73to\x6d\x41\x74\x74ri\x62u\x74e\x54itl\x65"][${${"\x47LOB\x41L\x53"}["\x79r\x77\x6amn\x76pj\x71\x77"]}],${${"GL\x4fBAL\x53"}["z\x63v\x79\x78oqk"]}["d\x65f\x61\x75lt\x56a\x6cue"][${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x72\x77\x6am\x6e\x76\x70j\x71\x77"]}],${${"\x47\x4c\x4fB\x41LS"}["\x62\x6c\x65\x6cx\x70g\x76\x7a\x6c\x72"]},${${"G\x4cOB\x41\x4c\x53"}["\x6auw\x70\x67\x75"]},${${"G\x4c\x4f\x42\x41LS"}["\x68\x69\x74\x71\x65h\x71d\x77\x69x"]},${${"G\x4c\x4f\x42\x41L\x53"}["fuyho\x72\x70\x75"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["vhjx\x70s\x78\x78\x74e"]}["\x69npu\x74W\x69\x64\x74h"][${${"\x47\x4cO\x42\x41L\x53"}["\x6el\x71t\x72\x6a\x78"]}],${${"\x47L\x4f\x42\x41LS"}["\x65\x77\x72ri\x63\x6b"]},${${"\x47LOBA\x4c\x53"}["v\x68\x6a\x78\x70\x73xx\x74e"]}["at\x74\x72\x69bu\x74eS\x65\x74\x49\x64"]));}catch(PDOException$e){$kvuxyerkh="r\x65\x73\x74\x6f\x72\x65Q\x75\x65\x72\x79\x53t\x72i\x6e\x67";$this->db->_impEngine->exec_stmt(${$kvuxyerkh});$this->tpl->addLogAfterLoad("Up\x64ati\x6e\x67\x20\x64\x61t\x61 \x66\x61ile\x64\x2e Ba\x63\x6b\x75p\x20re\x73\x74or\x65\x64. \x50l\x65\x61se\x20c\x6fnt\x61\x63t\x20\x75s\x20if th\x69s \x65\x72\x72or\x20\x6b\x65e\x70s\x20p\x6fppi\x6e\x67\x20\x75\x70.\x20E\x72\x72or:<b\x72/\x3e".$e->getMessage());}}${${"GL\x4fBAL\x53"}["\x70\x6d\x79\x69pg"]}=date("Y-\x6d-d\x20\x48:i:\x73");$this->tpl->addLogAfterLoad("\x43\x6f\x6efi\x67\x75\x72atio\x6e\x20\x73u\x63\x63esful\x6c\x79\x20sa\x76\x65d\x20\x6fn: ".${${"G\x4c\x4f\x42\x41\x4cS"}["p\x6dy\x69\x70\x67"]});}else{$this->tpl->addLogAfterLoad("Er\x72o\x72\x20\x77\x68i\x6ce\x20\x73a\x76i\x6e\x67 \x64\x61ta\x2e\x20\x50\x6c\x65a\x73\x65 \x6dake \x73\x75r\x65 \x79ou\x20\x68\x61v\x65 \x63\x6fm\x70\x6ce\x74\x65d \x20the\x20insta\x6c\x6ca\x74\x69o\x6e p\x72ocess.","in\x73ta\x6cl");}}public function saveImportProfiles(){$kutsouy="\x61\x74t\x72\x69\x62u\x74\x65\x73";$uvvwwmuojn="\x70\x54a\x62\x6ce";$ejquevnaspb="\x72\x6f\x77\x73";$llkpfngbyqp="\x69\x6d\x70\x6f\x72tP\x72\x6f\x66i\x6ceC\x6fd\x65";$hvwdut="a\x74\x74r\x69\x62\x75\x74\x65\x73";${$kutsouy}=$_POST;$jbtsfxiq="\x70\x54a\x62\x6ce";${$ejquevnaspb}=count(${${"GL\x4f\x42\x41\x4c\x53"}["\x76\x68\x6a\x78\x70s\x78\x78t\x65"]}["na\x6de"]);${${"G\x4c\x4fBAL\x53"}["\x72\x77\x64\x70\x66\x62\x72\x71a"]}=array_keys(${$hvwdut});${$uvvwwmuojn}=$this->registry->productAutoSaveTable;${$llkpfngbyqp}="pi\x70";${${"G\x4c\x4f\x42A\x4c\x53"}["\x6a\x76\x6f\x71o\x63"]}="DE\x4cE\x54\x45\x20\x46RO\x4d\x20".${$jbtsfxiq}."\x20WH\x45RE c\x6fd\x65 \x3d\x20\x27".${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x6e\x63\x75\x72\x68\x76\x6e\x74"]}."\x27";try{$this->db->_impEngine->exec_stmt(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6avo\x71\x6f\x63"]});}catch(PDOException$e){$this->tpl->addLogAfterLoad($e->getMessage(),"er\x72or");return false;}if(${${"\x47\x4cO\x42AL\x53"}["m\x73yv\x76\x74\x77nn\x77"]}!=NULL&&${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x73\x79\x76v\x74\x77\x6e\x6e\x77"]}!=0){${"\x47L\x4f\x42\x41\x4cS"}["\x6ba\x74b\x75\x73\x78\x6f"]="\x69";$jdswrerrhdqf="\x69";${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x64\x68\x70k\x68\x70\x72y\x68\x69\x65"]="\x72\x6fw\x73";for(${${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x61t\x62\x75\x73xo"]}=0;${$jdswrerrhdqf}<${${"GL\x4f\x42\x41\x4c\x53"}["q\x64\x68\x70\x6b\x68\x70\x72\x79h\x69\x65"]};${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x72\x77\x6a\x6dnv\x70\x6a\x71w"]}++){$aoqkrlrt="\x61\x74\x74ribut\x65\x73";${"\x47\x4cOB\x41\x4c\x53"}["\x68f\x6dc\x79\x72\x6a"]="\x6ea\x6de";${"\x47\x4cO\x42\x41LS"}["\x69jro\x75\x65xg\x6bd"]="\x61r\x72k\x65\x79\x73";${${"\x47\x4c\x4f\x42ALS"}["hf\x6dc\x79\x72\x6a"]}=${$aoqkrlrt}["n\x61\x6d\x65"][${${"G\x4c\x4f\x42\x41LS"}["\x79rw\x6a\x6d\x6e\x76\x70\x6a\x71w"]}];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64y\x68\x66\x67\x67\x66"]}=array();foreach(${${"G\x4cO\x42AL\x53"}["\x69\x6ar\x6f\x75exg\x6bd"]} as${${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x6domh\x67\x6a\x69\x61"]}){${"G\x4c\x4f\x42A\x4c\x53"}["\x6em\x6di\x6d\x62\x74\x72\x61"]="\x61ke\x79";${"\x47LOBA\x4c\x53"}["\x72\x62n\x69\x63\x63\x76t\x6cy"]="a\x74\x74\x72\x69\x62\x75te\x73";${${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x79\x68\x66\x67\x67\x66"]}[${${"\x47\x4cOB\x41\x4c\x53"}["\x6em\x6f\x6d\x68\x67\x6ai\x61"]}]=htmlentities((string)str_replace("\x5c","/",${${"GLO\x42A\x4c\x53"}["\x72\x62nic\x63\x76\x74l\x79"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6emm\x69\x6db\x74\x72a"]}][${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x72\x77\x6a\x6d\x6ev\x70\x6a\x71\x77"]}]));}try{$xeosmmtvkeu="i\x6dp\x6f\x72t\x50r\x6ff\x69\x6ce";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x79t\x74\x6fcd\x73\x72"]="na\x6d\x65";$pirwvvplkc="\x6ea\x6d\x65";${"GL\x4f\x42\x41LS"}["\x75d\x68\x69g\x6ak\x70\x65\x72\x6er"]="\x6as\x6fnd\x61ta";if(version_compare(phpversion(),"5\x2e4","\x3e"))${${"GLO\x42ALS"}["\x75\x64hi\x67\x6a\x6b\x70e\x72n\x72"]}=json_encode(${$xeosmmtvkeu},JSON_UNESCAPED_SLASHES);else${${"GLO\x42A\x4c\x53"}["\x6d\x76ccy\x6a\x6ek\x6f"]}=str_replace("\\/","/",json_encode(${${"GL\x4f\x42\x41\x4c\x53"}["\x64y\x68\x66\x67\x67f"]}));if(${${"G\x4c\x4fBAL\x53"}["\x6cy\x74\x74o\x63ds\x72"]}==""||${$pirwvvplkc}==NULL){}else{${"G\x4cO\x42\x41LS"}["\x6et\x66\x71k\x67\x68\x62\x77\x76\x78h"]="\x73t\x6d";${${"GLO\x42\x41LS"}["\x6e\x74f\x71\x6b\x67h\x62\x77v\x78\x68"]}="I\x4eS\x45\x52T I\x4e\x54\x4f\x20".${${"\x47\x4cOBA\x4cS"}["\x6ace\x67\x75\x67\x69\x69\x67\x6c\x77"]}." (\x6e\x61me,co\x6et\x65nt,co\x64e)\x20VA\x4c\x55E\x53\x20('$name\x27,\x27$jsondata\x27,\x27$importProfileCode\x27)";try{$hclhndfl="\x6ea\x6d\x65";$bfdlqcfbo="i\x6dpo\x72\x74P\x72o\x66\x69\x6c\x65\x43\x6f\x64\x65";${"G\x4cOB\x41\x4c\x53"}["d\x6a\x6f\x66my\x78\x6a"]="\x73t\x6d";$this->db->_impEngine->exec_stmt(${${"\x47\x4c\x4f\x42\x41L\x53"}["d\x6a\x6ffmyxj"]},array(${$hclhndfl},${${"\x47LO\x42\x41L\x53"}["\x6dvc\x63\x79\x6a\x6eko"]},${$bfdlqcfbo}));}catch(PDOException$e){$crznctjnfxyz="\x72\x65\x73to\x72\x65Q\x75e\x72yS\x74\x72i\x6e\x67";$this->db->_impEngine->exec_stmt(${$crznctjnfxyz});$this->tpl->addLogAfterLoad("\x55\x70\x64\x61\x74\x69ng\x20\x64\x61\x74a fai\x6ce\x64\x2e\x20P\x6cea\x73e\x20\x63\x6f\x6etact\x20\x75\x73 \x69f t\x68is e\x72r\x6fr \x6b\x65e\x70\x73\x20p\x6f\x70p\x69\x6eg\x20up\x2e Erro\x72:<b\x72/>".$e->getMessage());}}}catch(Exception$e){$this->tpl->addLogAfterLoad("\x45\x72\x72\x6fr w\x68\x69\x6ce\x20\x65\x6e\x63\x6fd\x69\x6eg data: \x3c\x62\x72/\x3e".$e->getMessage(),"er\x72or",true);}}$this->tpl->addLogAfterLoad("\x43on\x66\x69\x67\x75ra\x74\x69on s\x75c\x63es\x66u\x6c\x6cy\x20s\x61v\x65d \x6fn: ".${${"G\x4c\x4f\x42A\x4cS"}["\x70\x6d\x79ip\x67"]});}else{$this->tpl->addLogAfterLoad("Err\x6f\x72\x20\x77h\x69\x6ce\x20\x73\x61\x76i\x6e\x67 d\x61ta.\x20\x50\x6c\x65as\x65 m\x61ke\x20\x73\x75r\x65 \x79\x6f\x75 h\x61\x76e comp\x6ce\x74\x65\x64\x20\x20\x74he\x20\x69nst\x61llati\x6fn\x20p\x72\x6f\x63\x65\x73\x73\x2e","ins\x74a\x6cl");}}public function getProductAttributes(){$this->tpl->show("con\x66\x69g\x47\x65t\x50ro\x64\x75\x63t\x41\x74\x74\x72\x69\x62\x75t\x65s",true);}public function saveAttributeOrder(){}public function productgeneral(){$hnilcqqwhel="\x70\x54abl\x65";${$hnilcqqwhel}=$this->registry->generalConfTable;try{$xfyzhlut="s\x74\x6d";$xaekbainsu="\x72\x6f\x77\x73";$vbujlxcedp="row\x73";${"\x47L\x4fBA\x4cS"}["s\x63\x77\x75\x75\x69\x70"]="s\x74\x6d";${$xfyzhlut}="SE\x4c\x45\x43\x54 *\x20FR\x4fM $pTable y\x20OR\x44E\x52 BY\x20s\x6fr\x64\x65r\x20\x41S\x43";${$xaekbainsu}=$this->db->_impEngine->selectAll(${${"\x47LO\x42\x41\x4c\x53"}["\x73c\x77\x75u\x69\x70"]},array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ac\x65g\x75\x67\x69\x69\x67\x6c\x77"]}));$this->tpl->configurableparams=${$vbujlxcedp};}catch(PDOException$e){$this->tpl->addLogBeforeLoad("Er\x72o\x72 w\x68i\x6ce\x20retr\x69ev\x69\x6eg field\x73,\x20\x64\x65\x74ai\x6cs:");$this->tpl->addLogBeforeLoad($e->getMessage());}$this->tpl->show("confi\x67\x50\x72o\x64\x75\x63tGen\x65\x72a\x6c");}public function newAttributeSet(){$wnbehmmutszg="\x64a\x74\x61";${$wnbehmmutszg}=$_POST;${${"\x47L\x4fBAL\x53"}["n\x77\x72\x70\x65\x72\x74"]}=$this->registry->attSetsTable;${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x76b\x75\x70m\x79\x62\x78\x78tm"]}=${${"G\x4cO\x42\x41L\x53"}["\x66\x69\x75\x68\x63\x76t\x77\x6c"]}["\x76\x61lue"];${${"GL\x4f\x42\x41\x4c\x53"}["\x7af\x6b\x6a\x70\x76z"]}="INSE\x52T\x20\x49\x4eTO\x20$atsetsTable\x20(n\x61m\x65)\x20VAL\x55\x45\x53\x20('$name');";try{${"\x47\x4c\x4f\x42A\x4c\x53"}["vs\x6ar\x76q\x63\x6d\x69"]="\x61\x74s\x65\x74\x73T\x61b\x6c\x65";${${"\x47\x4cO\x42\x41LS"}["\x6draf\x6ccqtm\x6eg"]}=$this->db->_impEngine->insert(${${"\x47\x4c\x4fBAL\x53"}["\x7a\x66\x6bjp\x76\x7a"]},array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x73\x6a\x72\x76q\x63\x6d\x69"]},${${"\x47L\x4fBALS"}["yv\x62up\x6d\x79\x62x\x78\x74\x6d"]}));${${"G\x4c\x4f\x42\x41LS"}["\x79e\x69\x6d\x71\x68\x79\x78m\x79"]}=$this->db->addDefaultAttributes(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x72\x61\x66\x6c\x63\x71t\x6dng"]});echo${${"G\x4c\x4fB\x41L\x53"}["\x6drafl\x63\x71\x74\x6d\x6e\x67"]};}catch(PDOException$e){$esudzsslp="\x75\x6ek\x6e\x6f\x77\x6e\x45\x78ce\x70\x74ionM\x65s\x73\x61\x67\x65";$this->tpl->addLogAfterLoad("C\x6fnf\x69g:\x20\x20".${$esudzsslp}." Det\x61\x69\x6c\x73: <br/>".$e->getMessage());echo"\x65\x72\x72o\x72";}return true;}public function cloneAttributeSet(){${"\x47LOB\x41L\x53"}["\x66y\x74\x78\x77o\x69\x63p"]="d\x61\x74\x61";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66i\x75\x68\x63\x76t\x77l"]}=$_POST;$wocnylbcdp="\x71u\x65\x72\x79";${"\x47\x4c\x4f\x42AL\x53"}["\x6f\x62\x62\x6e\x66v"]="\x6e\x65\x77Se\x74Id";${${"G\x4cO\x42\x41\x4c\x53"}["d\x6a\x6egct\x65\x6dp"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66iu\x68\x63\x76t\x77\x6c"]}["\x61\x74t\x53\x65\x74I\x64"];$iwqudlpnhexc="newSe\x74I\x64";${${"\x47\x4c\x4f\x42\x41LS"}["\x79\x76\x62upm\x79\x62\x78\x78tm"]}=${${"G\x4c\x4fBA\x4c\x53"}["f\x79tx\x77\x6f\x69\x63p"]}["\x76alue"];${${"G\x4c\x4fBA\x4cS"}["o\x62b\x6e\x66\x76"]}=$this->newAttributeSetCustom(${${"\x47L\x4fBA\x4cS"}["\x79\x76b\x75pmy\x62xx\x74\x6d"]});${${"GL\x4f\x42AL\x53"}["\x6ac\x65g\x75g\x69\x69\x67l\x77"]}=$this->registry->productConfTable;${$wocnylbcdp}="\n\t\x49\x4eS\x45\x52T\x20\x49\x4e\x54O\x20$pTable\n\t\t(\x61ttr\x69\x62uteN\x61me,\x20\x63usto\x6d\x41\x74t\x72\x69but\x65\x54\x69\x74\x6ce, e\x6e\x61b\x6c\x65d, us\x65\x46or\x56ie\x77\x46orm, s\x6frt\x4frd\x65\x72,\x20\x64\x65fa\x75l\x74\x56\x61\x6cu\x65,\x20\x77ysi\x77yg,\x20i\x6eput\x57idth,\x20\x73ys\x74e\x6d\x6dan\x64\x61t\x6fry,\x20a\x74t\x72\x69bu\x74e\x73\x65\x74, k\x6eow\x6e\x46\x72\x6f\x6d\x4c\x69\x73t)\n\t\t\x53E\x4c\x45\x43T\n\t\t\x61\x74t\x72\x69\x62\x75\x74\x65\x4e\x61m\x65, \x63\x75\x73tomA\x74\x74r\x69buteT\x69\x74\x6ce, \x65na\x62le\x64, u\x73\x65F\x6fr\x56ie\x77F\x6f\x72\x6d, so\x72tO\x72\x64\x65r, def\x61\x75l\x74\x56alue,\x20w\x79\x73\x69wyg, \x69nput\x57\x69d\x74h, systemmand\x61\x74\x6f\x72y, ".${$iwqudlpnhexc}.", \x6bn\x6f\x77\x6eFro\x6d\x4c\x69st\n\t\t\x46\x52\x4fM $pTable\n\t\tWHER\x45 a\x74\x74\x72ib\x75\x74es\x65t = ".${${"\x47\x4c\x4f\x42\x41LS"}["\x64\x6an\x67\x63\x74\x65m\x70"]};try{${"\x47L\x4f\x42\x41L\x53"}["\x6dm\x76\x78\x6d\x6d\x64r\x74"]="p\x54\x61bl\x65";$aqqxfimphwr="\x72e\x74\x75\x72\x6e\x49\x64";$vmitoqbovb="p\x54a\x62\x6c\x65";$xcddwykqks="ne\x77\x53\x65t\x49d";${$aqqxfimphwr}=$this->db->_impEngine->insert(${${"\x47\x4c\x4f\x42\x41LS"}["\x74e\x67\x6c\x72oqut"]},array(${${"G\x4c\x4fB\x41L\x53"}["\x6d\x6d\x76x\x6d\x6dd\x72\x74"]},${$vmitoqbovb}));echo${$xcddwykqks};}catch(PDOException$e){$this->tpl->addLogAfterLoad("ERROR, det\x61\x69l\x73:\x20\x3c\x62\x72/>".$e->getMessage());echo"\x65\x72r\x6f\x72";}return true;}public function newAttributeSetCustom($name){$yduhpbir="\x73t\x6d";${${"\x47L\x4f\x42A\x4c\x53"}["n\x77rp\x65r\x74"]}=$this->registry->attSetsTable;${$yduhpbir}="\x49\x4e\x53ERT\x20INTO\x20$atsetsTable\x20(nam\x65)\x20\x56\x41LUE\x53\x20(\x27$name\x27)\x3b";try{${"\x47\x4c\x4fBA\x4c\x53"}["\x67b\x75b\x6b\x71\x6f\x65\x76r\x63\x6c"]="\x6ea\x6d\x65";$npwluoo="\x72\x65t\x75r\x6e\x49\x64";$offqjykizkk="r\x65\x74\x75\x72\x6e\x49\x64";${$offqjykizkk}=$this->db->_impEngine->insert(${${"G\x4c\x4fB\x41\x4c\x53"}["\x7afk\x6a\x70\x76\x7a"]},array(${${"\x47\x4cO\x42A\x4c\x53"}["\x6e\x77\x72\x70ert"]},${${"G\x4c\x4fBALS"}["\x67\x62\x75bkq\x6f\x65\x76\x72c\x6c"]}));return${$npwluoo};}catch(PDOException$e){$xxeatzbmh="\x75nk\x6eo\x77\x6eE\x78cep\x74i\x6f\x6e\x4d\x65ss\x61g\x65";$this->tpl->addLogAfterLoad("\x43\x6f\x6ef\x69\x67:\x20\x20".${$xxeatzbmh}." \x44\x65\x74\x61\x69\x6cs: \x3cbr/>".$e->getMessage());return"e\x72\x72\x6fr";}}public function deleteAttributeSet(){$yhferbzzovd="\x64ata";${"\x47\x4c\x4f\x42A\x4cS"}["\x77r\x74\x78\x72\x65\x69\x63r\x76\x6d"]="\x61\x74\x73et\x73\x54a\x62\x6c\x65";${${"G\x4c\x4fBAL\x53"}["\x66\x69\x75\x68\x63\x76\x74\x77\x6c"]}=$_POST;${${"G\x4cO\x42A\x4c\x53"}["\x77\x72\x74\x78\x72\x65i\x63\x72v\x6d"]}=$this->registry->attSetsTable;${${"\x47\x4cO\x42\x41L\x53"}["\x64\x6a\x6eg\x63\x74\x65m\x70"]}=${$yhferbzzovd}["\x76a\x6cu\x65"];${${"G\x4c\x4f\x42A\x4c\x53"}["zf\x6bj\x70\x76z"]}="DE\x4cE\x54\x45 \x46\x52\x4f\x4d $atsetsTable\x20\x57HE\x52E i\x64 =\x20$attSetId;";try{$dupwfmthdr="\x61\x74\x74\x53\x65\x74\x49\x64";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x63t\x62\x78\x71\x70\x6d\x73\x61\x73"]}=$this->db->_impEngine->exec_stmt(${${"\x47\x4c\x4fB\x41\x4cS"}["z\x66\x6b\x6a\x70\x76\x7a"]},array(${${"G\x4cO\x42\x41L\x53"}["n\x77\x72\x70\x65r\x74"]},${$dupwfmthdr}));}catch(PDOException$e){$this->tpl->addLogAfterLoad("\x43\x6fnfig:\x20 ".${${"\x47\x4c\x4fB\x41\x4c\x53"}["kmnm\x69\x6c\x64"]}." \x44\x65\x74\x61\x69\x6cs:\x20<\x62\x72/>".$e->getMessage());}}public function saveGeneral(){$euqjggdrao="\x64\x61\x74\x61";${${"\x47\x4cOBAL\x53"}["f\x69\x75\x68c\x76t\x77\x6c"]}=$_POST;${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x63\x65g\x75g\x69\x69\x67\x6c\x77"]}=$this->registry->generalConfTable;foreach(${$euqjggdrao} as${${"\x47\x4cO\x42\x41\x4c\x53"}["\x74u\x6d\x73\x63\x6e\x68m"]}=>${${"G\x4cO\x42\x41LS"}["\x66\x75\x74\x77\x66l\x64\x62ic\x72s"]}){${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x73\x71\x6b\x6a\x75r\x6d\x77"]}="U\x50DA\x54\x45 $pTable \x53\x45\x54 \x76a\x6cu\x65 = \x27$value'\x20WH\x45\x52E na\x6d\x65 \x3d\x20'$key'";try{${"G\x4c\x4f\x42\x41\x4cS"}["y\x77\x71st\x71\x72"]="\x70\x54\x61\x62\x6c\x65";$vyqujxxwysk="\x73\x71\x6c";$this->db->_impEngine->insert(${$vyqujxxwysk},array(${${"\x47LOB\x41\x4c\x53"}["\x79\x77q\x73t\x71\x72"]},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66u\x74w\x66\x6cd\x62ic\x72\x73"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74u\x6d\x73c\x6e\x68\x6d"]}));$this->tpl->addLogAfterLoad("S\x61ve\x20\x6ff ".${${"\x47L\x4f\x42A\x4c\x53"}["\x74u\x6dsc\x6e\x68\x6d"]}." \x73u\x63ces\x66u\x6cl<\x62\x72/>","\x69n\x66\x6f");}catch(Exception$e){$this->tpl->addLogAfterLoad("\x53a\x76\x65 \x6f\x66 ".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x75\x6ds\x63\x6e\x68\x6d"]}." u\x6esu\x63\x63es\x66\x75ll.\x3c\x62r/>Det\x61\x69\x6cs:<b\x72/>".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x61\x6c\x71bp\x62\x64\x77\x6e\x6a"]},"err\x6fr");}}}public function getDefaultValueForInput($data){${"GL\x4fBA\x4cS"}["\x63\x62\x6d\x6blw"]="\x72\x65\x74";${"GLO\x42A\x4c\x53"}["\x70\x68\x64\x6cgg\x73\x72"]="\x61\x74\x74\x72\x69b\x75t\x65Na\x6d\x65";${${"\x47L\x4f\x42\x41L\x53"}["e\x69\x70\x69\x70d\x74s"]}=$_POST["attr\x69\x62u\x74eNam\x65"];${"\x47L\x4fBA\x4cS"}["\x70\x62\x73u\x72\x68\x67"]="\x64ef\x61\x75\x6c\x74V\x61l\x75\x65";$ooqrkpsrtv="\x64\x65\x66\x61u\x6c\x74\x56\x61\x6c\x75\x65";${$ooqrkpsrtv}=$_POST["d\x65faul\x74\x56\x61lue"];${${"GL\x4f\x42\x41L\x53"}["\x63\x62m\x6blw"]}=$this->model->getDefaultValueInput(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x68\x64\x6cg\x67\x73r"]},${${"\x47\x4cO\x42\x41\x4cS"}["\x70bs\x75\x72\x68g"]});echo${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70nxl\x70\x72m\x61"]};}public function attributeSelection($params){echo$this->lang["\x63o\x6ef\x5f\x61\x74t\x73\x65l\x65\x63t_su\x62te\x78t"];${"G\x4c\x4fBA\x4cS"}["\x79cb\x69\x62i\x6a"]="v\x61\x6c\x75es";echo"\x3c\x74\x61b\x6c\x65 \x63lass\x3d\"\x61\x74tr\x69b\x75\x74\x65\x53el\x65c\x74i\x6fn\x54ab\x6ce\x22\x3e";echo"\x3ct\x68\x20a\x6ci\x67\x6e=\x22\x6ceft\x22\x3eAt\x74\x72ibu\x74\x65\x3c/th\x3e<t\x68 al\x69\x67n=\x22l\x65\x66t\">\x44e\x73\x63\x72ip\x74\x69\x6f\x6e</th>\x3cth \x61\x6ci\x67n=\"lef\x74\x22\x3eA\x63t\x69o\x6e\x73</\x74\x68\x3e";foreach($this->model->fieldsArray as${${"\x47L\x4fB\x41\x4cS"}["xw\x75\x72b\x78\x65v\x66\x6a"]}=>${${"GL\x4f\x42\x41\x4c\x53"}["\x79c\x62ib\x69j"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x68f\x74\x78\x77\x69mrok"]="\x70\x61\x72\x61\x6d\x73";$wwkcuoh="\x6as\x6fn";${"\x47L\x4f\x42\x41L\x53"}["\x73\x6cn\x79hg\x78cm\x6c"]="\x74y\x70e";$gfcyrege="\x70\x61\x72\x61\x6d\x73";${${"\x47LO\x42A\x4cS"}["\x73ln\x79\x68g\x78cm\x6c"]}=${${"G\x4cOBA\x4c\x53"}["xx\x66dd\x69s\x76u"]}["\x74ype"];$vgbnepfvpvxj="fi\x65ldn\x61\x6d\x65";$ybnnblpy="\x74\x79\x70\x65";${$wwkcuoh}=addslashes(${${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x78\x66\x64di\x73v\x75"]}["s\x65l\x65\x63t\x69\x6fn"]);echo"\x3c\x74\x72>";echo"<\x74d\x20\x63lass\x3d\x27f\x69\x65ld\x4e\x61m\x65'\x3e\n\t\t\t\t\t\x3ci\x6epu\x74 id\x3d'f\x69e\x6cd\x49' t\x79\x70\x65\x3d'\x68\x69dd\x65n\x27 \x64\x69sa\x62\x6ced\x3d\x27d\x69\x73abled'\x20\x76a\x6c\x75\x65=\x27".${$vgbnepfvpvxj}."\x27\x20/>\n\t\t\t\t\t<\x6ca\x62e\x6c>".${${"\x47L\x4fBA\x4c\x53"}["\x78w\x75r\x62\x78\x65\x76fj"]}."</\x6ca\x62e\x6c\x3e\x3c/\x74\x64\x3e\n\t\t\t\t\x3ctd\x3e".${${"G\x4c\x4f\x42\x41L\x53"}["\x78xfd\x64\x69\x73\x76u"]}["d\x65s\x63ri\x70tio\x6e"]."</t\x64>\n\t\t\t\t\x3ct\x64>\x3ca \x68\x72e\x66\x3d'#' class\x3d\x27btn'\x20\x6f\x6e\x43\x6c\x69ck='\x75s\x65T\x68\x69\x73(\x74\x68i\x73,\x22".${${"\x47LO\x42\x41\x4c\x53"}["\x6b\x68\x66\x74\x78\x77\x69\x6dro\x6b"]}[0]."\",\x22".${${"GLO\x42A\x4cS"}["\x78w\x75\x72\x62xe\x76\x66\x6a"]}."\x22,\"".${$gfcyrege}[1]."\",\x22".addslashes(${$ybnnblpy})."\",\"".addslashes(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6cmu\x6b\x6c\x72k"]})."\")'\x3eI\x6es\x65rt\x3c/\x61\x3e\x3c/\x74d\x3e\t\t\n\t\t\t";echo"</tr\x3e";}echo"</\x74ab\x6c\x65\x3e";}}
Function Calls
None |
Stats
MD5 | 7cb85e672287f3c0c31a593ae20484a1 |
Eval Count | 0 |
Decode Time | 134 ms |