type == 'menulink') { $menu = &JSite::getMenu(); if ($newItem = $menu->getItem($item->query['Itemid'])) { $tmp = clone($newItem); $tmp->name = ''.$item->name.''; $tmp->mid = $item->id; $tmp->parent = $item->parent; } else { return false; } } else { $tmp = clone($item); $tmp->name = ''.$item->name.''; } $iParams = new JParameter($tmp->params); if ($params->get('menu_images') && $iParams->get('menu_image') && $iParams->get('menu_image') != -1) { $imgalign = $params->get('menu_images_align', 0) == 1 ? 'right' : 'left'; $image = ''.$item->alias.''; if($tmp->ionly){ $tmp->name = null; } } else { $image = null; } switch ($tmp->type) { case 'separator' : return ''.$image.$tmp->name.''; 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; default : $router = JSite::getRouter(); $tmp->url = $router->getMode() == JROUTER_MODE_SEF ? 'index.php?Itemid='.$tmp->id : $tmp->link.'&Itemid='.$tmp->id; break; } // Print a link if it exists if ($tmp->url != null) { // 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,_blank'; // 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; } ?>getItems('menutype', $params->get('menutype')); $menuSub = array(); $output= '
'."\n\r"; for($i=0;$iparent == 0 && (int)$rows[$i]->published == 1) { $sub = ''; for($j=0;$jparent == (int)$rows[$i]->id && (int)$rows[$j]->published == 1) { $sub .= '
  • '; $sub .= getItemData($params,$rows[$j]); $sub .= '
  • '; } } //add the submenu if one isnt there create a dummy one for jquery if($sub != '') { $output .= '

    '; $output .= getItemData($params,$rows[$i]); $output .= '

    '; $output .= '
      '; $output .= $sub; $output .= '
    '; }else{ $output .= '

    '; $output .= getItemData($params,$rows[$i]); $output .= '

    '; $output .= '
      '; $output .= '
    '; } } } $output .= '
    '; echo $output; ?>

     

    ΤΗΛΕΦΩΝΑ ΕΠΙΚΟΙΝΩΝΙΑΣ

     

    T. 0030 210 825 2929

    T. 0030 210 825 2970

    I. 800 100 empedos (Free Phone)

    F. 0030 210 825 4714

    SMS. 0030 698 70 97738

     

    PARTNERS OF

    OUR CLIENTS


    Copyright© 2016 – 2017. Empedos Insurance & Reinsurance Brokers. All rights reserved®  A.M.: 342957 ΕΕ Αθηνών. ΓΕΜΗ: 128833003000
    A: Ασκληπιού 3, 15236 Πεντέλη  T: +30 210 825 2929, +30 210 825 2970  F: +30 210 825 4714 I: 800 100 empedos  E: info@empedos.gr