⚝
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 :
5a61e34d1223359b4a94e2cdeda393020c3ad61b.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(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 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 /var/www/styleage_v3/core/resources/views/includes/search_suggest.blade.php ENDPATH**/ ?>