| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/old/build/template/features/ |
Upload File : |
<?php
/**
* @package Helix Ultimate Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2018 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined ('_JEXEC') or die();
require_once JPATH_PLUGINS. '/system/helixultimate/core/classes/menu.php';
class HelixUltimateFeatureMenu
{
private $params;
public function __construct($params)
{
$this->params = $params;
$this->position = 'menu';
}
public function renderFeature()
{
$menu_type = $this->params->get('menu_type');
$offcanvs_position = $this->params->get('offcanvas_position', 'right');
$output = '';
if($menu_type == 'mega_offcanvas')
{
$output .= '<nav class="sp-megamenu-wrapper" role="navigation">';
if($offcanvs_position == 'right')
{
$output .= '<a id="offcanvas-toggler" aria-label="Navigation" class="offcanvas-toggler-right" href="#"><i class="fa fa-bars" aria-hidden="true" title="Navigation"></i></a>';
}
$menu = new HelixUltimateMenu('d-none d-lg-block','');
$output .= $menu->render();
$output .= '</nav>';
}
elseif ($menu_type == 'mega')
{
$output .= '<nav class="sp-megamenu-wrapper" role="navigation">';
if($offcanvs_position == 'right')
{
$output .= '<a id="offcanvas-toggler" aria-label="Navigation" class="offcanvas-toggler-right d-block d-lg-none" href="#"><i class="fa fa-bars" aria-hidden="true" title="Navigation"></i></a>';
}
$menu = new HelixUltimateMenu('d-none d-lg-block','');
$output .= $menu->render();
$output .= '</nav>';
} else {
if($offcanvs_position == 'right')
{
$output .= '<a id="offcanvas-toggler" aria-label="Navigation" class="offcanvas-toggler-right" href="#"><i class="fa fa-bars" aria-hidden="true" title="Navigation"></i></a>';
}
}
return $output;
}
}