Hacked By AnonymousFox
<?php include("common/header.php");?>
<main>
<!-- cart main wrapper start -->
<div class="cart-main-wrapper section-padding">
<div class="container">
<div class="section-bg-color">
<div class="row">
<div class="col-lg-12">
<!-- Cart Table Area -->
<div id="warning"></div>
<div id="success"></div>
<div class="cart-table table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th class="pro-thumbnail">Thumbnail</th>
<th class="pro-title">Product</th>
<th class="pro-quantity">Quantity</th>
<th class="pro-subtotal">Additional Info</th>
<th class="pro-remove">Remove</th>
</tr>
</thead>
<tbody>
<?php
if(isset($_SESSION['kxproductList']) && count($_SESSION['kxproductList'])>0)
{
$subTotal = 0; $deliveryCharges = 0; $orderTotal = 0;
$loop = 0;
if(count($_SESSION['kxproductList'])>0)
{
foreach($_SESSION['kxproductList'] as $pL)
{
$sqlProductCart = mysqli_query($cn,"select * from `tbl_product` where `id`='".$pL['productId']."'");
$sqlProductCartData = mysqli_fetch_array($sqlProductCart);
$minOrder = $sqlProductCartData['min_order'];
$maxorder = $sqlProductCartData['max_order'];
?>
<tr>
<td class="pro-thumbnail"><a href="<?php echo DEFAULT_URL."product/".$sqlProductCartData['slug_url'];?>"><img class="img-fluid" src="<?php echo DEFAULT_URL."products/".$pL['productPhoto'];?>" alt="<?php echo $pL['productName'];?>" /></a></td>
<td class="pro-title">
<a href="<?php echo DEFAULT_URL."product/".$pL['productSlugURL'];?>"><?php echo $pL['productName'];?></a>
<?php if(!empty($pL['sizeId'])){?>
<p class="pro-title-size">Size - <?php echo sizeName($pL['sizeId']);?></p>
<?php }?>
<?php if(!empty($pL['polishId'])){?>
<p class="pro-title-size">Polish - <?php echo polishName($pL['polishId']);?></p>
<?php }?>
</td>
<td class="pro-quantity">
<div class="pro-qty"><input type="text" class="numberOnly" value="<?php echo $pL['qty'];?>" min="<?php echo $minOrder;?>" max="<?php echo $maxorder;?>" data-productId="<?php echo $pL['productId'];?>" data-polishId="<?php echo $pL['polishId'];?>" data-sizeId="<?php echo $pL['sizeId'];?>" readonly></div>
</td>
<td class="pro-subtotal"><input type="text" placeholder="Additional Info." name="additionInfo[]" value="<?php if(isset($_SESSION['adInfo'][$loop])){ echo $_SESSION['adInfo'][$loop];}?>" style="padding:0 10px;"></td>
<td class="pro-remove"><a href="javascript:void(0);" class="removeToCart" data-productId="<?php echo $pL['productId'];?>" data-polishId="<?php echo $pL['polishId'];?>" data-sizeId="<?php echo $pL['sizeId'];?>"><i class="fa fa-trash-o"></i></a></td>
</tr>
<?php
$subTotal = $subTotal + ($pL['qty'] * $sqlProductCartData['price']);
$deliveryCharges = $deliveryCharges + $sqlProductCartData['delivery_charge'];
$loop++;
}
$orderTotal = $subTotal + $deliveryCharges;
}else{?>
<tr>
<td colspan="5">There are no product in Enquiry List.</td>
</tr>
<?php }
}else{?>
<tr>
<td colspan="5">There are no product in Enquiry List.</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
<!-- Cart Update Option -->
<div class="cart-update-option d-block d-md-flex justify-content-between">
<div class="apply-coupon-wrapper">
</div>
<div class="cart-update">
<?php if(count($_SESSION['kxproductList'])>0 && isset($_SESSION['kxproductList'])){?>
<a href="javascript:void(0);" class="btn btn-sqr d-block processCheckout">INSTANT ENQUIRY</a>
<?php }else{?>
<a href="<?php echo DEFAULT_URL;?>" class="btn btn-sqr d-block">GO HOME</a>
<?php }?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- cart main wrapper end -->
</main>
<!-- footer area start -->
<?php include("popup/loginsignup.php");?>
<?php include("common/footer.php");?>
<!-- footer area end -->
<!-- offcanvas mini cart start -->
<?php include("popup/mini-cart.php");?>
<!-- offcanvas mini cart end -->
<!-- JS============================================ -->
<!-- Modernizer JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/vendor/modernizr-3.6.0.min.js"></script>
<!-- jQuery JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/vendor/jquery-3.3.1.min.js"></script>
<!-- Popper JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/vendor/popper.min.js"></script>
<!-- Bootstrap JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/vendor/bootstrap.min.js"></script>
<!-- slick Slider JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/slick.min.js"></script>
<!-- Countdown JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/countdown.min.js"></script>
<!-- Nice Select JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/nice-select.min.js"></script>
<!-- jquery UI JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/jqueryui.min.js"></script>
<!-- Image zoom JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/image-zoom.min.js"></script>
<!-- Imagesloaded JS -->
<script src="<?php echo DEFAULT_URL;?>ssets/js/plugins/imagesloaded.pkgd.min.js"></script>
<!-- Instagram feed JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/instagramfeed.min.js"></script>
<!-- mailchimp active js -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/ajaxchimp.js"></script>
<!-- contact form dynamic js -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/ajax-mail.js"></script>
<!-- google map api -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCfmCVTjRI007pC1Yk2o2d_EhgkjTsFVN8"></script>
<!-- google map active js -->
<script src="<?php echo DEFAULT_URL;?>assets/js/plugins/google-map.js"></script>
<!-- Main JS -->
<script src="<?php echo DEFAULT_URL;?>assets/js/main.js"></script>
<script src="<?php echo DEFAULT_URL;?>js/blockui.min.js"></script>
<script src="<?php echo DEFAULT_URL;?>js/function.js"></script>
<script>
$(document).ready(function(){
$("#signup").click(function(){
$(".log-in").css("display", "none");
$(".sign-up").css("display", "block");
});
});
$(document).ready(function(){
$("#login").click(function(){
$(".log-in").css("display", "block");
$(".sign-up").css("display", "none");
});
});
</script>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox