/* Decoded by unphp.net */ p0b = array(self::DDTYPE_MEGA => "mega", self::DDTYPE_CLASSIC => "classic", self::DDTYPE_SIMPLE => "simple"); $this->p0c = FALSE; $this->p0d = "#@#"; $this->p0e = FALSE; $this->p0f = NULL; if (Mage::registry('current_category')) { $this->p10 = Mage::registry('current_category')->getId();} } public function getCacheKeyInfo() {$x11 = array( 'CATALOG_NAVIGATION', Mage::app()->getStore()->getId(), Mage::getDesign()->getPackageName(), Mage::getDesign()->getTheme('template'), Mage::getSingleton('customer/session')->getCustomerGroupId(), 'template' => $this->getTemplate(), 'name' => $this->getNameInLayout(), $this->getCurrenCategoryKey(), Mage::helper('ultramegamenu')->getIsOnHome(), (int)Mage::app()->getStore()->isCurrentlySecure(),);$x12 = $x11;$x11 = array_values($x11);$x11 = implode('|', $x11);$x11 = md5($x11);$x12['category_path'] = $this->getCurrenCategoryKey();$x12['short_cache_id'] = $x11;return $x12; } protected function x0b($x13, $x14 = 0, $x15 = FALSE, $x16 = FALSE,$x17 = FALSE, $x18 = '', $x19 = '', $x1a = FALSE, $x1b = null) {if (!$x13->getIsActive()) { return '';}$x1c = ''; if (Mage::helper('catalog/category_flat')->isEnabled()) { $x1d = (array)$x13->getChildrenNodes(); $x1e = count($x1d);} else { $x1d = $x13->getChildren(); $x1e = $x1d->count();}$x1f = ($x1d && $x1e); $x20 = array();foreach ($x1d as $x21) { if ($x21->getIsActive()) {$x20[] = $x21; }}$x22 = count($x20);$x23 = ($x22 > 0);$x24 = Mage::helper('ultramegamenu');$x25 = Mage::getModel('catalog/category')->load($x13->getId()); $x26 = intval($x25->getData('umm_dd_type')); if ($x26 === self::DDTYPE_NONE){ if ($x1b["ddType"] === self::DDTYPE_MEGA) {} else { $x26 = self::DDTYPE_CLASSIC; }}elseif ($x26 === self::DDTYPE_MEGA){ if ($x1b["ddType"] === self::DDTYPE_MEGA) { $x26 = self::DDTYPE_NONE; }}elseif ($x26 === self::DDTYPE_SIMPLE){ if ($x1b["ddType"] === self::DDTYPE_MEGA) { $x26 = self::DDTYPE_NONE; } elseif ($x14 === 0) { $x26 = self::DDTYPE_CLASSIC; }} $x27 = array( "ddType" => $x26, );$x28 = FALSE;$x29 = array();$x2a = '';$x2b = '';$x2c = FALSE;$x2d = "level" . $x14; if (FALSE === $this->p0c&& ($x26 === self::DDTYPE_MEGA || $x1b["ddType"] === self::DDTYPE_MEGA) ){ $x28 = TRUE; } if ($x28){ $x2e = $this->x10($x25, "umm_dd_blocks");if ($x2e) {$x29 = explode($this->p0d, $x2e); }} if (FALSE === $this->p0c && $x26 === self::DDTYPE_MEGA){ $x2f = $x25->getData("umm_dd_proportions");if ($x2f) { $x30 = explode(";", $x2f);$x31= $x30[0];$x32 = $x30[1];$x33= $x30[2]; } else { $x31 = $x32 = $x33 = 4; } $x34= "grid12-" . $x31; $x35 = "grid12-" . $x32; $x36= "grid12-" . $x33;if (empty($x29[1]) && empty($x29[2])){$x34= '';$x35 = "grid12-12";$x36= ''; } elseif (empty($x29[1])){$x34= '';$x35 = "grid12-" . ($x31 + $x32); } elseif (empty($x29[2])){$x35 = "grid12-" . ($x32 + $x33);$x36= ''; }elseif (!$x23){$x34= "grid12-" . ($x31 + $x32);$x35 = '';$x36= "grid12-" . $x33; }if (!empty($x29[0])) {$x2c = TRUE;$x2a .= '
'; }if (!empty($x29[1])) {$x2c = TRUE;$x2a .= ' '; }if ($x23) { $x2a .= ' '; }if (!empty($x29[2])) {$x2c = TRUE;$x2b .= ' '; }if (!empty($x29[3])) {$x2c = TRUE;$x2b .= ' '; }} $x37 = ($x23 || $x2c) ? TRUE : FALSE; $x38 = array("nav-item");$x39 = array();$x3a = array(); $x3b = array("nav-submenu");$x3c = '';$x3d = '';$x3e = ''; $x38[] = $x2d;$x38[] = "nav-" . $this->_getItemPosition($x14);if ($this->isCategoryActive($x13)){ $x38[] = "active";if ($x13->getId() === $this->p10) {$x38[] = "current"; }}if ($x17 && $x18) { $x38[] = $x18; $x39[] = $x18;}if ($x16) { $x38[] = "first";}if ($x15) { $x38[] = "last";} if (FALSE === $this->p0c){if ($x26 === self::DDTYPE_CLASSIC) {if ($x37){ $x38[] = "nav-item--parent";$x3b[] = "nav-panel--dropdown";}$x38[] = $this->p0b[self::DDTYPE_CLASSIC];$x3b[] = "nav-panel";} elseif ($x26 === self::DDTYPE_MEGA) {if ($x37){ $x38[] = "nav-item--parent";$x3a[] = "nav-panel--dropdown";}$x38[] = $this->p0b[self::DDTYPE_MEGA]; $x3a[] = "nav-panel";if ($x19){ $x3a[] = $x19;}$x3b[] = "nav-submenu--mega"; $x3f = intval($x25->getData("umm_dd_columns"));if ($x3f === 0){ $x3f = 4; }$x3b[] = "dd-itemgrid dd-itemgrid-" . $x3f . "col"; } elseif ($x26 === self::DDTYPE_SIMPLE) {$x38[] = $this->p0b[self::DDTYPE_SIMPLE];$x3b[] = "nav-panel";} elseif ($x26 === self::DDTYPE_NONE) {$x3b[] = "nav-panel";}if ($x40 = $x25->getData("umm_dd_width")) { $x41 = '';$x42 = ''; if (strpos($x40, "px") || strpos($x40, "%")){ $x41 = ' style="width:' . $x40 . ';"'; }else{$x42 = intval($x40); if (0 < $x42 && $x42 <= 12) {$x42 = "no-gutter grid12-" . $x42; } else { $x42 = ''; }} if ($x26 === self::DDTYPE_CLASSIC){$x3d = $x41;}elseif ($x26 === self::DDTYPE_MEGA){ $x3c = $x41;if ($x42) {$x3a[] = $x42; }} } else { if ($x26 === self::DDTYPE_MEGA){ $x3a[] = "full-width";} }if ($x2c) {if (FALSE === $x23){$x38[] = "nav-item--only-blocks";} } else {if ($x23){$x38[] = "nav-item--only-subcategories";} }} if ($x37){$x38[] = "parent";if (FALSE === $this->p0c) {$x3e = ' '; }} $x43 = '';if ($this->p0e && $this->p0c) { $x43 = '('. $this->x0f($x25) .')';} $x44 = $this->x11($x25, $x14); if ($x45 = $x25->getData("umm_cat_target")){ if ($x45 === "#") { $x46 = "#";$x39[] = "no-click"; } elseif ($x45 = trim($x45)) { if (strpos($x45, "http") === 0){$x46 = $x45;}else{$x46 = Mage::getBaseUrl() . $x45;} } else { $x46 = $this->getCategoryUrl($x13); }}else{ $x46 = $this->getCategoryUrl($x13);} $x1c .= "