<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Block/Catalog/Layer/Filter/Attribute.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { rIapgwhejkcDgyar('bbc2e7cf6e66777b11c0edc86f5a5e3f'); class AdjustWare_Nav_Block_Catalog_Layer_Filter_Attribute extends Mage_Catalog_Block_Layer_Filter_Attribute { protected $_featuredItems = array(); protected $_optionUses = array(); public function __construct() { parent::__construct(); $this->setTemplate('adjnav/filter_attribute.phtml'); $this->_filterModelName = 'adjnav/catalog_layer_filter_attribute'; } public function getVar() { return $this->_filter->getRequestVar(); } public function getClearUrl() { $url = ''; $query = Mage::helper('adjnav')->getParams(); if (!empty($query[$this->getVar()])) {
<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Model/Quote/Observer.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { rIapgwhejkcDgyar('75235e233a8579d4c9cbceba6504b702'); class AdjustWare_Nav_Model_Quote_Observer extends Mage_Core_Model_Abstract { public function onCoreLocaleSetLocale($observer) { if (!Mage::registry('aitpagecache_check_14') && Mage::getConfig()->getNode('modules/Aitoc_Aitpagecache/active') === 'true') { if (file_exists(Mage::getBaseDir('magentobooster') . DS . 'use_cache.ser')) { Mage::register('aitpagecache_check_14', 1); } elseif (file_exists(Mage::getBaseDir('app/etc') . DS . 'use_cache.ser')) { Mage::register('aitpagecache_check_13', 1); } } } } }
<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Helper/Data.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { rIapgwhejkcDgyar('9e7153314d37394fedb2b8cb6ea9f7ab'); class AdjustWare_Nav_Helper_Data extends Mage_Core_Helper_Abstract { protected $_params = null; protected $_continueShoppingUrl = null; protected $_module = 'catalog'; protected $_solrModel = 'enterprise_search'; protected $_solrEnabled = null; const CATEGORY_STYLE = 'design/adjnav/cat_style'; public function isSearch() { $mod = Mage::app()->getRequest()->getModuleName(); if ('catalogsearch' === $mod) { return true; } if ('adjnav' === $mod && 'search' == Mage::app()->getRequest()->getActionName()) { return true; } return false; }
<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Block/SeoHead.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { rIapgwhejkcDgyar('e732f9a7817067cb23d41eb8fb37f295'); class AdjustWare_Nav_Block_SeoHead extends Mage_Core_Block_Template { public function _toHtml() { if (!Mage::getStoreConfig('design/adjnav/rel_prev_next')) { return; } $actionName = $this->getAction()->getFullActionName(); if ($actionName == 'catalog_category_view') { $category = Mage::registry('current_category'); $prodCol = $category->getProductCollection()->addAttributeToFilter('status', 1)->addAttributeToFilter('visibility', array('in' => array(Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG, Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH))); $tool = $this->getLayout()->createBlock('page/html_pager')->setLimit($this->getLayout()->createBlock('catalog/product_list_toolbar')->getLimit())->setCollection($prodCol); $linkPrev = false; $linkNext = false; if ($tool->getCollection()->getSelectCountSql()) { if ($tool->getLastPageNum() > 1) { if (!$tool->isFirstPage()) { $linkPrev = true; if ($tool->getCurrentPage() == 2) {
<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Model/Mysql4/Eav/Entity/Attribute/Option/Stat.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { rIapgwhejkcDgyar('bb47802cf7927145865aa1ea52630049'); /** * * @author ksenevich */ class AdjustWare_Nav_Model_Mysql4_Eav_Entity_Attribute_Option_Stat extends Mage_Core_Model_Mysql4_Abstract { protected function _construct() { $this->_init('adjnav/eav_attribute_option_stat', 'option_id'); } public function addStat($optionIds) { if (empty($optionIds)) { return $this; } if (!is_array($optionIds)) { $optionIds = array($optionIds); } $write = $this->_getWriteAdapter();