Viewing file: f7ef8b6d06cf619068de868151fc9d78.php (6.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div id="header_sticky">
<div class="overlay"></div>
<header class="mainheader"> <!-- START HEADER TOP --> <?php if(!Auth::guard('customer')->check() && config('settingConfig.config_signup_discount_status') == 1): ?> <div class="signup_discount d-flex justify-content-center sm-d-none"> <span class="text-white signupoffertxt"><?php echo str_replace('_DISCOUNT_ ','<b>Get '.config('settingConfig.config_signup_discount').'%</b>',config('settingConfig.config_signup_discount_text')); ?> <a href="<?php echo e(route('customer.getregister')); ?>" > <u><b class="sign-up-btn-cs-reg">Sign Up Now</b></u> </a> </span> </div> <?php else: ?> <div class="signup_discount d-flex justify-content-center sm-d-none"> <span class="text-white signupoffertxt">Need Help Contact Us <a href="<?php echo e(route('contact_us')); ?>" > <u><b> Now</b></u> </a> </span> </div> <?php endif; ?> <!-- Ends HEADER TOP --> <div class="<?php if(config('settingConfig.config_layout') == 'fullwidthlayout'): ?> container-fluid mx-5 mx-sm-0 <?php else: ?> otrixcontainer <?php endif; ?> desktop-header"> <!-- <div class="head-center"> --> <div class="head-center row mt-3 mb-3"> <div class="col-lg-3 logo-left"> <a href="<?php echo e(url('/')); ?>" class="disblock"> <img src="<?php echo e(asset('uploads')); ?>/store/<?php echo e(config('settingConfig.config_store_image')); ?>" alt="Logo" class="logo"> </a> </div> <!-- <div class=" col-12 col-md-10 col-lg-8 mx-auto d-flex justify-content-center"> --> <div class="col-md-10 col-lg-6 mx-auto d-flex1 justify-content-center text-center"> <form class="expanding-search-form "> <input class="search-input" id="global-search" type="search" placeholder="<?php echo e(__('common')['search_product']); ?>" onkeyup="searchData(this.value)"> <input type="hidden" name="search_category" class="searchCat" value="0"> <div class="search-dropdown "> <a class="button dropdown-toggle" type="button" <a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="toggle-active"><?php echo e(__('common')['select_category']); ?>   </span> <i class="fa fa-solid fa-caret-down"></i> </a> <ul class="dropdown-menu "> <li class="menu-active"><a href="#"><?php echo e(__('common')['select_category']); ?></a></li>
<?php if(isset($commonData['categories']) && $commonData['categories']): ?> <?php $__currentLoopData = $commonData['categories']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$parent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(isset($parent->categoryDescription->name) && $parent->categoryDescription->name): ?> <li onclick="setSearchCategory('<?php echo e($parent->category_id); ?>')"><a href="#"><?php echo e(isset($parent->categoryDescription->name)?$parent->categoryDescription->name:''); ?></a></li> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </ul> </div> <label class="search-label" for="global-search"> <span class="sr-only">Global Search</span> </label> <button class="button search-button" type="button"> <span class="fa fa-search"> <span class="sr-only">Search</span> </span> </button> <!-- <a href="<?php echo e(route('image.search')); ?>" title="Search product by image" class="button image-button d-flex justify-content-center align-items-center" type="button"> <img src="<?php echo e(asset('frontend/images')); ?>/searchimage.png" alt="" > </a> --> </form> <div id="searchData">
</div> </div> <!-- <div class="d-flex justify-content-center "> --> <div class="col-lg-3 d-flex justify-content-end"> <a class="e-cart" <?php if(Auth::guard('customer')->check()): ?> href="<?php echo e(route('user-dashboard')); ?>" <?php else: ?> href="<?php echo e(route('customer.getlogin')); ?>" <?php endif; ?> > <div class="cart-bar"> <span><img src="<?php echo e(asset('frontend')); ?>/images/account.png" alt="" title="" height="20" width="20" /> </span> </div>
<span class="menu-icon-text"><?php echo e(__('common')['account']); ?></span> </a> <a href="<?php echo e(route('get.wishlist')); ?>" class="e-cart mx-3"> <div class="cart-bar " > <span class="cart-count wishlist-count"><?php echo e($commonData['wishlistCount']); ?></span> <span><img src="<?php echo e(asset('frontend')); ?>/images/heart.png" alt="" title="" height="20" width="20" /> </span> </div> <span class="menu-icon-text"><?php echo e(__('account')['label_wishlist']); ?></span> </a> <a href="<?php echo e(route('shopping.cart')); ?>" class="e-cart"> <div class="cart-bar"> <span class="cart-count basket-count"><?php echo e($commonData['cartCount']); ?></span> <span><img src="<?php echo e(asset('frontend')); ?>/images/cart.png" alt="" title="" height="20" width="20" /> </span> </div> <span class="menu-icon-text"><?php echo e(__('common')['your_cart']); ?></span> </a> </div> </div> </div> <!-- Mobile menu start here --> <?php echo $__env->make('frontend.layouts.mobileHeader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Mobile menu end here --> </header> </div>
<script type="text/javascript"> function closeSearchForm() { var element = document.getElementById("mobile-search-form"); element.classList.toggle("d-none"); }
function showSearchForm() { var element = document.getElementById("mobile-search-form"); element.classList.toggle("d-none"); } </script> <?php /**PATH /home2/smabmart/public_html/resources/views/frontend/layouts/header.blade.php ENDPATH**/ ?>
|