Prv8 Shell
Server : Apache
System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User : urbanovitalinoad ( 1001)
PHP Version : 7.3.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/urbanovitalinoad/www/controlpatri/templates/shaper_helix3/features/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/urbanovitalinoad/www/controlpatri/templates/shaper_helix3/features/menu.php
<?php
/**
 * @package Helix3 Framework
 * @author JoomShaper https://www.joomshaper.com
 * @copyright (c) 2010 - 2021 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/

//no direct accees
defined ('_JEXEC') or die('resticted aceess');

class Helix3FeatureMenu {

	private $helix3;

	public function __construct($helix3){
		$this->helix3 = $helix3;
		$this->position = 'menu';
	}

	public function renderFeature() {

		$menu_type = $this->helix3->getParam('menu_type');

		ob_start();

		if($menu_type == 'mega_offcanvas') { ?>
			<div class='sp-megamenu-wrapper'>
				<a id="offcanvas-toggler" href="#" aria-label="<?php echo JText::_('HELIX_MENU'); ?>"><i class="fa fa-bars" aria-hidden="true" title="<?php echo JText::_('HELIX_MENU'); ?>"></i></a>
				<?php $this->helix3->loadMegaMenu('d-none d-lg-block'); ?>
			</div>
		<?php } else if ($menu_type == 'mega') { ?>
			<div class='sp-megamenu-wrapper'>
				<a id="offcanvas-toggler" class="d-block d-lg-none" aria-label="<?php echo JText::_('HELIX_MENU'); ?>" href="#"><i class="fa fa-bars" aria-hidden="true" title="<?php echo JText::_('HELIX_MENU'); ?>"></i></a>
				<?php $this->helix3->loadMegaMenu('d-none d-lg-block'); ?>
			</div>
		<?php } else { ?>
			<a id="offcanvas-toggler" aria-label="<?php echo JText::_('HELIX_MENU'); ?>" href="#"><i class="fa fa-bars" title="<?php echo JText::_('HELIX_MENU'); ?>"></i></a>
		<?php }

		return ob_get_clean();
	}
}

haha - 2025