<div class="menu-holder navbar-nav-scroll">
    <ul>
        <li>
            <a href="index.php?fuse=home&view=dashboard">
                <i class="fas fa-home"></i> <?php echo $this->user->lang('Dashboard'); ?>
            </a>
        </li>
    <?php foreach ($this->menus as $menu) { ?>
        <li>
            <a href="javascript:void(0)">

                <i class="<?php echo $menu['icon']; ?>"></i> <?php echo $menu['modulename']; ?>
            </a>
            <?php if ($menu['showsubmenu']) { ?>
                <div class="sub-menu">
                <?php foreach($menu['submenu'] as $submenu) { ?>
                <h5><?php echo $submenu->getURL(); ?></h5>
                <?php if ($submenu->getSubmenu() !== null) { ?>
                <ul>
                    <?php $subSubmenu = $submenu->getSubmenu()->getItems($this->user); ?>
                    <?php foreach($subSubmenu as $subSubMenuItem) { ?>
                    <li><?php echo $subSubMenuItem->getURL();?></li>
                    <?php } ?>
                </ul>
                <?php } ?>
                <?php } ?>
                </div>
            <?php } ?>
        </li>
    <?php } ?>
        <li style="height:60px"></li>
    </ul>
</div>