<!DOCTYPE html>

<html lang="en">



<head>

  <meta charset="utf-8">

  <meta content="width=device-width, initial-scale=1.0" name="viewport">



  <title>Sanorita</title>

  <meta content="" name="description">

  <meta content="" name="keywords">



  <!-- Favicons -->



  <link href="<?php echo e(url('public/LMS-fav.png')); ?>" rel="icon" type="image/x-icon">

  

  <!-- Google Fonts -->

  <link href="<?php echo e(url('https://fonts.gstatic.com')); ?>" rel="preconnect">

  <link href="<?php echo e(url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i')); ?>" rel="stylesheet">



  <!-- Vendor CSS Files -->

  <link href="<?php echo e(url('assets/vendor/bootstrap/css/bootstrap.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(url('assets/vendor/bootstrap-icons/bootstrap-icons.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(url('assets/vendor/boxicons/css/boxicons.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(url('assets/vendor/quill/quill.snow.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(url('assets/vendor/quill/quill.bubble.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(url('assets/vendor/remixicon/remixicon.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(url('assets/vendor/simple-datatables/style.css')); ?>" rel="stylesheet">



  <!-- Template Main CSS File -->

  <link href="<?php echo e(url('assets/css/style.css')); ?>" rel="stylesheet">

  



  <!-- =======================================================

  * Template Name: NiceAdmin - v2.5.0

  * Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/

  * Author: BootstrapMade.com

  * License: https://bootstrapmade.com/license/

  ======================================================== -->

</head>



