<div>
    <div class="navbar-bg"></div>
    <nav class="navbar navbar-expand-lg main-navbar sticky">
        <div class="form-inline mr-auto">
            <ul class="navbar-nav mr-3">
                <li><a href="#" data-toggle="sidebar" class="nav-link nav-link-lg
                    collapse-btn">
                        <i data-feather="align-justify"></i></a></li>
                <li><a href="#" class="nav-link nav-link-lg fullscreen-btn">
                        <i data-feather="maximize"></i>
                    </a>
                </li>
            </ul>
        </div>
        <ul class="navbar-nav navbar-right">
            <li class="dropdown"><a href="#" data-toggle="dropdown"
                    class="nav-link dropdown-toggle nav-link-lg nav-link-user"> <img alt="image"
                        src="<?php echo e(asset('logo.png')); ?>" class="user-img-radious-style"> <span
                        class="d-sm-none d-lg-inline-block"></span></a>
                <div class="dropdown-menu dropdown-menu-right pullDown">
                    <div class="dropdown-title">Hello <?php echo e(auth()->user()->name); ?></div>
                    <div class="dropdown-divider"></div>
                    <a href="/logout" class="dropdown-item has-icon text-danger"> <i class="fas fa-sign-out-alt"></i>
                        Logout
                    </a>
                </div>
            </li>
        </ul>
    </nav>
    <div class="main-sidebar sidebar-style-2">
        <aside id="sidebar-wrapper">
            <div class="sidebar-brand">
                <a href="index.html"> <img alt="image" src="<?php echo e(asset('logo.png')); ?>" class="header-logo" />

                </a>
            </div>
            <ul class="sidebar-menu">
                <li class="menu-header">Main</li>
                <li class="dropdown <?php echo e(request()->is('dashboard') ? 'active' : ''); ?> ">
                    <a href="/dashboard" class="nav-link">
                        <i data-feather="monitor"></i>
                        <span class="font-weight-bold">Dashboard</span>
                    </a>
                </li>
                <li class="dropdown <?php echo e(request()->is('slider-images') ? 'active' : ''); ?> ">
                    <a href="/slider-images" class="nav-link">
                        <i data-feather="image"></i>
                        <span class="font-weight-bold">Slider Images</span>
                    </a>
                </li>
                <?php if(env('ADVANCE_MATKA', 0)): ?>
                    <li class="dropdown <?php echo e(request()->is('profits') ? 'active' : ''); ?> ">
                        <a href="/profits" class="nav-link">
                            <i data-feather="dollar-sign"></i>
                            <span class="font-weight-bold">Profits</span>
                        </a>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('users')): ?>
                    <li class=" <?php echo e(request()->is('users**') ? 'active' : ''); ?> ">
                        <a class="menu-toggle nav-link has-dropdown"><i data-feather="users"></i><span
                                class="font-weight-bold">Users
                                <?php if(isset($users_count_after_login) && $users_count_after_login > 0): ?>
                                    <p class="badge badge-danger">
                                        <?php echo e($users_count_after_login); ?>

                                    </p>
                                <?php endif; ?>
                            </span></a>
                        <ul class="dropdown-menu">
                            <li class="<?php echo e(request()->is('users') ? 'active' : ''); ?> "><a href="<?php echo e(route('users.index')); ?>"
                                    class="nav-link">
                                    Users </a></li>
                            <li class="<?php echo e(request()->is('users/withdraw-details') ? 'active' : ''); ?> ">
                                <a href="<?php echo e(route('users.withdraw-details.index')); ?>" class="nav-link">
                                    Withdraw Details
                                </a>
                            </li>
                        </ul>
                    </li>
                <?php endif; ?>

                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('app-data')): ?>
                    

                    <li class=" <?php echo e(request()->is('app-data**') ? 'active' : ''); ?> ">
                        <a class="menu-toggle nav-link has-dropdown">
                            <i data-feather="database"></i>
                            <span class="font-weight-bold">App Data</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="<?php echo e(request()->is('app-data') ? 'active' : ''); ?> ">
                                <a href="<?php echo e(route('app-data.index')); ?>" class="nav-link">General Setting </a>
                            </li>
                        </ul>
                    </li>
                    
                <?php endif; ?>

                <li class=" <?php echo e(request()->is('gifts') ? 'active' : ''); ?> ">
                    <a href="<?php echo e(route('gifts.index')); ?>" class="nav-link">
                        <i data-feather="gift"></i><span class="font-weight-bold">Gifts</span>
                    </a>
                </li>

                <?php if(!$enableDesawarOnly): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('markets')): ?>
                        <li class=" <?php echo e(request()->is('markets**') ? 'active' : ''); ?> ">
                            <a class="menu-toggle nav-link has-dropdown">
                                <i data-feather="layers"></i><span class="font-weight-bold">Markets</span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="<?php echo e(request()->is('markets') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('markets.index')); ?>" class="nav-link">
                                        Markets
                                    </a>
                                </li>
                                <li class="<?php echo e(request()->is('pana-chart') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('markets.panaChart')); ?>" class="nav-link">
                                        Charts
                                    </a>
                                </li>
                                <li class="<?php echo e(request()->is('markets/records') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('markets.records')); ?>" class="nav-link">
                                        Records
                                    </a>
                                </li>
                                <li class="<?php echo e(request()->is('markets/results') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('markets.results')); ?>" class="nav-link">
                                        Results
                                    </a>
                                </li>
                                <?php if(env('ADVANCE_MATKA', 0)): ?>
                                    <li class="<?php echo e(request()->is('markets/prediction-results') ? 'active' : ''); ?> ">
                                        <a href="<?php echo e(route('markets.prediction-results.index')); ?>" class="nav-link">
                                            Prediction
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <li class="<?php echo e(request()->is('markets/win-history') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('markets.win-history')); ?>" class="nav-link">
                                        Win History
                                    </a>
                                </li>
                                <?php if(env('ADVANCE_MATKA', 0)): ?>
                                    <li class="<?php echo e(request()->is('markets/data') ? 'active' : ''); ?> ">
                                        <a href="<?php echo e(route('markets.data')); ?>" class="nav-link">
                                            Data
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('startLine')): ?>
                        <li class=" <?php echo e(request()->is('start-line-markets**') ? 'active' : ''); ?> ">
                            <a class="menu-toggle nav-link has-dropdown">
                                <i data-feather="layers"></i><span class="font-weight-bold">Start Line Markets</span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="<?php echo e(request()->is('start-line-markets') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('start-line-markets.index')); ?>" class="nav-link">
                                        Markets
                                    </a>
                                </li>
                                <li class="<?php echo e(request()->is('start-line-markets/records') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('start-line-markets.records')); ?>" class="nav-link">
                                        Records
                                    </a>
                                </li>
                                <li class="<?php echo e(request()->is('start-line-markets/results') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('start-line-markets.results')); ?>" class="nav-link">
                                        Results
                                    </a>
                                </li>
                                <?php if(env('ADVANCE_MATKA', 0)): ?>
                                    <li
                                        class="<?php echo e(request()->is('start-line-markets/prediction-results') ? 'active' : ''); ?> ">
                                        <a href="<?php echo e(route('start-line-markets.prediction-results.index')); ?>"
                                            class="nav-link">
                                            Prediction
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <li class="<?php echo e(request()->is('start-line-markets/win-history') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('start-line-markets.win-history')); ?>" class="nav-link">
                                        Win History
                                    </a>
                                </li>
                                <?php if(env('ADVANCE_MATKA', 0)): ?>
                                    <li class="<?php echo e(request()->is('start-line-markets/data') ? 'active' : ''); ?> ">
                                        <a href="<?php echo e(route('start-line-markets.data')); ?>" class="nav-link">
                                            Data
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </li>
                    <?php endif; ?>
                <?php endif; ?>
                <?php if($enableDesawar): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('desawar')): ?>
                        <li class=" <?php echo e(request()->is('desawar**') ? 'active' : ''); ?> ">
                            <a class="menu-toggle nav-link has-dropdown">
                                <i data-feather="layers"></i><span class="font-weight-bold">Desawar Markets</span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="<?php echo e(request()->is('desawar-markets') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('desawar-markets.index')); ?>" class="nav-link">
                                        Markets
                                    </a>
                                </li>
                                <?php if(env('ADVANCE_MATKA', 0)): ?>
                                    <li class="<?php echo e(request()->is('desawar-markets/chart') ? 'active' : ''); ?> ">
                                        <a href="<?php echo e(route('desawar-markets.chart')); ?>" class="nav-link">
                                            Charts
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <li class="<?php echo e(request()->is('desawar-markets/records') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('desawar-markets.records')); ?>" class="nav-link">
                                        Records
                                    </a>
                                </li>
                                <li class="<?php echo e(request()->is('desawar-markets/results') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('desawar-markets.results')); ?>" class="nav-link">
                                        Results
                                    </a>
                                </li>
                                <?php if(env('ADVANCE_MATKA', 0)): ?>
                                    <li
                                        class="<?php echo e(request()->is('desawar-markets/prediction-results') ? 'active' : ''); ?> ">
                                        <a href="<?php echo e(route('desawar-markets.prediction-results.index')); ?>"
                                            class="nav-link">
                                            Prediction
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <li class="<?php echo e(request()->is('desawar-markets/win-history') ? 'active' : ''); ?> ">
                                    <a href="<?php echo e(route('desawar-markets.win-history')); ?>" class="nav-link">
                                        Win History
                                    </a>
                                </li>
                            </ul>
                        </li>
                    <?php endif; ?>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('game-types')): ?>
                    <li class=" <?php echo e(request()->is('game-types**') ? 'active' : ''); ?> ">
                        <a href="<?php echo e(route('game-types.index')); ?>" class="nav-link">
                            <i data-feather="play"></i><span class="font-weight-bold">Game Types</span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('transactions')): ?>
                    <li class=" <?php echo e(request()->is('transactions**') ? 'active' : ''); ?> ">
                        <a class="menu-toggle nav-link has-dropdown"><i data-feather="dollar-sign"></i><span
                                class="font-weight-bold">Transactions</span></a>
                        <ul class="dropdown-menu">
                            <li class="<?php echo e(request()->is('transactions') ? 'active' : ''); ?> "><a
                                    href="<?php echo e(route('transactions.index')); ?>" class="nav-link">
                                    User Transactions </a></li>
                            <?php if(env('AGENT_ACTIVE', 0)): ?>
                                <li class="<?php echo e(request()->is('transactions/agent') ? 'active' : ''); ?> "><a
                                        href="<?php echo e(route('transactions.agent')); ?>" class="nav-link">
                                        Agent Transactions </a></li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('notifications')): ?>
                    <li class=" <?php echo e(request()->is('notifications') ? 'active' : ''); ?> ">
                        <a href="<?php echo e(route('notifications.index')); ?>" class="nav-link">
                            <i data-feather="bell"></i><span class="font-weight-bold">Notfications</span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if(env('AGENT_ACTIVE', 0)): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('agents')): ?>
                        <li class=" <?php echo e(request()->is('agents**') ? 'active' : ''); ?> ">
                            <a href="<?php echo e(route('agents.index')); ?>" class="nav-link">
                                <i data-feather="user-plus"></i><span class="font-weight-bold">Agents</span>
                            </a>
                        </li>
                    <?php endif; ?>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sub-admins')): ?>
                    <li class=" <?php echo e(request()->is('sub-admins**') ? 'active' : ''); ?> ">
                        <a href="<?php echo e(route('sub-admins.index')); ?>" class="nav-link">
                            <i data-feather="user-plus"></i><span class="font-weight-bold">Sub Admins</span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('withdraw-history')): ?>
                    <li class=" <?php echo e(request()->is('withdraw-history**') ? 'active' : ''); ?> ">
                        <a class="menu-toggle nav-link has-dropdown"><i data-feather="book-open"></i><span
                                class="font-weight-bold">Withdraw History
                                <p class="badge badge-danger">
                                    <?php echo e($pendingWithdrawsCount); ?>

                                </p>
                            </span></a>
                        <ul class="dropdown-menu">
                            <li class="<?php echo e(request()->is('withdraw-history') ? 'active' : ''); ?> "><a
                                    href="<?php echo e(route('withdraw-history.index')); ?>" class="nav-link">
                                    User Withdraws </a></li>
                            <?php if(env('AGENT_ACTIVE', 0)): ?>
                                <li class="<?php echo e(request()->is('withdraw-history/agent') ? 'active' : ''); ?> "><a
                                        href="<?php echo e(route('withdraw-history.agent')); ?>" class="nav-link">
                                        Agent Withdraws </a></li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('deposit-history')): ?>
                    <li class=" <?php echo e(request()->is('deposit-history**') ? 'active' : ''); ?> ">
                        <a href="<?php echo e(route('deposit-history.index')); ?>" class="nav-link">
                            <i data-feather="book-open"></i>
                            <span class="font-weight-bold">Deposit History
                                <p class="badge badge-danger">
                                    <?php echo e($pendingDepositsCount); ?>

                                </p>
                            </span>
                        </a>
                    </li>
                <?php endif; ?>
                <li class=" <?php echo e(request()->is('change-password**') ? 'active' : ''); ?> ">
                    <a href="<?php echo e(route('change-password.index')); ?>" class="nav-link">
                        <i data-feather="lock"></i><span class="font-weight-bold">Change Password</span>
                    </a>
                </li>
            </ul>
        </aside>
    </div>
</div>
<?php /**PATH /home/shyambabamatka/public_html/alpha786.com/resources/views/layouts/navbar.blade.php ENDPATH**/ ?>