<?php /** * Product: Loyalty Program for Enterprise Edition * Package: Aitoc_Aitloyalty_10.0.10_574534 * Purchase ID: INzRIwyyaNoeOLERhAgt4U28qVKIeEa3dfPrgaAN3C * Generated: 2013-05-13 06:36:55 * File path: app/code/local/Aitoc/Aitloyalty/Block/Quote/Options.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'Aitoc_Aitloyalty')) { PYrZaaPAlDPOXjfl('e900fe7e957c66aa9f41b44a5bb2de78'); /** * @copyright Copyright (c) 2009 AITOC, Inc. */ class Aitoc_Aitloyalty_Block_Quote_Options extends Mage_Adminhtml_Block_Widget_Form { public function getFormHtml() { $sHtml = parent::getFormHtml(); $sHtml .= '<script type="text/javascript">aitloyalty_ActionOnRuleDisplayChange();</script>'; return $sHtml; } protected function _prepareForm() { $model = Mage::registry('current_promo_quote_rule'); //$form = new Varien_Data_Form(array('id' => 'edit_form1', 'action' => $this->getData('action'), 'method' => 'post')); $form = new Varien_Data_Form(); $form->setHtmlIdPrefix('rule_'); $fieldset = $form->addFieldset('display_fieldset', array('legend' => Mage::helper('salesrule')->__('Using the form below you can enable, disable and configure display of the rule in customers\' account'))); $oDb = Mage::getModel('sales_entity/order')->getReadConnection();
<?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/Rewrite/CatalogResourceEavMysql4ProductIndexerEav.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { mREwjpoZaMTrjgEm('ab11072a87cb1bef7a31ab4fae2a0470'); class AdjustWare_Nav_Model_Rewrite_CatalogResourceEavMysql4ProductIndexerEav extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav { protected function _construct() { parent::_construct(); $this->getIndexers(); $this->_types['configurable'] = Mage::getResourceModel('adjnav/catalog_product_indexer_configurable'); } } }
<?php /** * Product: Individual Promotions for Magento Enterpise Edition * Package: Aitoc_Aitindividpromo_10.0.7_574525 * Purchase ID: UjgdLvjpFE0u1HHQEOk2KNCXazbZ9kQjUnTtO4dMb0 * Generated: 2013-05-13 06:35:45 * File path: app/code/local/Aitoc/Aitindividpromo/Block/Widget/GridColumnRendererGroup.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'Aitoc_Aitindividpromo')) { UIjBDajBZqqIsDaw('030de8d978734ec4a57843aa62a76b96'); /** * @copyright Copyright (c) 2009 AITOC, Inc. */ class Aitoc_Aitindividpromo_Block_Widget_GridColumnRendererGroup extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { public function render(Varien_Object $row) { if (version_compare(Mage::getVersion(), '1.12.0.0', '>=')) { $rule_id = $row->getData('rule_id'); $collection = Mage::getModel('salesrule/rule')->load($rule_id); $collection->getCollection()->getSelect()->join(array('table_alias' => Mage::getSingleton('core/resource')->getTableName('salesrule_customer_group')), 'main_table.rule_id = table_alias.rule_id', array('table_alias.*')); $sGroups = implode(',', $collection->getData($this->getColumn()->getIndex())); } else { $sGroups = $row->getData($this->getColumn()->getIndex()); } if ($sGroups or $sGroups === '0') { $oAitindividpromo = Mage::getModel('aitindividpromo/aitindividpromo'); $aCustomerGroupHash = $oAitindividpromo->getCustomerGroups(false); $aRowGroupHash = explode(',', $sGroups);