<!-- Left Sidebar -->
<aside id="minileftbar" class="minileftbar">
    <?php if(auth('web')->user()->user_type == 'partner'): ?>
        <ul class="menu_list">

            <li><a href="javascript:void(0);" class="menu-sm"><i class="zmdi zmdi-swap"></i></a></li>
            <li><a href="javascript:void(0);" class="fullscreen" data-provide="fullscreen"><i
                        class="zmdi zmdi-fullscreen"></i></a></li>

            <li class="power">
                <a href="<?php echo e(route('partnerlogout')); ?>" onclick="logout(event)" class="mega-menu"><i
                        class="zmdi zmdi-power"></i></a>
            </li>
        </ul>
    <?php elseif(auth('web')->user()->user_type == 'individual_user'): ?>
        <ul class="menu_list">

            <li><a href="javascript:void(0);" class="menu-sm"><i class="zmdi zmdi-swap"></i></a></li>
            <li><a href="javascript:void(0);" class="fullscreen" data-provide="fullscreen"><i
                        class="zmdi zmdi-fullscreen"></i></a></li>

            <li class="power">
                <a href="<?php echo e(route('auth.logout')); ?>" onclick="logout(event)" class="mega-menu"><i
                        class="zmdi zmdi-power"></i></a>
            </li>
        </ul>
    <?php endif; ?>
</aside>

<aside class="right_menu">
    <div id="leftsidebar" class="sidebar">
        <div class="menu">
            <?php if(auth('web')->user()->user_type == 'partner'): ?>
                <ul class="list">
                    <li>
                        <div class="user-info m-b-20">
                            <div class="image">
                                <a href="<?php echo e(route('user.dashboard')); ?>">
                                    <img src="<?php echo e(asset(check_file(auth('web')->user()->image, 'user'))); ?>"
                                        alt="User">
                                </a>
                            </div>
                            <div class="detail">
                                <h6><?php echo e(auth('web')->user()->name); ?></h6>
                                <p class="m-b-0"><?php echo e(auth('web')->user()->institute_name); ?></p>
                                <p class="m-b-0"><?php echo e(auth('web')->user()->email); ?></p>
                            </div>
                        </div>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'dashboard' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.dashboard')); ?>">
                            <i class="zmdi zmdi-home"></i><span>Dashboard</span>
                        </a>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'student_registration' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.student.add_student')); ?>" class="menu">
                            <i class="fas fa-user-edit"></i><span>Register Student</span>
                        </a>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'partner_invoice' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.invoice.all')); ?>" class="menu-toggle">
                            <i class="fas fa-receipt"></i><span>Invoices</span>
                        </a>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'result' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.result.view')); ?>" class="menu-toggle">
                            <i class="fas fa-chart-line"></i><span>Result</span>
                        </a>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'password' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.profile.edit')); ?>" class="menu-toggle">
                            <i class="fas fa-lock"></i><span>Password</span>
                        </a>
                    </li>
                     <li class="">
                        <a href="<?php echo e(route('auth.logout')); ?>" onclick="logout(event)">
                            <i class="zmdi zmdi-power"></i><span>Logout</span>
                        </a>
                    </li>
                </ul>
            <?php elseif(auth('web')->user()->user_type == 'individual_user'): ?>
                <ul class="list">
                    <li>
                        <div class="user-info m-b-20">
                            <div class="image">
                                <a href="<?php echo e(route('user.dashboard')); ?>">
                                    <img src="<?php echo e(asset(check_file(auth('web')->user()->image, 'user'))); ?>"
                                        alt="User">
                                </a>
                            </div>
                            <div class="detail">
                                <h6><?php echo e(auth('web')->user()->name); ?></h6>
                                <p class="m-b-0"><?php echo e(auth('web')->user()->full_name); ?></p>
                                <p class="m-b-0"><?php echo e(auth('web')->user()->email); ?></p>
                            </div>
                        </div>
                    </li>
                    

                    <li class="<?php echo e($sidebar_menu == 'all_cards' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.cards.all')); ?>">
                            <i class="fas fa-medal"></i><span>Cards</span>
                        </a>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'my_card' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.cards.mycard')); ?>">
                            <i class="fas fa-id-card"></i><span>My Cards</span>
                        </a>
                    </li>
                    <li class="<?php echo e($sidebar_menu == 'profile' ? 'active open' : ''); ?>">
                        <a href="<?php echo e(route('user.userprofile.edit')); ?>">
                            <i class="fas fa-user-circle"></i><span>Profile</span>
                        </a>
                    </li>
 <li class="">
                        <a href="<?php echo e(route('auth.logout')); ?>" onclick="logout(event)">
                            <i class="zmdi zmdi-power"></i><span>Logout</span>
                        </a>
                    </li>
                </ul>
            <?php endif; ?>
        </div>
    </div>
</aside>
<?php /**PATH D:\laragon\www\oshta\resources\views/components/front_sidebar.blade.php ENDPATH**/ ?>