diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/assets/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/assets/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/assets/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/helper.php b/deployed/icemegamenu/modules/mod_icemegamenu/helper.php
new file mode 100644
index 00000000..1c7469e5
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/helper.php
@@ -0,0 +1,427 @@
+_module = $module;
+ $this->moduleid = $module->id;
+ $this->loadMediaFiles($params, $module);
+ }
+ $this->_params = $params;
+ }
+
+ public static function buildXML($params)
+ {
+ $menu = new IceMenuTree($params);
+ $app = JFactory::getApplication();
+ $items = $app->getMenu();
+ $start = $params->get('startLevel');
+ $end = $params->get('endLevel');
+ $sChild = $params->get('showAllChildren');
+
+ if($end<$start && $end!=0){ return ""; }
+
+ if(!$sChild){ $end = $start;}
+
+ // Get Menu Items
+ $rows = $items->getItems('menutype', $params->get('menutype'));
+ foreach($rows as $key=>$val)
+ {
+ if(!(($end!=0 && $rows[$key]->level>=$start && $rows[$key]->level<=$end) ||($end==0 && $rows[$key]->level>=$start)))
+ {
+ unset($rows[$key]);
+ }
+ }
+ $maxdepth = $params->get('maxdepth',10);
+
+ // Build Menu Tree root down(orphan proof - child might have lower id than parent)
+ $user_temp = JFactory::getUser();
+ $user = &$user_temp;
+ $ids = array();
+ $ids[1] = true;
+ $last = null;
+ $unresolved = array();
+ $vertical_direction = $params->get("vertical_direction", "left");
+
+ // pop the first item until the array is empty if there is any item
+ if(is_array($rows))
+ {
+ while(count($rows) && !is_null($row = array_shift($rows)))
+ {
+ if(array_key_exists($row->parent_id, $ids))
+ {
+ $row->ionly = $params->get('menu_images_link');
+ $menu->addNode($params, $row);
+ // record loaded parents
+ $ids[$row->id] = true;
+ }
+ else
+ {
+ // no parent yet so push item to back of list
+ // SAM: But if the key isn't in the list and we dont _add_ this is infinite, so check the unresolved queue
+ if(!array_key_exists($row->id, $unresolved) || $unresolved[$row->id] < $maxdepth)
+ {
+ array_push($rows, $row);
+ // so let us do max $maxdepth passes
+ // TODO: Put a time check in this loop in case we get too close to the PHP timeout
+ if(!isset($unresolved[$row->id])) $unresolved[$row->id] = 1;
+ else $unresolved[$row->id]++;
+ }
+ }
+ }
+ }
+ return $menu->toXML($vertical_direction);
+ }
+
+ function &getXML($type, &$params, $decorator)
+ {
+ static $xmls;
+
+ if(!isset($xmls[$type]))
+ {
+ $cache_temp = JFactory::getCache('mod_icemegamenu');
+ $cache = &$cache_temp;
+ $string = $cache->call(array('modIceMegamenuHelper', 'buildXML'), $params);
+ $xmls[$type] = $string;
+ }
+ // Get document
+ require_once(JPATH_BASE.DS."modules".DS."mod_icemegamenu".DS."libs".DS."simplexml.php");
+ $xml = new JSimpleXML;
+ $xml->loadString($xmls[$type]);
+ $doc = &$xml->document;
+ $app = JFactory::getApplication();
+ $menu = $app->getMenu();
+ $active = ($menu->getActive()) ? $menu->getActive() : $menu->getDefault();
+ $start = $params->get('startLevel');
+ $end = $params->get('endLevel');
+ $sChild = $params->get('showAllChildren');
+ $path = array();
+
+ // Get subtree
+ if($doc && is_callable($decorator))
+ {
+ $doc->map($decorator, array('end'=>$end, 'children'=>$sChild));
+ }
+ return $doc;
+ }
+
+ function render(&$params, $callback)
+ {
+ switch($params->get('menu_style', 'list'))
+ {
+ case 'list_flat' :
+ break;
+
+ case 'horiz_flat' :
+ break;
+
+ case 'vert_indent' :
+ break;
+
+ default :
+ // Include the new menu class
+ $xml = modIceMegamenuHelper::getXML($params->get('menutype'), $params, $callback);
+ if($xml)
+ {
+ $class = $params->get('class_sfx');
+ $xml->addAttribute('class', 'icemegamenu'.$class);
+
+ if($tagId = $params->get('tag_id'))
+ {
+ $xml->addAttribute('id', $tagId);
+ }
+ $result = JFilterOutput::ampReplace($xml->toString((bool)$params->get('show_whitespace')));
+ $result = str_replace(array('>','<','"'), array('>','<','"'), $result);
+ $result = str_replace(array('', ''), '', $result);
+ echo $result;
+ }
+ break;
+ }
+ }
+
+ /**
+ * check K2 Existed ?
+ */
+ public static function isK2Existed()
+ {
+ return is_file(JPATH_SITE.DS. "components" . DS . "com_k2" . DS . "k2.php");
+ }
+ /**
+ * check the folder is existed, if not make a directory and set permission is 755
+ *
+ *
+ * @param array $path
+ * @access public,
+ * @return boolean.
+ */
+ public static function makeDir($path)
+ {
+ $folders = explode('/', ($path));
+ $tmppath = JPATH_SITE.DS.'images'.DS.'icethumbs'.DS;
+
+ if(!file_exists($tmppath))
+ {
+ JFolder::create($tmppath, 0755);
+ }
+ for($i = 0; $i < count($folders) - 1; $i ++)
+ {
+ if(! file_exists($tmppath . $folders [$i]) && ! JFolder::create($tmppath . $folders [$i], 0755))
+ {
+ return false;
+ }
+ $tmppath = $tmppath . $folders [$i] . DS;
+ }
+ return true;
+ }
+ /**
+ * check the folder is existed, if not make a directory and set permission is 755
+ *
+ *
+ * @param array $path
+ * @access public,
+ * @return boolean.
+ */
+ public static function renderThumb($path, $width=100, $height=100, $title='', $isThumb=true)
+ {
+
+ if($isThumb&& $path)
+ {
+ $path = str_replace(JURI::base(), '', $path);
+ $imagSource = JPATH_SITE.DS. str_replace('/', DS, $path);
+
+ if(file_exists($imagSource))
+ {
+ $path = $width."x".$height.'/'.$path;
+ $thumbPath = JPATH_SITE.DS.'images'.DS.'icethumbs'.DS. str_replace('/', DS, $path);
+
+ if(!file_exists($thumbPath))
+ {
+ $thumb = PhpThumbFactory::create($imagSource);
+ if(!self::makeDir($path))
+ {
+ return '';
+ }
+ $thumb->adaptiveResize($width, $height);
+ $thumb->save($thumbPath);
+ }
+ $path = JURI::base().'images/icethumbs/'.$path;
+ }
+ }
+ return $path;
+ }
+ /**
+ * Load Modules Joomla By position's name
+ */
+ public function loadModulesByPosition($position='')
+ {
+ $modules = JModuleHelper::getModules($position);
+ if($modules)
+ {
+ $document = &JFactory::getDocument();
+ $renderer = $document->loadRenderer('module');
+ $output='';
+ foreach($modules as $module)
+ {
+ $output .= ''.$renderer->render($module, array('style' => 'raw')).'
';
+ }
+ return $output;
+ }
+ return ;
+ }
+ /**
+ * load css - javascript file.
+ *
+ * @param JParameter $params;
+ * @param JModule $module
+ * @return void.
+ */
+ public function loadMediaFiles($params, $module)
+ {
+ global $app;
+ $app = JFactory::getApplication();
+ $theme_style = $params->get("theme_style","default");
+
+ $enable_bootrap = $params->get("enable_bootrap", 0);
+ $resizable_menu = $params->get("resizable_menu", 0);
+
+ $doc = JFactory::getDocument();
+ $document = &$doc;
+ if($enable_bootrap == 1){
+ $document->addStyleSheet(JURI::base()."media/jui/css/bootstrap.css");
+ $document->addStyleSheet(JURI::base()."media/jui/css/bootstrap-responsive.css");
+ $document->addScript(JURI::base()."media/jui/js/bootstrap.min.js");
+ }
+
+
+ if (
+ (!file_exists(JPATH_ROOT.'/templates/'.$app->getTemplate().'/less/iceslideshow.less'))
+ || ( $app->getTemplate() == "it_therestaurant2")
+ || ( $app->getTemplate() == "it_planeterath")
+ || ( $app->getTemplate() == "it_blackwhite2")
+ || ( $app->getTemplate() == "it_trendyshop")
+ || ( $app->getTemplate() == "it_cinema3")
+ )
+ {
+
+ if(!defined("MOD_ICEMEGAMENU"))
+ {
+
+ $css = "templates/".$app->getTemplate()."/html/".$module->module."/css/".$theme_style."_icemegamenu.css";
+ $css2 = "templates/".$app->getTemplate()."/html/".$module->module."/css/".$theme_style."_icemegamenu-ie.css";
+ if($resizable_menu == 1){
+ $css3 = "templates/".$app->getTemplate()."/html/".$module->module."/css/".$theme_style."_icemegamenu-reponsive.css";
+ }
+ if(is_file($css)) {
+ $document->addStyleSheet($css);
+ } else {
+ $css = JURI::base().'modules/'.$module->module.'/themes/'.$params->get('theme_style','default').'/css/'.$theme_style.'_icemegamenu.css';
+ $document->addStyleSheet($css);
+ }
+ if(is_file($css3)) {
+ $document->addStyleSheet($css3);
+ } else {
+ if($resizable_menu == 1){
+ $css3 = JURI::base().'modules/'.$module->module.'/themes/'.$params->get('theme_style','default').'/css/'.$theme_style.'_icemegamenu-reponsive.css';
+ }
+ $document->addStyleSheet($css3);
+ }
+ define("MOD_ICEMEGAMENU", 1);
+ }
+ }
+ }
+
+ /**
+ * get a subtring with the max length setting.
+ *
+ * @param string $text;
+ * @param int $length limit characters showing;
+ * @param string $replacer;
+ * @return tring;
+ */
+ public static function substring($text, $length = 100, $isStripedTags=true, $replacer='...')
+ {
+ $string = $isStripedTags? strip_tags($text):$text;
+ return JString::strlen($string) > $length ? JString::substr($string, 0, $length).$replacer: $string;
+ }
+}
+
+if(!defined('modIceMegaMenuXMLCallbackDefined'))
+{
+ function modIceMegaMenuXMLCallbackDefinedXMLCallback(&$node, $args)
+ {
+ $user = &JFactory::getUser();
+ $menu = &JSite::getMenu();
+ $active = $menu->getActive();
+ $path = isset($active) ? array_reverse($active->tree) : null;
+
+ if(($args['end']) &&($node->attributes('level') >= $args['end']))
+ {
+ $children = $node->children();
+ foreach($node->children() as $child)
+ {
+ if($child->name() == 'ul')
+ {
+ $node->removeChild($child);
+ }
+ }
+ }
+
+ if($node->name() == 'ul')
+ {
+ foreach($node->children() as $child)
+ {
+ if($child->attributes('access') > $user->get('aid', 0))
+ {
+ $node->removeChild($child);
+ }
+ }
+ }
+
+ if(($node->name() == 'li') && isset($node->ul))
+ {
+ $node->addAttribute('class', 'parent');
+ }
+
+ if(isset($path) &&(in_array($node->attributes('id'), $path) || in_array($node->attributes('rel'), $path)))
+ {
+ if($node->attributes('class'))
+ {
+ $node->addAttribute('class', $node->attributes('class').' active');
+ }
+ else
+ {
+ $node->addAttribute('class', 'active');
+ }
+ }
+ else
+ {
+ if(isset($args['children']) && !$args['children'])
+ {
+ $children = $node->children();
+ foreach($node->children() as $child)
+ {
+ if($child->name() == 'ul')
+ {
+ $node->removeChild($child);
+ }
+ }
+ }
+ }
+
+ if(($node->name() == 'li') &&($id = $node->attributes('id')))
+ {
+ if($node->attributes('class'))
+ {
+ $node->addAttribute('class', $node->attributes('class').' item'.$id);
+ }
+ else
+ {
+ $node->addAttribute('class', 'item'.$id);
+ }
+ }
+
+ if(isset($path) && $node->attributes('id') == $path[0])
+ {
+ $node->addAttribute('id', 'current');
+ }
+ else
+ {
+ $node->removeAttribute('id');
+ }
+ $node->removeAttribute('rel');
+ $node->removeAttribute('level');
+ $node->removeAttribute('access');
+ }
+ define('modIceMegaMenuXMLCallbackDefined', true);
+}
+?>
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/modules.php b/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/modules.php
new file mode 100644
index 00000000..9f5e771a
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/modules.php
@@ -0,0 +1,41 @@
+setQuery($query);
+ $groups = $db->loadObjectList();
+
+ $groupHTML = array();
+ if ($groups && count ($groups)) {
+ foreach ($groups as $v=>$t){
+ $groupHTML[] = JHTML::_('select.option', $t->id, $t->title);
+ }
+ }
+ $lists = JHTML::_('select.genericlist', $groupHTML, "params[".$name."][]", ' multiple="multiple" size="10" ', 'value', 'text', $value);
+
+ return $lists;
+ }
+}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/positions.php b/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/positions.php
new file mode 100644
index 00000000..5d5f91c7
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/elements/positions.php
@@ -0,0 +1,44 @@
+setQuery($query);
+ $groups = $db->loadObjectList();
+
+ $groupHTML = array();
+ if ($groups && count ($groups)) {
+ foreach ($groups as $v=>$t){
+ $groupHTML[] = JHTML::_('select.option', $t->position, $t->position);
+ }
+ }
+ $lists = JHTML::_('select.genericlist', $groupHTML, "params[".$name."][]", ' multiple="multiple" size="10" ', 'value', 'text', $value);
+
+ return $lists;
+ }
+}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/libs/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/menucore.php b/deployed/icemegamenu/modules/mod_icemegamenu/libs/menucore.php
new file mode 100644
index 00000000..769c1bf5
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/menucore.php
@@ -0,0 +1,689 @@
+_params = &$params;
+ $this->_root = new IceMenuNode(1, 'ROOT');
+ $this->_nodeHash[1] = &$this->_root;
+ $this->_current = &$this->_root;
+ $this->getCurrentMenuItem();
+ }
+
+ function getCurrentMenuItem()
+ {
+ global $mainframe;
+ $itemId = JRequest::getInt("Itemid",0);
+ if(!empty($itemId))
+ {
+ $db_temp = JFactory::getDBO();
+ $db = &$db_temp;
+ $parent = $itemId;
+ while($parent >0)
+ {
+ $query = "SELECT id,parent_id FROM #__menu WHERE id = ".$parent;
+ $db->setQuery($query);
+ $row = $db->loadObject();
+ if(!empty($row))
+ {
+ $parent = $row->parent_id;
+ if($parent == 1)
+ {
+ $itemId = $row->id;
+ }
+ }
+ }
+ $this->_currentItemId = $itemId;
+ }
+ }
+
+ function addNode(&$params, $item)
+ {
+ // Get menu item data
+ $data = $this->_getItemData($params, $item);
+ // Create the node and add it
+ $node = new IceMenuNode($item->id, $item->title, $item->access, $data);
+ $node->setNodeParams($item);
+
+ if(isset($item->mid)) {
+ $nid = $item->mid;
+ } else {
+ $nid = $item->id;
+ }
+
+ $this->_nodeHash[$nid] =& $node;
+ $this->_current =& $this->_nodeHash[$item->parent_id];
+
+ if($item->type == 'menulink' && !empty($item->query['Itemid'])) {
+ $node->mid = $item->query['Itemid'];
+ }
+
+ if($this->_current) {
+ $this->addChild($node, true);
+ } else {
+ // sanity check
+ JError::raiseError(500, 'Orphan Error. Could not find parent for Item '.$item->id);
+ }
+ }
+
+
+ function toXML($vertical_direction)
+ {
+
+ // Initialize variables
+ $this->_current =& $this->_root;
+
+ // Recurse through children if they exist
+ while($this->_current->hasChildren())
+ {
+
+ $this->_buffer .= '';
+ }
+ if($this->_buffer == '') { $this->_buffer = ''; }
+ return $this->_buffer;
+ }
+
+ function _getSubmenuByType()
+ {
+ $submenu_type = $this->_current->getParam("subtype", "menu");
+ $cols = $this->_current->getParam("cols", 1);
+ $colWidth = $this->_current->getParam("colwidth", '280px');
+ $width = $this->_current->getParam("width", '280px');
+
+ $content = "";
+
+ switch($submenu_type)
+ {
+ case "menu":
+ $content = $this->_current->link;
+ break;
+ case "mod":
+ require_once(dirname(__FILE__).DS."module_helper.php");
+ $modHelper = new IceModuleHelper();
+ $content = $modHelper->getContentByModule($this->_current->getParam("modules",""), $cols, $colWidth, $width, $this->_current->title);
+ $content = str_replace(array("\r\n", "\r"), "\n",$content);
+ $content = str_replace("\n", "",$content);
+ $content = '';
+ break;
+ case "pos":
+ require_once(dirname(__FILE__).DS."module_helper.php");
+ $modHelper = new IceModuleHelper();
+ $content = $modHelper->getContentByPosition($this->_current->getParam("positions",""), $cols, $colWidth, $width, $this->_current->title);
+ break;
+ }
+ return $content;
+ }
+
+ function _prepareSubmenuContent($content = "")
+ {
+ $item = $this->_current;
+ $iParams = new JRegistry;
+ $iParams->loadString($this->_current->params);
+ $imgalign = 'align="left"';
+ $name = "";
+ $name = '';
+ if($iParams->get('menu_anchor_css'))
+ {
+ $document->addStyleSheet($iParams->get('menu_anchor_css'));
+ }
+ $image = "";
+ if($iParams->get('menu_image'))
+ {
+ $image = '
get('menu_image').'" '.$imgalign.' alt="'.$item->alias.'" />';
+ }
+ if($iParams->get("icemega_subtitle", "") != "")
+ {
+ $name .=''.$iParams->get("icemega_subtitle","").'';
+ }
+ $content = ''.$image.$name.'
';
+ return $content;
+ }
+
+ function _getLevelXML($depth, $widthParent=0, $cols_widthParent=0, $colsParent=0, $arr_cols=array(), $parentId=0, $countChild=0, $colsWidth = 0)
+ {
+ $depth++;
+ // Start the item
+ $rel =(!empty($this->_current->mid)) ? ' rel="'.$this->_current->mid.'"' : '';
+
+ if($colsParent)
+ {
+ if(!isset($this->_level_arr[$parentId]))
+ {
+ $this->_level_arr[$parentId]['cols'] = $colsParent;
+ $this->_level_arr[$parentId]['countcols'] = 1;
+ $this->_level_arr[$parentId]['arr_cols'] = $arr_cols;
+ $this->_level_arr[$parentId]['countChild'] = $countChild;
+ $this->_level_arr[$parentId]['colsWidth'] = $colsWidth;
+ }
+ else
+ {
+ $this->_level_arr[$parentId]['countcols']++;
+ }
+ if(is_array($this->_level_arr[$parentId]['colsWidth']))
+ {
+ if(isset($this->_level_arr[$parentId]['colsWidth'][($this->_level_arr[$parentId]['countcols'])]) && $this->_level_arr[$parentId]['colsWidth'][($this->_level_arr[$parentId]['countcols'])]!='auto')
+ {
+ $divWidth = $this->_level_arr[$parentId]['colsWidth'][$this->_level_arr[$parentId]['countcols']];
+ }
+ else $divWidth= $this->_default_width;
+ }
+ else
+ {
+ $divWidth=($this->_level_arr[$parentId]['colsWidth']=='auto')?$this->_default_width:$this->_level_arr[$parentId]['colsWidth'];
+ }
+
+ if($this->_level_arr[$parentId]['countcols']==1)
+ {
+ $this->_buffer .= '';
+ }
+ else
+ {
+ if(isset($this->_level_arr[$parentId]['arr_cols']['same']) || isset($this->_level_arr[$parentId]['arr_cols']['hasCols']))
+ {
+ $this->_buffer .= '';
+ }
+ else
+ {
+ if(array_key_exists(intval($this->_level_arr[$parentId]['countcols']),$this->_level_arr[$parentId]['arr_cols']))
+ {
+ if(is_array($this->_level_arr[$parentId]['colsWidth']))
+ {
+ if(isset($this->_level_arr[$parentId]['colsWidth'][$this->_level_arr[$parentId]['countcols']]) && $this->_level_arr[$parentId]['colsWidth'][($this->_level_arr[$parentId]['countcols'])]!='auto')
+ {
+ $divWidth = $this->_level_arr[$parentId]['colsWidth'][$this->_level_arr[$parentId]['countcols']];
+ } else $divWidth=$this->_default_width;
+ } else { $divWidth=($this->_level_arr[$parentId]['colsWidth']=='auto')?$this->_default_width:$this->_level_arr[$parentId]['colsWidth']; }
+
+ $this->_buffer .= '';
+ }
+ }
+ }
+ }
+
+ if(!$colsParent)
+ {
+ $this->_count_cols=0;
+ $this->_checkOpenTag = false;
+ unset($this->_level_arr);
+ }
+
+ $ClassStyleLi = "iceMenuLiLevel_".$depth;
+
+ //if($depth==1){ $ClassStyleLi = $ClassStyleLi." parent";}
+ if($this->_current->hasChildren()) {$ClassStyleLi = $ClassStyleLi." mzr-drop parent";}
+
+ $active_class = "";
+ if($this->_current->id == $this->_currentItemId || $this->_current->id == JRequest::getVar('Itemid'))
+ $active_class = " active";
+
+ $this->_buffer .= '';
+
+ if($colsParent){
+ if(isset($this->_level_arr[$parentId]['arr_cols']['same']))
+ {
+ $this->_buffer .= "
";
+ }
+ else
+ {
+ if(array_search(intval($this->_level_arr[$parentId]['countcols']),$this->_level_arr[$parentId]['arr_cols']))
+ {
+ $this->_buffer .= "
";
+ }
+ }
+
+ if($this->_level_arr[$parentId]['countcols']==$this->_level_arr[$parentId]['countChild'])
+ $this->_buffer .= "";
+ }
+ }
+
+ function _getItemData(&$params, $item)
+ {
+ $data = null;
+ $active_class = "";
+
+ if($item->id == $this->_currentItemId)
+ $active_class = "icemega_active";
+ // Menu Link is a special type that is a link to another item
+ if($item->type == 'menulink')
+ {
+ $menu = &JSite::getMenu();
+ if($newItem = $menu->getItem($item->query['Itemid'])) {
+ $tmp = clone($newItem);
+ $tmp->name = 'title.']]>';
+ $tmp->mid = $item->id;
+ $tmp->parent = $item->parent_id;
+ } else {
+ return false;
+ }
+ } else {
+ $tmp = clone($item);
+ $iParams = new JRegistry;
+ $iParams->loadString($tmp->params);
+ $tmp->name = 'title.']]>';
+ }
+ $iParams = new JRegistry;
+ $iParams->loadString($tmp->params);
+ if($iParams->get('menu-anchor_css',"")) JHTML::stylesheet('', $iParams->get('menu-anchor_css',""));
+
+ if($params->get('menu_images') && $iParams->get('menu_image') && $iParams->get('menu_image') != -1) {
+ switch($params->get('menu_images_align', 0)){
+ case 0 :
+ $imgalign='align="left"';
+ break;
+
+ case 1 :
+ $imgalign='align="right"';
+ break;
+
+ default :
+ $imgalign='';
+ break;
+ }
+ if($iParams->get('menu_anchor_css')) {
+ $document->addStyleSheet($iParams->get('menu_anchor_css'));
+ }
+ $image = "";
+ if($iParams->get('menu_image')){
+ $image = '
get('menu_image').'" '.$imgalign.' alt="'.$item->alias.'" />';
+ }
+
+ } else {
+ $image = null;
+ }
+
+ if($iParams->get("icemega_subtitle", "") != "")
+ {
+ $tmp->name .=''.$iParams->get("icemega_subtitle","").'';
+ }
+
+ switch($tmp->type)
+ {
+ case 'separator' :
+ //return ''.$image.$tmp->name.'';
+
+ if($iParams->get("icemega_subtype") == 'mod' || $iParams->get("icemega_subtype") == 'pos') {
+ //$text = 'window.addEvent("load", function(){if($(\'item-'.$tmp->id.'\') != null)$(\'item-'.$tmp->id.'\').setStyle(\'display\', \'none\')});';
+ //$document = &JFactory::getDocument();
+ //$document->addScriptDeclaration($text);
+ }
+
+ $tmp->url = "";
+ break;
+
+ case 'url' :
+ if((strpos($tmp->link, 'index.php?') === 0) &&(strpos($tmp->link, 'Itemid=') === false)) {
+ $tmp->url = $tmp->link.'&Itemid='.$tmp->id;
+ } else {
+ $tmp->url = $tmp->link;
+ }
+ break;
+ case 'alias':
+ $tmp->url = 'index.php?Itemid='.$tmp->params->get('aliasoptions');
+ break;
+ default :
+ $router = JSite::getRouter();
+ $tmp->url = $router->getMode() == JROUTER_MODE_SEF ? 'index.php?Itemid='.$tmp->id : $tmp->link.'&Itemid='.$tmp->id;
+ break;
+ }
+ $myClass = "iceMenuTitle ";
+ if($item->level==1)
+ {
+ $myClass = "iceMenuTitle ";
+ }
+
+ // Print a link if it exists
+ if($tmp->url != null && $iParams->get("icemega_showlink",1))
+ {
+ // Handle SSL links
+ $iSecure = $iParams->def('secure', 0);
+ if($tmp->home == 1) {
+ $tmp->url = JURI::base();
+ } elseif(strcasecmp(substr($tmp->url, 0, 4), 'http') &&(strpos($tmp->link, 'index.php?') !== false)) {
+ $tmp->url = JRoute::_($tmp->url, true, $iSecure);
+ } else {
+ $tmp->url = str_replace('&', '&', $tmp->url);
+ }
+
+ switch($tmp->browserNav)
+ {
+ default:
+ case 0:
+ // _top
+ $data = ''.$image.$tmp->name.'';
+ break;
+ case 1:
+ // _blank
+ $data = ''.$image.$tmp->name.'';
+ break;
+ case 2:
+ // window.open
+ $attribs = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,'.$this->_params->get('window_open');
+
+ // hrm...this is a bit dickey
+ $link = str_replace('index.php', 'index2.php', $tmp->url);
+ $data = ''.$image.$tmp->name.'';
+ break;
+ }
+ } else {
+ $data = ''.$image.$tmp->name.'';
+ }
+
+ return $data;
+ }
+}
+
+
+/**
+ * Main Menu Tree Node Class.
+ *
+ * @package Joomla
+ * @subpackage Menus
+ * @since 1.5
+ */
+class IceMenuNode extends JNode
+{
+ /**
+ * Node Title
+ */
+ var $title = null;
+
+ /**
+ * Node Link
+ */
+ var $link = null;
+
+ /**
+ * CSS Class for node
+ */
+ var $class = null;
+
+ var $params = null;
+
+ function __construct($id, $title, $access = null, $link = null, $class = null)
+ {
+ $this->id = $id;
+ $this->title = $title;
+ $this->access = $access;
+ $this->link = $link;
+ $this->class = $class;
+ }
+
+ public function setNodeParams($menu_item = null)
+ {
+ if(!empty($menu_item))
+ {
+ $this->params = new JRegistry;
+ $this->params->loadString($menu_item->params);
+ }
+ }
+
+ public function getParam($param_name = "", $value_default = null, $param_surfix = "icemega_")
+ {
+ if(!empty($param_name))
+ {
+ $param_name = $param_surfix.$param_name;
+ $value = $this->params->get($param_name, $value_default);
+ return $value;
+ }
+ if(!empty($value_default))
+ return $value_default;
+ return null;
+ }
+}
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/module_helper.php b/deployed/icemegamenu/modules/mod_icemegamenu/libs/module_helper.php
new file mode 100644
index 00000000..c790ab57
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/module_helper.php
@@ -0,0 +1,194 @@
+_type = $type;
+ }
+
+ public function getContentByModule($modules = "", $cols=1, $colWidth='auto', $width=400, $title='')
+ {
+
+ $content = "";
+ if(!empty($modules))
+ {
+ if(!is_array($modules)) $modules = explode("|", $modules);
+
+ $modules = implode(",", $modules);
+ $list = $this->_getModules($modules);
+ $content = $this->_renderModule($list , $cols, $colWidth, $width, $title);
+ }
+ return $content;
+ }
+
+ public function getContentByPosition($position = "", $cols=1, $colWidth='auto', $width=400, $title='')
+ {
+ $content = "";
+ if(!empty($position))
+ {
+ if(!is_array($position)) $position = explode("|", $position);
+
+ $position = implode("','", $position);
+ $position = "'".$position."'";
+ $list = $this->_getModules("", $position);
+
+ $content = $this->_renderModule($list, $cols, $colWidth, $width, $title);
+ }
+ return $content;
+ }
+
+ function _renderModule($list_modules = array(), $cols=1, $colWidth='auto', $width=400, $title='')
+ {
+ $content="";
+ if(!empty($list_modules))
+ {
+ $doc = JFactory::getDocument();
+ $document = &$doc;
+ $renderer = $document->loadRenderer('module');
+ ob_start();
+ if(!empty($list_modules))
+ {
+ if($colWidth!='auto')
+ {
+ $cols_width = explode(",",$colWidth) ;
+ if(!(is_array($cols_width) && count($cols_width)>1))
+ {
+ $cols_width = intval($colWidth);
+ if($cols_width==0)
+ {
+ if($cols>=1) $cols_width = round($width/$cols);
+ else $cols_width = $width;
+ }
+ }
+ }
+ else
+ {
+ $cols_width = 'auto';
+ }
+
+ echo '';
+ for($i=0; $i<$cols; $i++)
+ {
+
+ if(isset($list_modules[$i]))
+ {
+ if(is_array($cols_width) && isset($cols_width[$i]))
+ {
+ $style = "width:".$cols_width[$i]."px;";
+ }
+ else
+ {
+ if(intval($cols_width)>0) $style = "width:".intval($cols_width)."px;";
+ else $style = "width:auto; ";
+ }
+
+ if(count($list_modules)==1) $style = "width:auto; ";
+
+ if($cols>1) $style .= "float:left";
+
+ $module = $list_modules[$i];
+
+ if(isset($module) && @$module->id)
+ {
+ echo '
';
+ if($module->showtitle)
+ {
+ echo ''.$module->title.'';
+ }
+ echo $renderer->render($module,array("style"=>""));
+ echo '
';
+ }
+ }
+ }
+ echo '
';
+ }
+ $content = ob_get_clean();
+ ob_start();
+ }
+ return $content;
+ }
+ /**
+ * Load published modules
+ *
+ * @access private
+ * @return array
+ */
+ function _getModules($module_ids = null, $module_pos = "")
+ {
+ global $mainframe;
+
+ $user_temp = JFactory::getUser();
+ $user =& $user_temp;
+ $db_temp = JFactory::getDBO();
+ $db =& $db_temp;
+
+ $aid = $user->get('aid', 0);
+
+ $modules = array();
+
+ $wheremenu = "";
+ if(!empty($module_ids))
+ {
+ $wheremenu = " m.id in(".$module_ids.")";
+ }
+ if(!empty($module_pos))
+ {
+ $wheremenu = " m.position in(".$module_pos.")";
+ }
+
+ $query = 'SELECT distinct(m.id), title, module, position, content, showtitle, params'
+ . ' FROM #__modules AS m'
+ . ' LEFT JOIN #__modules_menu AS mm ON mm.moduleid = m.id'
+ . ' WHERE '
+ . $wheremenu
+ . ' AND m.published > 0'
+ . ' ORDER BY position, ordering';
+
+ $db->setQuery($query);
+
+ if(null ===($modules = $db->loadObjectList()))
+ {
+ JError::raiseWarning('SOME_ERROR_CODE', JText::_('Error Loading Modules') . $db->getErrorMsg());
+ return false;
+ }
+
+ $total = count($modules);
+ for($i = 0; $i < $total; $i++)
+ {
+ //determine if this is a custom module
+ $file = $modules[$i]->module;
+ $custom = substr($file, 0, 4) == 'mod_' ? 0 : 1;
+ $modules[$i]->user = $custom;
+ // CHECK: custom module name is given by the title field, otherwise it's just 'om' ??
+ $modules[$i]->name = $custom ? $modules[$i]->title : substr($file, 4);
+ $modules[$i]->style = null;
+ $modules[$i]->position = strtolower($modules[$i]->position);
+ }
+ return $modules;
+ }
+}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/libs/simplexml.php b/deployed/icemegamenu/modules/mod_icemegamenu/libs/simplexml.php
new file mode 100644
index 00000000..a8408fb1
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/libs/simplexml.php
@@ -0,0 +1,888 @@
+document->node instead of $xml->node
+ * You cannot access CDATA using array syntax. Use the method data() instead
+ * You cannot access attributes directly with array syntax. Use attributes()
+ * to read them.
+ * Comments are ignored.
+ * Last and least, this is not as fast as PHP5 SimpleXML--it is pure PHP4.
+ *
+ * Example:
+ *
+ * :simple.xml:
+ *
+ *
+ *
+ * Tom Foo
+ * Tamara Bar
+ *
+ *
+ *
+ * ---
+ *
+ * // read and write a document
+ * $xml = new JSimpleXML;
+ * $xml->loadFile('simple.xml');
+ * print $xml->document->toString();
+ *
+ * // access a given node's CDATA
+ * print $xml->root->node->child[0]->data(); // Tom Foo
+ *
+ * // access attributes
+ * $attr = $xml->root->node->child[1]->attributes();
+ * print $attr['gender']; // f
+ *
+ * // access children
+ * foreach($xml->root->node->children() as $child) {
+ * print $child->data();
+ * }
+ *
+ *
+ * Note: JSimpleXML cannot be used to access sophisticated XML doctypes
+ * using datatype ANY (e.g. XHTML). With a DOM implementation you can
+ * handle this.
+ *
+ * @package Joomla.Platform
+ * @subpackage Utilities
+ * @see http://www.php.net/manual/en/book.simplexml.php
+ * @since 11.1
+ * @deprecated 12.1 Use SimpleXML instead
+ */
+class JSimpleXML extends JObject
+{
+ /**
+ * The XML parser
+ *
+ * @var resource
+ * @since 11.1
+ */
+ private $_parser = null;
+
+ /**
+ * Document element
+ *
+ * @var object
+ * @since 11.1
+ */
+ public $document = null;
+
+ /**
+ * Current object depth
+ *
+ * @var array
+ * @since 11.1
+ */
+ private $_stack = array();
+
+ /**
+ * Constructor.
+ *
+ * @param array $options Options
+ *
+ * @deprecated 12.1 Use SimpleXML instead.
+ * @see http://www.php.net/manual/en/book.simplexml.php
+ * @since 11.1
+ */
+ public function __construct($options = null)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::__construct() is deprecated.', JLog::WARNING, 'deprecated');
+
+ if (! function_exists('xml_parser_create'))
+ {
+ // TODO throw warning
+ return false;
+ }
+
+ // Create the parser resource and make sure both versions of PHP autodetect the format.
+ $this->_parser = xml_parser_create('');
+
+ // Check parser resource
+ xml_set_object($this->_parser, $this);
+ xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, 0);
+ if (is_array($options))
+ {
+ foreach ($options as $option => $value)
+ {
+ xml_parser_set_option($this->_parser, $option, $value);
+ }
+ }
+
+ // Set the handlers
+ xml_set_element_handler($this->_parser, '_startElement', '_endElement');
+ xml_set_character_data_handler($this->_parser, '_characterData');
+ }
+
+ /**
+ * Interprets a string of XML into an object
+ *
+ * This function will take the well-formed XML string data and return an object of class
+ * JSimpleXMLElement with properties containing the data held within the XML document.
+ * If any errors occur, it returns FALSE.
+ *
+ * @param string $string Well-formed XML string data
+ * @param string $classname currently ignored
+ *
+ * @return object JSimpleXMLElement
+ *
+ * @since 11.1
+ *
+ * @deprecated 12.1 Use simpleXML_load_string
+ * @see http://www.php.net/manual/en/function.simplexml-load-string.php
+ */
+ public function loadString($string, $classname = null)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::loadString() is deprecated.', JLog::WARNING, 'deprecated');
+
+ $this->_parse($string);
+
+ return true;
+ }
+
+ /**
+ * Interprets an XML file into an object
+ *
+ * This function will convert the well-formed XML document in the file specified by filename
+ * to an object of class JSimpleXMLElement. If any errors occur during file access or
+ * interpretation, the function returns FALSE.
+ *
+ * @param string $path Path to XML file containing a well-formed XML document
+ * @param string $classname currently ignored
+ *
+ * @return boolean True if successful, false if file empty
+ *
+ * @deprecated 12.1 Use simplexml_load_file instead
+ * @see http://www.php.net/manual/en/function.simplexml-load-file.php
+ * @since 11.1
+ */
+ public function loadFile($path, $classname = null)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::loadfile() is deprecated.', JLog::WARNING, 'deprecated');
+
+ //Check to see of the path exists
+ if (!file_exists($path))
+ {
+
+ return false;
+ }
+
+ //Get the XML document loaded into a variable
+ $xml = trim(file_get_contents($path));
+ if ($xml == '')
+ {
+ return false;
+ }
+ else
+ {
+ $this->_parse($xml);
+
+ return true;
+ }
+ }
+
+ /**
+ * Get a JSimpleXMLElement object from a DOM node.
+ *
+ * This function takes a node of a DOM document and makes it into a JSimpleXML node.
+ * This new object can then be used as a native JSimpleXML element. If any errors occur,
+ * it returns FALSE.
+ *
+ * @param string $node DOM document
+ * @param string $classname currently ignored
+ *
+ * @return mixed JSimpleXMLElement or false if any errors occur
+ *
+ * @deprecated 12.1 use simplexml_import_dom instead.
+ * @see http://www.php.net/manual/en/function.simplexml-import-dom.php
+ * @since 11.1
+ */
+ public function importDOM($node, $classname = null)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::importDOM() is deprecated.', JLog::WARNING, 'deprecated');
+
+ return false;
+ }
+
+ /**
+ * Get the parser
+ *
+ * @return resource XML parser resource handle
+ *
+ * @deprecated 12.1 Use SimpleXMLElement
+ * @see http://www.php.net/manual/en/class.simplexmlelement.php
+ * @since 11.1
+ */
+ public function getParser()
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::getParser() is deprecated.', JLog::WARNING, 'deprecated');
+
+ return $this->_parser;
+ }
+
+ /**
+ * Set the parser
+ *
+ * @param resource $parser XML parser resource handle.
+ *
+ * @return void
+ *
+ * @deprecated 12.1 Use SimpleXML
+ * @see http://www.php.net/manual/en/class.simplexml.php
+ * @since 11.1
+ */
+ public function setParser($parser)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::setParser() is deprecated.', JLog::WARNING, 'deprecated');
+
+ $this->_parser = $parser;
+ }
+
+ /**
+ * Start parsing an XML document
+ *
+ * Parses an XML document. The handlers for the configured events are called as many times as necessary.
+ *
+ * @param string $data data to parse
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @see http://www.php.net/manual/en/class.simplexml.php
+ * @since 11.1
+ */
+ protected function _parse($data = '')
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::_parse() is deprecated.', JLog::WARNING, 'deprecated');
+
+ //Error handling
+ if (!xml_parse($this->_parser, $data))
+ {
+ $this->_handleError(
+ xml_get_error_code($this->_parser), xml_get_current_line_number($this->_parser),
+ xml_get_current_column_number($this->_parser)
+ );
+ }
+
+ //Free the parser
+ xml_parser_free($this->_parser);
+ }
+
+ /**
+ * Handles an XML parsing error
+ *
+ * @param integer $code XML Error Code.
+ * @param integer $line Line on which the error happened.
+ * @param integer $col Column on which the error happened.
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ *
+ * @deprecated 12.1 Use PHP Exception
+ */
+ protected function _handleError($code, $line, $col)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::_handleError() is deprecated.', JLog::WARNING, 'deprecated');
+
+ JError::raiseWarning('SOME_ERROR_CODE', 'XML Parsing Error at ' . $line . ':' . $col . '. Error ' . $code . ': ' . xml_error_string($code));
+
+ }
+
+ /**
+ * Gets the reference to the current direct parent
+ *
+ * @return object
+ *
+ * @since 11.1
+ *
+ * @deprecated 12.1
+ */
+ protected function _getStackLocation()
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::_getStackLocation() is deprecated.', JLog::WARNING, 'deprecated');
+
+ $return = '';
+ foreach ($this->_stack as $stack)
+ {
+ $return .= $stack . '->';
+ }
+
+ return rtrim($return, '->');
+ }
+
+ /**
+ * Handler function for the start of a tag
+ *
+ * @param resource $parser The XML parser.
+ * @param string $name The name of the element.
+ * @param array $attrs A key-value array (optional) of the attributes for the element.
+ *
+ * @return void
+ *
+ * @since 11.1
+ *
+ * @deprecated 12.1
+ */
+ protected function _startElement($parser, $name, $attrs = array())
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::startElement() is deprecated.', JLog::WARNING, 'deprecated');
+
+ // Check to see if tag is root-level
+ $count = count($this->_stack);
+ if ($count == 0)
+ {
+ // If so, set the document as the current tag
+ $classname = get_class($this) . 'Element';
+ $this->document = new $classname($name, $attrs);
+
+ // And start out the stack with the document tag
+ $this->_stack = array('document');
+ }
+ // If it isn't root level, use the stack to find the parent
+ else
+ {
+ // Get the name which points to the current direct parent, relative to $this
+ $parent = $this->_getStackLocation();
+
+ // Add the child
+ eval('$this->' . $parent . '->addChild($name, $attrs, ' . $count . ');');
+
+ // Update the stack
+ eval('$this->_stack[] = $name.\'[\'.(count($this->' . $parent . '->' . $name . ') - 1).\']\';');
+ }
+ }
+
+ /**
+ * Handler function for the end of a tag
+ *
+ * @param resource $parser The XML parser.
+ * @param string $name The name of the element.
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ protected function _endElement($parser, $name)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::endElement() is deprecated.', JLog::WARNING, 'deprecated');
+
+ //Update stack by removing the end value from it as the parent
+ array_pop($this->_stack);
+ }
+
+ /**
+ * Handler function for the character data within a tag
+ *
+ * @param resource $parser The XML parser.
+ * @param string $data The CDATA for the element.
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ protected function _characterData($parser, $data)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXML::_characterData() is deprecated.', JLog::WARNING, 'deprecated');
+
+ // Get the reference to the current parent object
+ $tag = $this->_getStackLocation();
+
+ // Assign data to it
+ eval('$this->' . $tag . '->_data .= $data;');
+ }
+}
+
+/**
+ * SimpleXML Element
+ *
+ * This object stores all of the direct children of itself in the $children array.
+ * They are also stored by type as arrays. So, if, for example, this tag had 2
+ * tags as children, there would be a class member called $font created as an array.
+ * $font[0] would be the first font tag, and $font[1] would be the second.
+ *
+ * To loop through all of the direct children of this object, the $children member
+ * should be used.
+ *
+ * To loop through all of the direct children of a specific tag for this object, it
+ * is probably easier to use the arrays of the specific tag names, as explained above.
+ *
+ * @package Joomla.Platform
+ * @subpackage Utilities
+ * @see http://www.php.net/manual/en/class.simplexmlelement.php
+ * @since 11.1
+ * @deprecated 12.1 Use SimpleXMLElement instead
+ */
+class JSimpleXMLElement extends JObject
+{
+ /**
+ * Array with the attributes of this XML element
+ *
+ * @var array
+ * @since 11.1
+ */
+ public $_attributes = array();
+
+ /**
+ * The name of the element
+ *
+ * @var string
+ * @since 11.1
+ */
+ public $_name = '';
+
+ /**
+ * The data the element contains
+ *
+ * @var string
+ * @since 11.1
+ */
+ public $_data = '';
+
+ /**
+ * Array of references to the objects of all direct children of this XML object
+ *
+ * @var array
+ * @since 11.1
+ */
+ public $_children = array();
+
+ /**
+ * The level of this XML element
+ *
+ * @var int
+ * @since 11.1
+ */
+ public $_level = 0;
+
+ /**
+ * Constructor, sets up all the default values
+ *
+ * @param string $name The name of the element.
+ * @param array $attrs A key-value array (optional) of the attributes for the element.
+ * @param integer $level The level (optional) of the element.
+ *
+ * @deprecated 12.1 Use SimpleXMLElement
+ * @since 11.1
+ */
+ public function __construct($name, $attrs = array(), $level = 0)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::__construct() is deprecated.', JLog::WARNING, 'deprecated');
+
+ //Make the keys of the attr array lower case, and store the value
+ $this->_attributes = array_change_key_case($attrs, CASE_LOWER);
+
+ //Make the name lower case and store the value
+ $this->_name = strtolower($name);
+
+ //Set the level
+ $this->_level = $level;
+ }
+
+ /**
+ * Get the name of the element
+ *
+ * @return string
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+
+ public function name()
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::name() is deprecated.', JLog::WARNING, 'deprecated');
+
+ return $this->_name;
+ }
+
+ /**
+ * Get the an attribute of the element
+ *
+ * @param string $attribute The name of the attribute
+ *
+ * @return mixed If an attribute is given will return the attribute if it exist.
+ * If no attribute is given will return the complete attributes array
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function attributes($attribute = null)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::attributes() is deprecated.', JLog::WARNING, 'deprecated');
+
+ if (!isset($attribute))
+ {
+ return $this->_attributes;
+ }
+
+ return isset($this->_attributes[$attribute]) ? $this->_attributes[$attribute] : null;
+ }
+
+ /**
+ * Get the data of the element
+ *
+ * @return string
+ *
+ * @deprecated 12.1 Use SimpleXMLElement
+ * @since 11.1
+ */
+
+ public function data()
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::data() is deprecated.', JLog::WARNING, 'deprecated');
+
+ return $this->_data;
+ }
+
+ /**
+ * Set the data of the element
+ *
+ * @param string $data The CDATA for the element.
+ *
+ * @return string
+ *
+ * @deprecated 12.1 Use SimpleXMLElement
+ * @since 11.1
+ */
+
+ public function setData($data)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::data() is deprecated.', JLog::WARNING, 'deprecated');
+
+ $this->_data = $data;
+ }
+
+ /**
+ * Get the children of the element
+ *
+ * @return array
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+
+ public function children()
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::children() is deprecated.', JLog::WARNING, 'deprecated');
+
+ return $this->_children;
+ }
+
+ /**
+ * Get the level of the element
+ *
+ * @return integer
+ *
+ * @since 11.1
+ * @deprecated 12.1
+ */
+ public function level()
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::level() is deprecated.', JLog::WARNING, 'deprecated');
+
+ return $this->_level;
+ }
+
+ /**
+ * Adds an attribute to the element
+ *
+ * @param string $name The key
+ * @param array $value The value for the key
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function addAttribute($name, $value)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::addAttribute() is deprecated.', JLog::WARNING, 'deprecated');
+
+ // Add the attribute to the element, override if it already exists
+ $this->_attributes[$name] = $value;
+ }
+
+ /**
+ * Removes an attribute from the element
+ *
+ * @param string $name The name of the attribute.
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function removeAttribute($name)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::removeAttribute() is deprecated.', JLog::WARNING, 'deprecated');
+
+ unset($this->_attributes[$name]);
+ }
+
+ /**
+ * Adds a direct child to the element
+ *
+ * @param string $name The name of the element.
+ * @param array $attrs An key-value array of the element attributes.
+ * @param integer $level The level of the element (optional).
+ *
+ * @return JSimpleXMLElement The added child object
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function addChild($name, $attrs = array(), $level = null)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::addChild() is deprecated.', JLog::WARNING, 'deprecated');
+
+ //If there is no array already set for the tag name being added,
+ //create an empty array for it
+ if (!isset($this->$name))
+ {
+ $this->$name = array();
+ }
+
+ // set the level if not already specified
+ if ($level == null)
+ {
+ $level = ($this->_level + 1);
+ }
+
+ //Create the child object itself
+ $classname = get_class($this);
+ $child = new $classname($name, $attrs, $level);
+
+ //Add the reference of it to the end of an array member named for the elements name
+ $this->{$name}[] = &$child;
+
+ //Add the reference to the children array member
+ $this->_children[] = &$child;
+
+ //return the new child
+ return $child;
+ }
+
+ /**
+ * Remove the child node.
+ *
+ * @param JSimpleXmlElement &$child The child element to remove.
+ *
+ * @return void
+ *
+ * @since 11.1
+ * @deprecated 12.1
+ */
+ public function removeChild(&$child)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::removeChild() is deprecated.', JLog::WARNING, 'deprecated');
+
+ $name = $child->name();
+ for ($i = 0, $n = count($this->_children); $i < $n; $i++)
+ {
+ if ($this->_children[$i] == $child)
+ {
+ unset($this->_children[$i]);
+ }
+ }
+ for ($i = 0, $n = count($this->{$name}); $i < $n; $i++)
+ {
+ if ($this->{$name}[$i] == $child)
+ {
+ unset($this->{$name}[$i]);
+ }
+ }
+ $this->_children = array_values($this->_children);
+ $this->{$name} = array_values($this->{$name});
+ unset($child);
+ }
+
+ /**
+ * Get an element in the document by / separated path
+ *
+ * @param string $path The / separated path to the element
+ *
+ * @return object JSimpleXMLElement
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function getElementByPath($path)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::getElementByPath() is deprecated.', JLog::WARNING, 'deprecated');
+
+ $tmp = &$this;
+ $parts = explode('/', trim($path, '/'));
+
+ foreach ($parts as $node)
+ {
+ $found = false;
+ foreach ($tmp->_children as $child)
+ {
+ if (strtoupper($child->_name) == strtoupper($node))
+ {
+ $tmp = &$child;
+ $found = true;
+ break;
+ }
+ }
+ if (!$found)
+ {
+ break;
+ }
+ }
+
+ if ($found)
+ {
+ return $tmp;
+ }
+
+ return false;
+ }
+
+ /**
+ * Traverses the tree calling the $callback(JSimpleXMLElement
+ * $this, mixed $args=array()) function with each JSimpleXMLElement.
+ *
+ * @param string $callback Function name
+ * @param array $args The arguments (optional) for the function callback.
+ *
+ * @return void
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function map($callback, $args = array())
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::map) is deprecated.', JLog::WARNING, 'deprecated');
+
+ $callback($this, $args);
+ // Map to all children
+ if ($n = count($this->_children))
+ {
+ for ($i = 0; $i < $n; $i++)
+ {
+ $this->_children[$i]->map($callback, $args);
+ }
+ }
+ }
+
+ /**
+ * Return a well-formed XML string based on SimpleXML element
+ *
+ * @param boolean $whitespace True if whitespace should be prepended to the string
+ *
+ * @return string
+ *
+ * @deprecated 12.1
+ * @since 11.1
+ */
+ public function toString($whitespace = true)
+ {
+ // Deprecation warning.
+ JLog::add('JSimpleXMLElement::toString() is deprecated.', JLog::WARNING, 'deprecated');
+
+ // Start a new line, indent by the number indicated in $this->level, add a <, and add the name of the tag
+ if ($whitespace)
+ {
+ $out = "\n" . str_repeat("\t", $this->_level) . '<' . $this->_name;
+ }
+ else
+ {
+ $out = '<' . $this->_name;
+ }
+
+ // For each attribute, add attr="value"
+ foreach ($this->_attributes as $attr => $value)
+ {
+ $out .= ' ' . $attr . '="' . htmlspecialchars($value, ENT_COMPAT, 'UTF-8') . '"';
+ }
+
+ // If there are no children and it contains no data, end it off with a />
+ if (empty($this->_children) && empty($this->_data))
+ {
+ $out .= " />";
+ }
+ // Otherwise...
+ else
+ {
+ // If there are children
+ if (!empty($this->_children))
+ {
+ // Close off the start tag
+ $out .= '>';
+
+ // For each child, call the asXML function (this will ensure that all children are added recursively)
+ foreach ($this->_children as $child)
+ {
+ $out .= $child->toString($whitespace);
+ }
+
+ // Add the newline and indentation to go along with the close tag
+ if ($whitespace)
+ {
+ $out .= "\n" . str_repeat("\t", $this->_level);
+ }
+ }
+ // If there is data, close off the start tag and add the data
+ elseif (!empty($this->_data))
+ $out .= '>' . htmlspecialchars($this->_data, ENT_COMPAT, 'UTF-8');
+
+ // Add the end tag
+ $out .= '' . $this->_name . '>';
+ }
+
+ //Return the final output
+ return $out;
+ }
+}
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/mod_icemegamenu.php b/deployed/icemegamenu/modules/mod_icemegamenu/mod_icemegamenu.php
new file mode 100644
index 00000000..48750c4b
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/mod_icemegamenu.php
@@ -0,0 +1,116 @@
+def('menutype', 'mainmenu');
+$params->def('class_sfx', '');
+$params->def('menu_images', 0);
+$params->def('menu_images_align', 0);
+$params->def('expand_menu', 0);
+$params->def('activate_parent', 0);
+$params->def('indent_image', 0);
+$params->def('indent_image1', 'indent1.png');
+$params->def('indent_image2', 'indent2.png');
+$params->def('indent_image3', 'indent3.png');
+$params->def('indent_image4', 'indent4.png');
+$params->def('indent_image5', 'indent5.png');
+$params->def('indent_image6', 'indent.png');
+$params->def('spacer', '');
+$params->def('end_spacer', '');
+$params->def('full_active_id', 0);
+
+/* Added in 1.5 */
+$params->def('startLevel', 0);
+$params->def('endLevel', 0);
+$params->def('showAllChildren', 0);
+$params->def('resizable_menu', 0);
+
+/*Mega menu settings */
+$activate_action = $params->get("activate_action", "mouseover");
+$deactivate_action = $params->get("deactivate_action", "mouseleave");
+$js_effect = $params->get("js_effect", "slide & fade");
+
+$js_duration = $params->get("js_duration", 600);
+$js_physics = $params->get("js_physics", "Fx.Transitions.Pow.easeOut");
+$js_hideDelay = $params->get("js_hideDelay", 1000);
+$js_opacity = $params->get("js_opacity", 95);
+$use_js = $params->get("use_js", 1);
+
+$vertical_direction = $params->get("vertical_direction", "left");
+
+
+/*load theme*/
+
+$layoutModulePath = JModuleHelper::getLayoutPath($module->module);
+$icemegamenu = new modIceMegamenuHelper($module, $params);
+require($layoutModulePath);
+?>
+
+
+get('theme_style') == 'vertical' and $params->get('vertical_direction') == 'left') { ?>
+
+
+
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/mod_icemegamenu.xml b/deployed/icemegamenu/modules/mod_icemegamenu/mod_icemegamenu.xml
new file mode 100644
index 00000000..882f4437
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/mod_icemegamenu.xml
@@ -0,0 +1,132 @@
+
+
+ IceMegaMenu Module
+ March 2011
+ IceTheme
+ GNU / GPL
+ info@icetheme.com
+ http://www.icetheme.com
+ 3.0.1
+ IceMegaMenu extension is a powerful Joomla (module + plugin) to help you take the most from the navigation system. Top features includes ability to split dropdown columns, option to load modules inside the dropdown, works without JavaScript and much more.
+
+ mod_icemegamenu.php
+ helper.php
+ index.html
+ libs
+ assets
+ tmpl
+ themes
+
+
+ languages/en-GB/en-GB.mod_icemegamenu.ini
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu-ie.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu-ie.css
new file mode 100644
index 00000000..7a92bfc6
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu-ie.css
@@ -0,0 +1,15 @@
+ /**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+
+.icemegamenu .meganizr > li > div,.icemegamenu .meganizr > li > ul,.icemegamenu .meganizr > li > ul li > ul{ overflow:visible;visibility:visible;display:none;}
+.icemegamenu .meganizr > li.mzr-drop:hover > div,.icemegamenu .meganizr > li.mzr-drop:hover > ul,.icemegamenu .meganizr > li > ul li.mzr-drop:hover > ul{display:block;}
+.icemegamenu .meganizr > li.mzr-home-dark,.icemegamenu .meganizr > li.mzr-home-light{min-width:50px;}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu-reponsive.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu-reponsive.css
new file mode 100644
index 00000000..2379f72b
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu-reponsive.css
@@ -0,0 +1,128 @@
+/**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+.collapse {
+ overflow: hidden}
+
+@media (min-width: 980px) {
+ .icemegamenu > ul{
+ height:50px!important;}
+}
+
+
+@media (max-width: 979px) {
+
+.ice-megamenu-toggle {
+ float: right;}
+
+ .ice-megamenu-toggle a {
+ cursor:pointer;
+ background: url("../images/mobile_menu_btn.png") no-repeat scroll 0 0 transparent;
+ display: block;
+ height: 30px;
+ margin: 15px 0;
+ text-indent: -9999px;
+ width: 30px;}
+
+
+.icemegamenu > ul { background:#eee }
+
+ .ice-megamenu-toggle { display:inline-block; }
+ .icemegamenu > ul > li{ width: 100%; background:#eee }
+
+
+ #icemegamenu > li > ul.icesubMenu {
+ float: left;
+ opacity: 1;
+ max-height:1000px;
+ position: relative;
+ padding:0;
+ top: 0!important;
+ visibility: visible;
+ width: 100% !important;
+ background:#eee}
+
+
+ #icemegamenu > li > ul.icesubMenu .iceCols{ width:100%!important;}
+ #icemegamenu > li > ul.icesubMenu li{
+ width:100%!important;
+ }
+ #icemegamenu .parent .icemodules{ }
+
+ ul.icesubMenu{border:none}
+
+ ul.icesubMenu li.parent{background:none;}
+
+
+ .icemegamenu > ul > li a.iceMenuTitle{
+ font-size:15px;
+ margin:0;
+ height:auto;
+ padding-left:15px;
+ border-bottom:1px dashed #ccc!important}
+
+ .icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
+ padding-top:0}
+
+ ul.icesubMenu > li a.iceMenuTitle{
+ font-size:12px;
+ margin:0px;
+ padding-left:35px;
+ background-position:20px 10px}
+
+
+ .icemegamenu > ul > li.active{
+ background:none}
+
+ #icemegamenu > li > ul.icesubMenu li > ul{
+ float: left;
+ opacity: 1;
+ max-height:1000px;
+ position: relative;
+ top: 0!important;
+ visibility: visible;
+ width: 100% !important;
+ left: 0;
+ margin:0px;
+ padding:0;
+ border:none;
+ background:#eee;}
+
+ /* level 2 */
+ ul.sub_level_2 li > a.iceMenuTitle {
+ padding-left: 55px!important;
+ background-position: 40px 10px!important;}
+
+ /* level 3 */
+ ul.sub_level_3 li > a.iceMenuTitle {
+ padding-left: 75px!important;
+ background-position: 60px 10px!important;}
+
+
+
+ /* hide modules */
+ .icesubMenu .icemega_cover_module { width: auto !important;}
+}
+
+
+@media (max-width: 480px){
+
+ ul.icesubMenu > li a.iceMenuTitle{
+ background:none!important;}
+
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_2,
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_3,
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_4{
+ left: 0px;}
+}
+
+
+
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu.css
new file mode 100644
index 00000000..fc198581
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/clean_icemegamenu.css
@@ -0,0 +1,221 @@
+/**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2013 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+
+ Clean Theme
+ added on 29 April 2013
+
+ */
+
+
+ /* OpenSans Font emmbed */
+@font-face {
+ font-family: 'OpenSansRegular';
+ src: url('../font/OpenSans-Regular-webfont.eot');
+ src: url('../font/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
+ url('../font/OpenSans-Regular-webfont.woff') format('woff'),
+ url('../font/OpenSans-Regular-webfont.ttf') format('truetype'),
+ url('../font/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
+
+
+/* clear some styles */
+.icemegamenu ul,
+.icemegamenu li {
+ list-style-type:none;
+ padding:0;
+ margin:0}
+
+ .collapse {
+ overflow: visible;}
+
+
+/* begin mainmenu */
+.icemegamenu > ul {
+ position: relative;
+ margin:0;
+ padding:0;
+ z-index: 999;
+ clear: both;
+ width: 100%;
+ height:50px;
+ background: #eee;}
+
+ .icemegamenu > ul > li {
+ position: relative;
+ display: block;
+ float: left;}
+
+ .icemegamenu > ul > li a.iceMenuTitle {
+ font-family:OpenSansRegular, Arial, Helvetica, sans-serif;
+ position: relative;
+ z-index: 9999;
+ display: block;
+ padding: 0 16px;
+ height:50px;
+ line-height: 34px;
+ font-size: 18px;
+ margin:0 5px 0 0;
+ color: #666;
+ text-decoration:none;
+ text-shadow: 1px 1px 1px #fff;
+ -webkit-transition: all .25s ease-out;
+ -moz-transition: all .25s ease-out;
+ -ms-transition: all .25s ease-out;
+ -o-transition: all .25s ease-out;
+ transition: all .25s ease-out;}
+
+ .icemegamenu > ul > li:hover > a {
+ background-color:#DEDEDE;}
+
+ .icemegamenu ul > li a.iceMenuTitle:hover,
+ .icemegamenu ul > li:hover > a.iceMenuTitle,
+ .icemegamenu ul > ul > li:hover > a.iceMenuTitle,
+ ul.icesubMenu li.active a.iceMenuTitle {
+ color: #000 }
+
+ div.icemegamenu ul#icemegamenu li.active a.icemega_active > span.icemega_title {
+ color: #000 }
+
+ /* subtitles */
+ .icemegamenu > ul > li span.icemega_desc {
+ display:block;
+ font-size:12px;
+ font-family:Verdana, Geneva, sans-serif;
+ padding:0;
+ line-height:1.25em;
+ color:#999!important;
+ margin-bottom: 7px;
+ margin-top:-8px;
+ text-shadow:none!important}
+
+ /* when dont have subtitle */
+ .icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
+ padding-top:7px;
+ display:block}
+
+
+ /* when is current */
+ .icemegamenu > ul > li.active > a {
+ background-color:#DEDEDE}
+
+
+
+
+
+ /* Submenu */
+ul.icesubMenu {
+ position: absolute;
+ z-index: 600;
+ padding: 0 0 10px;
+ margin:0;
+ top: 80px;
+ left: 0;
+ visibility:visible;
+ max-height:0;
+ overflow:hidden;
+ opacity: 0;
+ background: #eee;
+ border: 1px solid #DEDEDE;
+ border-top:none;
+ border-radius: 3px;
+ -webkit-transition: all .25s ease-out;
+ -moz-transition: all .25s ease-out;
+ -ms-transition: all .25s ease-out;
+ -o-transition: all .25s ease-out;
+ transition: all .25s ease-out;}
+
+
+ #icemegamenu > li:hover > ul.icesubMenu {
+ opacity: 1;
+ max-height:1000px;
+ overflow:visible;
+ top: 50px;}
+
+ ul.icesubMenu ul > li {
+ position:relative;}
+
+ ul.icesubMenu > li a.iceMenuTitle {
+ height:auto;
+ display:block;
+ font-size:14px;
+ padding:0 0 0 25px;
+ margin:0;
+ border-bottom:1px dashed #ccc;
+ border-radius:0;
+ background:url(../images/point.png) no-repeat 9px 10px;}
+
+
+ /* when is parent */
+ ul.icesubMenu li.parent {
+ background: url(../images/arrow.png) no-repeat 93% 45%;}
+
+ /* hover and active */
+ ul.icesubMenu ul > li:hover > a,
+ ul.icesubMenu ul > li.active > a {
+ background-color:#DEDEDE;}
+
+
+
+
+/* Second Level Dropdown */
+ul.sub_level_2,
+ul.sub_level_3,
+ul.sub_level_4,
+ul.sub_level_5 {
+ top: -1px;
+ left: 100%;
+ margin-left:15px;
+ z-index:99999;
+ box-shadow:none;
+ border:1px solid #DEDEDE;}
+
+
+ ul.icesubMenu ul > li:hover > ul {
+ opacity: 1;
+ max-height:1000px;
+ overflow:visible;
+ visibility:visible;
+ margin-left:-25px;}
+
+
+
+
+/* Modules inside dropdown */
+.icesubMenu .icemega_cover_module {
+ padding: 10px 15px;
+ color:#666;}
+
+ .icesubMenu .icemega_cover_module span.iceModuleTile {
+ color:#555;
+ font-size:18px;
+ text-shadow:1px 1px 1px #fff;
+ margin-bottom:6px;
+ display:block;}
+
+ .icesubMenu .icemega_cover_module a {}
+
+
+
+/* for the respponsive part
+there is antoher CSS file in the same folder */
+
+.ice-megamenu-toggle {
+ display:none}
+
+
+
+/* fix when there is no space for the dropdown on the right
+it will appear instead on the left */
+.ice_righttoleft{
+ left:auto!important;
+ right:0;}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/css/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.eot b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.eot
new file mode 100644
index 00000000..dd6fd2cb
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.eot differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.svg b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.svg
new file mode 100644
index 00000000..01038bb1
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.svg
@@ -0,0 +1,146 @@
+
+
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.ttf b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.ttf
new file mode 100644
index 00000000..05951e7b
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.ttf differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.woff b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.woff
new file mode 100644
index 00000000..274664b2
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/font/OpenSans-Regular-webfont.woff differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/Thumbs.db b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/Thumbs.db
new file mode 100644
index 00000000..db5d4341
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/Thumbs.db differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/arrow.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/arrow.png
new file mode 100644
index 00000000..23d88305
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/arrow.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/mobile_menu_btn.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/mobile_menu_btn.png
new file mode 100644
index 00000000..6f38a07c
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/mobile_menu_btn.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/point.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/point.png
new file mode 100644
index 00000000..baaafd57
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/images/point.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/clean/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu-ie.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu-ie.css
new file mode 100644
index 00000000..7a92bfc6
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu-ie.css
@@ -0,0 +1,15 @@
+ /**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+
+.icemegamenu .meganizr > li > div,.icemegamenu .meganizr > li > ul,.icemegamenu .meganizr > li > ul li > ul{ overflow:visible;visibility:visible;display:none;}
+.icemegamenu .meganizr > li.mzr-drop:hover > div,.icemegamenu .meganizr > li.mzr-drop:hover > ul,.icemegamenu .meganizr > li > ul li.mzr-drop:hover > ul{display:block;}
+.icemegamenu .meganizr > li.mzr-home-dark,.icemegamenu .meganizr > li.mzr-home-light{min-width:50px;}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu-reponsive.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu-reponsive.css
new file mode 100644
index 00000000..dcc08446
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu-reponsive.css
@@ -0,0 +1,113 @@
+/**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+ .collapse {
+ overflow: hidden!important;}
+
+@media (min-width: 980px) {
+ .icemegamenu > ul{
+ height:50px!important;}
+}
+
+
+@media (max-width: 979px) {
+
+.icemegamenu > ul { background:#222 }
+
+ .ice-megamenu-toggle { display:inline-block; }
+ .icemegamenu > ul > li{ width: 100%; background:#222 }
+
+
+ #icemegamenu > li > ul.icesubMenu {
+ float: left;
+ opacity: 1;
+ max-height:1000px;
+ position: relative;
+ padding:0;
+ top: 0!important;
+ visibility: visible;
+ width: 100% !important;
+ background:#333}
+
+
+ #icemegamenu > li > ul.icesubMenu .iceCols{ width:100%!important;}
+ #icemegamenu > li > ul.icesubMenu li{
+ width:100%!important;
+ }
+ #icemegamenu .parent .icemodules{ }
+
+ ul.icesubMenu{border:none}
+
+ ul.icesubMenu li.parent{background:none;}
+
+
+ .icemegamenu > ul > li a.iceMenuTitle{
+ font-size:15px;
+ height:auto;
+ padding-left:15px;
+ border-bottom:1px dotted rgba(255, 255, 255, .2)!important}
+
+ .icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
+ padding-top:0}
+
+ ul.icesubMenu > li a.iceMenuTitle{
+ font-size:12px;
+ margin:0px;
+ padding-left:35px;
+ background-position:20px 10px}
+
+
+ .icemegamenu > ul > li.active{
+ background:none}
+
+ #icemegamenu > li > ul.icesubMenu li > ul{
+ float: left;
+ opacity: 1;
+ position: relative;
+ top: 0!important;
+ visibility: visible;
+ width: 100% !important;
+ left: 0;
+ margin:0px;
+ padding:0;
+ border:none;
+ max-height:1000px;
+ background:#333;}
+
+ /* level 2 */
+ ul.sub_level_2 li > a.iceMenuTitle {
+ padding-left: 55px!important;
+ background-position: 40px 10px!important;}
+
+ /* level 3 */
+ ul.sub_level_3 li > a.iceMenuTitle {
+ padding-left: 75px!important;
+ background-position: 60px 10px!important;}
+
+
+ /* hide modules */
+ .icesubMenu .icemega_cover_module { width: auto !important;}
+}
+
+
+@media (max-width: 480px){
+
+ ul.icesubMenu > li a.iceMenuTitle{
+ background:none!important;}
+
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_2,
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_3,
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_4{
+ left: 0px;}
+}
+
+
+
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu.css
new file mode 100644
index 00000000..ec2f7174
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/default_icemegamenu.css
@@ -0,0 +1,209 @@
+/**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+/* clear some styles */
+.icemegamenu ul,
+.icemegamenu li {
+ list-style-type:none;
+ padding:0;
+ margin:0}
+
+.collapse {
+ overflow: visible!important;}
+
+/* begin mainmenu */
+.icemegamenu > ul {
+ position: relative;
+ margin:0;
+ padding:0;
+ z-index: 999;
+ clear: both;
+ width: 100%;
+ height:50px;
+ background: #1A1A1A;
+ background: -webkit-linear-gradient(top, #3C3C3C, #1A1A1A);
+ background: -moz-linear-gradient(top, #3C3C3C, #1A1A1A);
+ background: -o-linear-gradient(top, #3C3C3C, #1A1A1A);
+ background: -ms-linear-gradient(top, #3C3C3C, #1A1A1A);
+ background: linear-gradient(top, #3C3C3C, #1A1A1A);
+ border-radius: 5px;}
+
+ .icemegamenu > ul > li {
+ position: relative;
+ display: block;
+ float: left;}
+
+ .icemegamenu > ul > li a.iceMenuTitle {
+ position: relative;
+ z-index: 9999;
+ display: block;
+ padding: 1px 15px 0 15px;
+ height:49px;
+ line-height: 34px;
+ font-size: 18px;
+ color: #ccc;
+ text-decoration:none;
+ text-shadow: 1px 1px 1px #000;
+ -webkit-transition: all .25s ease-out;
+ -moz-transition: all .25s ease-out;
+ -ms-transition: all .25s ease-out;
+ -o-transition: all .25s ease-out;
+ transition: all .25s ease-out;}
+
+ .icemegamenu ul > li a.iceMenuTitle:hover,
+ .icemegamenu ul > li:hover > a.iceMenuTitle,
+ .icemegamenu ul > ul > li:hover > a.iceMenuTitle,
+ ul.icesubMenu li.active a.iceMenuTitle {
+ color: #F0C237 }
+
+ div.icemegamenu ul#icemegamenu li.active a.icemega_active > span.icemega_title{
+ color: #F0C237 }
+
+ /* subtitles */
+ .icemegamenu > ul > li span.icemega_desc {
+ display:block;
+ font-size:12px;
+ font-family:Verdana, Geneva, sans-serif;
+ padding:0;
+ line-height:1.25em;
+ color:#999!important;
+ margin-bottom: 7px;
+ margin-top:-8px;
+ text-shadow:none!important}
+
+ /* when dont have subtitle */
+ .icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
+ padding-top:7px;
+ display:block}
+
+
+ /* when is current */
+ .icemegamenu > ul > li.active {
+ background:#444}
+
+ .icemegamenu > ul > li.active:first-child {
+ border-radius:5px 0 0 5px}
+
+.ice-megamenu-toggle {
+ float: right;
+}
+.ice-megamenu-toggle {
+ display: none;
+}
+.ice-megamenu-toggle a {
+ background: url("../images/mobile_menu_btn.png") no-repeat scroll 0 0 transparent;
+ display: block;
+ height: 30px;
+ margin-top: 20px;
+ text-indent: -9999px;
+ width: 30px;
+ cursor:pointer;
+}
+
+ /* Submenu */
+ul.icesubMenu {
+ position: absolute;
+ z-index: 600;
+ padding: 0 0 10px;
+ margin:0;
+ top: 80px;
+ left: -1px;
+ visibility:visible;
+ max-height:0;
+ overflow:hidden;
+ opacity: 0;
+ background: #222;
+ background: -moz-linear-gradient(#444, #111);
+ background: -webkit-linear-gradient(#444, #111);
+ background: -o-linear-gradient(#444, #111);
+ background: -ms-linear-gradient(#444, #111);
+ background: linear-gradient(#444, #111);
+ border: 1px solid rgba(255,255,255,.3);
+ border-radius: 3px;
+ -webkit-transition: all .25s ease-out;
+ -moz-transition: all .25s ease-out;
+ -ms-transition: all .25s ease-out;
+ -o-transition: all .25s ease-out;
+ transition: all .25s ease-out;}
+
+
+ #icemegamenu > li:hover > ul.icesubMenu {
+ opacity: 1;
+ max-height:1000px;
+ overflow:visible;
+ top: 50px;}
+
+ ul.icesubMenu ul > li {
+ position:relative;}
+
+ ul.icesubMenu > li a.iceMenuTitle {
+ height:auto;
+ display:block;
+ font-size:14px;
+ padding:0 0 0 16px;
+ margin:0 14px;
+ border-radius:0;
+ background:url(../images/point.png) no-repeat 0 10px;
+ border-bottom:1px dotted rgba(255,255,255,.2)!important;}
+
+
+ /* when is parent */
+ ul.icesubMenu li.parent {
+ background: url(../images/arrow.png) no-repeat 93% 45%;}
+
+
+
+
+
+
+/* Second Level Dropdown */
+ul.sub_level_2,
+ul.sub_level_3,
+ul.sub_level_4,
+ul.sub_level_5 {
+ top: -1px;
+ left: 100%;
+ margin-left:15px;
+ z-index:99999;
+ box-shadow:none;
+ border:1px solid #444;
+ border-top-color:#555;}
+
+ ul.icesubMenu ul > li:hover > ul {
+ opacity: 1;
+ max-height:1000px;
+ overflow:visible;
+ visibility:visible;
+ margin-left:-25px;}
+
+
+
+
+/* Modules inside dropdown */
+.icesubMenu .icemega_cover_module {
+ padding: 10px 15px;
+ color:#999;
+}
+
+ .icesubMenu .icemega_cover_module span.iceModuleTile {
+ color:#fff;
+ font-size:18px;
+ text-shadow:1px 1px 1px #000;
+ margin-bottom:6px;
+ display:block;}
+
+.icesubMenu .icemega_cover_module a {
+ color:#F0C237}
+
+ .ice_righttoleft{
+ left:auto!important;
+ right:0;
+ }
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/css/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/Thumbs.db b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/Thumbs.db
new file mode 100644
index 00000000..437fa33b
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/Thumbs.db differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/arrow.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/arrow.png
new file mode 100644
index 00000000..23d88305
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/arrow.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/drop-arrow.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/drop-arrow.png
new file mode 100644
index 00000000..35ab997d
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/drop-arrow.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/mobile_menu_btn.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/mobile_menu_btn.png
new file mode 100644
index 00000000..76227dcc
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/mobile_menu_btn.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/point.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/point.png
new file mode 100644
index 00000000..15cc73e9
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/images/point.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/default/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu-ie.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu-ie.css
new file mode 100644
index 00000000..7a92bfc6
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu-ie.css
@@ -0,0 +1,15 @@
+ /**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+
+.icemegamenu .meganizr > li > div,.icemegamenu .meganizr > li > ul,.icemegamenu .meganizr > li > ul li > ul{ overflow:visible;visibility:visible;display:none;}
+.icemegamenu .meganizr > li.mzr-drop:hover > div,.icemegamenu .meganizr > li.mzr-drop:hover > ul,.icemegamenu .meganizr > li > ul li.mzr-drop:hover > ul{display:block;}
+.icemegamenu .meganizr > li.mzr-home-dark,.icemegamenu .meganizr > li.mzr-home-light{min-width:50px;}
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu-reponsive.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu-reponsive.css
new file mode 100644
index 00000000..08fb231c
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu-reponsive.css
@@ -0,0 +1,129 @@
+/**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2012 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+ */
+
+.collapse {
+ overflow: hidden}
+
+@media (min-width: 980px) {
+
+}
+
+
+@media (max-width: 979px) {
+
+.ice-megamenu-toggle {
+ float: right;}
+
+ .ice-megamenu-toggle a {
+ cursor:pointer;
+ background: url("../images/mobile_menu_btn.png") no-repeat scroll 0 0 transparent;
+ display: block;
+ height: 30px;
+ margin: 15px 0;
+ text-indent: -9999px;
+ width: 30px;}
+
+
+.icemegamenu > ul { background:#eee }
+
+ .ice-megamenu-toggle { display:inline-block; }
+ .icemegamenu > ul > li{ width: 100%;background: #eee!important; clear:both; }
+
+
+ #icemegamenu > li > ul.icesubMenu {
+ float: left;
+ opacity: 1;
+ position: relative!important;
+ padding:0;
+ top: 0!important;
+ left:0!important;
+ visibility: visible;
+ width: 100% !important;
+ background:#eee}
+
+
+ #icemegamenu > li > ul.icesubMenu .iceCols{ width:100%!important;}
+ #icemegamenu > li > ul.icesubMenu li { width:100%!important;}
+
+ #icemegamenu .parent .icemodules {}
+
+ ul.icesubMenu {border:none}
+
+ ul.icesubMenu li.parent{background:none;}
+
+
+ .icemegamenu > ul > li a.iceMenuTitle{
+ font-size:15px;
+ margin:0;
+ height:auto;
+ padding-left:15px!important;
+ border-bottom:1px dashed #ccc!important}
+
+ .icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
+ padding-top:0}
+
+ ul.icesubMenu > li a.iceMenuTitle{
+ font-size:12px;
+ margin:0px;
+ padding-left:35px!important;
+ background-position:20px 10px}
+
+
+ .icemegamenu > ul > li.active{
+ background:none}
+
+ #icemegamenu > li > ul.icesubMenu li > ul{
+ float: left;
+ opacity: 1;
+ position: relative;
+ top: auto!important;
+ visibility: visible;
+ width: 100% !important;
+ left: auto!important;
+ right:auto!important;
+ margin:0px;
+ padding:0;
+ border:none;
+ background:#eee;}
+
+ #icemegamenu > li > ul.icesubMenu li {
+ background-image:none!important;}
+
+ /* level 2 */
+ ul.sub_level_2 li > a.iceMenuTitle {
+ padding-left: 55px!important;
+ background-position: 40px 10px!important;}
+
+ /* level 3 */
+ ul.sub_level_3 li > a.iceMenuTitle {
+ padding-left: 75px!important;
+ background-position: 60px 10px!important;}
+
+
+
+ /* hide modules */
+ .icesubMenu .icemega_cover_module { width: auto !important;}
+}
+
+
+@media (max-width: 480px){
+
+ ul.icesubMenu > li a.iceMenuTitle{
+ background:none!important;}
+
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_2,
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_3,
+ #icemegamenu > li > ul.icesubMenu li > ul.sub_level_4{
+ left: 0px;}
+}
+
+
+
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu.css b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu.css
new file mode 100644
index 00000000..3b81955d
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/css/vertical_icemegamenu.css
@@ -0,0 +1,233 @@
+/**
+ * IceMegaMenu Extension for Joomla 3.0 By IceTheme
+ *
+ *
+ * @copyright Copyright (C) 2013 IceTheme.com. All rights reserved.
+ * @license GNU General Public License version 2
+ *
+ * @Website http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
+ *
+
+ Clean Theme
+ added on 29 April 2013
+
+ */
+
+
+
+ /* OpenSans Font emmbed */
+@font-face {
+ font-family: 'OpenSansRegular';
+ src: url('../font/OpenSans-Regular-webfont.eot');
+ src: url('../font/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
+ url('../font/OpenSans-Regular-webfont.woff') format('woff'),
+ url('../font/OpenSans-Regular-webfont.ttf') format('truetype'),
+ url('../font/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
+
+
+
+
+/* clear some styles */
+ul,li {
+ list-style-type:none;
+ padding:0;
+ margin:0}
+
+ .collapse {
+ overflow: visible;}
+
+
+/* begin mainmenu */
+.icemegamenu > ul {
+ position: relative;
+ margin:0;
+ padding:0;
+ border-top:1px dashed #ccc;
+ z-index: 999;
+ clear: both;
+ background: #eee;}
+
+ .icemegamenu > ul > li {
+ position: relative;
+ display: block;}
+
+ .icemegamenu > ul > li a.iceMenuTitle {
+ font-family:OpenSansRegular, Arial, Helvetica, sans-serif;
+ position: relative;
+ z-index: 9999;
+ display: block;
+ padding: 0 12px;
+ line-height: 34px;
+ font-size: 18px;
+ margin:0;
+ border-bottom:1px dashed #ccc;
+ color: #666;
+ text-decoration:none;
+ text-shadow: 1px 1px 1px #fff;
+ -webkit-transition: all .25s ease-out;
+ -moz-transition: all .25s ease-out;
+ -ms-transition: all .25s ease-out;
+ -o-transition: all .25s ease-out;
+ transition: all .25s ease-out;}
+
+ .icemegamenu > ul > li:hover > a {
+ background-color:#DEDEDE;}
+
+ .icemegamenu ul > li a.iceMenuTitle:hover,
+ .icemegamenu ul > li:hover > a.iceMenuTitle,
+ .icemegamenu ul > ul > li:hover > a.iceMenuTitle,
+ ul.icesubMenu li.active a.iceMenuTitle {
+ color: #000 }
+
+ div.icemegamenu ul#icemegamenu li.active a.icemega_active > span.icemega_title {
+ color: #000 }
+
+ /* subtitles */
+ .icemegamenu > ul > li span.icemega_desc {
+ display:block;
+ font-size:12px;
+ font-family:Verdana, Geneva, sans-serif;
+ padding:0;
+ line-height:1.25em;
+ color:#999!important;
+ margin-bottom: 7px;
+ margin-top:-8px;
+ text-shadow:none!important}
+
+ /* when dont have subtitle */
+ .icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
+ padding-top:0;
+ display:block}
+
+
+ /* when is current */
+ .icemegamenu > ul > li.active > a {
+ background-color:#DEDEDE}
+
+
+ /* when is parent */
+ .icemegamenu ul li.parent {
+ background: url(../images/arrow.png) no-repeat 93% 45%;}
+
+
+
+
+ /* Submenu */
+ul.icesubMenu {
+ position: absolute;
+ z-index: 9999;
+ padding: 0 0 10px;
+ margin:0;
+ top: 0;
+ left: 110%;
+ opacity: 0;
+ visibility: hidden;
+ background: #eee;
+ border: 1px solid #DEDEDE;
+ border-top:none;
+ border-radius: 3px;
+ -webkit-transition: all .25s ease-out;
+ -moz-transition: all .25s ease-out;
+ -ms-transition: all .25s ease-out;
+ -o-transition: all .25s ease-out;
+ transition: all .25s ease-out;}
+
+
+ #icemegamenu > li:hover > ul.icesubMenu {
+ opacity: 1;
+ visibility: visible;
+ left: 100%;}
+
+ ul.icesubMenu ul > li {
+ position:relative;}
+
+ ul.icesubMenu > li a.iceMenuTitle {
+ height:auto;
+ display:block;
+ font-size:14px;
+ padding:0 0 0 25px;
+ margin:0;
+ border-bottom:1px dashed #ccc;
+ border-radius:0;
+ background:url(../images/point.png) no-repeat 9px 10px;}
+
+
+ /* hover and active */
+ ul.icesubMenu ul > li:hover > a,
+ ul.icesubMenu ul > li.active > a {
+ background-color:#DEDEDE;}
+
+
+
+
+
+
+
+
+/* Second Level Dropdown */
+ul.sub_level_2,
+ul.sub_level_3,
+ul.sub_level_4,
+ul.sub_level_5 {
+ top: -1px;
+ left: 110%;
+ z-index:99999;
+ box-shadow:none;
+ border:1px solid #DEDEDE;
+ margin: 0 0 0 20px;}
+
+
+ ul.icesubMenu ul > li:hover > ul {
+ opacity: 1;
+ visibility: visible;
+ left: 100%;}
+
+
+
+
+
+
+/* Modules inside dropdown */
+.icesubMenu .icemega_cover_module {
+ padding: 10px 15px;
+ color:#666;}
+
+ .icesubMenu .icemega_cover_module span.iceModuleTile {
+ color:#555;
+ font-size:18px;
+ text-shadow:1px 1px 1px #fff;
+ margin-bottom:6px;
+ display:block;}
+
+ .icesubMenu .icemega_cover_module a {}
+
+
+
+/* for the respponsive part
+there is antoher CSS file in the same folder */
+
+.ice-megamenu-toggle {
+ display:none}
+
+
+
+/* fix when there is no space for the dropdown on the right
+it will appear instead on the left */
+.ice_righttoleft{
+ left:auto!important;
+ right:0;}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.eot b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.eot
new file mode 100644
index 00000000..dd6fd2cb
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.eot differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.svg b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.svg
new file mode 100644
index 00000000..01038bb1
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.svg
@@ -0,0 +1,146 @@
+
+
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.ttf b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.ttf
new file mode 100644
index 00000000..05951e7b
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.ttf differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.woff b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.woff
new file mode 100644
index 00000000..274664b2
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/font/OpenSans-Regular-webfont.woff differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/Thumbs.db b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/Thumbs.db
new file mode 100644
index 00000000..c38c6b96
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/Thumbs.db differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/arrow.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/arrow.png
new file mode 100644
index 00000000..23d88305
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/arrow.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/arrow_left.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/arrow_left.png
new file mode 100644
index 00000000..a79787d2
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/arrow_left.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/mobile_menu_btn.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/mobile_menu_btn.png
new file mode 100644
index 00000000..6f38a07c
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/mobile_menu_btn.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/point.png b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/point.png
new file mode 100644
index 00000000..baaafd57
Binary files /dev/null and b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/images/point.png differ
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/themes/vertical/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/tmpl/default.php b/deployed/icemegamenu/modules/mod_icemegamenu/tmpl/default.php
new file mode 100644
index 00000000..4e451f6b
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/tmpl/default.php
@@ -0,0 +1,16 @@
+render($params, 'modIceMegaMenuXMLCallback');
\ No newline at end of file
diff --git a/deployed/icemegamenu/modules/mod_icemegamenu/tmpl/index.html b/deployed/icemegamenu/modules/mod_icemegamenu/tmpl/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/modules/mod_icemegamenu/tmpl/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu.php b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu.php
new file mode 100644
index 00000000..52ca1188
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu.php
@@ -0,0 +1,42 @@
+getName() == 'com_menus.item')
+ {
+ if(!defined("DS")){
+ define("DS", DIRECTORY_SEPARATOR);
+ }
+ $xmlFile = dirname(__FILE__). DS."icemegamenu" . DS . 'params';
+ JForm::addFormPath($xmlFile);
+ $form->loadFile('params', false);
+ }
+ }
+}
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu.xml b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu.xml
new file mode 100644
index 00000000..c0599c3f
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu.xml
@@ -0,0 +1,20 @@
+
+
+ IceMegaMenu Plugin
+ www.icetheme.com
+ Mrch 2011
+ Copyright (C) Copyright 2008 - 2011 IceTheme.com. All rights reserved.
+ http://www.icetheme.com GNU/GPL
+ info@icethemes.com
+ http://www.icethemes.com
+ 3.0.0
+ IceMegaMenu plugin used in conjuction with the IceMegaMenu Module. You may change the paramters to each menu item throught the Menu Manager
+
+ icemegamenu
+ icemegamenu.php
+
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/index.html b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/index.html
new file mode 100644
index 00000000..e69de29b
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/icemodules.php b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/icemodules.php
new file mode 100644
index 00000000..42d96e79
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/icemodules.php
@@ -0,0 +1,61 @@
+element['class'] ? ' class="'.(string) $this->element['class'].'"' : '';
+ // To avoid user's confusion, readonly="true" should imply disabled="true".
+ if ( (string) $this->element['readonly'] == 'true' || (string) $this->element['disabled'] == 'true') {
+ $attr .= ' disabled="disabled"';
+ }
+ $attr .= $this->element['size'] ? ' size="'.(int) $this->element['size'].'"' : '';
+ $attr .= $this->multiple ? ' multiple="multiple"' : '';
+ // Initialize JavaScript field attributes.
+ $attr .= $this->element['onchange'] ? ' onchange="'.(string) $this->element['onchange'].'"' : '';
+
+ $query = "SELECT * FROM #__modules where client_id=0 AND published=1 ORDER BY id ASC";
+ $db->setQuery($query);
+ $groups = $db->loadObjectList();
+ $groupHTML = array();
+ if ($groups && count ($groups)) {
+ foreach ($groups as $tvalue=>$item){
+ $groupHTML[] = JHTML::_('select.option', $item->id, $item->title." (id=".$item->id.")");
+ }
+ }
+ if( !empty($value) && !is_array($value) )
+ $value = explode("|", $value);
+
+ $lists = JHTML::_('select.genericlist', $groupHTML, $this->name,trim($attr), 'value', 'text', $this->value, $this->id);
+
+ return $lists;
+ }
+}
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/icepositions.php b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/icepositions.php
new file mode 100644
index 00000000..0f396491
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/icepositions.php
@@ -0,0 +1,61 @@
+element['class'] ? ' class="'.(string) $this->element['class'].'"' : '';
+ // To avoid user's confusion, readonly="true" should imply disabled="true".
+ if ( (string) $this->element['readonly'] == 'true' || (string) $this->element['disabled'] == 'true') {
+ $attr .= ' disabled="disabled"';
+ }
+ $attr .= $this->element['size'] ? ' size="'.(int) $this->element['size'].'"' : '';
+ $attr .= $this->multiple ? ' multiple="multiple"' : '';
+ // Initialize JavaScript field attributes.
+ $attr .= $this->element['onchange'] ? ' onchange="'.(string) $this->element['onchange'].'"' : '';
+
+ $db_temp = JFactory::getDBO();
+ $db =&$db_temp;
+ $query = "SELECT DISTINCT position FROM #__modules ORDER BY position ASC";
+ $db->setQuery($query);
+ $groups = $db->loadObjectList();
+ $groupHTML = array();
+ if ($groups && count ($groups)) {
+ foreach ($groups as $tvalue=>$item){
+ $groupHTML[] = JHTML::_('select.option', $item->position, $item->position);
+ }
+ }
+ if( !empty($value) && !is_array($value) )
+ $value = explode("|", $value);
+
+ $lists = JHTML::_('select.genericlist', $groupHTML, $this->name,trim($attr), 'value', 'text', $this->value, $this->id);
+ return $lists;
+ }
+}
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/index.html b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/element/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/helper.php b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/helper.php
new file mode 100644
index 00000000..e69de29b
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/index.html b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/libs/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/params/index.html b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/params/index.html
new file mode 100644
index 00000000..fa6d84e8
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/params/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/params/params.xml b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/params/params.xml
new file mode 100644
index 00000000..6680b140
--- /dev/null
+++ b/deployed/icemegamenu/plugins/system/icemegamenu/icemegamenu/params/params.xml
@@ -0,0 +1,44 @@
+
+
\ No newline at end of file