One Hat Cyber Team
Your IP :
52.15.233.13
Server IP :
104.21.80.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
storage
/
framework
/
views
/
View File Name :
9b3e0c997f889d0cf2b9efd52f0d783cee1490f7.php
<?php $grandSubtotal = 0; $qty = 0; $option_price = 0; ?> <?php if(Session::has('cart')): ?> <?php $__currentLoopData = Session::get('cart'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $grandSubtotal = ($cart['main_price'] + $grandSubtotal + $cart['attribute_price']) * $cart['qty']; ?> <div class="entry"> <div class="entry-thumb"><a href="<?php echo e(route('front.product',$cart['slug'])); ?>"><img src="<?php echo e(asset('assets/images/'.$cart['photo'])); ?>" alt="Product"></a></div> <div class="entry-content"> <h4 class="entry-title"><a href="<?php echo e(route('front.product',$cart['slug'])); ?>"> <?php echo e(strlen(strip_tags($cart['name'])) > 15 ? substr(strip_tags($cart['name']), 0, 15) . '...' : strip_tags($cart['name'])); ?> </a></h4> <span class="entry-meta"><?php echo e($cart['qty']); ?> x <?php echo e(PriceHelper::setCurrencyPrice($cart['main_price'])); ?></span> <?php $__currentLoopData = $cart['attribute']['option_name']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $optionkey => $option_name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span class="att"><em><?php echo e($cart['attribute']['names'][$optionkey]); ?>:</em> <?php echo e($option_name); ?> (<?php echo e(PriceHelper::setCurrencyPrice($cart['attribute']['option_price'][$optionkey])); ?>)</span> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="entry-delete"><a href="<?php echo e(route('front.cart.destroy',$key)); ?>"><i class="icon-x"></i></a></div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="text-right"> <p class="text-gray-dark py-2 mb-0"><span class="text-muted"><?php echo e(__('Subtotal')); ?>:</span> <?php echo e(PriceHelper::setCurrencyPrice($grandSubtotal)); ?></p> </div> <div class="d-flex justify-content-between"> <div class="w-50 d-block"><a class="btn btn-primary btn-sm mb-0" href="<?php echo e(route('front.cart')); ?>"><span><?php echo e(__('Cart')); ?></span></a></div> <div class="w-50 d-block text-end"><a class="btn btn-primary btn-sm mb-0" href="<?php echo e(route('front.checkout.billing')); ?>"><span><?php echo e(__('Checkout')); ?></span></a></div> <?php else: ?> <?php echo e(__('Cart empty')); ?> <?php endif; ?> </div> <?php /**PATH /home/shop/public_html/core/resources/views/includes/header_cart.blade.php ENDPATH**/ ?>