<style>
    .app-brand-link {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }
</style>
<aside id="layout-menu" class="layout-menu menu-vertical menu">
    <div class="app-brand demo mt-4 mb-3">
        <a href="#" class="app-brand-link">
            <span class="app-brand-logo demo">
                <span class="text-center w-100">
                    <img src="<?php echo e(asset('/assets/image')); ?>/side-bar.png" height="100px" alt="Logo">
                </span>
            </span>
        </a>

        <a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto">
            <i class="icon-base ti menu-toggle-icon d-none d-xl-block"></i>
            <i class="icon-base ti tabler-x d-block d-xl-none"></i>
        </a>
    </div>
    <ul class="menu-inner py-1">

        <li class="menu-item <?php if(Route::is('admin.dashboard')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.dashboard')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-smart-home"></i>
                <div data-i18n="Dashboard">Dashboard</div>
            </a>
        </li>
        <li class="menu-item <?php if(Route::is('admin.user_management') || Route::is('admin.edit_user')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.user_management')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-users"></i>
                <div data-i18n="User Management">User Management</div>
            </a>
        </li>
        <li class="menu-item <?php if(Route::is('admin.load_deposit') || Route::is('admin.load_history')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.load_deposit')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-refresh"></i>
                <div data-i18n="Load Deposit">Load Deposit</div>
            </a>
        </li>
          <li class="menu-item <?php if(Route::is('admin.salary_report') || Route::is('admin.salary_gen')|| Route::is('admin.salary_list')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.salary_report')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-cash"></i>
                <div data-i18n="Salary">Salary</div>
            </a>
        </li>
         <!-- <li class="menu-item <?php if(Route::is('admin.green_advance')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.green_advance')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-leaf"></i>
                <div data-i18n="Green Advance">Green Advance</div>
            </a>
        </li> -->
        <li
            class="menu-item <?php if(Route::is('admin.gold_advance') 
            || Route::is('admin.ipl_bond') 
            || Route::is('admin.bond_details') 
            || Route::is('admin.gold_payout') 
            || Route::is('admin.gold_roi_gen_history')
            ||Route::is('admin.profit_report_gold') 
             || Route::is('admin.gold_roi_history') 
            || Route::is('admin.gold_generate') 
            || Route::is('admin.gold_generate')): ?> open <?php endif; ?>">

            <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon icon-base ti tabler-crown"></i>
                <div data-i18n="Gold">Gold</div>
            </a>
            <ul class="menu-sub">
                <li
                    class="menu-item <?php if(Route::is('admin.gold_advance') 
                    || Route::is('admin.ipl_bond') 
                    || Route::is('admin.bond_details')
                    ||Route::is('admin.profit_report_gold') 
                    || Route::is('admin.gold_roi_history') 
                    || Route::is('admin.gold_generate')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.gold_advance')); ?>" class="menu-link">
                        <div data-i18n="Gold Advance">Gold Advance</div>
                    </a>
                </li>
                <li
                    class="menu-item <?php if(Route::is('admin.gold_payout') || Route::is('admin.gold_roi_gen_history')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.gold_payout')); ?>" class="menu-link">
                        <div data-i18n="Gold Payout">Gold Payout</div>
                    </a>
                </li>

                <!-- <li class="menu-item <?php if(Route::is('admin.gold_generate')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.gold_generate')); ?>" class="menu-link">
                        <div data-i18n="Gold Profit Generate">Gold Profit Generate</div>
                    </a>
                </li> -->
            </ul>
        </li>

        <li
            class="menu-item <?php if(Route::is('admin.silver_advance') || Route::is('admin.silver_payout') || Route::is('admin.paid_roi') || Route::is('admin.silver_roi_gen_history') ||Route::is('admin.profit_report_silver') || Route::is('admin.silver_generate')): ?> open <?php endif; ?>">

            <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon icon-base ti tabler-star"></i>
                <div data-i18n="Silver">Silver</div>
            </a>
            <ul class="menu-sub">
                <li
                    class="menu-item <?php if(Route::is('admin.silver_advance') || Route::is('admin.paid_roi')||Route::is('admin.silver_generate')||Route::is('admin.profit_report_silver')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.silver_advance')); ?>" class="menu-link">
                        <div data-i18n="Silver Advance">Silver Advance</div>
                    </a>
                </li>
                <li
                    class="menu-item <?php if(Route::is('admin.silver_payout') || Route::is('admin.silver_roi_gen_history') || Route::is('admin.paid_roi')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.silver_payout')); ?>" class="menu-link">
                        <div data-i18n="Silver Payout">Silver Payout</div>
                    </a>
                </li>

                <!-- <li class="menu-item <?php if(Route::is('admin.silver_generate')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.silver_generate')); ?>" class="menu-link">
                        <div data-i18n="Silver Profit Generate">Silver Profit Generate</div>
                    </a>
                </li> -->
            </ul>
        </li>
        <li
            class="menu-item <?php if(Route::is('admin.diamond_advance') || Route::is('admin.diamond_payout') || Route::is('admin.diamond_roi_gen_history') || Route::is('admin.diamond_payout_team')||Route::is('admin.diamond_generate') || Route::is('admin.diamond_roi_gen') || Route::is('admin.diamond_bdb_gen') || Route::is('admin.diamond_bob_payout') || Route::is('admin.diamond_generated_history') || Route::is('admin.diamond_bdb_payout_team') || Route::is('admin.diamond_bdb_gen_history') || Route::is('admin.diamond_level_gen_history') || Route::is('admin.diamond_level_payout') || Route::is('admin.diamond_level_payout_team')): ?> open <?php endif; ?>">

            <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon icon-base ti tabler-diamond"></i>
                <div data-i18n="Diamond">Diamond</div>
            </a>
            <ul class="menu-sub">
                <li class="menu-item <?php if(Route::is('admin.diamond_advance')||Route::is('admin.diamond_generate') || Route::is('admin.diamond_roi_gen') || Route::is('admin.diamond_bdb_gen')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.diamond_advance')); ?>" class="menu-link">
                        <div data-i18n="Diamond Advance">Diamond Advance</div>
                    </a>
                </li>
                <li
                    class="menu-item <?php if(Route::is('admin.diamond_payout') || Route::is('admin.diamond_roi_gen_history') || Route::is('admin.paid_roi') || Route::is('admin.diamond_payout_team')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.diamond_payout')); ?>" class="menu-link">
                        <div data-i18n="Diamond Payout">Diamond Payout</div>
                    </a>
                </li>

                <li
                    class="menu-item <?php if(Route::is('admin.diamond_bob_payout') || Route::is('admin.diamond_bdb_payout_team') || Route::is('admin.diamond_bdb_gen_history')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.diamond_bob_payout')); ?>" class="menu-link">
                        <div data-i18n="Diamond BDB Payout">Diamond BDB Payout</div>
                    </a>
                </li>
                <li
                    class="menu-item <?php if(Route::is('admin.diamond_level_gen_history') || Route::is('admin.diamond_level_payout') || Route::is('admin.diamond_level_payout_team') || Route::is('admin.diamond_generated_history')): ?> active <?php endif; ?>">
                    <a href="<?php echo e(route('admin.diamond_level_payout')); ?>" class="menu-link">
                        <div data-i18n="Diamond Level Payout">Diamond Level Payout</div>
                    </a>
                </li>
            </ul>
        </li>
        <li class="menu-item <?php if(Route::is('admin.gold_points') || Route::is('admin.wallet_history')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.gold_points')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-crown"></i>
                <div data-i18n="Gold Points">Gold Points</div>
            </a>
        </li>
        <li class="menu-item <?php if(Route::is('admin.diamond_request')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.diamond_request')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-diamond"></i>
                <div data-i18n="Diamond Request">Diamond Request</div>
            </a>
        </li>
        <!-- <li
            class="menu-item <?php if(Route::is('admin.diamond_generate') || Route::is('admin.diamond_roi_gen') || Route::is('admin.bond_details') || Route::is('admin.diamond_bdb_gen')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.diamond_generate')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-diamond"></i>
                <div data-i18n="Diamond Generate">Diamond Generate</div>
            </a>
        </li> -->
        <li class="menu-item <?php if(Route::is('admin.block_roi')||Route::is('admin.block_roi_report')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.block_roi')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-ban"></i>
                <div data-i18n="Block ROI">Block ROI</div>
            </a>
        </li>

         <li
            class="menu-item <?php if(Route::is('admin.product_wallet') || Route::is('admin.monthly_wallet') || Route::is('admin.product_wallet_history')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.product_wallet')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-wallet"></i>
                <div data-i18n="Product Wallet">Product Wallet</div>
            </a>
        </li>
        <li class="menu-item <?php if(Route::is('admin.update_news')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.update_news')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-photo"></i>
                <div data-i18n="Update News">Update News</div>
            </a>
        </li>

        <!-- <li class="menu-item <?php if(Route::is('admin.reset_password')): ?> active <?php endif; ?>">
            <a href="<?php echo e(route('admin.reset_password')); ?>" class="menu-link">
                <i class="menu-icon icon-base ti tabler-lock"></i>
                <div data-i18n="Reset Password">Reset Password</div>
            </a>
        </li> -->

        <li class="menu-item">
            <a href="#" class="menu-link" data-bs-toggle="modal" data-bs-target="#logout">
                <i class="menu-icon icon-base ti tabler-logout"></i>
                <div data-i18n="Logout">Logout</div>
            </a>
        </li>
    </ul>
