Hacked By AnonymousFox
<?php
include("common/header.php");
if(isset($_GET['product_id']))
{
$sqlProduct = mysqli_query($cn,"select * from `tbl_product` where `status`=1 and `slug_url`='".$_GET['product_id']."'");
$sqlProductData = mysqli_fetch_array($sqlProduct);
$ProductImg = explode("$",$sqlProductData['image']);
$productPolish = explode("$",$sqlProductData['polish_id']);
$productSize = explode("$",$sqlProductData['size_id']);
}
?>
<main>
<style>
.cart-table .table thead tr th{
border-color: #001e38;
border-bottom-color: rgb(0, 30, 56);
border-bottom: 0 solid transparent;
color: #fff;
font-size: 14px;
font-weight: 700;
padding: 5px 10px;
text-align: center;
text-transform: capitalize;
}
.cart-table .table tbody tr td {
border-color: #ccc;
text-align: center;
padding: 5px 15px;
vertical-align: middle;
font-weight: 500;
color: #222222;
}
</style>
<!-- page main wrapper start -->
<div class="shop-main-wrapper section-padding pb-0 new-padding">
<div class="container">
<div class="row">
<!-- product details wrapper start -->
<div class="col-lg-12 order-1 order-lg-2">
<!-- product details inner end -->
<div class="product-details-inner">
<div class="row">
<div class="col-lg-5">
<div class="product-large-slider">
<?php
foreach($ProductImg as $pI){?>
<div class="pro-large-img img-zoom">
<img src="<?php echo DEFAULT_URL."products/".$pI;?>" alt="<?php echo $sqlProductData['name'];?>"/>
</div>
<?php }?>
</div>
<!--<div class="pro-nav slick-row-10 slick-arrow-style">
<?php
foreach($ProductImg as $pI){?>
<div class="pro-nav-thumb">
<img src="<?php echo DEFAULT_URL."products/".$pI;?>" alt="<?php echo $sqlProductData['name'];?>"/>
</div>
<?php }?>
</div>-->
</div>
<div class="col-lg-7">
<div class="product-details-des">
<div class="manufacturer-name">
<a href="product-details.html">Krishnam Export</a>
</div>
<!--<div class="like-icon">
<a class="facebook" href="javascript:void(0);"><i class="fa fa-facebook"></i>like</a>
<a class="twitter" href="javascript:void(0);"><i class="fa fa-twitter"></i>tweet</a>
<a class="pinterest" href="javascript:void(0);"><i class="fa fa-pinterest"></i>save</a>
<a class="google" href="javascript:void(0);"><i class="fa fa-google-plus"></i>share</a>
</div>-->
<h3 class="product-name"><?php echo $sqlProductData['name'];?></h3>
<p class="pro-desc" style="margin-bottom: 0px;">SKU Code - <?php echo $sqlProductData['skucode'];?> </p>
<!--<p class="pro-desc" style="margin-bottom: 0px;">Weight - <?php echo $sqlProductData['weight'];?> </p>-->
<!--<div class="price-box">
<span class="price-regular"><?php echo currencyPrice($sqlProductData['price']);?></span>
<span class="price-old"><del><?php echo currencyPrice($sqlProductData['orignalprice']);?></del></span>
</div>-->
<?php
/*if($sqlProductData['stock']==1){?>
<div class="availability">
<i class="fa fa-check-circle"></i>
<span>In stock</span>
</div>
<?php }else{?>
<div class="soldout">
<i class="fa fa-times-circle"></i>
<span>Out stock</span>
</div>
<?php }*/?>
<p class="pro-desc"><?php echo $sqlProductData['small_description'];?></p>
<!--<div class="useful-links"><a href="javascript:void(0);" data-toggle="tooltip" title="Wishlist"><i class="pe-7s-like"></i>wishlist</a></div>-->
<?php if($sqlProductData['bulk_order']==0){?>
<?php if(count(array_filter($productPolish))>0){?>
<div class="details-radio">
<p><strong>Polish </strong></p>
<?php
foreach($productPolish as $pP){?>
<label class="container-radio"><?php echo polishName($pP);?> <input type="radio" value="<?php echo $pP;?>" name="polish_id" class="setPolish"><span class="checkmark"></span></label>
<?php }?>
</div>
<?php }?>
<p style="margin-top: -15px;">MOQ = 25 Pc. Per Design</p>
<!--<p style="margin-top: -15px;">Minimum Qty. : <?php echo $sqlProductData['min_order'];?> Per Design.</p>-->
<div class="quantity-cart-box d-flex align-items-center row">
<div class="pro-size col-md-3">
<h6 class="option-title"><strong>Qty </strong></h6><br>
<select class="nice-select" name="qty" id="qty">
<?php
$loop = 1;
$minOrder = $sqlProductData['min_order'];
$maxorder = $sqlProductData['max_order'];
for($i=$minOrder;$i<=$maxorder;$i++){?>
<option value="<?php echo $i;?>" <?php if($loop==1){ echo "selected";}?>><?php echo $i;?></option>
<?php $loop++;}?>
</select>
</div>
<?php if(count(array_filter($productSize))>0){?>
<div class="pro-size stone-dropdown col-md-3">
<h6 class="option-title"><strong>Size <?php if(!empty($sqlProductData['size_type'])){ echo "( ".$sqlProductData['size_type']." )";}?></strong></h6><br>
<select class="nice-select setSize" name="size">
<option value="">Select</option>
<?php foreach($productSize as $pS){?>
<option value="<?php echo $pS;?>"><?php echo sizeName($pS);?></option>
<?php }?>
</select>
</div>
<?php }?>
</div>
<div id="warning"></div>
<div id="success"></div>
<input type="hidden" name="polish_id" id="polish_id"/>
<input type="hidden" name="size_id" id="size_id"/>
<div class="action_link"> <strong>For Prices Send Enquiry - </strong> <a class="btn btn-cart2 addtoCart" href="javascript:void(0);" data-id="<?php echo $sqlProductData['id'];?>">ENQUIRY</a></div>
<?php }else{?>
<div class="cart-table table-responsive">
<p>MOQ = 25 Pc. Per Design</p>
<!--<p>Minimum Qty. : <?php echo $sqlProductData['min_order'];?> Per Design.</p>-->
<table class="table table-bordered">
<thead>
<tr>
<th class="pro-title">Product</th>
<!--<th class="pro-price">Price</th>-->
<th class="pro-quantity">Quantity</th>
<th class="pro-remove">Add</th>
</tr>
</thead>
<tbody>
<form method="post" id="addBulkOrder">
<input type="hidden" name="productId" value="<?php echo $sqlProductData['id'];?>"/>
<?php
$minOrder = $sqlProductData['min_order'];
$maxorder = $sqlProductData['max_order'];
if(count(array_filter($productSize))>0){
foreach($productSize as $pS){?>
<tr>
<td class="pro-title"><input type="hidden" name="productsize2[]" value="<?php echo $pS;?>"><?php echo $sqlProductData['name'];?> ( <strong>Size <?php if(!empty($sqlProductData['size_type'])){ echo "( ".$sqlProductData['size_type']." )";}?> - </strong> <?php echo sizeName($pS);?> )</td>
<!--<td class="pro-price"><span><?php echo currencyPrice($sqlProductData['price']);?></span></td>-->
<td class="pro-quantity"><div class="pro-qty"><input type="text" name="productqty[]" class="numberOnly" autocomplete="off" value="<?php echo $minOrder;?>" min="<?php echo $minOrder;?>" max="<?php echo $maxorder;?>" readonly></div><a class="box-tooltip" href="javascript:void(0);" data-toggle="tooltip" title="For Order Min. Qty <?php echo $minOrder;?> to Max <?php echo $maxorder;?> "><i class="fa fa-info-circle" aria-hidden="true"></i></a></td>
<td class="pro-remove"><input type="checkbox" name="productsize[]" value="<?php echo $pS;?>"></td>
</tr>
<?php } }?>
</tbody>
</form>
</table>
</div>
<div id="warning"></div>
<div id="success"></div>
<div class="action_link text-right">
<strong>For Prices Send Enquiry - </strong> <a class="btn btn-cart2 addtoCartBulk" href="javascript:void(0);" style="margin-top:10px;">ENQUIRY</a>
</div>
<?php }?>
</div>
</div>
</div>
</div>
<!-- product details inner end -->
<!-- product details reviews start -->
<div class="product-details-reviews section-padding pb-0">
<div class="row">
<div class="col-lg-12">
<div class="product-review-info">
<ul class="nav review-tab">
<li><a class="active" data-toggle="tab" href="#tab_one">Description</a></li>
</ul>
<div class="tab-content reviews-tab">
<div class="tab-pane fade show active" id="tab_one">
<div class="tab-one">
<div class="cart-table table-responsive">
<table class="table table-bordered">
<tbody>
<?php if(!empty(trim($sqlProductData['product_description_1']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_1'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_1'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_2']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_2'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_2'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_3']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_3'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_3'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_4']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_4'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_4'];?></td>
</tr>
<?php } ?>
<?php if(!empty(trim($sqlProductData['product_description_5']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_5'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_5'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_6']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_6'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_6'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_7']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_7'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_7'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_8']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_8'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_8'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_9']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_9'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_9'];?></td>
</tr>
<?php }?>
<?php if(!empty(trim($sqlProductData['product_description_10']))){?>
<tr>
<td class="text-left"><span><?php echo $sqlProductData['product_title_10'];?></span></td>
<td class="pro-title"><?php echo $sqlProductData['product_description_10'];?></td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- product details reviews end -->
</div>
<!-- product details wrapper end -->
</div>
</div>
</div>
<!-- page main wrapper end -->
<!-- related products area start -->
<section class="related-products section-padding">
<div class="container">
<div class="row">
<div class="col-12">
<!-- section title start -->
<div class="section-title text-center">
<h2 class="title">Related Products</h2>
</div>
<!-- section title start -->
</div>
</div>
<div class="row">
<div class="col-12">
<div class="product-carousel-4 slick-row-10 slick-arrow-style">
<?php
$sqlProRelated = mysqli_query($cn,"select * from `tbl_product` where `status`=1 and `category_id`='".$sqlProductData['category_id']."' and `id`!='".$sqlProductData['id']."' order by `id` DESC");
while($sqlProRelatedData = mysqli_fetch_array($sqlProRelated))
{
$ProductImg = explode("$",$sqlProRelatedData['image']);
?>
<div class="product-item">
<figure class="product-thumb">
<a href="<?php echo DEFAULT_URL."product/".$sqlProRelatedData['slug_url'];?>">
<?php
if(count($ProductImg)>1)
{?>
<img class="pri-img" src="<?php echo DEFAULT_URL."products/".$ProductImg[0];?>" alt="product">
<img class="sec-img" src="<?php echo DEFAULT_URL."products/".$ProductImg[1];?>" alt="product">
<?php }else{?>
<img class="pri-img" src="<?php echo DEFAULT_URL."products/".$ProductImg[0];?>" alt="product">
<img class="sec-img" src="<?php echo DEFAULT_URL."products/".$ProductImg[0];?>" alt="product">
<?php }?>
</a>
<!--<div class="product-badge">
<div class="product-label new">
<span>new</span>
</div>
</div>-->
</figure>
<div class="product-caption text-center">
<h6 class="product-name">
<a href="<?php echo DEFAULT_URL."product/".$sqlProRelatedData['slug_url'];?>"><?php echo $sqlProRelatedData['name'];?> <br> <strong>SKU Code : <?php echo $sqlProRelatedData['skucode'];?></strong></a>
</h6>
<!--<div class="price-box">
<span class="price-regular"><?php echo currencyPrice($sqlProRelatedData['price']);?></span>
<span class="price-old"><del><?php echo currencyPrice($sqlProRelatedData['orignalprice']);?></del></span>
</div>-->
</div>
</div>
<?php }?>
</div>
</div>
</div>
</div>
</section>
<!-- related products area end -->
</main>
<style>
.cart-table .table tbody tr td{
border-color: #ccc;
text-align: center;
padding:0px 20px;
vertical-align: middle;
font-weight: 500;
color: #222222;
}
</style>
<!-- footer area start -->
<?php include("popup/loginsignup.php");?>
<?php include("common/footer.php");?>
<!-- footer area end -->
<!-- Quick view modal start -->
<!-- Quick view modal 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;?>assets/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>
<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>
<!-- Mirrored from demo.hasthemes.com/corano-preview/corano/product-details.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 15 Jan 2020 07:15:01 GMT -->
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox