⚝
One Hat Cyber Team
⚝
Your IP:
3.142.135.247
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
favoaysf
/
www
/
storage
/
framework
/
views
/
View File Name :
5a71535079b976d2f6bb1637e588c87a.php
<?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; } ?> <div class="s-r-inner"> <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="product-card p-col"> <a class="product-thumb" href="<?php echo e(route('front.product',$item->slug)); ?>"> <img class="lazy" alt="Product" src="<?php echo e(asset('assets/images/'.$item->thumbnail)); ?>" style=""></a> <div class="product-card-body"> <h3 class="product-title"><a href="<?php echo e(route('front.product',$item->slug)); ?>"> <?php echo e(Str::limit($item->name, 35)); ?> </a></h3> <div class="rating-stars"> <?php echo renderStarRating($item->reviews->avg('rating')); ?> </div> <h4 class="product-price"> <?php echo e(PriceHelper::grandCurrencyPrice($item)); ?> </h4> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="bottom-area"> <a id="view_all_search_" href="javascript:;"><?php echo e(__('View all result')); ?></a> </div><?php /**PATH /home/favoaysf/public_html/resources/views/includes/search_suggest.blade.php ENDPATH**/ ?>