<?php
    $setting = App\Models\Setting::first();
?>


<div class="main-sidebar">
    <aside id="sidebar-wrapper">
      <div class="sidebar-brand">
        <a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e($setting->sidebar_lg_header); ?></a>
      </div>
      <div class="sidebar-brand sidebar-brand-sm">
        <a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e($setting->sidebar_sm_header); ?></a>
      </div>
      <ul class="sidebar-menu">
          <li class="<?php echo e(Route::is('admin.dashboard') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.dashboard')); ?>"><i class="fas fa-home"></i> <span><?php echo e(__('admin.Dashboard')); ?></span></a></li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.all-order') || Route::is('admin.order-show') || Route::is('admin.pending-order') || Route::is('admin.pending-renew-order') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-shopping-cart"></i><span><?php echo e(__('admin.Orders')); ?></span></a>

            <ul class="dropdown-menu">

              <li class="<?php echo e(Route::is('admin.all-order') || Route::is('admin.order-show') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.all-order')); ?>"><?php echo e(__('admin.All Orders')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.pending-order') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.pending-order')); ?>"><?php echo e(__('admin.Pending Payment')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.pending-renew-order') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.pending-renew-order')); ?>"><?php echo e(__('admin.Pending Renew Payment')); ?></a></li>

            </ul>
          </li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.property-type.*') || Route::is('admin.property-purpose.*') || Route::is('admin.nearest-location.*') || Route::is('admin.aminity.*') || Route::is('admin.package.*') || Route::is('admin.property.*') || Route::is('admin.agent-property') || Route::is('admin.property-review') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas far fa-building"></i><span><?php echo e(__('admin.Real Estate')); ?></span></a>
            <ul class="dropdown-menu">

                <li class="<?php echo e(Route::is('admin.property.create') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.property.create')); ?>"><?php echo e(__('admin.Create Property')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.property.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.property.index')); ?>"><?php echo e(__('admin.My Property')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.agent-property') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.agent-property')); ?>"><?php echo e(__('admin.Agent Property')); ?></a></li>


              <li class="<?php echo e(Route::is('admin.property-type.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.property-type.index')); ?>"><?php echo e(__('admin.Property Type')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.property-purpose.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.property-purpose.index')); ?>"><?php echo e(__('admin.Property Purpose')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.nearest-location.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.nearest-location.index')); ?>"><?php echo e(__('admin.Nearest Location')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.aminity.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.aminity.index')); ?>"><?php echo e(__('admin.Aminities')); ?></a></li>

              <li class="<?php echo e(Route::is('admin.package.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.package.index')); ?>"><?php echo e(__('admin.Package')); ?></a></li>



              <li class="<?php echo e(Route::is('admin.property-review') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.property-review')); ?>"><?php echo e(__('admin.Property Review')); ?></a></li>



            </ul>
          </li>


          <li class="nav-item dropdown <?php echo e(Route::is('admin.country.*') || Route::is('admin.state.*') || Route::is('admin.city.*') || Route::is('admin.city-import-page') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-map-marker-alt"></i><span><?php echo e(__('admin.Locations')); ?></span></a>

            <ul class="dropdown-menu">
                <li class=""><a class="nav-link" href="<?php echo e(route('admin.city.create')); ?>"><?php echo e(__('admin.Create City')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.city.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.city.index')); ?>"><?php echo e(__('admin.City List')); ?></a></li>

            </ul>
          </li>


          <li class="<?php echo e(Route::is('admin.payment-method') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.payment-method')); ?>"><i class="fas fa-dollar-sign"></i> <span><?php echo e(__('admin.Payment Method')); ?></span></a></li>


          <li class="nav-item dropdown <?php echo e(Route::is('admin.assign-package') || Route::is('admin.create-user') || Route::is('admin.our-agent') || Route::is('admin.agent-show') || Route::is('admin.send-email-to-all-agent') || Route::is('admin.send-email-to-all-user') || Route::is('admin.regular-user') || Route::is('admin.regular-user-show') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-users"></i><span><?php echo e(__('admin.Users')); ?></span></a>
            <ul class="dropdown-menu">
                <li class="<?php echo e(Route::is('admin.create-user') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.create-user')); ?>"><?php echo e(__('admin.Create User')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.assign-package') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.assign-package')); ?>"><?php echo e(__('admin.Assign Package')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.our-agent') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.our-agent')); ?>"><?php echo e(__('admin.Our Agent')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.regular-user') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.regular-user')); ?>"><?php echo e(__('admin.Regular User')); ?></a></li>
            </ul>
          </li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.career.*') || Route::is('admin.career-request')  ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-th-large"></i><span><?php echo e(__('admin.Career')); ?></span></a>

            <ul class="dropdown-menu">

              <li class="<?php echo e(Route::is('admin.career.*') || Route::is('admin.career-request') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.career.index')); ?>"><?php echo e(__('admin.Job Offer')); ?></a></li>


            </ul>
          </li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.service.*') || Route::is('admin.maintainance-mode') ||  Route::is('admin.slider.*') || Route::is('admin.home-page') || Route::is('admin.banner-image.index') || Route::is('admin.homepage-one-visibility') || Route::is('admin.cart-bottom-banner') || Route::is('admin.seo-setup') || Route::is('admin.menu-visibility') || Route::is('admin.product-detail-page') || Route::is('admin.default-avatar') || Route::is('admin.subscription-banner') || Route::is('admin.testimonial.*') || Route::is('admin.our-team.*') || Route::is('admin.counter.*') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-globe"></i><span><?php echo e(__('admin.Manage Website')); ?></span></a>

            <ul class="dropdown-menu">

                <li class="<?php echo e(Route::is('admin.seo-setup') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.seo-setup')); ?>"><?php echo e(__('admin.SEO Setup')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.slider.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.slider.index')); ?>"><?php echo e(__('admin.Slider')); ?></a></li>


                <li class="<?php echo e(Route::is('admin.service.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.service.index')); ?>"><?php echo e(__('admin.Service')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.our-team.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.our-team.index')); ?>"><?php echo e(__('admin.Our Team')); ?></a></li>


                <li class="<?php echo e(Route::is('admin.testimonial.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.testimonial.index')); ?>"><?php echo e(__('admin.Testimonial')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.counter.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.counter.index')); ?>"><?php echo e(__('admin.Counter')); ?></a></li>


                <li class="<?php echo e(Route::is('admin.maintainance-mode') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.maintainance-mode')); ?>"><?php echo e(__('admin.Maintainance Mode')); ?></a></li>


                <li class="<?php echo e(Route::is('admin.banner-image.index') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.banner-image.index')); ?>"><?php echo e(__('admin.Banner Image')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.default-avatar') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.default-avatar')); ?>"><?php echo e(__('admin.Default Avatar')); ?></a></li>

            </ul>
          </li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.footer.*') || Route::is('admin.social-link.*') || Route::is('admin.footer-link.*') || Route::is('admin.second-col-footer-link') || Route::is('admin.third-col-footer-link') || Route::is('admin.topbar-contact') || Route::is('admin.menu-visibility') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-th-large"></i><span><?php echo e(__('admin.Header & Footer')); ?></span></a>

            <ul class="dropdown-menu">
                <li class="<?php echo e(Route::is('admin.menu-visibility') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.menu-visibility')); ?>"><?php echo e(__('admin.Menu Visibility')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.topbar-contact') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.topbar-contact')); ?>"><?php echo e(__('admin.Topbar Contact')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.footer.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.footer.index')); ?>"><?php echo e(__('admin.Footer')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.social-link.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.social-link.index')); ?>"><?php echo e(__('admin.Social Link')); ?></a></li>

            </ul>
          </li>



          <li class="nav-item dropdown <?php echo e(Route::is('admin.about-us.*') || Route::is('admin.custom-page.*') || Route::is('admin.terms-and-condition.*') || Route::is('admin.privacy-policy.*') || Route::is('admin.faq.*') || Route::is('admin.error-page.*') || Route::is('admin.contact-us.*') || Route::is('admin.homepage') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-columns"></i><span><?php echo e(__('admin.Pages')); ?></span></a>

            <ul class="dropdown-menu">

                <li class="<?php echo e(Route::is('admin.homepage') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.homepage')); ?>"><?php echo e(__('admin.Homepage')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.about-us.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.about-us.index')); ?>"><?php echo e(__('admin.About Us')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.contact-us.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.contact-us.index')); ?>"><?php echo e(__('admin.Contact Us')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.custom-page.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.custom-page.index')); ?>"><?php echo e(__('admin.Custom Page')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.terms-and-condition.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.terms-and-condition.index')); ?>"><?php echo e(__('admin.Terms And Conditions')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.privacy-policy.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.privacy-policy.index')); ?>"><?php echo e(__('admin.Privacy Policy')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.faq.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.faq.index')); ?>"><?php echo e(__('admin.FAQ')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.error-page.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.error-page.index')); ?>"><?php echo e(__('admin.Error Page')); ?></a></li>


            </ul>
          </li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.blog-category.*') || Route::is('admin.blog.*') || Route::is('admin.popular-blog.*') || Route::is('admin.blog-comment.*') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-th-large"></i><span><?php echo e(__('admin.Blogs')); ?></span></a>

            <ul class="dropdown-menu">
                <li class="<?php echo e(Route::is('admin.blog-category.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.blog-category.index')); ?>"><?php echo e(__('admin.Categories')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.blog.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.blog.index')); ?>"><?php echo e(__('admin.Blogs')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.popular-blog.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.popular-blog.index')); ?>"><?php echo e(__('admin.Popular Blogs')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.blog-comment.*') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.blog-comment.index')); ?>"><?php echo e(__('admin.Comments')); ?></a></li>
            </ul>
          </li>

          <li class="nav-item dropdown <?php echo e(Route::is('admin.email-configuration') || Route::is('admin.email-template') || Route::is('admin.edit-email-template') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-envelope"></i><span><?php echo e(__('admin.Email Configuration')); ?></span></a>

            <ul class="dropdown-menu">
                <li class="<?php echo e(Route::is('admin.email-configuration') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.email-configuration')); ?>"><?php echo e(__('admin.Setting')); ?></a></li>

                <li class="<?php echo e(Route::is('admin.email-template') || Route::is('admin.edit-email-template') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.email-template')); ?>"><?php echo e(__('admin.Email Template')); ?></a></li>
            </ul>
          </li>


          <li class="nav-item dropdown <?php echo e(Route::is('admin.languages.*') || Route::is('admin.admin-language') || Route::is('admin.admin-validation-language') || Route::is('admin.website-language') || Route::is('admin.website-validation-language') ? 'active' : ''); ?>">
            <a href="#" class="nav-link has-dropdown"><i class="fas fa-th-large"></i><span><?php echo e(__('admin.Language')); ?></span></a>

            <ul class="dropdown-menu">
                <li class="<?php echo e(Route::is('admin.languages.*') || Route::is('admin.admin-language') || Route::is('admin.admin-validation-language') || Route::is('admin.website-language') || Route::is('admin.website-validation-language') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.languages.index')); ?>"><?php echo e(__('admin.Manage Language')); ?></a></li>
            </ul>
          </li>

          <li class="<?php echo e(Route::is('admin.general-setting') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.general-setting')); ?>"><i class="fas fa-cog"></i> <span><?php echo e(__('admin.Setting')); ?></span></a></li>

          <?php
              $logedInAdmin = Auth::guard('admin')->user();
          ?>
          <?php if($logedInAdmin->admin_type == 1): ?>
          <li  class="<?php echo e(Route::is('admin.clear-database') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.clear-database')); ?>"><i class="fas fa-trash"></i> <span><?php echo e(__('admin.Clear Database')); ?></span></a></li>
          <?php endif; ?>

          <li class="<?php echo e(Route::is('admin.subscriber') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.subscriber')); ?>"><i class="fas fa-fire"></i> <span><?php echo e(__('admin.Subscribers')); ?></span></a></li>

          <li class="<?php echo e(Route::is('admin.contact-message') || Route::is('admin.show-contact-message') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.contact-message')); ?>"><i class="fas fa-fa fa-envelope"></i> <span><?php echo e(__('admin.Contact Message')); ?></span></a></li>


          <li class="<?php echo e(Route::is('admin.staff.*')  ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.staff.index')); ?>"><i class="fas fa-users"></i> <span><?php echo e(__('admin.Staff List')); ?></span></a></li>

          <?php if($logedInAdmin->admin_type == 1): ?>
            <li class="<?php echo e(Route::is('admin.admin.index') ? 'active' : ''); ?>"><a class="nav-link" href="<?php echo e(route('admin.admin.index')); ?>"><i class="fas fa-user"></i> <span><?php echo e(__('admin.Admin list')); ?></span></a></li>
          <?php endif; ?>

        </ul>

    </aside>
  </div>
<?php /**PATH /home3/paprdcor/topriserealtors.com/resources/views/admin/sidebar.blade.php ENDPATH**/ ?>