<nav class="navbar">
    <div class="container-fluid">

        <div class="header-logo">
            <a href="#">
                <img class="d-none d-lg-block" src="<?php echo e(asset('public/logo.png')); ?>" alt="...">
                <img class="d-lg-none d-sm-block" src="<?php echo e(asset('public/mobile-logo.png')); ?>" alt="...">
            </a>
        </div>

        <div class="header-body">
            <form class="search">
                <div class="row">
                    


                    <div class="col-md-4">
                        
                        <select class="form-control select2 schools">
                            <?php if(!empty($schools)): ?>
                                <option value="">--select-school--</option>
                                <?php $__currentLoopData = $schools; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $school): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($school->id); ?>"
                                        <?php if(Request::session()->has('school')): ?> <?php echo e(Request::session()->get('school')['id'] == $school->id ? 'selected' : ''); ?> <?php endif; ?>>
                                        <?php echo e($school->school); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
                        </select>
                    </div>

                    <div class="col-md-4">
                        <select class="form-control select2 Langchange">
                            <option value="" disabled>--Select Language--</option>
                            <option value="en" <?php echo e(session()->get('locale') == 'en' ? 'selected' : ''); ?>>English
                            </option>
                            <option value="hi" <?php echo e(session()->get('locale') == 'hi' ? 'selected' : ''); ?>>Hindi
                            </option>
                        </select>
                    </div>



                    <div class="col-md-3">
                        <div class="input-group">
                            <input type="text" class="form-control" placeholder="Search Student">
                            <div class="input-group-append">
                                <button class="btn btn-light" type="button" id="button-addon2">
                                    <i class="fa fa-search"></i>
                                </button>
                            </div>
                        </div>
                    </div>

                </div>
            </form>
            <ul class="navbar-nav">
                <li class="nav-item dropdown">
                    <a href="#" class="nav-link" data-toggle="dropdown">
                        <i class="fa fa-user-o"></i>
                    </a>
                    <div class="dropdown-menu dropdown-menu-right dropdown-menu-big">
                        <div class="dropdown-menu-title text-center"
                            data-backround-image="<?php echo e(asset('public/admin/media/image/image1.png')); ?>">
                            <figure class="avatar avatar-state-success avatar-sm m-b-10 bring-forward">
                                <img src="<?php echo e(!empty($myprofile->profile_pics) ? $myprofile->profile_pics : asset('public/admin/media/image/avatar.jpg')); ?>"
                                    class="rounded-circle" alt="image">
                            </figure>
                            <h6 class="text-uppercase font-size-12 m-b-0"></h6>
                        </div>
                        <div class="dropdown-menu-body">
                            <ul class="list-group list-group-flush">
                                <a href="<?php echo e(asset('profile')); ?>" class="list-group-item link-2">Profile</a>
                                <a href="<?php echo e(asset('logout')); ?>" class="list-group-item text-danger">Logout</a>
                            </ul>
                        </div>
                    </div>
                </li>
                <li class="nav-item d-lg-none d-sm-block">
                    <a href="#" class="nav-link side-menu-open">
                        <i class="ti-menu"></i>
                    </a>
                </li>
            </ul>
        </div>

    </div>
</nav>


<?php /**PATH F:\xampp\htdocs\visitor_management\resources\views/components/nav-bar.blade.php ENDPATH**/ ?>