</aside>

<div class="menu-mobile-toggler d-xl-none rounded-1">
    <a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large text-bg-secondary p-2 rounded-1">
        <i class="ti tabler-menu icon-base"></i>
        <i class="ti tabler-chevron-right icon-base"></i>
    </a>
</div>

<div class="modal fade" id="logout" tabindex="-1" data-bs-backdrop="static" data-bs-keyboard="false">
    <div class="modal-dialog modal-sm modal-dialog-centered">
        <div class="modal-content rounded-4 text-center p-4 py-5">
            <h5 class="fw-bold mb-2">Are you sure!!</h5>
            <p class="text-muted">Are you confirm to logout?</p>

            <div class="d-flex justify-content-center align-items-center gap-3 mt-4">

                <form action="<?php echo e(route('admin.logout_form')); ?>" method="get" id="logoutForm">
                    <?php echo csrf_field(); ?>

                    <button type="button" class="btn btn-outline-primary p-3 fw-semibold me-3" data-bs-dismiss="modal">
                        Cancel
                    </button>

                    <button type="submit" class="btn btn-danger p-3 fw-semibold" id="logout_btn">
                        Yes, Sure
                    </button>
                </form>
            </div>
        </div>
    </div>
</div>


<script>
    document.getElementById('logout_btn').addEventListener('click', function() {
        let btn = this;
        btn.disabled = true;
        btn.innerText = 'Processing...';
        document.getElementById('logoutForm').submit();
    });
</script><?php /**PATH /var/www/html/omiga_ipl/resources/views/Layout/side_bar.blade.php ENDPATH**/ ?>