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 ${"\x47L\x4f\x42\x41L\x53"}["\x6c\x78m\x77nlr\x6a\x71\x61p"]="w\x65\x65\x65\x41t\x74..
Decoded Output download
<?php ${"GLOBALS"}["lxmwnlrjqap"]="weeeAttributes";${"GLOBALS"}["lsgpgjim"]="items";${"GLOBALS"}["uqbqwisu"]="item";${"GLOBALS"}["swenfbhguk"]="collection";${"GLOBALS"}["yaphsiyysf"]="container";${"GLOBALS"}["tzgrcxmnq"]="columnsContainer";${"GLOBALS"}["qwdjyxqqoz"]="locale";${"GLOBALS"}["vhhsbkskxxk"]="taxonomyCode";${"GLOBALS"}["kbmkmwqy"]="code";${"GLOBALS"}["hjcdxe"]="placeholderUrl";${"GLOBALS"}["uzticzleoogf"]="placeholder";${"GLOBALS"}["avklgkah"]="imageUrlPrefix";${"GLOBALS"}["plxbfwxdnamx"]="format";${"GLOBALS"}["xlgrgdex"]="productFlatAttributeDuplicatesCode";${"GLOBALS"}["pyuqgjkvov"]="allAttributesInfo";${"GLOBALS"}["ejdnjuzvd"]="errorCode";${"GLOBALS"}["zmwajislrj"]="missingAttributes";${"GLOBALS"}["lrhplxkefa"]="attribute";${"GLOBALS"}["qlybjyee"]="attributeCode";${"GLOBALS"}["dqvughmth"]="flatColumns";${"GLOBALS"}["eopvrrild"]="type";${"GLOBALS"}["zhqnydq"]="index";${"GLOBALS"}["ruggywfkkyx"]="res";${"GLOBALS"}["kszlsqjcmd"]="store";${"GLOBALS"}["xmkslgdcif"]="name";${"GLOBALS"}["wxbmdfqmvv"]="conditions";${"GLOBALS"}["socblfepyol"]="attribName";${"GLOBALS"}["whqbhdhavjm"]="unknownAttributes";${"GLOBALS"}["djhwrkkmc"]="attributes";${"GLOBALS"}["zvoeiohhzvo"]="parent";${"GLOBALS"}["ncrrdildlr"]="storeId";${"GLOBALS"}["uvznnrpizwb"]="selectColumns";${"GLOBALS"}["zrtnoidmxce"]="condition";${"GLOBALS"}["eykpfwms"]="addColumns";${"GLOBALS"}["ynxqtfggtb"]="joinTable";${"GLOBALS"}["uyobsyk"]="joinTableAlias";${"GLOBALS"}["ccfiwpwepun"]="mainTableAlias";${"GLOBALS"}["eggqsdvn"]="value";${"GLOBALS"}["apnqxlz"]="tableColumns";${"GLOBALS"}["xdqdevpwhz"]="addTablePrefix";${"GLOBALS"}["okphbnkje"]="result";${"GLOBALS"}["kbrtwyqpmjs"]="tableAlias";${"GLOBALS"}["nbkhfrjng"]="columns";${"GLOBALS"}["jlxgfxm"]="defaultCatPathDelim";${"GLOBALS"}["mgxofxdm"]="batch";${"GLOBALS"}["ieenpefloqqf"]="batchSize";${"GLOBALS"}["hsdukkpfe"]="offset";${"GLOBALS"}["mhortwhqgl"]="select";class Nostress_Nscexport_Model_Mysql4_Data_Loader extends Nostress_Nscexport_Model_Mysql4_Abstract{const CPF="cpf";const CPE="cpe";const PCPF="pcpf";const CCF="ccf";const PCCF="pccf";const CCPI="ccpi";const CPR="cpr";const CISS="ciss";const PCISS="pciss";const CISI="cisi";const CPAMG="cpamg";const CPAMGV="cpamgv";const PCISI="pcisi";const CPSA="cpsa";const CPSAL="cpsal";const EA="ea";const RRA="rra";const CIP="cip";const CUR="cur";const EUR="eur";const CCUR="ccur";const WT="wt";const R="r";const RD="rd";const ROV="rov";const NPACD="npacd";const NCPML="ncpml";const NCCP="nccp";const NCSA="ncsa";const NCT="nct";const NCC="ncc";const NCEC="ncec";const NCMG="ncmg";const NR="nr";const NCP="ncp";const NSA="nsa";const NEC="nec";const NCW="ncw";const NCCML="nccml";const NCPC="ncpc";const NCR="ncr";const DEF_IMAGE_FOLDER="media/catalog/product";const DEF_REVIEW_URL="review/product/list/id/";const VALUE_COLUMN_SUFFIX="_value";const MAIN_TABLE_SUBST="{{main_table}}";const CATEGORY_ACTIVE="1";const WEEE_COLUMN_TOTAL_ORIGINAL="total";const WEEE_COLUMN_TOTAL_FINAL="total_final";const WEEE_COLUMN_SUFFIX_ORIGINAL="";const WEEE_COLUMN_SUFFIX_FINAL="_final";const EXPORT_ID="export_id";const TAXONOMY_CODE="taxonomy_code";const CONDITIONS="conditions";const BATCH_SIZE="batch_size";const DATETIME_FORMAT="datetime_format";const CATEGORY_PATH_DELIMITER="category_path_delimiter";const CATEGORY_LOWEST_LEVEL="category_lowest_level";const STOCK_STATUS_DEPENDENCE="stock_status_dependence";const SORT_ATTRIBUTE="sort_attribute";const PRICE_CUSTOMER_GROUP_ID="price_customer_group_id";const SORT_ORDER="sort_order";const CURRENCY="currency";const EXPORT_ALL_IMAGES="all_images";const EXPORT_ALL_CATEGORIES="all_categories";const EXPORT_REVIEWS="load_product_reviews";const DEF_BATCH_SIZE=1000;const DEF_CATEGORY_PATH_DELIMITER="/";const DEF_CUSTOMER_GROUP_NOT_LOGGED_IN=0;const SORT_ATTRIBUTE_ALIAS="nsc_sort_attribute";protected$_storeId;protected$_websiteId;protected$_columns;protected$_productFlatMandatoryColumns=array();protected$_multiColumns=array();protected$_staticColumns=array();protected$_data;protected$_select;protected$_params;protected$_helper;protected$_atttibutes='*';protected$_defaultAttributes=array();protected$_offset=0;protected$_placeholders=array();public function _construct(){$this->_init("catalog/product","entity_id");}public function init(){$this->defineColumns();$vxlxxnpghvbv="select";$this->resetOffset();${$vxlxxnpghvbv}=$this->getSelect();$select->reset();return$this;}public function loadBatch(){${"GLOBALS"}["nsbgiwovzs"]="batchSize";${${"GLOBALS"}["mhortwhqgl"]}=clone$this->getSelect();$nggnhcbtoed="batchSize";${${"GLOBALS"}["nsbgiwovzs"]}=$this->getBatchSize();${${"GLOBALS"}["hsdukkpfe"]}=$this->getOffset();${"GLOBALS"}["zzcjjvlrps"]="select";$select->limit(${${"GLOBALS"}["ieenpefloqqf"]},${${"GLOBALS"}["hsdukkpfe"]});${${"GLOBALS"}["mgxofxdm"]}=$this->runSelectQuery(${${"GLOBALS"}["zzcjjvlrps"]});$this->setOffset(${$nggnhcbtoed}+${${"GLOBALS"}["hsdukkpfe"]});return${${"GLOBALS"}["mgxofxdm"]};}public function loadAll(){${${"GLOBALS"}["mhortwhqgl"]}=clone$this->getSelect();${${"GLOBALS"}["mgxofxdm"]}=$this->runSelectQuery(${${"GLOBALS"}["mhortwhqgl"]});return${${"GLOBALS"}["mgxofxdm"]};}protected function defineColumns(){$this->_columns=array();${"GLOBALS"}["yutnrnmstsv"]="userCatPathDelim";$this->_columns[$this->getCategoryFlatTable(true)]=array("category_id"=>"entity_id","category_name"=>"name","category_path_ids"=>"path","category_level"=>"level","category_parent_id"=>"parent_id","category_url_key"=>"url_key","category_path_url_key"=>new Zend_Db_Expr("(REPLACE(REPLACE(IFNULL({$this->getCategoryFlatTable(true)}.url_path,''), '.html',''),'".self::DEF_CATEGORY_PATH_DELIMITER."','-'))"));$this->_columns[self::NCCP]=array("category_path"=>"category_path","category_root_name"=>"category_root_name","category_root_id"=>"category_root_id");if($this->getUrlAttributeSource()==Nostress_Nscexport_Model_Config_Source_Urlsource::FLAT_CATALOG){$this->_columns[$this->getCategoryFlatTable(true)]["category_url"]=new Zend_Db_Expr("(CONCAT('{$this->getStoreBaseUrl()}',IFNULL({$this->getCategoryFlatTable(true)}.url_path,CONCAT({$this->getCategoryFlatTable(true)}.url_key,'{$this->getStoreConfig(Mage_Catalog_Helper_Category::XML_PATH_CATEGORY_URL_SUFFIX)}'))))");$this->_columns[self::CCUR]=array();}else{$this->_columns[self::CCUR]=array("category_url"=>new Zend_Db_Expr("(CONCAT('{$this->getStoreBaseUrl()}',".self::CCUR.".request_path))"));}${${"GLOBALS"}["jlxgfxm"]}=self::DEF_CATEGORY_PATH_DELIMITER;$xrpndiwknvyt="userCatPathDelim";${${"GLOBALS"}["yutnrnmstsv"]}=$this->getCategoryPathDelimiter();if(${$xrpndiwknvyt}!==${${"GLOBALS"}["jlxgfxm"]}){$this->_columns[self::NCCP]["category_path"]=new Zend_Db_Expr("REPLACE(".self::NCCP.".category_path,'{$defaultCatPathDelim}','{$userCatPathDelim}')");}$this->_columns[$this->getCategoryFlatTable(true,null,true)]=array("category_parent_name"=>"name");$this->dispatchDefineColumnsEvent();}protected function defineCategoryTaxonomyColumns(){$ywjdbpie="tableAlias";$mmgwsimsuka="columns";${"GLOBALS"}["htcejmxlmkc"]="columns";${"GLOBALS"}["qnvdweqtfltz"]="tableAlias";${$ywjdbpie}=$this->getCategoryFlatTable(true);${$mmgwsimsuka}=Mage::getModel("nscexport/taxonomy_setup")->getTaxonomyAttributeCodes();if(empty(${${"GLOBALS"}["htcejmxlmkc"]}))return;${"GLOBALS"}["xlwdrrpmr"]="tableAlias";${${"GLOBALS"}["nbkhfrjng"]}=array_combine(${${"GLOBALS"}["nbkhfrjng"]},${${"GLOBALS"}["nbkhfrjng"]});$this->_columns[${${"GLOBALS"}["xlwdrrpmr"]}]=array_merge($this->_columns[${${"GLOBALS"}["qnvdweqtfltz"]}],${${"GLOBALS"}["nbkhfrjng"]});}protected function getColumns($tableAlias,$defualt=null,$groupConcat=false,$addTablePrefix=false){${"GLOBALS"}["eckitmps"]="result";$llezmwliofi="defualt";${"GLOBALS"}["lxlnuhgbepy"]="groupConcat";${"GLOBALS"}["nxymcv"]="tableAlias";$ttqdlbpux="result";$epkxdmcjt="result";if(array_key_exists(${${"GLOBALS"}["kbrtwyqpmjs"]},$this->_columns))${${"GLOBALS"}["okphbnkje"]}=$this->_columns[${${"GLOBALS"}["kbrtwyqpmjs"]}];else${$epkxdmcjt}=${$llezmwliofi};if(${${"GLOBALS"}["lxlnuhgbepy"]})${$ttqdlbpux}=$this->groupConcatColumns(${${"GLOBALS"}["okphbnkje"]});if(${${"GLOBALS"}["xdqdevpwhz"]})${${"GLOBALS"}["eckitmps"]}=$this->addTablePrefix(${${"GLOBALS"}["nxymcv"]},${${"GLOBALS"}["okphbnkje"]});return$this->filterColumns(${${"GLOBALS"}["okphbnkje"]});}public function getAllColumns(){if(!isset($this->_columns))$this->defineColumns();${${"GLOBALS"}["nbkhfrjng"]}=array();foreach($this->_columns as${${"GLOBALS"}["apnqxlz"]}){$ppqmtby="columns";${${"GLOBALS"}["nbkhfrjng"]}=array_merge(${$ppqmtby},${${"GLOBALS"}["apnqxlz"]});}return${${"GLOBALS"}["nbkhfrjng"]};}public function getMultiColumns(){return$this->_multiColumns;}public function getStaticColumns(){return$this->_staticColumns;}protected function filterColumns($columns){$mfeywerf="columns";${"GLOBALS"}["vmrvhmheo"]="columns";$aipyikwuwk="columns";${"GLOBALS"}["jfwrdhc"]="columns";${"GLOBALS"}["rhpuoj"]="columns";if($this->_atttibutes=="*")return${${"GLOBALS"}["vmrvhmheo"]};if(!isset(${${"GLOBALS"}["rhpuoj"]})||!is_array(${$aipyikwuwk}))return${${"GLOBALS"}["jfwrdhc"]};if(isset($this->_atttibutes)&&is_array($this->_atttibutes)){$tlslinohomj="columns";$cnqjfhspcng="key";$pqoufeuhoxew="column";foreach(${$tlslinohomj} as${$cnqjfhspcng}=>${$pqoufeuhoxew}){$ojdezgbid="key";$qcgalqr="key";$ibferynubzt="columns";if(!in_array(${$ojdezgbid},$this->_atttibutes))unset(${$ibferynubzt}[${$qcgalqr}]);}}return${$mfeywerf};}protected function addTablePrefix($tableAlias,$columns){$dfnmpbxm="key";foreach(${${"GLOBALS"}["nbkhfrjng"]} as${$dfnmpbxm}=>${${"GLOBALS"}["eggqsdvn"]}){$egchugp="value";${"GLOBALS"}["jyarxqmbfc"]="tableAlias";$lhqqnnfmnyj="columns";$mlxedvukq="value";${"GLOBALS"}["lzhgtfiswp"]="key";if((is_object(${$egchugp})&&get_class(${${"GLOBALS"}["eggqsdvn"]})=="Zend_Db_Expr")||(isset(${$mlxedvukq}[0])&&${${"GLOBALS"}["eggqsdvn"]}[0]=="("))continue;${$lhqqnnfmnyj}[${${"GLOBALS"}["lzhgtfiswp"]}]=${${"GLOBALS"}["jyarxqmbfc"]}.".".${${"GLOBALS"}["eggqsdvn"]};}return${${"GLOBALS"}["nbkhfrjng"]};}protected function groupConcatColumns($columns,$groupRowSeparator=null,$groupedColumnAlias=null){$ydxooprlx="groupRowSeparator";${"GLOBALS"}["ylssihdt"]="columns";${"GLOBALS"}["esocdryymjki"]="groupedColumnAlias";return$this->helper()->groupConcatColumns(${${"GLOBALS"}["ylssihdt"]},${$ydxooprlx},${${"GLOBALS"}["esocdryymjki"]});}public function joinCategoryPath(){return$this->_joinCategoryPath($this->getSelect());}protected function _joinCategoryPath($select,$addColumns=true){${"GLOBALS"}["ejxlwdkohg"]="columns";${${"GLOBALS"}["ccfiwpwepun"]}=$this->getCategoryFlatTable(true);${${"GLOBALS"}["uyobsyk"]}=self::NCCP;${${"GLOBALS"}["ynxqtfggtb"]}=$this->getTable("nscexport/cache_categorypath");${"GLOBALS"}["mwqoqn"]="columns";${"GLOBALS"}["wgenooxsrh"]="joinTableAlias";${${"GLOBALS"}["ejxlwdkohg"]}=null;if(${${"GLOBALS"}["eykpfwms"]})${${"GLOBALS"}["mwqoqn"]}=$this->getColumns(${${"GLOBALS"}["uyobsyk"]});$select->joinLeft(array(${${"GLOBALS"}["wgenooxsrh"]}=>${${"GLOBALS"}["ynxqtfggtb"]}),"{$joinTableAlias}.category_id ={$mainTableAlias}.entity_id AND {$joinTableAlias}.store_id ={$this->getStoreId()}",${${"GLOBALS"}["nbkhfrjng"]});return${${"GLOBALS"}["mhortwhqgl"]};}public function orderByCategory(){${${"GLOBALS"}["mhortwhqgl"]}=$this->getSelect();$select->order($this->getCategoryFlatTable(true).".entity_id");}public function joinParentCategory(){${"GLOBALS"}["lwmynvoonoq"]="mainTableAlias";${"GLOBALS"}["ivfgsykxxny"]="joinTable";${"GLOBALS"}["eyicqfjwmgi"]="condition";${${"GLOBALS"}["lwmynvoonoq"]}=$this->getCategoryFlatTable(true);$qvrutywuq="mainTableAlias";${${"GLOBALS"}["uyobsyk"]}=$this->getCategoryFlatTable(true,null,true);${${"GLOBALS"}["ynxqtfggtb"]}=$this->getCategoryFlatTable();${${"GLOBALS"}["zrtnoidmxce"]}="{$joinTableAlias}.entity_id = ".self::MAIN_TABLE_SUBST.".parent_id";$this->joinTable(${$qvrutywuq},${${"GLOBALS"}["uyobsyk"]},${${"GLOBALS"}["ivfgsykxxny"]},false,${${"GLOBALS"}["eyicqfjwmgi"]});return$this;}public function joinCategoryUrlRewrite(){$ieouspjwj="joinTableAlias";${"GLOBALS"}["pggaqnw"]="joinTable";$raufzv="condition";${$ieouspjwj}=self::CCUR;${${"GLOBALS"}["pggaqnw"]}=$this->getTable("core/url_rewrite");${${"GLOBALS"}["zrtnoidmxce"]}="{$joinTableAlias}.category_id = ".self::MAIN_TABLE_SUBST.".entity_id ";${"GLOBALS"}["cnblefds"]="condition";${${"GLOBALS"}["zrtnoidmxce"]}.="AND {$joinTableAlias}.store_id = {$this->getStoreId()} ";${"GLOBALS"}["ypamadhp"]="joinTable";${$raufzv}.="AND {$joinTableAlias}.product_id IS NULL ";$this->joinTable($this->getCategoryFlatTable(true),${${"GLOBALS"}["uyobsyk"]},${${"GLOBALS"}["ypamadhp"]},false,${${"GLOBALS"}["cnblefds"]});return$this;}protected function joinMainTable($joinTableAlias,$joinTable,$joinIfColumnsEmpty=false,$condition){${"GLOBALS"}["etolmj"]="joinIfColumnsEmpty";$dhexoqwcyj="mainTableAlias";$srxloeu="joinTable";${${"GLOBALS"}["ccfiwpwepun"]}=$this->getMainTable(true);return$this->joinTable(${$dhexoqwcyj},${${"GLOBALS"}["uyobsyk"]},${$srxloeu},${${"GLOBALS"}["etolmj"]},${${"GLOBALS"}["zrtnoidmxce"]});}protected function joinTable($mainTableAlias,$joinTableAlias,$joinTable,$joinIfColumnsEmpty=false,$condition){${"GLOBALS"}["nkyicigkmk"]="joinTableAlias";$vigoycppx="joinIfColumnsEmpty";$lylgkebtfm="selectColumns";${"GLOBALS"}["kyrqvhlnpf"]="joinTableAlias";${${"GLOBALS"}["uvznnrpizwb"]}=$this->getColumns(${${"GLOBALS"}["nkyicigkmk"]});if(empty(${$lylgkebtfm})&&!${$vigoycppx})return false;${${"GLOBALS"}["mhortwhqgl"]}=$this->getSelect();${${"GLOBALS"}["zrtnoidmxce"]}=str_replace(self::MAIN_TABLE_SUBST,${${"GLOBALS"}["ccfiwpwepun"]},${${"GLOBALS"}["zrtnoidmxce"]});$select->joinLeft(array(${${"GLOBALS"}["kyrqvhlnpf"]}=>${${"GLOBALS"}["ynxqtfggtb"]}),${${"GLOBALS"}["zrtnoidmxce"]},${${"GLOBALS"}["uvznnrpizwb"]});return true;}protected function resetWebsiteId(){$this->_websiteId=Mage::app()->getStore($this->getStoreId())->getWebsiteId();}protected function getWebsiteId(){if(is_null($this->_websiteId)){$this->_websiteId=Mage::app()->getStore($this->getStoreId())->getWebsiteId();}return$this->_websiteId;}protected function getProductFlatTable($alias=false,$storeId=null){$dlqfrxngibp="alias";if(is_null(${${"GLOBALS"}["ncrrdildlr"]})){$nxcwhek="storeId";${$nxcwhek}=$this->getStoreId();}${"GLOBALS"}["qelbmsjehhs"]="storeId";$jokhdl="storeId";if(${$dlqfrxngibp})return self::CPF.${${"GLOBALS"}["qelbmsjehhs"]};else return Mage::getResourceModel("catalog/product_flat")->getFlatTableName(${$jokhdl});}protected function getCategoryFlatTable($alias=false,$storeId=null,$parent=false){$ltwmmilw="storeId";${"GLOBALS"}["bsmsovsrf"]="storeId";${"GLOBALS"}["vgkdtsn"]="alias";if(is_null(${${"GLOBALS"}["bsmsovsrf"]})){${${"GLOBALS"}["ncrrdildlr"]}=$this->getStoreId();}if(${${"GLOBALS"}["vgkdtsn"]}){if(${${"GLOBALS"}["zvoeiohhzvo"]})return self::PCCF.${${"GLOBALS"}["ncrrdildlr"]};else return self::CCF.${${"GLOBALS"}["ncrrdildlr"]};}else return Mage::getResourceModel("catalog/category_flat")->getMainStoreTable(${$ltwmmilw});}public function resetOffset(){$this->_offset=0;}public function setOffset($offset){$this->_offset=${${"GLOBALS"}["hsdukkpfe"]};}public function getOffset(){return$this->_offset;}public function setAttributes($attributes){${"GLOBALS"}["qhlwhpefq"]="attributes";if(is_array(${${"GLOBALS"}["qhlwhpefq"]})&&isset($this->_defaultAttributes)&&!empty($this->_defaultAttributes)){${"GLOBALS"}["fiitmusxwt"]="attributes";${${"GLOBALS"}["djhwrkkmc"]}=array_merge(${${"GLOBALS"}["fiitmusxwt"]},$this->_defaultAttributes);}$this->_atttibutes=${${"GLOBALS"}["djhwrkkmc"]};$this->addSuperAttributes();}protected function addSuperAttributes(){${"GLOBALS"}["bljcfzgmygt"]="superAttributes";if(!in_array("super_attributes",$this->_atttibutes))return;${${"GLOBALS"}["bljcfzgmygt"]}=Mage::getResourceModel("nscexport/cache_superattributes")->getAllSuperAttributes();${"GLOBALS"}["hjcugqe"]="superAttributes";$this->_atttibutes=array_merge(${${"GLOBALS"}["hjcugqe"]},$this->_atttibutes);}public function getAttributes(){return$this->_atttibutes;}protected function getUnknownAttributes($attributes=null){${"GLOBALS"}["dlpmlvuzwo"]="attributes";${"GLOBALS"}["mbaojpnyi"]="allColumns";${"GLOBALS"}["tbhqih"]="attributes";if(!isset(${${"GLOBALS"}["dlpmlvuzwo"]}))${${"GLOBALS"}["tbhqih"]}=$this->_atttibutes;$iynelaxxq="attributes";${${"GLOBALS"}["whqbhdhavjm"]}=array();$fnmocz="key";${"GLOBALS"}["fejgop"]="value";${${"GLOBALS"}["mbaojpnyi"]}=$this->getAllColumns();$emraxypoifw="unknownAttributes";if(is_array(${$iynelaxxq})){${"GLOBALS"}["ioqufcilgh"]="attributes";${"GLOBALS"}["uefkxkiqqigg"]="attribName";foreach(${${"GLOBALS"}["ioqufcilgh"]} as${${"GLOBALS"}["uefkxkiqqigg"]}){${"GLOBALS"}["ayeehsrvbcv"]="attribName";$wifmytjdldzv="allColumns";if(!array_key_exists(${${"GLOBALS"}["socblfepyol"]},${$wifmytjdldzv}))${${"GLOBALS"}["whqbhdhavjm"]}[]=${${"GLOBALS"}["ayeehsrvbcv"]};}}foreach(${$emraxypoifw} as${$fnmocz}=>${${"GLOBALS"}["fejgop"]}){$wuwcawywc="key";if(in_array(${${"GLOBALS"}["eggqsdvn"]},$this->_staticColumns))unset(${${"GLOBALS"}["whqbhdhavjm"]}[${$wuwcawywc}]);}return${${"GLOBALS"}["whqbhdhavjm"]};}public function getCondition($name,$default=null){${"GLOBALS"}["auhnwqdyk"]="default";${${"GLOBALS"}["wxbmdfqmvv"]}=$this->getConditions();$tsuexuvp="name";if(array_key_exists(${$tsuexuvp},${${"GLOBALS"}["wxbmdfqmvv"]}))return${${"GLOBALS"}["wxbmdfqmvv"]}[${${"GLOBALS"}["xmkslgdcif"]}];else return${${"GLOBALS"}["auhnwqdyk"]};}public function setStore($store){$this->setStoreId(Mage::app()->getStore(${${"GLOBALS"}["kszlsqjcmd"]})->getId());return$this;}public function setStoreId($storeId){${"GLOBALS"}["bektik"]="storeId";${"GLOBALS"}["btcxpwx"]="storeId";if(${${"GLOBALS"}["btcxpwx"]} instanceof Mage_Core_Model_Store){${${"GLOBALS"}["ncrrdildlr"]}=$storeId->getId();}$this->_storeId=(int)${${"GLOBALS"}["bektik"]};$this->resetWebsiteId();return$this;}public function getStoreId(){if(is_null($this->_storeId)){$this->setStoreId(Mage::app()->getStore()->getId());}return$this->_storeId;}protected function getStore(){return Mage::app()->getStore($this->getStoreId());}protected function getEmptySelect(){$bpwkqccr="select";${$bpwkqccr}=$this->_getReadAdapter()->select();${${"GLOBALS"}["ruggywfkkyx"]}=clone${${"GLOBALS"}["mhortwhqgl"]};$res->reset();return${${"GLOBALS"}["ruggywfkkyx"]};}protected function getSubSelectTable($select){return new Zend_Db_Expr("(".${${"GLOBALS"}["mhortwhqgl"]}.") ");}public function getSelect(){if(!isset($this->_select)){$this->_select=$this->getEmptySelect();}return$this->_select;}protected function helper(){if(!isset($this->_helper))$this->_helper=Mage::helper("nscexport/data_loader");return$this->_helper;}protected function getParam($index,$default=null){${"GLOBALS"}["xfduimuw"]="index";if(!isset($this->_params))$this->_params=$this->helper()->getCommonParameters();$nojdgo="default";if(array_key_exists(${${"GLOBALS"}["xfduimuw"]},$this->_params))return$this->_params[${${"GLOBALS"}["zhqnydq"]}];else return${$nojdgo};}protected function allowInactiveCategoriesExport(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_ALLOW_INACTIVE_CATEGORIES_EXPORT,false);}protected function allowPlaceholderImageExport(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_ALLOW_PLACEHOLDER_IMAGES_EXPORT,true);}protected function getImageFolder(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_IMAGE_FOLDER,self::DEF_IMAGE_FOLDER);}protected function getReviewUrlPrefix(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_REVIEW_URL,self::DEF_REVIEW_URL);}protected function getUrlAttributeSource(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_URL_ATTRIBUTE_SOURCE,"0");}protected function getStoreBaseUrl($type=null){if(isset(${${"GLOBALS"}["eopvrrild"]}))return$this->getStore()->getBaseUrl(${${"GLOBALS"}["eopvrrild"]});else return$this->getStore()->getBaseUrl();}protected function getBaseUrl($type){$fnatprbww="defStore";${$fnatprbww}=Mage::app()->getStore(Mage_Catalog_Model_Abstract::DEFAULT_STORE_ID);if(isset(${${"GLOBALS"}["eopvrrild"]}))return$defStore->getBaseUrl(${${"GLOBALS"}["eopvrrild"]});else return$defStore->getBaseUrl();}protected function checkProductAttributes($attributes){${${"GLOBALS"}["dqvughmth"]}=$this->helper()->getProductFlatColumns($this->getStoreId());${"GLOBALS"}["vrjnqolaqgf"]="flatColumns";return$this->checkAttributes(${${"GLOBALS"}["djhwrkkmc"]},${${"GLOBALS"}["vrjnqolaqgf"]});}protected function checkCategoryAttributes($attributes){${${"GLOBALS"}["dqvughmth"]}=$this->helper()->getCategoryFlatColumns($this->getStoreId());return$this->checkAttributes(${${"GLOBALS"}["djhwrkkmc"]},${${"GLOBALS"}["dqvughmth"]},"category");}protected function checkAttributes($attributes,$flatColumns,$flatCatalogType='product'){$ddakomg="missingAttributes";${"GLOBALS"}["streto"]="flatCatalogType";${$ddakomg}=array();if(${${"GLOBALS"}["streto"]}=="product"){$lfbkxtd="attribute";${"GLOBALS"}["hzebotq"]="attributes";foreach(${${"GLOBALS"}["hzebotq"]} as${$lfbkxtd}){${"GLOBALS"}["lxflvafhop"]="attribute";$yubhdcqbnjbm="attributeCode";${"GLOBALS"}["ivldyzinzs"]="attribute";${"GLOBALS"}["xroiif"]="attributeCode";${${"GLOBALS"}["xroiif"]}=${${"GLOBALS"}["ivldyzinzs"]};$akktsh="missingAttributes";if(strpos(${${"GLOBALS"}["lxflvafhop"]},Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX)!==false){$rvoiwcx="attribute";${${"GLOBALS"}["qlybjyee"]}=str_replace(Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX,"",${$rvoiwcx});}if(!in_array(${${"GLOBALS"}["qlybjyee"]},${${"GLOBALS"}["dqvughmth"]}))${$akktsh}[]=${$yubhdcqbnjbm};}}else{${"GLOBALS"}["ogffobx"]="attribute";${"GLOBALS"}["sdyehlnx"]="attributes";foreach(${${"GLOBALS"}["sdyehlnx"]} as${${"GLOBALS"}["ogffobx"]}){$lgwmvbpegms="attribute";${"GLOBALS"}["nlkkgvkuh"]="missingAttributes";${"GLOBALS"}["gjzpjfsrsl"]="flatColumns";if(!in_array(${${"GLOBALS"}["lrhplxkefa"]},${${"GLOBALS"}["gjzpjfsrsl"]}))${${"GLOBALS"}["nlkkgvkuh"]}[]=${$lgwmvbpegms};}}if(count(${${"GLOBALS"}["zmwajislrj"]})>0){$cyuncokjl="missingAttributes";${"GLOBALS"}["ghchepp"]="errorCode";${"GLOBALS"}["hggfqglxb"]="missingAttributes";${"GLOBALS"}["jdzpoigwb"]="attributes";${"GLOBALS"}["veefkj"]="flatCatalogType";${${"GLOBALS"}["zmwajislrj"]}=array_unique(${$cyuncokjl});${${"GLOBALS"}["jdzpoigwb"]}=implode(", ",${${"GLOBALS"}["hggfqglxb"]});if(${${"GLOBALS"}["veefkj"]}=="category")${${"GLOBALS"}["ejdnjuzvd"]}="6";else${${"GLOBALS"}["ghchepp"]}="7";throw new Exception(${${"GLOBALS"}["ejdnjuzvd"]}." ".${${"GLOBALS"}["djhwrkkmc"]});return false;}return true;}protected function prepareColumnsFromAttributes($attributes){$lezamtlm="columns";${"GLOBALS"}["gwlggpqi"]="columns";${$lezamtlm}=array();${${"GLOBALS"}["pyuqgjkvov"]}=$this->helper()->getVisibleProductAttributes(true);$dsgqymhqb="attributeCode";foreach(${${"GLOBALS"}["djhwrkkmc"]} as${$dsgqymhqb}){$ibnxhxkorfoh="productFlatAttributeDuplicatesCode";$rttwhbbcmba="productFlatAttributeDuplicatesCode";${"GLOBALS"}["cafuosyzy"]="attributeCode";${"GLOBALS"}["zouvbyejjfbv"]="info";${$ibnxhxkorfoh}=false;if(strpos(${${"GLOBALS"}["cafuosyzy"]},Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX)!==false)${${"GLOBALS"}["xlgrgdex"]}=true;if(!array_key_exists(${${"GLOBALS"}["qlybjyee"]},${${"GLOBALS"}["pyuqgjkvov"]})&&!${$rttwhbbcmba}){$vhoohofy="attributeCode";throw new Exception("8 ".${$vhoohofy});}${"GLOBALS"}["tkveulu"]="value";${"GLOBALS"}["pigygrjml"]="productFlatAttributeDuplicatesCode";${${"GLOBALS"}["eggqsdvn"]}=${${"GLOBALS"}["qlybjyee"]};if(${${"GLOBALS"}["pigygrjml"]})${${"GLOBALS"}["eggqsdvn"]}=str_replace(Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX,"",${${"GLOBALS"}["qlybjyee"]});${${"GLOBALS"}["zouvbyejjfbv"]}=${${"GLOBALS"}["pyuqgjkvov"]}[${${"GLOBALS"}["eggqsdvn"]}];switch($info->getFrontendInput()){case"media_image":${${"GLOBALS"}["tkveulu"]}=$this->mediaImageColumn(${${"GLOBALS"}["eggqsdvn"]});break;case"select":${${"GLOBALS"}["eggqsdvn"]}=$this->multiSelectColumn(${${"GLOBALS"}["eggqsdvn"]});break;case"date":${${"GLOBALS"}["eggqsdvn"]}=$this->dateColumn("{$this->getProductFlatTable(true)}.{$value}");break;case"price":${${"GLOBALS"}["eggqsdvn"]}=$this->priceColumn(${${"GLOBALS"}["eggqsdvn"]});default:break;}${${"GLOBALS"}["nbkhfrjng"]}[${${"GLOBALS"}["qlybjyee"]}]=${${"GLOBALS"}["eggqsdvn"]};}return${${"GLOBALS"}["gwlggpqi"]};}protected function dateColumn($columnCode,$formatType=self::DATE_TIME){${${"GLOBALS"}["plxbfwxdnamx"]}=$this->getDatetimeFormat();if(${${"GLOBALS"}["plxbfwxdnamx"]}==Nostress_Nscexport_Model_Config_Source_Datetimeformat::TIMESTAMP)return new Zend_Db_Expr("UNIX_TIMESTAMP($columnCode)");else return new Zend_Db_Expr("DATE_FORMAT($columnCode,'{$this->getSqlTimestampFormat($formatType)}')");}protected function mediaImageColumn($code){${"GLOBALS"}["snzqfuojtb"]="placeholderUrl";${${"GLOBALS"}["avklgkah"]}=$this->getStoreBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$this->getImageFolder();${${"GLOBALS"}["snzqfuojtb"]}="";if($this->allowPlaceholderImageExport()){${"GLOBALS"}["drskqjpxk"]="code";${${"GLOBALS"}["uzticzleoogf"]}=$this->getPlaceholder(${${"GLOBALS"}["drskqjpxk"]});if(!empty(${${"GLOBALS"}["uzticzleoogf"]})){${${"GLOBALS"}["hjcdxe"]}=${${"GLOBALS"}["avklgkah"]}.${${"GLOBALS"}["uzticzleoogf"]};}}return"IF( {$this->getProductFlatTable(true)}.{$code} = 'no_selection','{$placeholderUrl}',CONCAT('{$imageUrlPrefix}', {$this->getProductFlatTable(true)}.{$code}))";}protected function multiSelectColumn($code){$orvmaxkxut="code";return${$orvmaxkxut}.self::VALUE_COLUMN_SUFFIX;}protected function priceColumn($code){return$this->helper()->getRoundSql($this->getProductFlatTable(true).".".${${"GLOBALS"}["kbmkmwqy"]});}protected function getTaxonomyColumnName(){${"GLOBALS"}["moxdqjbsu"]="taxonomyCode";${${"GLOBALS"}["moxdqjbsu"]}=$this->getTaxonomyCode();if(!isset(${${"GLOBALS"}["vhhsbkskxxk"]}))return null;return$this->helper()->createCategoryAttributeCode(${${"GLOBALS"}["vhhsbkskxxk"]});}protected function getTaxonomyLocale(){${"GLOBALS"}["uvjyeyxcqy"]="taxonomyCode";${${"GLOBALS"}["uvjyeyxcqy"]}=$this->getTaxonomyCode();$juugtd="taxonomyCode";if(!isset(${${"GLOBALS"}["vhhsbkskxxk"]}))return null;$xvybsmnqd="locale";${$xvybsmnqd}=$this->helper()->getStoreLocale($this->getStore());${"GLOBALS"}["uiibamnyug"]="locale";${${"GLOBALS"}["qwdjyxqqoz"]}=$this->helper()->getStoreTaxonomyLocale(${$juugtd},${${"GLOBALS"}["qwdjyxqqoz"]});return${${"GLOBALS"}["uiibamnyug"]};}protected function getSqlTimestampFormat($type=self::DATE_TIME){${"GLOBALS"}["lbtdsaypap"]="type";return$this->datetimeModel()->getSqlFormat($this->getDatetimeFormat(),${${"GLOBALS"}["lbtdsaypap"]});}protected function datetimeModel(){return Mage::getModel("nscexport/config_source_datetimeformat");}public function setData($data){$obrofcikd="data";$this->_data=${$obrofcikd};}public function getData($index){${"GLOBALS"}["dhwrryg"]="index";${"GLOBALS"}["dirsls"]="index";if(isset($this->_data[${${"GLOBALS"}["dirsls"]}]))return$this->_data[${${"GLOBALS"}["dhwrryg"]}];else{return false;}}public function getExportId(){return$this->getData(self::EXPORT_ID);}public function getTaxonomyCode(){return$this->getData(self::TAXONOMY_CODE);}public function getBatchSize(){$xwwesoqkedr="value";${"GLOBALS"}["yvagmgpezwc"]="value";$gfgammek="value";${$gfgammek}=$this->getData(self::BATCH_SIZE);${"GLOBALS"}["ymzyjgektxl"]="value";if(!${${"GLOBALS"}["yvagmgpezwc"]})${$xwwesoqkedr}=self::DEF_BATCH_SIZE;return${${"GLOBALS"}["ymzyjgektxl"]};}public function getCurrency(){return$this->getData(self::CURRENCY);}public function getStockStatusDependence(){return$this->getData(self::STOCK_STATUS_DEPENDENCE);}public function getConditions(){${${"GLOBALS"}["eggqsdvn"]}=$this->getData(self::CONDITIONS);$mospqfxw="value";if(!${${"GLOBALS"}["eggqsdvn"]})${$mospqfxw}=array();return${${"GLOBALS"}["eggqsdvn"]};}public function getCategoryPathDelimiter(){$immrvqcmmpc="value";${$immrvqcmmpc}=$this->getData(self::CATEGORY_PATH_DELIMITER);if(!${${"GLOBALS"}["eggqsdvn"]})${${"GLOBALS"}["eggqsdvn"]}=self::DEF_CATEGORY_PATH_DELIMITER;return${${"GLOBALS"}["eggqsdvn"]};}public function getDatetimeFormat(){return$this->getData(self::DATETIME_FORMAT);}public function getCategoryLowestLevel(){return$this->getData(self::CATEGORY_LOWEST_LEVEL);}protected function dispatchDefineColumnsEvent($eventSuffix=""){${${"GLOBALS"}["tzgrcxmnq"]}=new Varien_Object();${"GLOBALS"}["ahotxdkx"]="eventSuffix";$vrendphiyee="columnsContainer";$columnsContainer->setColumns($this->_columns);Mage::dispatchEvent("nscexport_define_columns".${${"GLOBALS"}["ahotxdkx"]},array("columns_container"=>${$vrendphiyee}));$this->_columns=$columnsContainer->getColumns();}protected function dispatchJoinTableEvent($mainTable,$eventSuffix=""){${${"GLOBALS"}["yaphsiyysf"]}=new Varien_Object();$container->setStoreId($this->getStoreId());$winqxc="container";$container->setSelect($this->getSelect());$sbrpobcukqvk="eventSuffix";$jdepjlzjs="mainTable";$container->setMainTable(${$jdepjlzjs});$container->setAttributes($this->getAttributes());Mage::dispatchEvent("nscexport_join_table".${$sbrpobcukqvk},array("container"=>${$winqxc}));}protected function isWeeeEnabled(){return Mage::helper("weee")->isEnabled($this->getStore());}protected function isWeeeTaxable(){return Mage::helper("weee")->isTaxable($this->getStore());}protected function isWeeeDiscounted(){return Mage::helper("weee")->isDiscounted($this->getStore());}protected function getWeeeListPriceDisplayType(){return Mage::helper("weee")->getListPriceDisplayType($this->getStore());}protected function getWeeeAttributes(){${"GLOBALS"}["pdmeqsd"]="collection";$lafwwpemjxxs="select";${"GLOBALS"}["kjxlguc"]="items";$bmrgihfyrdg="items";${${"GLOBALS"}["mhortwhqgl"]}=$this->_getReadAdapter()->select()->from(array("ca"=>$this->getTable("catalog/eav_attribute")),array("attribute_id"))->join(array("ea"=>$this->getTable("eav/attribute")),"ca.attribute_id = ea.attribute_id",array("attribute_code"));$select->where("ea.frontend_input = ?","weee");${${"GLOBALS"}["pdmeqsd"]}=$this->_getReadAdapter()->fetchAll(${$lafwwpemjxxs});${${"GLOBALS"}["kjxlguc"]}=array();${"GLOBALS"}["hryjgykc"]="item";foreach(${${"GLOBALS"}["swenfbhguk"]} as${${"GLOBALS"}["hryjgykc"]}){${"GLOBALS"}["wdrwarr"]="item";if(isset(${${"GLOBALS"}["uqbqwisu"]}["attribute_id"])&&isset(${${"GLOBALS"}["wdrwarr"]}["attribute_code"]))${${"GLOBALS"}["lsgpgjim"]}[${${"GLOBALS"}["uqbqwisu"]}["attribute_id"]]=${${"GLOBALS"}["uqbqwisu"]}["attribute_code"];}return${$bmrgihfyrdg};}protected function getWeeeColumns(){${"GLOBALS"}["inxemefwhtg"]="attributes";${${"GLOBALS"}["nbkhfrjng"]}=array("weee_".self::WEEE_COLUMN_TOTAL_ORIGINAL=>self::WEEE_COLUMN_TOTAL_ORIGINAL);${"GLOBALS"}["ltmjiwkooxij"]="columns";${${"GLOBALS"}["nbkhfrjng"]}["weee_".self::WEEE_COLUMN_TOTAL_FINAL]=self::WEEE_COLUMN_TOTAL_FINAL;${${"GLOBALS"}["inxemefwhtg"]}=$this->convertWeeeAttributesToColumnNames();foreach(${${"GLOBALS"}["djhwrkkmc"]} as${${"GLOBALS"}["kbmkmwqy"]}){${${"GLOBALS"}["nbkhfrjng"]}[${${"GLOBALS"}["kbmkmwqy"]}]=$this->helper()->getRoundSql(${${"GLOBALS"}["kbmkmwqy"]});}return${${"GLOBALS"}["ltmjiwkooxij"]};}protected function convertWeeeAttributesToColumnNames($weeeAttributes=null){$hjwkioqjor="attributes";if(empty(${${"GLOBALS"}["lxmwnlrjqap"]}))${${"GLOBALS"}["lxmwnlrjqap"]}=array_values($this->getWeeeAttributes());${"GLOBALS"}["ddseifrzs"]="code";${$hjwkioqjor}=array();foreach(${${"GLOBALS"}["lxmwnlrjqap"]} as${${"GLOBALS"}["ddseifrzs"]}){$ppnlubuuhk="code";${${"GLOBALS"}["djhwrkkmc"]}[]=${$ppnlubuuhk}.self::WEEE_COLUMN_SUFFIX_FINAL;${"GLOBALS"}["hatvsirtrg"]="attributes";${${"GLOBALS"}["hatvsirtrg"]}[]=${${"GLOBALS"}["kbmkmwqy"]}.self::WEEE_COLUMN_SUFFIX_ORIGINAL;}return${${"GLOBALS"}["djhwrkkmc"]};}public function getStoreConfig($configPath){${"GLOBALS"}["iwekzkjrkglc"]="configPath";return$this->getStore()->getConfig(${${"GLOBALS"}["iwekzkjrkglc"]});}protected function getPlaceholder($code){if(empty($this->_placeholderss[${${"GLOBALS"}["kbmkmwqy"]}])){$ljhvoqsf="code";$cediobh="code";$this->_placeholderss[${${"GLOBALS"}["kbmkmwqy"]}]=$this->getStoreConfig("catalog/placeholder/{$code}_placeholder");${"GLOBALS"}["mswersket"]="code";if(!empty($this->_placeholderss[${$ljhvoqsf}]))$this->_placeholderss[${${"GLOBALS"}["mswersket"]}]="/placeholder/".$this->_placeholderss[${$cediobh}];}${"GLOBALS"}["rtjukdf"]="code";return$this->_placeholderss[${${"GLOBALS"}["rtjukdf"]}];}} ?>
Did this file decode correctly?
Original Code
<?php ${"\x47L\x4f\x42\x41L\x53"}["\x6c\x78m\x77nlr\x6a\x71\x61p"]="w\x65\x65\x65\x41t\x74rib\x75\x74\x65\x73";${"\x47L\x4fB\x41LS"}["\x6c\x73\x67p\x67\x6aim"]="i\x74\x65\x6ds";${"\x47L\x4fBALS"}["u\x71\x62q\x77i\x73\x75"]="i\x74\x65m";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["sw\x65\x6e\x66\x62\x68\x67u\x6b"]="\x63\x6f\x6c\x6ce\x63\x74i\x6fn";${"\x47L\x4f\x42\x41\x4cS"}["\x79\x61\x70\x68\x73iy\x79sf"]="\x63\x6fnt\x61\x69\x6e\x65r";${"GLO\x42\x41\x4c\x53"}["t\x7ag\x72cxmn\x71"]="\x63o\x6c\x75m\x6es\x43o\x6e\x74\x61\x69\x6ee\x72";${"\x47LO\x42AL\x53"}["qw\x64j\x79\x78\x71\x71\x6f\x7a"]="\x6c\x6f\x63a\x6ce";${"G\x4c\x4f\x42\x41L\x53"}["\x76h\x68\x73\x62\x6bsk\x78\x78\x6b"]="\x74a\x78\x6f\x6eo\x6d\x79C\x6f\x64\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x62m\x6bmwq\x79"]="co\x64e";${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6a\x63d\x78\x65"]="\x70\x6c\x61\x63\x65\x68\x6f\x6c\x64\x65\x72\x55\x72\x6c";${"\x47L\x4f\x42\x41\x4c\x53"}["u\x7a\x74\x69c\x7a\x6c\x65\x6f\x6f\x67f"]="\x70l\x61\x63eh\x6f\x6c\x64\x65\x72";${"G\x4c\x4fBA\x4c\x53"}["av\x6b\x6c\x67k\x61\x68"]="\x69\x6d\x61\x67\x65\x55\x72\x6c\x50\x72\x65f\x69x";${"\x47\x4cO\x42\x41\x4cS"}["\x70\x6c\x78\x62\x66\x77xdna\x6d\x78"]="f\x6f\x72\x6da\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78lgr\x67d\x65\x78"]="\x70\x72o\x64uc\x74\x46\x6c\x61\x74\x41\x74\x74\x72ib\x75\x74\x65\x44\x75\x70\x6c\x69c\x61te\x73\x43\x6f\x64e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x79\x75\x71g\x6a\x6b\x76o\x76"]="a\x6clAt\x74r\x69\x62\x75\x74e\x73\x49\x6e\x66\x6f";${"\x47\x4c\x4fBAL\x53"}["\x65\x6a\x64\x6e\x6a\x75\x7avd"]="e\x72\x72\x6fr\x43o\x64e";${"\x47\x4cOB\x41\x4c\x53"}["\x7a\x6d\x77\x61\x6a\x69sl\x72j"]="\x6di\x73si\x6e\x67\x41t\x74\x72\x69\x62u\x74e\x73";${"G\x4c\x4f\x42\x41L\x53"}["\x6c\x72h\x70\x6cx\x6b\x65\x66\x61"]="\x61\x74\x74\x72\x69b\x75\x74e";${"\x47\x4c\x4fB\x41L\x53"}["q\x6cy\x62\x6a\x79e\x65"]="at\x74\x72\x69b\x75\x74\x65Co\x64e";${"G\x4c\x4f\x42A\x4c\x53"}["\x64\x71vu\x67h\x6d\x74\x68"]="f\x6ca\x74C\x6f\x6cu\x6d\x6e\x73";${"GLO\x42\x41\x4cS"}["\x65\x6f\x70v\x72r\x69l\x64"]="t\x79pe";${"\x47L\x4f\x42A\x4cS"}["z\x68\x71\x6e\x79\x64\x71"]="\x69\x6ed\x65\x78";${"\x47\x4c\x4fB\x41L\x53"}["ru\x67gy\x77\x66\x6b\x6b\x79x"]="\x72\x65s";${"G\x4cO\x42A\x4c\x53"}["k\x73\x7a\x6c\x73\x71\x6a\x63\x6dd"]="\x73\x74o\x72\x65";${"GLO\x42A\x4c\x53"}["\x78\x6d\x6b\x73\x6cg\x64\x63i\x66"]="\x6e\x61me";${"\x47\x4c\x4f\x42A\x4cS"}["\x77x\x62m\x64\x66\x71\x6d\x76\x76"]="c\x6fnd\x69tio\x6es";${"\x47\x4c\x4fB\x41\x4cS"}["\x73o\x63\x62\x6cf\x65\x70\x79\x6fl"]="a\x74\x74r\x69\x62\x4ea\x6d\x65";${"G\x4cOBAL\x53"}["w\x68qbh\x64h\x61\x76j\x6d"]="\x75\x6e\x6b\x6e\x6f\x77\x6e\x41\x74\x74\x72ib\x75\x74\x65\x73";${"\x47L\x4fB\x41L\x53"}["\x64j\x68\x77\x72kkm\x63"]="at\x74r\x69\x62\x75\x74e\x73";${"G\x4c\x4f\x42\x41L\x53"}["z\x76\x6f\x65i\x6f\x68\x68\x7avo"]="\x70\x61\x72\x65\x6e\x74";${"G\x4c\x4f\x42A\x4cS"}["\x6e\x63\x72\x72d\x69\x6c\x64\x6c\x72"]="s\x74\x6f\x72\x65\x49\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x76\x7an\x6e\x72\x70\x69\x7a\x77\x62"]="\x73e\x6c\x65\x63\x74C\x6f\x6cumn\x73";${"\x47L\x4f\x42\x41\x4cS"}["\x7a\x72\x74\x6eoi\x64\x6d\x78c\x65"]="\x63\x6f\x6ed\x69t\x69o\x6e";${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x79\x6bp\x66w\x6d\x73"]="\x61\x64\x64\x43\x6f\x6c\x75\x6d\x6e\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x6exqtf\x67\x67tb"]="\x6a\x6fi\x6e\x54\x61\x62\x6ce";${"\x47\x4c\x4f\x42A\x4cS"}["\x75\x79o\x62s\x79\x6b"]="\x6a\x6f\x69\x6e\x54abl\x65\x41\x6c\x69as";${"\x47\x4c\x4fB\x41\x4cS"}["\x63\x63\x66iw\x70\x77epu\x6e"]="\x6d\x61\x69nTabl\x65A\x6ci\x61\x73";${"\x47\x4cOBA\x4c\x53"}["eg\x67\x71\x73\x64\x76\x6e"]="\x76\x61l\x75\x65";${"\x47LOBALS"}["\x61\x70\x6eq\x78\x6cz"]="ta\x62\x6c\x65\x43\x6f\x6cum\x6es";${"\x47L\x4f\x42\x41\x4cS"}["\x78dq\x64\x65vp\x77\x68z"]="\x61\x64\x64\x54a\x62l\x65P\x72\x65fi\x78";${"\x47\x4c\x4fBA\x4c\x53"}["\x6fk\x70\x68\x62\x6e\x6bje"]="\x72e\x73\x75\x6ct";${"\x47L\x4f\x42\x41L\x53"}["\x6b\x62\x72\x74w\x79\x71\x70m\x6as"]="\x74\x61bl\x65\x41\x6ci\x61s";${"G\x4c\x4f\x42\x41LS"}["\x6e\x62\x6b\x68f\x72\x6a\x6eg"]="\x63o\x6c\x75\x6dn\x73";${"\x47\x4c\x4fB\x41\x4cS"}["j\x6c\x78g\x66\x78\x6d"]="de\x66\x61u\x6c\x74\x43\x61\x74\x50\x61\x74\x68\x44\x65\x6c\x69m";${"\x47\x4cO\x42AL\x53"}["\x6d\x67x\x6f\x66xdm"]="bat\x63h";${"GL\x4fB\x41\x4cS"}["\x69e\x65n\x70e\x66\x6c\x6f\x71q\x66"]="\x62\x61\x74\x63\x68\x53\x69\x7ae";${"\x47LO\x42ALS"}["h\x73d\x75\x6bk\x70\x66e"]="\x6f\x66\x66\x73\x65\x74";${"\x47L\x4f\x42A\x4c\x53"}["mh\x6f\x72\x74\x77\x68\x71gl"]="sel\x65\x63\x74";class Nostress_Nscexport_Model_Mysql4_Data_Loader extends Nostress_Nscexport_Model_Mysql4_Abstract{const CPF="c\x70\x66";const CPE="cp\x65";const PCPF="pcpf";const CCF="c\x63f";const PCCF="\x70\x63\x63\x66";const CCPI="ccp\x69";const CPR="c\x70\x72";const CISS="cis\x73";const PCISS="\x70c\x69ss";const CISI="cisi";const CPAMG="\x63\x70am\x67";const CPAMGV="\x63p\x61\x6dg\x76";const PCISI="\x70ci\x73i";const CPSA="\x63p\x73\x61";const CPSAL="cpsal";const EA="\x65\x61";const RRA="rra";const CIP="\x63\x69p";const CUR="\x63\x75r";const EUR="\x65u\x72";const CCUR="\x63\x63\x75\x72";const WT="\x77\x74";const R="\x72";const RD="rd";const ROV="\x72ov";const NPACD="n\x70\x61c\x64";const NCPML="nc\x70ml";const NCCP="\x6e\x63c\x70";const NCSA="\x6e\x63sa";const NCT="nct";const NCC="n\x63c";const NCEC="n\x63e\x63";const NCMG="\x6ec\x6d\x67";const NR="\x6er";const NCP="ncp";const NSA="nsa";const NEC="\x6e\x65\x63";const NCW="\x6e\x63\x77";const NCCML="nccm\x6c";const NCPC="\x6ecp\x63";const NCR="nc\x72";const DEF_IMAGE_FOLDER="m\x65d\x69\x61/c\x61t\x61\x6co\x67/\x70r\x6fdu\x63\x74";const DEF_REVIEW_URL="\x72\x65v\x69\x65\x77/\x70r\x6fd\x75c\x74/\x6c\x69\x73t/id/";const VALUE_COLUMN_SUFFIX="_\x76al\x75\x65";const MAIN_TABLE_SUBST="{{m\x61i\x6e\x5f\x74ab\x6c\x65}}";const CATEGORY_ACTIVE="1";const WEEE_COLUMN_TOTAL_ORIGINAL="t\x6f\x74\x61\x6c";const WEEE_COLUMN_TOTAL_FINAL="\x74\x6ft\x61\x6c_\x66\x69nal";const WEEE_COLUMN_SUFFIX_ORIGINAL="";const WEEE_COLUMN_SUFFIX_FINAL="\x5ffina\x6c";const EXPORT_ID="ex\x70o\x72\x74_id";const TAXONOMY_CODE="taxon\x6f\x6dy_co\x64e";const CONDITIONS="c\x6fnd\x69t\x69o\x6e\x73";const BATCH_SIZE="\x62a\x74c\x68_si\x7a\x65";const DATETIME_FORMAT="da\x74\x65\x74\x69m\x65_\x66\x6f\x72ma\x74";const CATEGORY_PATH_DELIMITER="\x63\x61\x74\x65\x67\x6f\x72y\x5f\x70\x61\x74\x68_\x64\x65\x6ci\x6dit\x65r";const CATEGORY_LOWEST_LEVEL="\x63\x61tego\x72\x79\x5flo\x77\x65\x73t\x5fl\x65\x76e\x6c";const STOCK_STATUS_DEPENDENCE="\x73to\x63k\x5fs\x74a\x74\x75\x73\x5f\x64\x65pen\x64en\x63e";const SORT_ATTRIBUTE="\x73\x6f\x72\x74_\x61\x74\x74\x72i\x62\x75te";const PRICE_CUSTOMER_GROUP_ID="\x70rice_c\x75\x73\x74om\x65r_\x67rou\x70_\x69d";const SORT_ORDER="so\x72t_\x6frde\x72";const CURRENCY="c\x75\x72rency";const EXPORT_ALL_IMAGES="all\x5f\x69mages";const EXPORT_ALL_CATEGORIES="\x61l\x6c_\x63\x61\x74ego\x72i\x65\x73";const EXPORT_REVIEWS="lo\x61\x64\x5fproduc\x74\x5f\x72\x65\x76iew\x73";const DEF_BATCH_SIZE=1000;const DEF_CATEGORY_PATH_DELIMITER="/";const DEF_CUSTOMER_GROUP_NOT_LOGGED_IN=0;const SORT_ATTRIBUTE_ALIAS="n\x73\x63\x5fs\x6f\x72\x74_a\x74\x74\x72i\x62u\x74e";protected$_storeId;protected$_websiteId;protected$_columns;protected$_productFlatMandatoryColumns=array();protected$_multiColumns=array();protected$_staticColumns=array();protected$_data;protected$_select;protected$_params;protected$_helper;protected$_atttibutes='*';protected$_defaultAttributes=array();protected$_offset=0;protected$_placeholders=array();public function _construct(){$this->_init("ca\x74alog/prod\x75\x63\x74","en\x74it\x79\x5f\x69d");}public function init(){$this->defineColumns();$vxlxxnpghvbv="\x73\x65\x6ce\x63\x74";$this->resetOffset();${$vxlxxnpghvbv}=$this->getSelect();$select->reset();return$this;}public function loadBatch(){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ns\x62\x67\x69wov\x7a\x73"]="b\x61\x74\x63h\x53\x69\x7ae";${${"\x47L\x4f\x42\x41\x4cS"}["\x6d\x68o\x72\x74\x77\x68qg\x6c"]}=clone$this->getSelect();$nggnhcbtoed="\x62\x61\x74\x63\x68S\x69z\x65";${${"\x47\x4cO\x42\x41LS"}["ns\x62\x67i\x77\x6f\x76z\x73"]}=$this->getBatchSize();${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68s\x64\x75\x6bk\x70\x66\x65"]}=$this->getOffset();${"GL\x4f\x42\x41L\x53"}["\x7a\x7a\x63\x6ajv\x6crp\x73"]="\x73elect";$select->limit(${${"\x47L\x4f\x42\x41\x4c\x53"}["ie\x65\x6e\x70\x65\x66l\x6f\x71q\x66"]},${${"\x47LO\x42\x41\x4c\x53"}["\x68\x73\x64ukkpfe"]});${${"\x47\x4cO\x42\x41\x4cS"}["\x6d\x67\x78\x6f\x66\x78\x64\x6d"]}=$this->runSelectQuery(${${"GLO\x42\x41L\x53"}["\x7a\x7a\x63jj\x76l\x72\x70\x73"]});$this->setOffset(${$nggnhcbtoed}+${${"G\x4c\x4f\x42\x41LS"}["\x68sduk\x6b\x70\x66\x65"]});return${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x67\x78\x6f\x66\x78\x64\x6d"]};}public function loadAll(){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x68\x6f\x72t\x77h\x71\x67\x6c"]}=clone$this->getSelect();${${"\x47\x4c\x4fBAL\x53"}["m\x67\x78\x6f\x66x\x64m"]}=$this->runSelectQuery(${${"G\x4cO\x42AL\x53"}["\x6d\x68o\x72\x74w\x68\x71\x67\x6c"]});return${${"GLOB\x41L\x53"}["\x6dg\x78\x6f\x66\x78\x64\x6d"]};}protected function defineColumns(){$this->_columns=array();${"\x47L\x4fB\x41\x4c\x53"}["y\x75\x74\x6ernm\x73\x74\x73\x76"]="\x75\x73\x65\x72\x43atP\x61\x74\x68D\x65\x6ci\x6d";$this->_columns[$this->getCategoryFlatTable(true)]=array("\x63\x61\x74\x65\x67ory\x5f\x69d"=>"e\x6eti\x74\x79_\x69d","\x63ate\x67\x6fr\x79_n\x61m\x65"=>"\x6e\x61\x6de","\x63\x61\x74eg\x6fr\x79_\x70at\x68\x5f\x69ds"=>"\x70at\x68","\x63atego\x72\x79\x5f\x6c\x65v\x65l"=>"l\x65ve\x6c","ca\x74\x65\x67or\x79_\x70\x61re\x6et\x5fid"=>"\x70\x61\x72e\x6e\x74\x5f\x69d","ca\x74\x65g\x6fry\x5fu\x72l_ke\x79"=>"\x75\x72l\x5fke\x79","\x63a\x74\x65\x67o\x72y_\x70\x61\x74h_ur\x6c\x5fke\x79"=>new Zend_Db_Expr("(RE\x50\x4c\x41\x43E(\x52E\x50LACE(I\x46\x4e\x55LL({$this->getCategoryFlatTable(true)}.u\x72l_\x70ath,''),\x20'.\x68\x74m\x6c\x27,\x27\x27),'".self::DEF_CATEGORY_PATH_DELIMITER."\x27,\x27-'))"));$this->_columns[self::NCCP]=array("c\x61\x74\x65\x67o\x72\x79_\x70\x61\x74h"=>"\x63\x61\x74\x65\x67or\x79_\x70at\x68","c\x61\x74\x65\x67\x6fr\x79\x5f\x72\x6f\x6f\x74\x5f\x6ea\x6de"=>"\x63at\x65g\x6fry\x5f\x72\x6fot\x5f\x6ea\x6de","ca\x74eg\x6f\x72y_\x72oo\x74_i\x64"=>"c\x61\x74egor\x79\x5fr\x6f\x6ft\x5f\x69\x64");if($this->getUrlAttributeSource()==Nostress_Nscexport_Model_Config_Source_Urlsource::FLAT_CATALOG){$this->_columns[$this->getCategoryFlatTable(true)]["\x63\x61t\x65g\x6fr\x79\x5f\x75r\x6c"]=new Zend_Db_Expr("(C\x4fN\x43\x41\x54(\x27{$this->getStoreBaseUrl()}\x27,\x49FN\x55\x4cL({$this->getCategoryFlatTable(true)}\x2eu\x72\x6c_p\x61\x74\x68,CON\x43AT({$this->getCategoryFlatTable(true)}.ur\x6c\x5f\x6b\x65\x79,\x27{$this->getStoreConfig(Mage_Catalog_Helper_Category::XML_PATH_CATEGORY_URL_SUFFIX)}\x27))))");$this->_columns[self::CCUR]=array();}else{$this->_columns[self::CCUR]=array("ca\x74\x65gory\x5f\x75\x72l"=>new Zend_Db_Expr("(CONCAT(\x27{$this->getStoreBaseUrl()}',".self::CCUR.".re\x71\x75es\x74_\x70\x61th))"));}${${"\x47\x4cO\x42\x41L\x53"}["j\x6cx\x67f\x78\x6d"]}=self::DEF_CATEGORY_PATH_DELIMITER;$xrpndiwknvyt="u\x73\x65\x72\x43at\x50\x61\x74\x68D\x65\x6c\x69m";${${"\x47\x4c\x4f\x42ALS"}["y\x75\x74\x6e\x72n\x6dst\x73\x76"]}=$this->getCategoryPathDelimiter();if(${$xrpndiwknvyt}!==${${"\x47L\x4f\x42\x41\x4cS"}["j\x6cxgf\x78m"]}){$this->_columns[self::NCCP]["categ\x6fry_p\x61th"]=new Zend_Db_Expr("\x52E\x50\x4c\x41C\x45(".self::NCCP.".\x63at\x65\x67\x6f\x72\x79\x5fp\x61\x74h,'{$defaultCatPathDelim}\x27,\x27{$userCatPathDelim}\x27)");}$this->_columns[$this->getCategoryFlatTable(true,null,true)]=array("c\x61\x74e\x67ory\x5fp\x61\x72\x65\x6et_\x6eame"=>"na\x6de");$this->dispatchDefineColumnsEvent();}protected function defineCategoryTaxonomyColumns(){$ywjdbpie="tab\x6ce\x41\x6ci\x61s";$mmgwsimsuka="\x63\x6f\x6c\x75\x6d\x6e\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x68t\x63\x65\x6a\x6d\x78\x6c\x6d\x6bc"]="c\x6f\x6cu\x6d\x6es";${"G\x4c\x4fB\x41\x4c\x53"}["\x71n\x76d\x77eq\x74\x66lt\x7a"]="t\x61\x62\x6c\x65\x41\x6c\x69\x61\x73";${$ywjdbpie}=$this->getCategoryFlatTable(true);${$mmgwsimsuka}=Mage::getModel("n\x73cex\x70ort/tax\x6f\x6e\x6f\x6dy\x5fs\x65\x74up")->getTaxonomyAttributeCodes();if(empty(${${"\x47\x4c\x4fB\x41L\x53"}["\x68t\x63\x65\x6a\x6dxlm\x6b\x63"]}))return;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x6c\x77d\x72\x72p\x6d\x72"]="ta\x62\x6c\x65A\x6c\x69\x61\x73";${${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x62khfr\x6a\x6e\x67"]}=array_combine(${${"GL\x4f\x42A\x4c\x53"}["\x6e\x62\x6b\x68\x66\x72\x6a\x6eg"]},${${"G\x4cO\x42\x41\x4cS"}["\x6e\x62kh\x66rj\x6eg"]});$this->_columns[${${"\x47\x4cO\x42AL\x53"}["xl\x77d\x72\x72pm\x72"]}]=array_merge($this->_columns[${${"G\x4c\x4fB\x41\x4c\x53"}["\x71\x6e\x76\x64\x77e\x71tflt\x7a"]}],${${"GLOB\x41\x4c\x53"}["nbkh\x66\x72\x6a\x6e\x67"]});}protected function getColumns($tableAlias,$defualt=null,$groupConcat=false,$addTablePrefix=false){${"G\x4cO\x42\x41\x4c\x53"}["\x65\x63\x6b\x69\x74\x6d\x70s"]="\x72\x65s\x75\x6ct";$llezmwliofi="def\x75\x61l\x74";${"\x47LOBA\x4c\x53"}["\x6c\x78\x6c\x6eu\x68g\x62e\x70\x79"]="\x67\x72\x6f\x75\x70C\x6f\x6e\x63a\x74";${"G\x4c\x4fBALS"}["n\x78\x79mc\x76"]="\x74\x61bl\x65\x41li\x61\x73";$ttqdlbpux="\x72\x65\x73\x75\x6ct";$epkxdmcjt="\x72e\x73u\x6c\x74";if(array_key_exists(${${"\x47L\x4fBA\x4c\x53"}["\x6bbr\x74\x77\x79\x71\x70\x6d\x6as"]},$this->_columns))${${"\x47\x4cO\x42\x41\x4cS"}["o\x6b\x70\x68\x62\x6e\x6b\x6ae"]}=$this->_columns[${${"\x47L\x4f\x42\x41L\x53"}["k\x62\x72t\x77yq\x70mj\x73"]}];else${$epkxdmcjt}=${$llezmwliofi};if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x78l\x6e\x75hg\x62e\x70y"]})${$ttqdlbpux}=$this->groupConcatColumns(${${"GL\x4f\x42A\x4c\x53"}["\x6f\x6b\x70\x68\x62\x6ekj\x65"]});if(${${"GLOBA\x4cS"}["x\x64q\x64e\x76pw\x68z"]})${${"GL\x4fB\x41\x4c\x53"}["e\x63k\x69\x74\x6d\x70s"]}=$this->addTablePrefix(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x78\x79mcv"]},${${"GL\x4f\x42\x41\x4c\x53"}["\x6fk\x70\x68\x62\x6e\x6b\x6ae"]});return$this->filterColumns(${${"G\x4c\x4f\x42A\x4cS"}["o\x6b\x70hb\x6e\x6b\x6a\x65"]});}public function getAllColumns(){if(!isset($this->_columns))$this->defineColumns();${${"\x47\x4cO\x42A\x4c\x53"}["\x6e\x62\x6b\x68fr\x6ang"]}=array();foreach($this->_columns as${${"G\x4cO\x42\x41L\x53"}["\x61\x70\x6eq\x78\x6cz"]}){$ppqmtby="c\x6fl\x75m\x6e\x73";${${"\x47\x4cOB\x41LS"}["\x6e\x62k\x68\x66\x72j\x6eg"]}=array_merge(${$ppqmtby},${${"\x47\x4c\x4f\x42AL\x53"}["\x61\x70\x6eq\x78l\x7a"]});}return${${"GLO\x42\x41\x4c\x53"}["n\x62kh\x66r\x6a\x6eg"]};}public function getMultiColumns(){return$this->_multiColumns;}public function getStaticColumns(){return$this->_staticColumns;}protected function filterColumns($columns){$mfeywerf="\x63\x6f\x6c\x75m\x6e\x73";${"\x47LO\x42\x41L\x53"}["\x76m\x72\x76\x68\x6dh\x65\x6f"]="co\x6cu\x6d\x6es";$aipyikwuwk="\x63\x6f\x6c\x75\x6d\x6e\x73";${"\x47L\x4fB\x41\x4c\x53"}["jf\x77\x72\x64\x68c"]="\x63\x6fl\x75\x6d\x6es";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x68\x70\x75\x6f\x6a"]="\x63\x6fl\x75m\x6e\x73";if($this->_atttibutes=="*")return${${"\x47L\x4f\x42\x41\x4c\x53"}["vmr\x76\x68m\x68\x65\x6f"]};if(!isset(${${"\x47LO\x42\x41\x4cS"}["r\x68puoj"]})||!is_array(${$aipyikwuwk}))return${${"\x47\x4cOB\x41\x4cS"}["jf\x77\x72\x64\x68c"]};if(isset($this->_atttibutes)&&is_array($this->_atttibutes)){$tlslinohomj="\x63\x6f\x6cu\x6d\x6e\x73";$cnqjfhspcng="\x6b\x65\x79";$pqoufeuhoxew="c\x6f\x6cu\x6d\x6e";foreach(${$tlslinohomj} as${$cnqjfhspcng}=>${$pqoufeuhoxew}){$ojdezgbid="\x6be\x79";$qcgalqr="\x6b\x65y";$ibferynubzt="\x63\x6f\x6c\x75\x6d\x6es";if(!in_array(${$ojdezgbid},$this->_atttibutes))unset(${$ibferynubzt}[${$qcgalqr}]);}}return${$mfeywerf};}protected function addTablePrefix($tableAlias,$columns){$dfnmpbxm="k\x65y";foreach(${${"G\x4cO\x42\x41\x4cS"}["nb\x6b\x68f\x72\x6a\x6e\x67"]} as${$dfnmpbxm}=>${${"\x47\x4cO\x42A\x4c\x53"}["\x65g\x67\x71\x73\x64v\x6e"]}){$egchugp="\x76a\x6cu\x65";${"G\x4c\x4fBA\x4c\x53"}["j\x79a\x72\x78\x71m\x62\x66\x63"]="\x74\x61b\x6c\x65Ali\x61\x73";$lhqqnnfmnyj="\x63\x6fl\x75\x6dns";$mlxedvukq="va\x6c\x75\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["l\x7a\x68g\x74\x66i\x73\x77\x70"]="\x6b\x65y";if((is_object(${$egchugp})&&get_class(${${"\x47\x4c\x4fBAL\x53"}["\x65\x67\x67\x71\x73\x64v\x6e"]})=="Zend\x5f\x44\x62_Exp\x72")||(isset(${$mlxedvukq}[0])&&${${"\x47L\x4f\x42A\x4cS"}["\x65g\x67\x71s\x64\x76\x6e"]}[0]=="("))continue;${$lhqqnnfmnyj}[${${"GLO\x42A\x4cS"}["\x6c\x7ahg\x74\x66\x69\x73\x77\x70"]}]=${${"\x47L\x4f\x42\x41\x4cS"}["j\x79\x61\x72\x78\x71\x6dbfc"]}."\x2e".${${"G\x4c\x4f\x42AL\x53"}["eg\x67\x71s\x64\x76n"]};}return${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x62\x6b\x68\x66\x72\x6a\x6eg"]};}protected function groupConcatColumns($columns,$groupRowSeparator=null,$groupedColumnAlias=null){$ydxooprlx="gr\x6f\x75\x70\x52\x6f\x77S\x65\x70\x61\x72\x61\x74\x6fr";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79lss\x69\x68\x64t"]="c\x6flu\x6d\x6e\x73";${"GL\x4f\x42\x41\x4cS"}["\x65\x73ocd\x72y\x79\x6dj\x6b\x69"]="\x67\x72o\x75\x70e\x64C\x6f\x6cu\x6d\x6eA\x6c\x69\x61\x73";return$this->helper()->groupConcatColumns(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x6css\x69\x68d\x74"]},${$ydxooprlx},${${"\x47\x4cO\x42A\x4c\x53"}["e\x73\x6f\x63d\x72\x79\x79\x6djk\x69"]});}public function joinCategoryPath(){return$this->_joinCategoryPath($this->getSelect());}protected function _joinCategoryPath($select,$addColumns=true){${"\x47\x4c\x4f\x42\x41L\x53"}["e\x6ax\x6c\x77d\x6bohg"]="c\x6flu\x6d\x6es";${${"\x47\x4cO\x42A\x4c\x53"}["\x63c\x66\x69\x77\x70\x77\x65pun"]}=$this->getCategoryFlatTable(true);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75y\x6fb\x73y\x6b"]}=self::NCCP;${${"G\x4c\x4f\x42\x41L\x53"}["\x79n\x78\x71\x74\x66gg\x74b"]}=$this->getTable("nscex\x70\x6frt/c\x61c\x68e\x5fcatego\x72\x79p\x61\x74\x68");${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x77\x71\x6f\x71\x6e"]="c\x6f\x6c\x75\x6d\x6e\x73";${"G\x4c\x4f\x42AL\x53"}["\x77\x67\x65\x6eo\x6fx\x73\x72\x68"]="\x6a\x6f\x69n\x54\x61\x62le\x41l\x69\x61s";${${"\x47\x4c\x4f\x42\x41\x4cS"}["e\x6axl\x77\x64ko\x68g"]}=null;if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x79\x6b\x70\x66w\x6ds"]})${${"\x47\x4cO\x42\x41LS"}["\x6dw\x71\x6f\x71\x6e"]}=$this->getColumns(${${"G\x4c\x4f\x42A\x4c\x53"}["\x75y\x6f\x62s\x79\x6b"]});$select->joinLeft(array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x67\x65\x6e\x6fo\x78srh"]}=>${${"\x47L\x4f\x42\x41L\x53"}["\x79nx\x71tfgg\x74\x62"]}),"{$joinTableAlias}\x2e\x63ate\x67ory_i\x64 \x3d{$mainTableAlias}\x2ee\x6et\x69\x74y\x5f\x69d A\x4eD {$joinTableAlias}\x2e\x73\x74o\x72e\x5fi\x64\x20\x3d{$this->getStoreId()}",${${"GLO\x42\x41\x4c\x53"}["n\x62\x6b\x68f\x72\x6ang"]});return${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x68\x6f\x72t\x77\x68q\x67l"]};}public function orderByCategory(){${${"G\x4cOB\x41LS"}["\x6d\x68\x6frt\x77hq\x67\x6c"]}=$this->getSelect();$select->order($this->getCategoryFlatTable(true)."\x2ee\x6e\x74i\x74y\x5fi\x64");}public function joinParentCategory(){${"\x47LO\x42\x41\x4c\x53"}["\x6c\x77m\x79nv\x6f\x6f\x6eo\x71"]="\x6d\x61\x69\x6e\x54a\x62l\x65Al\x69\x61\x73";${"\x47L\x4fB\x41\x4c\x53"}["\x69vf\x67\x73yk\x78xn\x79"]="\x6a\x6f\x69\x6e\x54a\x62\x6c\x65";${"GLOBA\x4cS"}["\x65\x79\x69\x63\x71\x66\x6aw\x6dg\x69"]="\x63\x6f\x6ed\x69\x74\x69\x6f\x6e";${${"\x47LO\x42\x41\x4cS"}["\x6c\x77\x6dy\x6e\x76\x6fon\x6f\x71"]}=$this->getCategoryFlatTable(true);$qvrutywuq="m\x61\x69\x6e\x54a\x62\x6c\x65\x41\x6c\x69\x61\x73";${${"\x47L\x4fB\x41\x4c\x53"}["uy\x6f\x62sy\x6b"]}=$this->getCategoryFlatTable(true,null,true);${${"\x47\x4c\x4fB\x41\x4cS"}["\x79\x6ex\x71tf\x67\x67\x74b"]}=$this->getCategoryFlatTable();${${"\x47\x4c\x4f\x42A\x4cS"}["zrt\x6e\x6f\x69\x64mxc\x65"]}="{$joinTableAlias}.e\x6e\x74\x69ty\x5f\x69\x64\x20=\x20".self::MAIN_TABLE_SUBST.".\x70\x61\x72ent\x5fid";$this->joinTable(${$qvrutywuq},${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x79o\x62\x73\x79k"]},${${"G\x4cO\x42\x41\x4c\x53"}["\x69\x76f\x67\x73\x79\x6bx\x78ny"]},false,${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65y\x69\x63qfj\x77\x6dgi"]});return$this;}public function joinCategoryUrlRewrite(){$ieouspjwj="\x6a\x6fi\x6e\x54\x61\x62l\x65A\x6c\x69\x61\x73";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70\x67\x67\x61\x71n\x77"]="\x6aoinTa\x62l\x65";$raufzv="\x63ond\x69\x74\x69\x6f\x6e";${$ieouspjwj}=self::CCUR;${${"\x47LO\x42A\x4cS"}["p\x67ga\x71nw"]}=$this->getTable("c\x6fre/ur\x6c_\x72ewr\x69te");${${"\x47\x4c\x4f\x42A\x4cS"}["z\x72\x74n\x6f\x69\x64mx\x63e"]}="{$joinTableAlias}.\x63\x61\x74egor\x79_\x69\x64 \x3d\x20".self::MAIN_TABLE_SUBST."\x2eent\x69t\x79\x5fi\x64\x20";${"G\x4cO\x42\x41\x4c\x53"}["\x63\x6eb\x6c\x65fd\x73"]="c\x6f\x6e\x64\x69\x74\x69\x6f\x6e";${${"\x47L\x4f\x42\x41LS"}["z\x72t\x6e\x6f\x69d\x6dx\x63\x65"]}.="\x41\x4e\x44\x20{$joinTableAlias}.\x73\x74o\x72\x65\x5fi\x64\x20=\x20{$this->getStoreId()} ";${"\x47L\x4f\x42\x41\x4cS"}["\x79\x70\x61\x6d\x61\x64\x68\x70"]="jo\x69\x6e\x54ab\x6c\x65";${$raufzv}.="A\x4e\x44\x20{$joinTableAlias}\x2ep\x72\x6fdu\x63\x74\x5f\x69d\x20I\x53\x20\x4eULL ";$this->joinTable($this->getCategoryFlatTable(true),${${"\x47\x4cO\x42AL\x53"}["\x75y\x6f\x62\x73y\x6b"]},${${"G\x4cO\x42\x41\x4c\x53"}["\x79\x70\x61\x6da\x64h\x70"]},false,${${"\x47\x4c\x4fBA\x4cS"}["c\x6e\x62l\x65\x66d\x73"]});return$this;}protected function joinMainTable($joinTableAlias,$joinTable,$joinIfColumnsEmpty=false,$condition){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x74\x6f\x6c\x6d\x6a"]="\x6a\x6f\x69\x6e\x49\x66\x43\x6fl\x75\x6dns\x45\x6d\x70t\x79";$dhexoqwcyj="\x6da\x69\x6eT\x61ble\x41\x6c\x69\x61s";$srxloeu="\x6a\x6f\x69\x6eT\x61\x62\x6ce";${${"GL\x4f\x42ALS"}["\x63c\x66iw\x70w\x65pun"]}=$this->getMainTable(true);return$this->joinTable(${$dhexoqwcyj},${${"\x47LOB\x41\x4c\x53"}["\x75y\x6fbs\x79\x6b"]},${$srxloeu},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x74\x6f\x6c\x6d\x6a"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x72t\x6eo\x69\x64\x6dx\x63\x65"]});}protected function joinTable($mainTableAlias,$joinTableAlias,$joinTable,$joinIfColumnsEmpty=false,$condition){${"\x47\x4c\x4fBA\x4c\x53"}["n\x6by\x69\x63ig\x6b\x6d\x6b"]="\x6ao\x69\x6e\x54a\x62\x6c\x65A\x6c\x69\x61\x73";$vigoycppx="\x6aoin\x49\x66\x43\x6f\x6cumn\x73E\x6dp\x74y";$lylgkebtfm="\x73\x65\x6c\x65\x63t\x43\x6fl\x75\x6d\x6es";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x79\x72\x71\x76\x68\x6c\x6ep\x66"]="\x6ao\x69\x6e\x54\x61b\x6c\x65Al\x69\x61\x73";${${"\x47L\x4fB\x41\x4cS"}["u\x76z\x6en\x72\x70i\x7aw\x62"]}=$this->getColumns(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ek\x79ic\x69\x67k\x6d\x6b"]});if(empty(${$lylgkebtfm})&&!${$vigoycppx})return false;${${"\x47L\x4f\x42A\x4c\x53"}["\x6dh\x6f\x72t\x77\x68\x71gl"]}=$this->getSelect();${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7ar\x74\x6eo\x69\x64\x6dx\x63\x65"]}=str_replace(self::MAIN_TABLE_SUBST,${${"\x47\x4c\x4f\x42\x41L\x53"}["c\x63f\x69w\x70\x77\x65\x70\x75\x6e"]},${${"G\x4c\x4fB\x41\x4cS"}["\x7a\x72tn\x6f\x69\x64mx\x63e"]});$select->joinLeft(array(${${"G\x4c\x4f\x42ALS"}["\x6b\x79r\x71\x76\x68lnpf"]}=>${${"\x47L\x4f\x42\x41L\x53"}["\x79\x6ex\x71t\x66\x67\x67\x74b"]}),${${"G\x4cO\x42AL\x53"}["\x7a\x72tnoi\x64m\x78\x63e"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x76z\x6e\x6er\x70\x69\x7a\x77\x62"]});return true;}protected function resetWebsiteId(){$this->_websiteId=Mage::app()->getStore($this->getStoreId())->getWebsiteId();}protected function getWebsiteId(){if(is_null($this->_websiteId)){$this->_websiteId=Mage::app()->getStore($this->getStoreId())->getWebsiteId();}return$this->_websiteId;}protected function getProductFlatTable($alias=false,$storeId=null){$dlqfrxngibp="al\x69\x61s";if(is_null(${${"\x47LOB\x41\x4c\x53"}["\x6ec\x72r\x64\x69\x6cd\x6cr"]})){$nxcwhek="\x73\x74o\x72\x65\x49\x64";${$nxcwhek}=$this->getStoreId();}${"\x47L\x4fB\x41\x4c\x53"}["\x71e\x6c\x62\x6d\x73\x6a\x65\x68h\x73"]="\x73to\x72e\x49\x64";$jokhdl="\x73t\x6f\x72\x65Id";if(${$dlqfrxngibp})return self::CPF.${${"\x47\x4cOBALS"}["\x71\x65\x6c\x62ms\x6a\x65h\x68\x73"]};else return Mage::getResourceModel("c\x61ta\x6cog/p\x72od\x75ct_\x66\x6c\x61t")->getFlatTableName(${$jokhdl});}protected function getCategoryFlatTable($alias=false,$storeId=null,$parent=false){$ltwmmilw="\x73\x74\x6fre\x49\x64";${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x73\x6d\x73\x6f\x76sr\x66"]="\x73\x74ore\x49\x64";${"G\x4c\x4fB\x41LS"}["\x76\x67\x6bd\x74\x73\x6e"]="\x61\x6c\x69\x61\x73";if(is_null(${${"G\x4cO\x42\x41\x4c\x53"}["\x62s\x6d\x73\x6f\x76s\x72\x66"]})){${${"\x47\x4cO\x42A\x4cS"}["\x6ec\x72\x72\x64\x69ldl\x72"]}=$this->getStoreId();}if(${${"G\x4cO\x42\x41L\x53"}["\x76g\x6b\x64\x74\x73\x6e"]}){if(${${"\x47LOB\x41\x4c\x53"}["z\x76\x6f\x65\x69oh\x68\x7a\x76o"]})return self::PCCF.${${"\x47LOB\x41\x4cS"}["n\x63\x72\x72\x64i\x6c\x64\x6c\x72"]};else return self::CCF.${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x63rr\x64i\x6c\x64lr"]};}else return Mage::getResourceModel("c\x61\x74a\x6co\x67/\x63ategor\x79_\x66la\x74")->getMainStoreTable(${$ltwmmilw});}public function resetOffset(){$this->_offset=0;}public function setOffset($offset){$this->_offset=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x73\x64u\x6b\x6b\x70\x66e"]};}public function getOffset(){return$this->_offset;}public function setAttributes($attributes){${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x68\x6c\x77\x68pe\x66q"]="\x61t\x74ribu\x74\x65s";if(is_array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x68\x6c\x77\x68\x70\x65\x66q"]})&&isset($this->_defaultAttributes)&&!empty($this->_defaultAttributes)){${"\x47\x4cOB\x41L\x53"}["fi\x69t\x6d\x75\x73\x78\x77t"]="\x61\x74t\x72\x69bu\x74\x65\x73";${${"\x47\x4c\x4fB\x41\x4cS"}["\x64\x6ah\x77\x72\x6bk\x6d\x63"]}=array_merge(${${"G\x4c\x4f\x42\x41L\x53"}["\x66\x69\x69t\x6d\x75\x73\x78\x77\x74"]},$this->_defaultAttributes);}$this->_atttibutes=${${"\x47\x4c\x4fBA\x4cS"}["\x64\x6a\x68w\x72\x6bk\x6d\x63"]};$this->addSuperAttributes();}protected function addSuperAttributes(){${"\x47\x4c\x4f\x42AL\x53"}["blj\x63\x66\x7a\x67\x6dygt"]="s\x75per\x41\x74\x74r\x69\x62\x75t\x65\x73";if(!in_array("su\x70\x65\x72\x5fat\x74\x72i\x62u\x74\x65\x73",$this->_atttibutes))return;${${"G\x4c\x4fB\x41\x4cS"}["b\x6c\x6ac\x66zgm\x79\x67\x74"]}=Mage::getResourceModel("n\x73\x63\x65xpo\x72\x74/c\x61ch\x65_\x73u\x70\x65ra\x74t\x72\x69\x62\x75t\x65s")->getAllSuperAttributes();${"G\x4c\x4fB\x41\x4cS"}["\x68\x6acu\x67\x71\x65"]="su\x70e\x72\x41\x74t\x72ibu\x74e\x73";$this->_atttibutes=array_merge(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6a\x63u\x67\x71e"]},$this->_atttibutes);}public function getAttributes(){return$this->_atttibutes;}protected function getUnknownAttributes($attributes=null){${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x6c\x70\x6d\x6c\x76\x75z\x77\x6f"]="a\x74\x74\x72\x69\x62\x75te\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x6db\x61oj\x70nyi"]="a\x6c\x6cC\x6fl\x75\x6d\x6es";${"G\x4cOBALS"}["\x74\x62\x68\x71i\x68"]="\x61\x74\x74\x72\x69bu\x74\x65\x73";if(!isset(${${"\x47\x4c\x4f\x42\x41\x4cS"}["dlpmlv\x75\x7a\x77\x6f"]}))${${"\x47L\x4f\x42\x41\x4cS"}["\x74b\x68q\x69\x68"]}=$this->_atttibutes;$iynelaxxq="\x61\x74\x74\x72\x69\x62\x75t\x65s";${${"G\x4c\x4f\x42A\x4cS"}["\x77\x68q\x62\x68\x64\x68\x61\x76jm"]}=array();$fnmocz="\x6b\x65\x79";${"GL\x4f\x42\x41\x4c\x53"}["\x66e\x6a\x67\x6f\x70"]="v\x61\x6cu\x65";${${"G\x4c\x4f\x42A\x4c\x53"}["mb\x61o\x6apny\x69"]}=$this->getAllColumns();$emraxypoifw="u\x6e\x6bno\x77nAtt\x72i\x62\x75t\x65\x73";if(is_array(${$iynelaxxq})){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x6fqu\x66\x63i\x6cgh"]="\x61\x74\x74ri\x62u\x74\x65s";${"GLO\x42\x41L\x53"}["\x75\x65\x66\x6bx\x6bi\x71\x71i\x67\x67"]="\x61\x74\x74r\x69bNam\x65";foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x6f\x71uf\x63\x69lgh"]} as${${"G\x4c\x4fB\x41L\x53"}["\x75e\x66\x6b\x78k\x69\x71q\x69gg"]}){${"\x47L\x4fBAL\x53"}["ayeeh\x73\x72v\x62c\x76"]="\x61\x74\x74r\x69\x62\x4ea\x6de";$wifmytjdldzv="\x61\x6clC\x6f\x6cu\x6d\x6e\x73";if(!array_key_exists(${${"\x47\x4cOB\x41\x4c\x53"}["s\x6f\x63\x62l\x66\x65\x70\x79o\x6c"]},${$wifmytjdldzv}))${${"\x47\x4c\x4f\x42AL\x53"}["\x77h\x71\x62\x68d\x68a\x76j\x6d"]}[]=${${"\x47L\x4fBALS"}["\x61y\x65\x65\x68\x73r\x76\x62\x63\x76"]};}}foreach(${$emraxypoifw} as${$fnmocz}=>${${"\x47\x4cO\x42\x41\x4cS"}["f\x65j\x67o\x70"]}){$wuwcawywc="\x6be\x79";if(in_array(${${"\x47L\x4f\x42\x41LS"}["\x65\x67g\x71\x73\x64\x76n"]},$this->_staticColumns))unset(${${"\x47\x4cO\x42\x41L\x53"}["w\x68\x71\x62\x68dhav\x6am"]}[${$wuwcawywc}]);}return${${"G\x4cOBA\x4c\x53"}["\x77h\x71\x62\x68d\x68a\x76\x6a\x6d"]};}public function getCondition($name,$default=null){${"\x47LO\x42\x41\x4c\x53"}["au\x68\x6e\x77\x71dyk"]="d\x65\x66\x61\x75\x6ct";${${"\x47\x4c\x4fB\x41LS"}["\x77\x78\x62\x6d\x64f\x71\x6d\x76\x76"]}=$this->getConditions();$tsuexuvp="\x6e\x61\x6de";if(array_key_exists(${$tsuexuvp},${${"G\x4c\x4f\x42\x41L\x53"}["\x77\x78\x62\x6d\x64f\x71mvv"]}))return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x78\x62\x6d\x64\x66\x71\x6dv\x76"]}[${${"\x47\x4c\x4fBA\x4cS"}["\x78m\x6b\x73\x6cg\x64\x63\x69\x66"]}];else return${${"G\x4c\x4f\x42\x41\x4cS"}["a\x75\x68n\x77qd\x79\x6b"]};}public function setStore($store){$this->setStoreId(Mage::app()->getStore(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x73\x7a\x6c\x73\x71\x6a\x63\x6d\x64"]})->getId());return$this;}public function setStoreId($storeId){${"\x47\x4cO\x42\x41\x4cS"}["\x62\x65kt\x69k"]="\x73t\x6fr\x65\x49\x64";${"G\x4c\x4f\x42A\x4c\x53"}["\x62t\x63x\x70\x77\x78"]="\x73\x74\x6f\x72\x65Id";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x74\x63xp\x77\x78"]} instanceof Mage_Core_Model_Store){${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x63rr\x64\x69ldl\x72"]}=$storeId->getId();}$this->_storeId=(int)${${"\x47\x4c\x4f\x42\x41LS"}["\x62ek\x74\x69\x6b"]};$this->resetWebsiteId();return$this;}public function getStoreId(){if(is_null($this->_storeId)){$this->setStoreId(Mage::app()->getStore()->getId());}return$this->_storeId;}protected function getStore(){return Mage::app()->getStore($this->getStoreId());}protected function getEmptySelect(){$bpwkqccr="\x73\x65\x6cect";${$bpwkqccr}=$this->_getReadAdapter()->select();${${"\x47LOB\x41\x4c\x53"}["ru\x67\x67\x79w\x66\x6b\x6b\x79x"]}=clone${${"GL\x4fB\x41\x4cS"}["\x6dho\x72\x74\x77h\x71\x67\x6c"]};$res->reset();return${${"\x47LO\x42A\x4c\x53"}["\x72\x75\x67g\x79w\x66\x6b\x6b\x79\x78"]};}protected function getSubSelectTable($select){return new Zend_Db_Expr("(".${${"\x47LO\x42\x41L\x53"}["\x6d\x68\x6f\x72t\x77h\x71\x67\x6c"]}.") ");}public function getSelect(){if(!isset($this->_select)){$this->_select=$this->getEmptySelect();}return$this->_select;}protected function helper(){if(!isset($this->_helper))$this->_helper=Mage::helper("ns\x63e\x78p\x6frt/d\x61\x74a\x5fl\x6f\x61\x64er");return$this->_helper;}protected function getParam($index,$default=null){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x66\x64u\x69\x6d\x75\x77"]="\x69\x6e\x64\x65\x78";if(!isset($this->_params))$this->_params=$this->helper()->getCommonParameters();$nojdgo="\x64\x65\x66\x61\x75lt";if(array_key_exists(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x66\x64u\x69\x6d\x75\x77"]},$this->_params))return$this->_params[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7ahq\x6e\x79\x64\x71"]}];else return${$nojdgo};}protected function allowInactiveCategoriesExport(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_ALLOW_INACTIVE_CATEGORIES_EXPORT,false);}protected function allowPlaceholderImageExport(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_ALLOW_PLACEHOLDER_IMAGES_EXPORT,true);}protected function getImageFolder(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_IMAGE_FOLDER,self::DEF_IMAGE_FOLDER);}protected function getReviewUrlPrefix(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_REVIEW_URL,self::DEF_REVIEW_URL);}protected function getUrlAttributeSource(){return$this->getParam(Nostress_Nscexport_Helper_Data_Loader::PARAM_URL_ATTRIBUTE_SOURCE,"\x30");}protected function getStoreBaseUrl($type=null){if(isset(${${"GL\x4f\x42\x41\x4cS"}["\x65\x6f\x70\x76\x72r\x69\x6cd"]}))return$this->getStore()->getBaseUrl(${${"GLO\x42\x41\x4c\x53"}["\x65\x6fp\x76r\x72\x69\x6c\x64"]});else return$this->getStore()->getBaseUrl();}protected function getBaseUrl($type){$fnatprbww="\x64\x65f\x53t\x6fr\x65";${$fnatprbww}=Mage::app()->getStore(Mage_Catalog_Model_Abstract::DEFAULT_STORE_ID);if(isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x6fpvr\x72\x69ld"]}))return$defStore->getBaseUrl(${${"\x47L\x4f\x42\x41\x4cS"}["e\x6f\x70\x76\x72\x72i\x6c\x64"]});else return$defStore->getBaseUrl();}protected function checkProductAttributes($attributes){${${"\x47L\x4f\x42\x41LS"}["\x64\x71\x76u\x67h\x6dt\x68"]}=$this->helper()->getProductFlatColumns($this->getStoreId());${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x72j\x6e\x71o\x6caq\x67\x66"]="\x66\x6c\x61\x74\x43\x6fl\x75m\x6es";return$this->checkAttributes(${${"\x47\x4cOBAL\x53"}["\x64\x6a\x68\x77\x72\x6bkmc"]},${${"\x47\x4cO\x42\x41L\x53"}["v\x72jn\x71ol\x61\x71g\x66"]});}protected function checkCategoryAttributes($attributes){${${"\x47\x4c\x4fB\x41\x4c\x53"}["dq\x76\x75\x67\x68\x6d\x74h"]}=$this->helper()->getCategoryFlatColumns($this->getStoreId());return$this->checkAttributes(${${"G\x4c\x4f\x42\x41L\x53"}["d\x6a\x68w\x72kkmc"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x71\x76u\x67\x68mth"]},"\x63ate\x67ory");}protected function checkAttributes($attributes,$flatColumns,$flatCatalogType='product'){$ddakomg="\x6di\x73\x73in\x67\x41\x74\x74\x72ib\x75\x74\x65s";${"GL\x4f\x42\x41\x4c\x53"}["str\x65\x74\x6f"]="f\x6c\x61\x74C\x61\x74\x61l\x6f\x67T\x79\x70e";${$ddakomg}=array();if(${${"G\x4c\x4fB\x41\x4c\x53"}["s\x74r\x65\x74\x6f"]}=="\x70\x72\x6fd\x75ct"){$lfbkxtd="a\x74\x74\x72i\x62ut\x65";${"G\x4c\x4f\x42ALS"}["\x68\x7aebo\x74\x71"]="\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73";foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68z\x65\x62\x6ftq"]} as${$lfbkxtd}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x78f\x6cva\x66h\x6fp"]="at\x74\x72\x69bu\x74e";$yubhdcqbnjbm="\x61t\x74r\x69\x62\x75\x74\x65\x43\x6fd\x65";${"\x47L\x4f\x42A\x4cS"}["\x69\x76\x6c\x64\x79\x7a\x69\x6e\x7a\x73"]="a\x74\x74r\x69\x62u\x74\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x78\x72o\x69\x69f"]="\x61\x74\x74\x72\x69bu\x74e\x43\x6f\x64\x65";${${"\x47\x4c\x4f\x42\x41LS"}["\x78\x72o\x69i\x66"]}=${${"G\x4c\x4f\x42\x41\x4cS"}["\x69\x76ld\x79\x7ai\x6ez\x73"]};$akktsh="\x6d\x69\x73\x73\x69\x6e\x67\x41\x74t\x72\x69\x62\x75\x74\x65s";if(strpos(${${"\x47\x4c\x4fBA\x4cS"}["l\x78\x66\x6cv\x61\x66\x68\x6f\x70"]},Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX)!==false){$rvoiwcx="\x61tt\x72\x69bu\x74\x65";${${"\x47L\x4f\x42A\x4c\x53"}["\x71l\x79bj\x79\x65e"]}=str_replace(Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX,"",${$rvoiwcx});}if(!in_array(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x6c\x79\x62\x6a\x79\x65\x65"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x64q\x76ug\x68m\x74h"]}))${$akktsh}[]=${$yubhdcqbnjbm};}}else{${"\x47LO\x42AL\x53"}["o\x67\x66\x66\x6f\x62x"]="at\x74r\x69\x62\x75te";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x64y\x65\x68l\x6ex"]="\x61\x74\x74\x72i\x62\x75\x74es";foreach(${${"G\x4c\x4fBA\x4cS"}["s\x64y\x65h\x6c\x6e\x78"]} as${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x67\x66fo\x62\x78"]}){$lgwmvbpegms="\x61\x74\x74r\x69\x62\x75\x74\x65";${"\x47LO\x42\x41\x4cS"}["\x6e\x6ck\x6b\x67v\x6buh"]="m\x69s\x73\x69n\x67\x41\x74\x74ribut\x65s";${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x6azpjf\x73rs\x6c"]="\x66l\x61\x74\x43o\x6c\x75m\x6es";if(!in_array(${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x72hp\x6c\x78k\x65\x66a"]},${${"\x47LOB\x41L\x53"}["gj\x7a\x70\x6a\x66srs\x6c"]}))${${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x6ckkg\x76\x6b\x75h"]}[]=${$lgwmvbpegms};}}if(count(${${"G\x4c\x4f\x42\x41\x4cS"}["\x7a\x6d\x77\x61\x6ai\x73\x6cr\x6a"]})>0){$cyuncokjl="\x6d\x69\x73sin\x67A\x74\x74r\x69\x62ut\x65s";${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x68\x63h\x65p\x70"]="\x65r\x72\x6f\x72Co\x64e";${"G\x4c\x4f\x42ALS"}["\x68\x67\x67f\x71g\x6c\x78\x62"]="\x6di\x73\x73\x69ngA\x74\x74\x72\x69b\x75\x74\x65\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x64\x7ap\x6fi\x67\x77\x62"]="\x61\x74\x74r\x69bu\x74\x65\x73";${"\x47L\x4f\x42\x41L\x53"}["\x76ee\x66\x6b\x6a"]="\x66\x6c\x61\x74\x43\x61ta\x6cogTyp\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x7a\x6d\x77a\x6a\x69\x73\x6c\x72j"]}=array_unique(${$cyuncokjl});${${"\x47\x4c\x4f\x42ALS"}["\x6a\x64zpo\x69\x67\x77b"]}=implode(", ",${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x67\x67\x66qgl\x78b"]});if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x65efkj"]}=="categ\x6f\x72\x79")${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x6a\x64\x6e\x6a\x75\x7avd"]}="\x36";else${${"GLO\x42\x41L\x53"}["ghc\x68ep\x70"]}="7";throw new Exception(${${"\x47L\x4f\x42A\x4c\x53"}["e\x6a\x64\x6e\x6a\x75zv\x64"]}." ".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x6a\x68\x77\x72\x6bk\x6dc"]});return false;}return true;}protected function prepareColumnsFromAttributes($attributes){$lezamtlm="\x63\x6f\x6c\x75\x6d\x6e\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67w\x6cg\x67\x70qi"]="\x63\x6flu\x6dns";${$lezamtlm}=array();${${"\x47\x4cOB\x41LS"}["\x70y\x75q\x67\x6ak\x76\x6f\x76"]}=$this->helper()->getVisibleProductAttributes(true);$dsgqymhqb="a\x74\x74r\x69\x62u\x74\x65\x43\x6f\x64e";foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x6a\x68wrk\x6b\x6dc"]} as${$dsgqymhqb}){$ibnxhxkorfoh="pr\x6fd\x75\x63\x74\x46\x6c\x61\x74A\x74t\x72\x69b\x75\x74\x65D\x75p\x6c\x69\x63a\x74e\x73\x43o\x64e";$rttwhbbcmba="\x70r\x6fduc\x74F\x6ca\x74Att\x72i\x62\x75\x74\x65\x44\x75p\x6c\x69cat\x65\x73\x43o\x64\x65";${"\x47\x4cO\x42A\x4c\x53"}["\x63\x61f\x75\x6f\x73y\x7a\x79"]="a\x74t\x72\x69\x62\x75teC\x6f\x64\x65";${"\x47\x4cO\x42\x41\x4cS"}["\x7a\x6fu\x76\x62\x79\x65\x6a\x6af\x62\x76"]="inf\x6f";${$ibnxhxkorfoh}=false;if(strpos(${${"\x47L\x4f\x42\x41\x4cS"}["\x63\x61\x66u\x6fs\x79\x7a\x79"]},Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX)!==false)${${"\x47\x4cOBALS"}["\x78\x6cg\x72\x67d\x65\x78"]}=true;if(!array_key_exists(${${"G\x4c\x4f\x42\x41L\x53"}["\x71\x6cy\x62j\x79\x65\x65"]},${${"\x47\x4c\x4f\x42\x41LS"}["py\x75\x71\x67\x6a\x6b\x76\x6f\x76"]})&&!${$rttwhbbcmba}){$vhoohofy="\x61\x74\x74\x72\x69b\x75t\x65\x43o\x64e";throw new Exception("\x38\x20".${$vhoohofy});}${"\x47L\x4f\x42\x41LS"}["\x74k\x76e\x75l\x75"]="v\x61\x6c\x75e";${"\x47\x4cO\x42\x41\x4c\x53"}["\x70i\x67\x79\x67r\x6aml"]="p\x72\x6f\x64u\x63\x74\x46\x6c\x61tA\x74t\x72\x69\x62\x75t\x65\x44u\x70l\x69\x63a\x74esC\x6fd\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65g\x67\x71\x73\x64\x76n"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["q\x6cy\x62j\x79\x65e"]};if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x69\x67yg\x72\x6am\x6c"]})${${"\x47L\x4f\x42A\x4c\x53"}["\x65\x67gq\x73\x64\x76n"]}=str_replace(Nostress_Nscexport_Helper_Data_Feed::DUPLICATE_FLAT_CAT_COLUMN_PREFIX,"",${${"GL\x4f\x42\x41\x4cS"}["q\x6c\x79\x62\x6a\x79e\x65"]});${${"\x47\x4c\x4fBA\x4c\x53"}["\x7a\x6f\x75\x76\x62\x79\x65\x6a\x6afbv"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["py\x75q\x67\x6a\x6b\x76\x6f\x76"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x67\x67\x71sd\x76n"]}];switch($info->getFrontendInput()){case"\x6dedi\x61_image":${${"\x47\x4c\x4fBAL\x53"}["\x74\x6b\x76\x65\x75l\x75"]}=$this->mediaImageColumn(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x67\x67\x71\x73dv\x6e"]});break;case"\x73\x65l\x65\x63t":${${"G\x4cOBA\x4c\x53"}["e\x67\x67qs\x64vn"]}=$this->multiSelectColumn(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x67\x67\x71\x73d\x76\x6e"]});break;case"d\x61t\x65":${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65g\x67\x71\x73\x64\x76n"]}=$this->dateColumn("{$this->getProductFlatTable(true)}\x2e{$value}");break;case"\x70r\x69c\x65":${${"\x47L\x4fB\x41\x4cS"}["e\x67\x67\x71\x73\x64\x76n"]}=$this->priceColumn(${${"\x47L\x4fB\x41\x4c\x53"}["e\x67\x67\x71s\x64\x76\x6e"]});default:break;}${${"\x47L\x4f\x42\x41L\x53"}["\x6eb\x6b\x68\x66r\x6an\x67"]}[${${"\x47\x4c\x4f\x42A\x4cS"}["q\x6cy\x62j\x79\x65e"]}]=${${"G\x4c\x4fBA\x4c\x53"}["e\x67\x67\x71s\x64\x76\x6e"]};}return${${"GL\x4fB\x41\x4cS"}["\x67\x77\x6cg\x67\x70\x71\x69"]};}protected function dateColumn($columnCode,$formatType=self::DATE_TIME){${${"\x47\x4c\x4fBA\x4c\x53"}["p\x6cx\x62fwx\x64n\x61\x6d\x78"]}=$this->getDatetimeFormat();if(${${"\x47L\x4f\x42A\x4cS"}["\x70\x6c\x78bfwx\x64\x6e\x61\x6d\x78"]}==Nostress_Nscexport_Model_Config_Source_Datetimeformat::TIMESTAMP)return new Zend_Db_Expr("U\x4eI\x58_\x54\x49ME\x53T\x41\x4dP($columnCode)");else return new Zend_Db_Expr("D\x41TE_\x46\x4fR\x4dAT($columnCode,'{$this->getSqlTimestampFormat($formatType)}')");}protected function mediaImageColumn($code){${"\x47\x4cO\x42\x41\x4cS"}["s\x6e\x7aq\x66u\x6f\x6a\x74b"]="p\x6ca\x63\x65h\x6fl\x64\x65\x72\x55rl";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x76\x6b\x6cg\x6b\x61\x68"]}=$this->getStoreBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$this->getImageFolder();${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6e\x7a\x71f\x75o\x6a\x74\x62"]}="";if($this->allowPlaceholderImageExport()){${"\x47L\x4f\x42A\x4c\x53"}["dr\x73k\x71j\x70\x78\x6b"]="c\x6f\x64\x65";${${"\x47\x4c\x4f\x42\x41LS"}["\x75\x7a\x74\x69c\x7a\x6ceo\x6f\x67\x66"]}=$this->getPlaceholder(${${"\x47LOB\x41\x4c\x53"}["\x64\x72s\x6b\x71jpx\x6b"]});if(!empty(${${"\x47\x4cO\x42\x41\x4cS"}["u\x7ati\x63\x7al\x65o\x6f\x67\x66"]})){${${"\x47\x4c\x4fB\x41LS"}["\x68\x6a\x63d\x78\x65"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x76\x6b\x6cg\x6b\x61\x68"]}.${${"G\x4c\x4f\x42A\x4c\x53"}["uz\x74\x69\x63\x7a\x6c\x65oog\x66"]};}}return"\x49\x46( {$this->getProductFlatTable(true)}.{$code}\x20= '\x6eo\x5f\x73\x65l\x65\x63\x74io\x6e',\x27{$placeholderUrl}\x27,CO\x4e\x43\x41\x54('{$imageUrlPrefix}\x27,\x20{$this->getProductFlatTable(true)}\x2e{$code}))";}protected function multiSelectColumn($code){$orvmaxkxut="\x63\x6fd\x65";return${$orvmaxkxut}.self::VALUE_COLUMN_SUFFIX;}protected function priceColumn($code){return$this->helper()->getRoundSql($this->getProductFlatTable(true).".".${${"G\x4cO\x42\x41\x4c\x53"}["k\x62\x6d\x6bm\x77\x71\x79"]});}protected function getTaxonomyColumnName(){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6doxdq\x6ab\x73\x75"]="\x74\x61\x78o\x6e\x6f\x6d\x79Co\x64\x65";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6do\x78dq\x6ab\x73\x75"]}=$this->getTaxonomyCode();if(!isset(${${"G\x4cO\x42\x41L\x53"}["\x76\x68h\x73\x62\x6bs\x6b\x78\x78\x6b"]}))return null;return$this->helper()->createCategoryAttributeCode(${${"\x47\x4c\x4fB\x41\x4cS"}["\x76\x68\x68\x73\x62k\x73k\x78\x78\x6b"]});}protected function getTaxonomyLocale(){${"\x47\x4c\x4fBAL\x53"}["\x75v\x6aye\x79\x78c\x71\x79"]="\x74\x61\x78o\x6e\x6f\x6d\x79\x43\x6f\x64e";${${"\x47\x4cOBAL\x53"}["u\x76\x6ay\x65\x79\x78\x63q\x79"]}=$this->getTaxonomyCode();$juugtd="\x74\x61\x78on\x6f\x6d\x79\x43\x6f\x64e";if(!isset(${${"G\x4cO\x42\x41\x4c\x53"}["v\x68h\x73\x62\x6b\x73kx\x78k"]}))return null;$xvybsmnqd="\x6c\x6f\x63\x61\x6c\x65";${$xvybsmnqd}=$this->helper()->getStoreLocale($this->getStore());${"\x47\x4cO\x42\x41\x4cS"}["u\x69\x69ba\x6d\x6e\x79u\x67"]="\x6c\x6f\x63\x61\x6c\x65";${${"\x47\x4c\x4f\x42\x41L\x53"}["qwdjy\x78\x71\x71\x6f\x7a"]}=$this->helper()->getStoreTaxonomyLocale(${$juugtd},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x77\x64\x6a\x79\x78q\x71\x6f\x7a"]});return${${"\x47\x4cO\x42\x41LS"}["u\x69\x69\x62\x61\x6d\x6eyu\x67"]};}protected function getSqlTimestampFormat($type=self::DATE_TIME){${"G\x4c\x4fBA\x4c\x53"}["\x6c\x62t\x64\x73ay\x70a\x70"]="\x74\x79\x70\x65";return$this->datetimeModel()->getSqlFormat($this->getDatetimeFormat(),${${"\x47LO\x42A\x4c\x53"}["lb\x74\x64s\x61y\x70\x61\x70"]});}protected function datetimeModel(){return Mage::getModel("\x6e\x73c\x65x\x70ort/\x63\x6fnfig_so\x75r\x63\x65\x5fd\x61teti\x6d\x65\x66\x6frm\x61t");}public function setData($data){$obrofcikd="d\x61\x74a";$this->_data=${$obrofcikd};}public function getData($index){${"\x47\x4c\x4fB\x41L\x53"}["\x64\x68\x77r\x72y\x67"]="\x69\x6e\x64ex";${"\x47\x4cO\x42A\x4cS"}["\x64\x69\x72\x73l\x73"]="\x69\x6e\x64e\x78";if(isset($this->_data[${${"\x47L\x4f\x42\x41\x4c\x53"}["d\x69\x72\x73\x6c\x73"]}]))return$this->_data[${${"\x47\x4cO\x42\x41L\x53"}["\x64\x68w\x72\x72\x79\x67"]}];else{return false;}}public function getExportId(){return$this->getData(self::EXPORT_ID);}public function getTaxonomyCode(){return$this->getData(self::TAXONOMY_CODE);}public function getBatchSize(){$xwwesoqkedr="\x76al\x75\x65";${"G\x4c\x4f\x42\x41L\x53"}["\x79\x76\x61g\x6dg\x70\x65zw\x63"]="\x76a\x6c\x75e";$gfgammek="v\x61lu\x65";${$gfgammek}=$this->getData(self::BATCH_SIZE);${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79m\x7a\x79jg\x65\x6b\x74\x78\x6c"]="\x76a\x6cu\x65";if(!${${"\x47L\x4fB\x41LS"}["\x79\x76agm\x67\x70e\x7aw\x63"]})${$xwwesoqkedr}=self::DEF_BATCH_SIZE;return${${"G\x4c\x4fB\x41LS"}["y\x6dz\x79\x6age\x6b\x74\x78l"]};}public function getCurrency(){return$this->getData(self::CURRENCY);}public function getStockStatusDependence(){return$this->getData(self::STOCK_STATUS_DEPENDENCE);}public function getConditions(){${${"G\x4c\x4f\x42\x41\x4cS"}["\x65g\x67qs\x64\x76\x6e"]}=$this->getData(self::CONDITIONS);$mospqfxw="v\x61l\x75e";if(!${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x67g\x71s\x64\x76\x6e"]})${$mospqfxw}=array();return${${"G\x4cO\x42\x41\x4c\x53"}["\x65\x67g\x71\x73d\x76\x6e"]};}public function getCategoryPathDelimiter(){$immrvqcmmpc="\x76al\x75\x65";${$immrvqcmmpc}=$this->getData(self::CATEGORY_PATH_DELIMITER);if(!${${"GLO\x42A\x4c\x53"}["\x65\x67g\x71sd\x76n"]})${${"\x47LO\x42\x41L\x53"}["\x65\x67\x67\x71s\x64vn"]}=self::DEF_CATEGORY_PATH_DELIMITER;return${${"G\x4cO\x42\x41\x4cS"}["\x65g\x67\x71\x73\x64\x76n"]};}public function getDatetimeFormat(){return$this->getData(self::DATETIME_FORMAT);}public function getCategoryLowestLevel(){return$this->getData(self::CATEGORY_LOWEST_LEVEL);}protected function dispatchDefineColumnsEvent($eventSuffix=""){${${"\x47L\x4f\x42ALS"}["\x74\x7a\x67r\x63\x78\x6d\x6e\x71"]}=new Varien_Object();${"GL\x4f\x42A\x4c\x53"}["a\x68\x6ftxd\x6b\x78"]="\x65v\x65n\x74\x53\x75\x66\x66\x69\x78";$vrendphiyee="\x63\x6f\x6cu\x6dn\x73\x43\x6fnt\x61\x69n\x65\x72";$columnsContainer->setColumns($this->_columns);Mage::dispatchEvent("nsc\x65\x78\x70\x6f\x72\x74_\x64e\x66\x69\x6e\x65\x5f\x63o\x6c\x75\x6d\x6e\x73".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61ho\x74x\x64k\x78"]},array("c\x6flu\x6dns_c\x6f\x6et\x61i\x6e\x65r"=>${$vrendphiyee}));$this->_columns=$columnsContainer->getColumns();}protected function dispatchJoinTableEvent($mainTable,$eventSuffix=""){${${"G\x4c\x4f\x42A\x4c\x53"}["yaph\x73iy\x79\x73f"]}=new Varien_Object();$container->setStoreId($this->getStoreId());$winqxc="\x63o\x6e\x74\x61\x69n\x65\x72";$container->setSelect($this->getSelect());$sbrpobcukqvk="e\x76\x65\x6et\x53uf\x66\x69\x78";$jdepjlzjs="\x6dai\x6e\x54a\x62\x6c\x65";$container->setMainTable(${$jdepjlzjs});$container->setAttributes($this->getAttributes());Mage::dispatchEvent("\x6escex\x70o\x72\x74_jo\x69\x6e_tab\x6c\x65".${$sbrpobcukqvk},array("c\x6f\x6etai\x6ee\x72"=>${$winqxc}));}protected function isWeeeEnabled(){return Mage::helper("w\x65\x65\x65")->isEnabled($this->getStore());}protected function isWeeeTaxable(){return Mage::helper("w\x65ee")->isTaxable($this->getStore());}protected function isWeeeDiscounted(){return Mage::helper("\x77\x65\x65\x65")->isDiscounted($this->getStore());}protected function getWeeeListPriceDisplayType(){return Mage::helper("\x77ee\x65")->getListPriceDisplayType($this->getStore());}protected function getWeeeAttributes(){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x64\x6d\x65\x71\x73\x64"]="\x63\x6f\x6c\x6c\x65\x63\x74\x69\x6f\x6e";$lafwwpemjxxs="s\x65l\x65c\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["k\x6ax\x6c\x67\x75\x63"]="i\x74e\x6ds";$bmrgihfyrdg="i\x74e\x6d\x73";${${"GL\x4f\x42A\x4cS"}["m\x68\x6f\x72\x74w\x68\x71g\x6c"]}=$this->_getReadAdapter()->select()->from(array("\x63\x61"=>$this->getTable("cat\x61\x6c\x6fg/ea\x76_\x61t\x74\x72ibut\x65")),array("\x61\x74\x74\x72\x69\x62\x75\x74e_i\x64"))->join(array("\x65\x61"=>$this->getTable("\x65\x61\x76/a\x74t\x72\x69b\x75te")),"c\x61\x2eatt\x72\x69\x62ute\x5fi\x64\x20\x3d ea\x2ea\x74\x74rib\x75\x74\x65_i\x64",array("\x61\x74trib\x75te\x5f\x63\x6f\x64e"));$select->where("e\x61\x2e\x66r\x6f\x6e\x74\x65n\x64_\x69npu\x74\x20= ?","\x77\x65e\x65");${${"\x47LO\x42A\x4c\x53"}["\x70\x64me\x71s\x64"]}=$this->_getReadAdapter()->fetchAll(${$lafwwpemjxxs});${${"G\x4cOB\x41L\x53"}["k\x6a\x78\x6cg\x75c"]}=array();${"GLO\x42\x41\x4c\x53"}["\x68\x72yj\x67\x79k\x63"]="\x69t\x65\x6d";foreach(${${"\x47\x4cO\x42AL\x53"}["\x73wen\x66\x62\x68\x67\x75k"]} as${${"\x47\x4cOBAL\x53"}["\x68\x72\x79\x6ag\x79k\x63"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wdrw\x61\x72\x72"]="it\x65\x6d";if(isset(${${"\x47\x4c\x4fBA\x4c\x53"}["\x75\x71\x62qw\x69\x73u"]}["a\x74\x74rib\x75\x74\x65_id"])&&isset(${${"GL\x4fB\x41\x4cS"}["w\x64\x72\x77a\x72\x72"]}["attri\x62\x75\x74\x65\x5fcode"]))${${"G\x4c\x4f\x42\x41\x4cS"}["lsgp\x67j\x69\x6d"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75q\x62\x71w\x69\x73\x75"]}["attr\x69\x62\x75\x74e\x5f\x69\x64"]]=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x71b\x71\x77i\x73\x75"]}["att\x72\x69but\x65_cod\x65"];}return${$bmrgihfyrdg};}protected function getWeeeColumns(){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x6ex\x65\x6d\x65fwh\x74\x67"]="\x61\x74tr\x69\x62ute\x73";${${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x62\x6b\x68\x66\x72j\x6e\x67"]}=array("\x77e\x65e\x5f".self::WEEE_COLUMN_TOTAL_ORIGINAL=>self::WEEE_COLUMN_TOTAL_ORIGINAL);${"G\x4cO\x42\x41\x4cS"}["\x6ctm\x6a\x69\x77\x6boo\x78i\x6a"]="\x63\x6f\x6c\x75m\x6e\x73";${${"G\x4c\x4fBA\x4cS"}["n\x62\x6bh\x66\x72\x6an\x67"]}["\x77eee_".self::WEEE_COLUMN_TOTAL_FINAL]=self::WEEE_COLUMN_TOTAL_FINAL;${${"\x47L\x4f\x42A\x4c\x53"}["\x69\x6e\x78\x65\x6de\x66w\x68\x74g"]}=$this->convertWeeeAttributesToColumnNames();foreach(${${"GLO\x42\x41L\x53"}["\x64\x6a\x68w\x72\x6b\x6bmc"]} as${${"G\x4cOB\x41\x4c\x53"}["\x6b\x62\x6dk\x6d\x77\x71\x79"]}){${${"GL\x4f\x42\x41L\x53"}["\x6eb\x6b\x68\x66\x72\x6a\x6e\x67"]}[${${"GLO\x42\x41L\x53"}["k\x62\x6d\x6bmw\x71y"]}]=$this->helper()->getRoundSql(${${"\x47\x4cO\x42A\x4c\x53"}["\x6bb\x6dk\x6d\x77q\x79"]});}return${${"\x47\x4cO\x42A\x4cS"}["l\x74\x6d\x6ai\x77\x6b\x6f\x6fxij"]};}protected function convertWeeeAttributesToColumnNames($weeeAttributes=null){$hjwkioqjor="a\x74\x74r\x69\x62\x75\x74es";if(empty(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x78mw\x6e\x6c\x72\x6a\x71\x61p"]}))${${"\x47\x4cO\x42\x41\x4cS"}["lxm\x77n\x6c\x72\x6aq\x61\x70"]}=array_values($this->getWeeeAttributes());${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64dse\x69\x66\x72\x7a\x73"]="c\x6f\x64\x65";${$hjwkioqjor}=array();foreach(${${"G\x4c\x4f\x42AL\x53"}["\x6c\x78mw\x6e\x6c\x72j\x71ap"]} as${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64d\x73ei\x66r\x7a\x73"]}){$ppnlubuuhk="\x63\x6f\x64\x65";${${"GL\x4f\x42\x41L\x53"}["\x64\x6a\x68\x77\x72kk\x6d\x63"]}[]=${$ppnlubuuhk}.self::WEEE_COLUMN_SUFFIX_FINAL;${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x61\x74\x76\x73ir\x74\x72\x67"]="\x61\x74tr\x69\x62\x75\x74\x65s";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x61t\x76\x73ir\x74\x72g"]}[]=${${"\x47\x4c\x4f\x42\x41LS"}["kb\x6dkm\x77\x71y"]}.self::WEEE_COLUMN_SUFFIX_ORIGINAL;}return${${"GL\x4f\x42ALS"}["\x64\x6ah\x77rkk\x6d\x63"]};}public function getStoreConfig($configPath){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x77\x65\x6b\x7a\x6b\x6ar\x6b\x67\x6c\x63"]="\x63\x6f\x6efi\x67P\x61\x74\x68";return$this->getStore()->getConfig(${${"GL\x4f\x42\x41LS"}["\x69\x77\x65k\x7a\x6bj\x72k\x67\x6c\x63"]});}protected function getPlaceholder($code){if(empty($this->_placeholderss[${${"\x47\x4c\x4f\x42AL\x53"}["\x6bb\x6dkm\x77\x71y"]}])){$ljhvoqsf="c\x6fde";$cediobh="code";$this->_placeholderss[${${"GL\x4f\x42\x41\x4cS"}["\x6bb\x6d\x6b\x6dwq\x79"]}]=$this->getStoreConfig("\x63\x61\x74alo\x67/\x70l\x61ce\x68ol\x64e\x72/{$code}_\x70\x6caceho\x6cd\x65\x72");${"\x47LOB\x41\x4c\x53"}["\x6ds\x77ers\x6be\x74"]="c\x6f\x64e";if(!empty($this->_placeholderss[${$ljhvoqsf}]))$this->_placeholderss[${${"G\x4cO\x42\x41L\x53"}["\x6d\x73\x77\x65\x72sk\x65t"]}]="/\x70l\x61\x63ehol\x64er/".$this->_placeholderss[${$cediobh}];}${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x74\x6a\x75\x6b\x64f"]="c\x6f\x64\x65";return$this->_placeholderss[${${"G\x4c\x4f\x42\x41L\x53"}["\x72tjukdf"]}];}}
Function Calls
None |
Stats
MD5 | 8c1a7c4a1fe3649eab12ee43ea7f4223 |
Eval Count | 0 |
Decode Time | 148 ms |