<!--! [Start] Navigation Manu !-->
<!--! ================================================================ !-->
<nav class="nxl-navigation">
    <div class="navbar-wrapper">
        <div class="m-header">
            <a href="<?= base_url() . 'agent-dashboard' ?>" class="b-brand">
                <!-- ========   change your logo hear   ============ -->
                Presecure Admin
<!--                    <img src="assets/images/logo-full.png" alt="" class="logo logo-lg" />
                <img src="assets/images/logo-abbr.png" alt="" class="logo logo-sm" />-->
            </a>
        </div>
        <div class="navbar-content">
            <ul class="nxl-navbar">
                <li class="nxl-item nxl-caption">
                    <label>Navigation</label>
                </li>
                <li class="nxl-item nxl-hasmenu">
                    <a href="<?= base_url(); ?>agent-dashboard" class="nxl-link">
                        <span class="nxl-micon"><i class="feather-airplay"></i></span>
                        <span class="nxl-mtext">Dashboard</span>
                    </a>
                </li>
                <?php if (session('role') == "agent") { ?>
                    <li class="nxl-item nxl-hasmenu">
                        <a href="<?= base_url(); ?>agent/create-employee" class="nxl-link">
                            <span class="nxl-micon"><i class="feather-users"></i></span>
                            <span class="nxl-mtext">Create Employee</span>
                        </a>
                    </li>
                    <li class="nxl-item nxl-hasmenu">
                        <a href="<?= base_url(); ?>agent/list-employee" class="nxl-link">
                            <span class="nxl-micon"><i class="feather-users"></i></span>
                            <span class="nxl-mtext">View Employee</span>
                        </a>
                    </li>
                <?php } else { ?>
                    <li class="nxl-item nxl-hasmenu">
                        <a href="<?= base_url(); ?>agents-list" class="nxl-link">
                            <span class="nxl-micon"><i class="feather-users"></i></span>
                            <span class="nxl-mtext">Agent</span>
                        </a>
                    </li>
                <?php } ?>
            </ul>
        </div>
    </div>
</nav>
<!--! ================================================================ !-->
<!--! [End]  Navigation Manu !-->
<!--! ================================================================ !-->