<?php if(auth()->guard()->guest()): ?>
        <?php if(request()->routeIs('home')): ?>
        
    <script type="text/javascript">
        $(window).on('load', function() {
            $('#staticBackdrop').modal('show');
            $('#staticBackdrop').modal({backdrop: 'static', keyboard: false})
        });
    </script>
    <div class="modal fade show" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" style="display: block;" aria-modal="true" role="dialog">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="staticBackdropLabel"><?php echo app('translator')->get('Login'); ?> Alert :</h5>
          <!-- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> -->
        </div>
        <div class="modal-body">
          You must login to use everyting. Thank you..
        </div>
        <div class="modal-footer">
          
          <a href="<?php echo e(route('user.login')); ?>" class="btn btn-primary bg--primary"><?php echo app('translator')->get('Login'); ?> Now</a>
        </div>
      </div>
    </div>
  </div>
  <div class="modal-backdrop fade show"></div>
  <?php endif; ?>
<?php endif; ?>
    <div class="appHeader bg--primary text-light">
        <div class="left">
            <div class="language d-flex align-items-center">
                <select class="nic-select langSel text-dark w-10">
                    <?php
                        $langs = App\Models\Language::all();
                    ?>
                    <?php $__currentLoopData = $langs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($lang->code); ?>" <?php if(Session::get('lang')===$lang->code): ?> selected
                            <?php endif; ?>><?php echo e(__($lang->name)); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
            </div>
        </div>
        <a class="pageTitle" href="<?php echo e(route('home')); ?>">
            <img src="<?php echo e(asset('assets/images/logoIcon/logo.png')); ?>" alt="logo" class="logo" style="max-height: 45px;">
        </a>
        <div class="right">
            <a href="<?php echo e(route('user.home')); ?>">
                <img src="/assets/templates/smartlab/images/profile-orko-white-copy.png" alt="image" class="imaged rounded-circle w32">
            </a>
        </div>
    </div>
<?php /**PATH /home/earnusdt/public_html/core/resources/views/templates/smartlab/partials/header.blade.php ENDPATH**/ ?>