<a class="navbar-brand" href=<?php echo ($_main_root . "content/dashboard.php"); ?>>
    <img src="<?php echo ($_main_root . 'img/logo.png'); ?>" width="150px" alt="" srcset="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
    aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse menu_custom" id="navbarNav">
    <ul class="navbar-nav ms-auto">
        
        <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle text-uppercase" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">
                Event List
            </a>
            <ul class="dropdown-menu">
                <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/event_list.php"); ?>>All Event</a></li>
                <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/event_list_due.php"); ?>>Payment PENDING</a></li>
                <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/event_list_pay_complete.php"); ?>>Payment COMPLETE</a>
                <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/event_list_cancel.php"); ?>>Cancelled</a>
                </li>
            </ul>
        </li>

        <?php if (Permission(2)) { ?>

            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle text-uppercase" data-bs-toggle="dropdown" href="#" role="button"
                    aria-expanded="false">
                    Event
                </a>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "book_us.php"); ?>>BOOKING FORM</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/event_type.php"); ?>>EVENT TYPE</a>
                    </li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/package.php"); ?>>PACKAGE</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/package_details.php"); ?>>PACKAGE
                            DETAILS</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/addons.php"); ?>>ADD-ONS</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/discount.php"); ?>>DISCOUNT</a>
                    </li>
                </ul>
            </li>

            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle text-uppercase" data-bs-toggle="dropdown" href="#" role="button"
                    aria-expanded="false">
                    Quotation
                </a>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/cust_quotation.php"); ?> target="_blank">New</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/cust_quotation_list.php"); ?>>List</a></li>
                </ul>
            </li>

            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle text-uppercase" data-bs-toggle="dropdown" href="#" role="button"
                    aria-expanded="false">
                    Customer Bill
                </a>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/cust_bill_list.php"); ?>>Bill List</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/cust_bill.php"); ?>>Process</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/cust_bill_collection.php"); ?>>Collection</a></li>
                </ul>
            </li>

            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle text-uppercase" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">
                    EMPLOYEE
                </a>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/employee.php"); ?>>EMPLOYEE LIST /
                            ADD</a></li>
                    <li><a class="dropdown-item text-uppercase" href=<?php echo ($_main_root . "content/emp_payment.php"); ?>>PAYMENT</a>
                    </li>
                </ul>
            </li>

            <li class="nav-item">
                <a class="nav-link text-uppercase" href=<?php echo ($_main_root . "content/report.php"); ?>>REPORT</a>
            </li>

        <?php } ?>

        <?php if (Permission()) { ?>
            <li class="nav-item">
                <a class="nav-link text-uppercase" href=<?php echo ($_main_root . "content/user_manage.php"); ?>>USERS</a>
            </li>
        <?php } ?>

        <li class="nav-item dropdown ms-md-4">
            <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">
                <img src="<?php echo $_userProfileImage; ?>" alt="" width="30" height="30" class="rounded-circle">
                <!-- <i class="bi bi-person-circle me-1"></i>  -->
                <?= User::UserName(); ?>
            </a>
            <ul class="dropdown-menu">
                <li>
                    <a class="dropdown-item" href=<?php echo ($_main_root . "content/profile.php"); ?>><i
                            class="bi bi-people me-3"></i> Profile</a>
                </li>
                <li>
                    <hr class="dropdown-divider">
                </li>
                <li class="text-center">
                    <a class="dropdown-item" href="<?php echo ($_main_root . 'db/do_logout.php'); ?>">LOGOUT<i
                            class="bi bi-box-arrow-right ms-2"></i></a>
                </li>
            </ul>
        </li>
    </ul>
</div>