⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.200
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
styleage_v3
/
core
/
storage
/
framework
/
views
/
View File Name :
0f8de9a44630e88998b9fe2cc65a71df822693ea.php
<?php $__env->startSection('meta'); ?> <meta name="keywords" content="<?php echo e($setting->meta_keywords); ?>"> <meta name="description" content="<?php echo e($setting->meta_description); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <?php function renderStarRating($rating, $maxRating = 5) { $fullStar = "<i class = 'far fa-star filled'></i>"; $halfStar = "<i class = 'far fa-star-half filled'></i>"; $emptyStar = "<i class = 'far fa-star'></i>"; $rating = $rating <= $maxRating ? $rating : $maxRating; $fullStarCount = (int) $rating; $halfStarCount = ceil($rating) - $fullStarCount; $emptyStarCount = $maxRating - $fullStarCount - $halfStarCount; $html = str_repeat($fullStar, $fullStarCount); $html .= str_repeat($halfStar, $halfStarCount); $html .= str_repeat($emptyStar, $emptyStarCount); $html = $html; return $html; } ?> <?php if($extra_settings->is_t4_slider == 1): ?> <div class="hero-area3 hero-area4" > <div class="background"></div> <div class="heroarea-slider owl-carousel"> <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e($slider->link); ?>"> <div class="item" style="background: url('<?php echo e(asset('assets/images/' . $slider->photo)); ?>')"> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_featured_banner == 1): ?> <div class="featured-for-home3 mt-60"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-12"> <a href="<?php echo e(isset($home_page4_banner['url1']) ? $home_page4_banner['url1'] : ''); ?>" class="h3-category"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$home_page4_banner['img1'])); ?>" alt=""> <h4><?php echo e(isset($home_page4_banner['label1']) ? $home_page4_banner['label1'] : ''); ?></h4> </a> <a href="<?php echo e(isset($home_page4_banner['url2']) ? $home_page4_banner['url2'] : ''); ?>" class="h3-category"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$home_page4_banner['img2'])); ?>" alt=""> <h4><?php echo e(isset($home_page4_banner['label2']) ? $home_page4_banner['label2'] : ''); ?></h4> </a> </div> <div class="col-lg-6 col-md-6 col-sm-12 middleImage"> <a href="<?php echo e(isset($home_page4_banner['url3']) ? $home_page4_banner['url3'] : ''); ?>" class="h3-category"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$home_page4_banner['img3'])); ?>" alt=""> <h4><?php echo e(isset($home_page4_banner['label3']) ? $home_page4_banner['label3'] : ''); ?></h4> </a> </div> <div class="col-lg-3 col-md-3 col-sm-12"> <a href="<?php echo e(isset($home_page4_banner['url4']) ? $home_page4_banner['url4'] : ''); ?>" class="h3-category"> <img src="<?php echo e(asset('assets/images/'.$home_page4_banner['img4'])); ?>" alt=""> <h4><?php echo e(isset($home_page4_banner['label4']) ? $home_page4_banner['label4'] : ''); ?></h4> </a> <a href="<?php echo e(isset($home_page4_banner['url5']) ? $home_page4_banner['url5'] : ''); ?>" class="h3-category"> <img src="<?php echo e(asset('assets/images/'.$home_page4_banner['img5'])); ?>" alt=""> <h4><?php echo e(isset($home_page4_banner['label5']) ? $home_page4_banner['label5'] : ''); ?></h4> </a> </div> </div> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_specialpick == 1): ?> <section class="selected-product-section mt-50"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="section-title section-title2 section-title3"> <h2 class="h3"><?php echo e(__('Special Pick')); ?></h2> </div> <div class="popular-category theme3"> <div class="links"> <a data-href="<?php echo e(route('front.get.product','feature')); ?>" data-target="type_product_view" href="javascript:;" class="product_get active"><?php echo e(__('Featured')); ?></a> <a data-href="<?php echo e(route('front.get.product','best')); ?>" data-target="type_product_view" class="product_get" href="javascript:;"><?php echo e(__('Best Seller')); ?></a> <a data-href="<?php echo e(route('front.get.product','top')); ?>" data-target="type_product_view" class="product_get" href="javascript:;"><?php echo e(__('Top Rated')); ?></a> <a data-href="<?php echo e(route('front.get.product','new')); ?>" data-target="type_product_view" class="product_get" href="javascript:;"><?php echo e(__('New Product')); ?></a> </div> </div> </div> </div> <div class="row"> <div class="type_product_view d-none"> <img src="<?php echo e(asset('assets/images/ajax_loader.gif')); ?>" alt=""> </div> <div class="col-lg-12" id="type_product_view"> <div class="features-slider owl-carousel" > <?php $__currentLoopData = $products->orderBy('id','DESC')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($item->is_type == 'feature'): ?> <div class="slider-item"> <div class="product-card "> <div class="product-thumb"> <?php if(!$item->is_stock()): ?> <div class="product-badge bg-secondary border-default text-body "><?php echo e(__('out of stock')); ?></div> <?php endif; ?> <?php if($item->previous_price && $item->previous_price !=0): ?> <div class="product-badge product-badge2 bg-info"> -<?php echo e(PriceHelper::DiscountPercentage($item)); ?></div> <?php endif; ?> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$item->thumbnail)); ?>" alt="Product"> <div class="product-button-group"><a class="product-button wishlist_store" href="<?php echo e(route('user.wishlist.store',$item->id)); ?>" title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a> <a data-target="<?php echo e(route('fornt.compare.product',$item->id)); ?>" class="product-button product_compare" href="javascript:;" title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a> <?php echo $__env->make('includes.item_footer',['sitem' => $item], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <div class="product-card-inner"> <div class="product-card-body"> <div class="product-category"><a href="<?php echo e(route('front.catalog').'?category='.$item->category->slug); ?>"><?php echo e($item->category->name); ?></a></div> <h3 class="product-title"><a href="<?php echo e(route('front.product',$item->slug)); ?>"> <?php echo e(strlen(strip_tags($item->name)) > 35 ? substr(strip_tags($item->name), 0, 35) : strip_tags($item->name)); ?> </a></h3> <div class="rating-stars"> <?php echo renderStarRating($item->reviews->avg('rating')); ?> </div> <h4 class="product-price"> <?php if($item->previous_price != 0): ?> <del><?php echo e(PriceHelper::setPreviousPrice($item->previous_price)); ?></del> <?php endif; ?> <?php echo e(PriceHelper::grandCurrencyPrice($item)); ?> </h4> </div> </div> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </section> <?php endif; ?> <?php if($extra_settings->is_t4_3_column_banner_first == 1): ?> <div class="bannner-section mt-60"> <div class="container "> <div class="row gx-3"> <div class="col-md-4"> <a href="<?php echo e($banner_first['firsturl1']); ?>" class="genius-banner"> <img src="<?php echo e(asset('assets/images/'.$banner_first['img1'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_first['subtitle1'])): ?> <p><?php echo e($banner_first['subtitle1']); ?></p> <?php endif; ?> <?php if(isset($banner_first['title1'])): ?> <h4><?php echo e($banner_first['title1']); ?></h4> <?php endif; ?> </div> </a> </div> <div class="col-md-4"> <a href="<?php echo e($banner_first['firsturl2']); ?>" class="genius-banner"> <img src="<?php echo e(asset('assets/images/'.$banner_first['img2'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_first['subtitle2'])): ?> <p><?php echo e($banner_first['subtitle2']); ?></p> <?php endif; ?> <?php if(isset($banner_first['title2'])): ?> <h4><?php echo e($banner_first['title2']); ?></h4> <?php endif; ?> </div> </a> </div> <div class="col-md-4"> <a href="<?php echo e($banner_first['firsturl3']); ?>" class="genius-banner"> <img src="<?php echo e(asset('assets/images/'.$banner_first['img3'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_first['subtitle3'])): ?> <p><?php echo e($banner_first['subtitle3']); ?> </p> <?php endif; ?> <?php if(isset($banner_first['title3'])): ?> <h4><?php echo e($banner_first['title3']); ?></h4> <?php endif; ?> </div> </a> </div> </div> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_flashdeal == 1): ?> <div class="flash-sell-new-section mt-50"> <div class="container"> <div class="row"> <div class="col-lg-12 "> <div class="section-title section-title2 section-title3section-title section-title2 section-title3"> <h2 class="h3"><?php echo e(__('Flash Deal')); ?></h2> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="main-content"> <div class="flash-deal-slider owl-carousel" > <?php $__currentLoopData = $products->orderBy('id','DESC')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($item->is_type == 'flash_deal' && $item->date != null): ?> <div class="slider-item"> <div class="product-card "> <div class="product-thumb"> <?php if(!$item->is_stock()): ?> <div class="product-badge bg-secondary border-default text-body "><?php echo e(__('out of stock')); ?></div> <?php endif; ?> <?php if($item->previous_price && $item->previous_price !=0): ?> <div class="product-badge product-badge2 bg-info"> -<?php echo e(PriceHelper::DiscountPercentage($item)); ?></div> <?php endif; ?> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$item->thumbnail)); ?>" alt="Product"> <div class="product-button-group"><a class="product-button wishlist_store" href="<?php echo e(route('user.wishlist.store',$item->id)); ?>" title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a> <a data-target="<?php echo e(route('fornt.compare.product',$item->id)); ?>" class="product-button product_compare" href="javascript:;" title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a> <?php echo $__env->make('includes.item_footer',['sitem' => $item], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <div class="product-card-inner"> <div class="product-card-body"> <div class="product-category"><a href="<?php echo e(route('front.catalog').'?category='.$item->category->slug); ?>"><?php echo e($item->category->name); ?></a></div> <h3 class="product-title"><a href="<?php echo e(route('front.product',$item->slug)); ?>"> <?php echo e(strlen(strip_tags($item->name)) > 50 ? substr(strip_tags($item->name), 0, 50) : strip_tags($item->name)); ?> </a></h3> <div class="rating-stars"> <?php echo renderStarRating($item->reviews->avg('rating')); ?> </div> <h4 class="product-price"> <?php if($item->previous_price != 0): ?> <del><?php echo e(PriceHelper::setPreviousPrice($item->previous_price)); ?></del> <?php endif; ?> <?php echo e(PriceHelper::grandCurrencyPrice($item)); ?> </h4> <?php if(date('d-m-y') != \Carbon\Carbon::parse($item->date)->format('d-m-y')): ?> <div class="countdown countdown-alt mb-3" data-date-time="<?php echo e($item->date); ?>"> </div> <?php endif; ?> </div> </div> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_3_column_banner_second == 1): ?> <div class="bannner-section mt-60"> <div class="container "> <div class="row gx-3"> <div class="col-md-4"> <a href="<?php echo e($banner_secend['url1']); ?>" class="genius-banner"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$banner_secend['img1'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_secend['subtitle1'])): ?> <p><?php echo e($banner_secend['subtitle1']); ?></p> <?php endif; ?> <?php if(isset($banner_secend['title1'])): ?> <h4><?php echo e($banner_secend['title1']); ?></h4> <?php endif; ?> </div> </a> </div> <div class="col-md-4"> <a href="<?php echo e($banner_secend['url2']); ?>" class="genius-banner"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$banner_secend['img2'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_secend['subtitle2'])): ?> <p><?php echo e($banner_secend['subtitle2']); ?></p> <?php endif; ?> <?php if(isset($banner_secend['title2'])): ?> <h4> <?php echo e($banner_secend['title2']); ?></h4> <?php endif; ?> </div> </a> </div> <div class="col-md-4"> <a href="<?php echo e($banner_secend['url3']); ?>" class="genius-banner"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$banner_secend['img3'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_secend['subtitle3'])): ?> <p><?php echo e($banner_secend['subtitle3']); ?> </p> <?php endif; ?> <?php if(isset($banner_secend['title3'])): ?> <h4><?php echo e($banner_secend['title3']); ?></h4> <?php endif; ?> </div> </a> </div> </div> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_popular_category == 1): ?> <?php if(count($pupular_cateogry_home4)>0): ?> <?php $__currentLoopData = $pupular_cateogry_home4; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $popularcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="flash-sell-area theme2 mt-50"> <div class="container"> <div class="row"> <div class="col-xxl-12"> <div class="section-title section-title2 section-title3"> <h2 class="h3"><?php echo e($popularcategory->name); ?></h2> </div> <div class="main-content"> <div class="features-slider owl-carousel" > <?php $__currentLoopData = $popularcategory->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="slider-item"> <div class="product-card "> <div class="product-thumb" > <?php if($item->is_stock()): ?> <?php if($item->is_type == 'new'): ?> <?php else: ?> <div class="product-badge <?php if($item->is_type == 'feature'): ?> bg-warning <?php elseif($item->is_type == 'new'): ?> <?php elseif($item->is_type == 'top'): ?> bg-info <?php elseif($item->is_type == 'best'): ?> bg-dark <?php elseif($item->is_type == 'flash_deal'): ?> bg-success <?php endif; ?> "> <?php echo e(ucfirst(str_replace('_',' ',$item->is_type))); ?> </div> <?php endif; ?> <?php else: ?> <div class="product-badge bg-secondary border-default text-body "><?php echo e(__('out of stock')); ?></div> <?php endif; ?> <?php if($item->previous_price && $item->previous_price !=0): ?> <div class="product-badge product-badge2 bg-info"> -<?php echo e(PriceHelper::DiscountPercentage($item)); ?></div> <?php endif; ?> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$item->thumbnail)); ?>" alt="Product"> <div class="product-button-group"><a class="product-button wishlist_store" href="<?php echo e(route('user.wishlist.store',$item->id)); ?>" title="<?php echo e(__('Wishlist')); ?>"><i class="icon-heart"></i></a> <a data-target="<?php echo e(route('fornt.compare.product',$item->id)); ?>" class="product-button product_compare" href="javascript:;" title="<?php echo e(__('Compare')); ?>"><i class="icon-repeat"></i></a> <?php echo $__env->make('includes.item_footer',['sitem' => $item], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <div class="product-card-inner"> <div class="product-card-body"> <div class="product-category"><a href="<?php echo e(route('front.catalog').'?category='.$item->category->slug); ?>"><?php echo e($item->category->name); ?></a></div> <h3 class="product-title"><a href="<?php echo e(route('front.product',$item->slug)); ?>"> <?php echo e(strlen(strip_tags($item->name)) > 35 ? substr(strip_tags($item->name), 0, 35) : strip_tags($item->name)); ?> </a></h3> <div class="rating-stars"> <?php echo renderStarRating($item->reviews->avg('rating')); ?> </div> <h4 class="product-price"> <?php if($item->previous_price != 0): ?> <del><?php echo e(PriceHelper::setPreviousPrice($item->previous_price)); ?></del> <?php endif; ?> <?php echo e(PriceHelper::grandCurrencyPrice($item)); ?> </h4> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php endif; ?> <?php if($extra_settings->is_t4_2_column_banner == 1): ?> <div class="bannner-section mt-50"> <div class="container "> <div class="row gx-3"> <div class="col-md-6"> <a href="<?php echo e($banner_third['url1']); ?>" class="genius-banner"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$banner_third['img1'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_third['subtitle1'])): ?> <p><?php echo e($banner_third['subtitle1']); ?></p> <?php endif; ?> <?php if(isset($banner_third['title1'])): ?> <h4><?php echo e($banner_third['title1']); ?></h4> <?php endif; ?> </div> </a> </div> <div class="col-md-6"> <a href="<?php echo e($banner_third['url2']); ?>" class="genius-banner"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$banner_third['img2'])); ?>" alt=""> <div class="inner-content"> <?php if(isset($banner_third['subtitle2'])): ?> <p><?php echo e($banner_third['subtitle2']); ?> </p> <?php endif; ?> <?php if(isset($banner_third['title2'])): ?> <h4><?php echo e($banner_third['title2']); ?></h4> <?php endif; ?> </div> </a> </div> </div> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_blog_section == 1): ?> <div class="blog-section-h page_section mt-50 mb-30"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="section-title section-title2 section-title3"> <h2 class="h3"><?php echo e(__('Our Blog')); ?></h2> </div> </div> </div> <div class="row justify-content-center"> <div class="col-lg-12"> <div class="home-blog-slider owl-carousel"> <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="slider-item"> <a href="<?php echo e(route('front.blog.details',$post->slug)); ?>" class="blog-post"> <div class="post-thumb"> <img class="lazy" data-src="<?php echo e(asset('assets/images/' . json_decode($post->photo, true)[array_key_first(json_decode($post->photo, true))])); ?>" alt="Blog Post"> </div> <div class="post-body"> <h3 class="post-title"> <?php echo e(strlen(strip_tags($post->title)) > 55 ? substr(strip_tags($post->title), 0, 55) : strip_tags($post->title)); ?> </h3> <ul class="post-meta"> <li><i class="icon-user"></i><?php echo e(__('Admin')); ?></li> <li><i class="icon-clock"></i><?php echo e(date('jS F, Y', strtotime($post->created_at))); ?></li> </ul> <p><?php echo e(strlen(strip_tags($post->details)) > 120 ? substr(strip_tags($post->details), 0, 120) : strip_tags($post->details)); ?> </p> </div> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> <?php endif; ?> <?php if($extra_settings->is_t4_brand_section == 1): ?> <section class="brand-section mt-30"> <div class="container "> <div class="row"> <div class="col-lg-12 "> <div class="section-title section-title2 section-title3"> <h2 class="h3"><?php echo e(__('Popular Brands')); ?></h2> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="brand-slider owl-carousel"> <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="slider-item"> <a class="text-center" href="<?php echo e(route('front.catalog') . '?brand=' . $brand->slug); ?>"> <img class="d-block hi-50 lazy" data-src="<?php echo e(asset('assets/images/' . $brand->photo)); ?>" alt="<?php echo e($brand->name); ?>" title="<?php echo e($brand->name); ?>"> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </section> <?php endif; ?> <?php if($extra_settings->is_t4_service_section == 1): ?> <section class="service-section mt-50 pt-0 mb-30"> <div class="container"> <div class="row"> <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-3 col-sm-6 text-center mb-30"> <div class="single-service single-service2"> <img class="lazy" data-src="<?php echo e(asset('assets/images/'.$service->photo)); ?>" alt="Shipping"> <div class="content"> <h6 class="mb-2"><?php echo e($service->title); ?></h6> <p class="text-sm text-muted mb-0"><?php echo e($service->details); ?></p> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <?php endif; ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('master.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/styleage_v3/core/resources/views/front/themes/theme4.blade.php ENDPATH**/ ?>