<body>



  <!-- ======= Header ======= -->

  <header id="header" class="header fixed-top d-flex align-items-center">



    <div class="d-flex align-items-center justify-content-between ">

      

      <a href="<?php echo e(url('/index')); ?>" class="d-flex align-items-center">

        

      <!--   <div class="rounded-circle border d-flex justify-content-center align-items-center"

                     style="width:60px;height:60px" alt="Avatar"> -->

            <div>        

            <?php if(Session::get('data')): ?>

            <img class="mb-3" alt="avatar1" src="<?php echo e(url('public/Image/'.Session::get('data'))); ?>"style="height:50px; margin-top: 15px;">  

            <?php else: ?>

            <i class="bi bi-house-door-fill" style="font-size: 50px;"></i>

            <?php endif; ?>   

            </div>   

         <!-- </div> -->

        <span class="d-none d-lg-block"></span>

       

      </a>

      

      <i class="bi bi-list toggle-sidebar-btn"></i>

    </div><!-- End Logo -->



   



    <nav class="header-nav ms-auto">

      <ul class="d-flex align-items-center">

         <li class="search-bar">

          <div>

          <form class="search-form d-flex align-items-center" method="POST" action="<?php echo e(url('/searchlead')); ?>">

            <?php echo csrf_field(); ?>

            <input type="text" name="searchquery" placeholder="Search" title="Enter search keyword" required>

            <button type="submit" title="Search"><i class="bi bi-search"></i></button>

          </form>

         </div><!-- End Search Bar -->

        </li>

        <li class="nav-item d-block d-lg-none">

          <a class="nav-link nav-icon search-bar-toggle " href="#">

            <i class="bi bi-search"></i>

          </a>

        </li><!-- End Search Icon-->

       

        <li class="nav-item dropdown pe-3">

          <a class="nav-link nav-profile d-flex align-items-center pe-0" href="#" data-bs-toggle="dropdown">

               <?php if(Auth::user()->profile==null): ?>

                <div class="rounded-circle border d-flex justify-content-center align-items-center"

                     style="width:49px;height:48px" alt="Avatar">

                    <i class="bi bi-person-circle " style="font-size: 49px;"></i>

                </div>

               <?php else: ?>

                <img  src="<?php echo e(url('public/Image/'.Auth::user()->profile)); ?>" alt="avatar1" class="rounded-circle"   style="height:47px; width:37px;">

               <?php endif; ?>

               <span class="d-none d-md-block dropdown-toggle ps-2"></span>

          </a><!-- End Profile Iamge Icon -->



          <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow profile">

          

            <li class="dropdown-header">

              <h6 > <?php echo e(Auth::user()->name); ?> </h6>

              <span></span> 

            </li>

            

            <li>

              <a class="dropdown-item d-flex align-items-center" href="<?php echo e(url('/users-profile')); ?>">

                <i class="bi bi-person"></i>

                <span>My Profile</span>

              </a>

            </li>

          

            <li>

              <a class="dropdown-item d-flex align-items-center" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault(); document.getElementById('frm-logout').submit();">Logout</a>    

              <form id="frm-logout" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">

                 <?php echo e(csrf_field()); ?>


              </form>

            </li>

          </ul><!-- End Profile Dropdown Items -->

        </li><!-- End Profile Nav -->

      </ul>

    </nav><!-- End Icons Navigation -->



  </header><!-- End Header -->



  <!-- ======= Sidebar ======= -->

  <aside id="sidebar" class="sidebar" >

    <ul class="sidebar-nav" id="sidebar-nav">



      <li class="nav-item">

        <a class="nav-link " href="<?php echo e(url('/index')); ?>">

         <i class="bi bi-speedometer2"></i>

          <span>Dashboard</span>

        </a>

      </li><!-- End Dashboard Nav -->

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

      <li class="nav-item">

        <a class="nav-link collapsed" data-bs-target="#components-nav" data-bs-toggle="collapse" href="#">

          <i class="bi bi-menu-button-wide"></i><span>Roles</span><i class="bi bi-chevron-down ms-auto"></i>

        </a>

        <ul id="components-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">
          <?php if(Auth::user()->role=='Admin'||Auth::user()->role=='admin'): ?>
          <li>

            <a href="<?php echo e(url('/addroles')); ?>">

              <i class="bi bi-circle"></i><span>Manage Roles</span>

            </a>

          </li>
          <?php endif; ?>

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

          <li>

            <a href="<?php echo e(url('/showallusers')); ?>">

              <i class="bi bi-circle"></i><span>Users</span>

            </a>

          </li>

          <?php endif; ?>

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

          <li>

            <a href="<?php echo e(url('/newgroup')); ?>">

              <i class="bi bi-circle"></i><span>Groups</span>

            </a>

          </li>

          <?php endif; ?>

        </ul>

      </li> 

    <?php endif; ?>     



    <?php if(Auth::user()->role=="Admin"): ?>

     <li class="nav-item">

        <a class="nav-link collapsed" data-bs-target="#tables-nav" data-bs-toggle="collapse" href="#">

          <i class="bi bi-layout-text-window-reverse"></i><span>Pool</span><i class="bi bi-chevron-down ms-auto"></i>

        </a>

        <ul id="tables-nav" class="nav-content collapse" data-bs-parent="#sidebar-nav">

          <li>

            <a href="<?php echo e(url('/leadpool')); ?>">

              <i class="bi bi-circle"></i><span>Lead Pool</span>

            </a>

          </li>

          <li>

            <a href="<?php echo e(url('/contactpool')); ?>">

              <i class="bi bi-circle"></i><span>Contact Pool</span>

            </a>

          </li> 

           <li>

            <a href="<?php echo e(url('/freshpool')); ?>">

              <i class="bi bi-circle"></i><span>Fresh Pool</span>

            </a>

          </li> 

        </ul>

      </li>  <!-- End Pool Nav -->

    <?php endif; ?>



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

       <li class="nav-item">

        <a class="nav-link collapsed" data-bs-target="#forms-nav" data-bs-toggle="collapse" href="#">

        <i class="bi bi-person-fill-gear"></i><span>Leads</span><i class="bi bi-chevron-down ms-auto"></i>

        </a>

        <ul id="forms-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">

          <li>

            <a href="<?php echo e(url('/showlead')); ?>">

              <i class="bi bi-circle"></i><span>View Lead</span>

            </a>

          </li>

          <li>

            <a href="<?php echo e(url('/addnewlead')); ?>">

              <i class="bi bi-circle"></i><span>New Lead</span>

            </a>

          </li>

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

          <li>

            <a href="<?php echo e(url('/leadsource')); ?>">

              <i class="bi bi-circle"></i><span>Lead Source</span>

            </a>

          </li>

          <?php endif; ?>  

        </ul>

      </li><!-- End Forms Nav -->

      <?php endif; ?>



      <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/contactleads')); ?>">

             <i class="bi bi-sliders"></i><span>Contacts</span>

        </a>

      </li> 

      <li class="nav-item">

            <a class="nav-link collapsed" href="<?php echo e(url('/paidleads')); ?>">

              <i class="bi bi-sliders"></i><span>Paid Clients</span>

            </a>

      </li>

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

      <li class="nav-item">

            <a class="nav-link collapsed" href="<?php echo e(url('/serviceinvoice')); ?>">

              <i class="bi bi-card-text"></i><span>Service Invoice</span>

            </a>

      </li>

      <?php endif; ?> 

       <!--  <li class="nav-item">

            <a class="nav-link collapsed" href="#">

              <i class="bi bi-person"></i>

              <span>HR</span>

            </a>

       </li>  -->

    

        <!-- <a class="nav-link collapsed" data-bs-target="#" data-bs-toggle="collapse" href="#">

         <i class="bi bi-sliders"></i><span>Leads Status</span><i class="bi bi-chevron-down ms-auto"></i>

        </a>

        <ul id="charts-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">

          <li>

            

          </li>

          <li>

           

          </li>

           

        </ul> -->

       <!-- End Charts Nav -->



       

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

      <li class="nav-item">

        <a class="nav-link collapsed" data-bs-target="#icons-nav" data-bs-toggle="collapse" href="#">

         <i class="bi bi-gear"></i><span>Setting</span><i class="bi bi-chevron-down ms-auto"></i>

        </a>

        <ul id="icons-nav" class="nav-content collapse " data-bs-parent="#sidebar-nav">

       

          <li>

            <a href="<?php echo e(url('/users-profile')); ?>">

              <i class="bi bi-circle"></i><span>Company</span>

            </a>

          </li>

       

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

          <li>

            <a href="<?php echo e(url('/importfile-pages')); ?>">

              <i class="bi bi-circle"></i><span>Import</span>

            </a>

          </li>

          <?php endif; ?>

         <!--  <li>

            <a href="<?php echo e(url('/currency-page')); ?>">

              <i class="bi bi-circle"></i><span>Currency</span>

            </a>

          </li> -->

          

        </ul>

      </li> <!-- End Icons Nav -->

      <?php endif; ?>

      

      



      <!-- <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/pages-faq')); ?>">

          <i class="bi bi-question-circle"></i>

          <span>F.A.Q</span>

        </a>

      </li> --><!-- End F.A.Q Page Nav -->



     <!--  <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/pages-contact')); ?>">

          <i class="bi bi-envelope"></i>

          <span>Contact</span>

        </a>

      </li> --><!-- End Contact Page Nav -->



      <!-- <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/regist')); ?>">

          <i class="bi bi-card-list"></i>

          <span>Register</span>

        </a>

      </li> --><!-- End Register Page Nav -->



     <!--  <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/')); ?>">

          <i class="bi bi-box-arrow-in-right"></i>

          <span>Login</span>

        </a>

      </li> --><!-- End Login Page Nav -->



      <!-- <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/pages-error-404')); ?>">

          <i class="bi bi-dash-circle"></i>

          <span>Error 404</span>

        </a>

      </li> --><!-- End Error 404 Page Nav -->



      <!-- <li class="nav-item">

        <a class="nav-link collapsed" href="<?php echo e(url('/pages-blank')); ?>">

          <i class="bi bi-file-earmark"></i>

          <span>Blank</span>

        </a>

      </li> --><!-- End Blank Page Nav -->



    </ul>



  </aside><!-- End Sidebar--><?php /**PATH /home/wwwtechturtlecon/public_html/lms.techturtleconsultant.com/resources/views/frontend/layouts/header.blade.php ENDPATH**/ ?>