Hacked By AnonymousFox

Current Path : /home/krishnamexports/www/
Upload File :
Current File : /home/krishnamexports/www/checkout.php

<?php include("common/header.php");?>
<style>
select{
    color: #555555;
    border: 1px solid #ccc;
    padding: 12px 10px;
    width: 100%;
    font-size: 14px;
    background: #f7f7f7;
}    
</style>
 <main>        

        <!-- checkout main wrapper start -->

        <div class="checkout-page-wrapper section-padding">

            <div class="container">

            	<form method="post" action="<?php echo DEFAULT_URL;?>ajax/placeOrder.php" id="placeOrder">

                <div class="row">                	

                    <!-- Checkout Billing Details -->

                    <div class="col-lg-6">

                        <div class="checkout-billing-details-wrap">

                            <h5 class="checkout-title">Customer Information</h5>

                            <div class="billing-form-wrap">                                

                                <div class="row">

                                    <div class="col-md-12">

                                        <div class="single-input-item">

                                            <label for="f_name" class="required">Name</label>

                                            <input type="text" name="name" placeholder="FULL NAME*" required/>

                                        </div>

                                    </div>

                                    

                                    <div class="col-md-6">

                                        <div class="single-input-item">

                                            <label for="l_name_2" class="required">Mobile No.</label>

                                            <input type="text" name="mobile" id="logMobile" placeholder="MOBILE NUMBER*" minlength="10" maxlength="10" class="numberOnly" required/>

                                        </div>

                                    </div>



                                    <div class="col-md-6">

                                        <div class="single-input-item">

                                            <label for="l_name" class="required">Email Id</label>

                                            <input type="text" name="email" placeholder="EMAIL Id*" required/>

                                        </div>

                                    </div>

                                </div>                                                                        

                                

                                <div style="clear: both;"></div>

                                <!--<div class="new-address"><h4>NOTES </h4></div>-->

                                <div class="single-input-item">

                                    <div class="checkout-box-wrap">                                        

                                        <div class="ship-to-different">                                                                                        

                                            <div class="single-input-item">

                                                <label for="ordernote">REMARK ( If Any )</label>

                                                <textarea name="notes" id="address" cols="30" rows="3" placeholder="REMARK" required></textarea>

                                            </div>

                                            

                                            <div class="row">

                                                <div class="col-md-6">

                                                    <div class="single-input-item">

                                                        <label for="f_name_2" class="required">Country</label>

                                                        <select name="country" required>

                                                            <option value="" disabled selected>Choose your country</option>

                                                            <?php 

                                                            $sqlCountry = mysqli_query($cn,"select `name` from `tbl_country`");

                                                            while($sqlCountryData = mysqli_fetch_array($sqlCountry)){?>

                                                            <option value="<?php echo $sqlCountryData['name'];?>"><?php echo $sqlCountryData['name'];?></option>

                                                            <?php }?>

                                                        </select>

                                                    </div>

                                                </div>

                                                

                                                <div class="col-md-6">

                                                    <div class="single-input-item">

                                                        <label for="f_name_2" class="required">City</label>

                                                        <input type="text" name="city" placeholder="City" required/>

                                                    </div>

                                                </div>                                                        

                                            </div>

                                            

                                            <!--<div class="row">

                                                <div class="col-md-6">

                                                    <div class="single-input-item">

                                                        <label for="f_name_2" class="required">Landmark</label>

                                                        <input type="text" name="landmark" placeholder="Landmark"/>

                                                    </div>

                                                </div>

                                                

                                                <div class="col-md-6">

                                                    <div class="single-input-item">

                                                        <label for="f_name_2" class="required">Alternate Phone (Optional)</label>

                                                        <input type="text" name="alt_mobile" placeholder="Alternate Phone"/>

                                                    </div>

                                                </div>                    

                                            </div>-->                                                                                                

                                        </div>

                                    </div>                                                                                

                                </div>                                

                            </div>

                        </div>

                    </div>



                    <!-- Order Summary Details -->

                    <div class="col-lg-6">

                        <div class="order-summary-details">

                            <h5 class="checkout-title">Your Order Summary</h5>

                            <div class="order-summary-content">

                                <!-- Order Summary Table -->

                                <div class="order-summary-table table-responsive text-center cart-table table-responsive">

                                    <table class="table table-bordered">

                                        <thead>

                                            <tr>

                                                <th style="font-size:15px;font-weight:bold;text-transform: uppercase;"><strong>Products</strong></th>

                                                <th style="font-size:15px;font-weight:bold;text-transform: uppercase;"><strong>Qty</strong></th>                                                

                                            </tr>

                                        </thead>

                                        <tbody>

                                        <?php 

										if(isset($_SESSION['kxproductList']) && count($_SESSION['kxproductList'])>0)

										{											

											$subTotal = 0; $deliveryCharges = 0; $orderTotal = 0; $loop = 0;

											$loop     = 0;

											foreach($_SESSION['kxproductList'] as $pL)

											{

												$sqlProductCart     = mysqli_query($cn,"select * from `tbl_product` where `id`='".$pL['productId']."'");

												$sqlProductCartData = mysqli_fetch_array($sqlProductCart);

												?>

                                                <tr>

                                                	<td>

                                                    	<a href="<?php echo DEFAULT_URL."product/".$sqlProductCartData['slug_url'];?>"><?php echo $pL['productName'];?></strong></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 }?>

                                                    	<?php if(isset($_SESSION['adInfo'])){?>

                                                        <span style="font-size:13px;"><strong>Addition Info :</strong> <?php echo $_SESSION['adInfo'][$loop];?></span>

														<?php }?>

                                                        </td>

                                                    <td><strong><?php echo $pL['qty'];?></strong></td>                                                

                                            	</tr>												

												<?php 							

                                                $subTotal           = $subTotal + ($pL['qty'] * $sqlProductCartData['price']);	

                                                $deliveryCharges    = $deliveryCharges + $sqlProductCartData['delivery_charge'];							 

												$loop++;

											}

                                            $orderTotal = $subTotal + $deliveryCharges;

										}

										else

										{?>

                                        	<tr><td colspan="2">No Product Found.</td></tr>

                                            <tr><td colspan="2"><a href="<?php echo DEFAULT_URL;?>" class="btn btn-sqr">Continue Shopping</a></td></tr>

                                        <?php }?>                                                                                        

                                        </tbody>                                        

                                    </table>

                                </div>

                                <!-- Order Payment Method -->

                                

                            </div>

                        </div>

                    </div>

                </div>

                

                <div class="row">                    

                    <div class="col-md-12">

                    	<?php if(isset($_SESSION['kxproductList']) && count($_SESSION['kxproductList'])>0){?>
                        <br>
                        <div class="summary-footer-area">                                

                                <button type="submit" class="btn btn-sqr">SEND ENQUIRY</button>

						</div>

                        <?php }?>

                        <?php if(isset($_SESSION['placeError'])){?>                        	

                            <div class="alert alert-warning"><strong>Warning!</strong> <?php echo $_SESSION['placeError'];?></div>

						<?php }?>

                    </div>

                </div>

                </form>

            </div>

        </div>

        <!-- checkout 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");?>    

    <!-- 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>

    <!-- 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