Uname : Linux V-ShopU01 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64
Server : Apache/2.4.37 (rocky) OpenSSL/1.1.1k
Whoami : apache
Safe Mode : OFF
DOCUMENT ROOT : /var/www/html/site_shopudietDisable Function :
Path : /var/www/html/site_shopudiet/
Server IP : 65.20.74.164
Client IP : 3.128.78.179
Current File : /var/www/html/site_shopudiet/tankyou.php |
<?php
include 'dbconnect.php';
session_start();
unset($_SESSION['grand_total1']);
unset($_SESSION['coupon']);
unset($_SESSION['discount_rate']);
$cart_id=$_SESSION['cart_id'];
unset($_SESSION['cart_id']);
if(!isset($_SESSION['cart_id1'])){
$_SESSION['cart_id1'] = mt_rand(100000, 999999);
}
$random = $_SESSION['cart_id1'];
$_SESSION['cart_id']=$random;
if(!isset($_SESSION['id'])){
header('Location: login_shop.php');
}
// logout
if(isset($_POST['but_logout'])){
session_destroy();
header('Location: login_shop.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Online Organic Grocery Store in Kochi | ShopUdiet</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no">
<meta name="description" content="All the products we bring you are 100% Organic Certified. Customers can pick and choose the grocery items for their monthly home requirements from our site.">
<meta name="keywords" content="100% Organic Certified, Organic Store, Grocery store, Kochi Organic Store, Organic products">
<meta name="robots" content="*">
<meta name="viewport" content="initial-scale=1.0, width=device-width">
<link rel="icon" href="#" type="image/x-icon">
<link rel="shortcut icon" href="#" type="image/x-icon">
<!-- CSS Style -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="stylesheet/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="stylesheet/font-awesome.css" media="all">
<link rel="stylesheet" type="text/css" href="stylesheet/revslider.css" >
<link rel="stylesheet" type="text/css" href="stylesheet/owl.carousel.css">
<link rel="stylesheet" type="text/css" href="stylesheet/owl.theme.css">
<link rel="stylesheet" type="text/css" href="stylesheet/jquery.bxslider.css">
<link rel="stylesheet" type="text/css" href="stylesheet/jquery.mobile-menu.css">
<link rel="stylesheet" type="text/css" href="stylesheet/style.css" media="all">
<link rel="stylesheet" type="text/css" href="stylesheet/responsive.css" media="all">
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oswald:300,400,500,600,700" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:700,600,800,400' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Rubik:400,400i,500,500i,700,700i,900" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js"></script>
<link rel="stylesheet" href="/path/to/flickity.css" media="screen">
<script src="/path/to/flickity.pkgd.min.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function () {
setTimeout(function(){
$('.loader').fadeOut(100);
}, 2500);
});
</script>
</head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-170593298-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-170593298-1');
</script>
<body>
<div class="loader">
</div><body>
<div id="page">
<?php
include('header.php');
?>
<div class="page-heading">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="page-title">
<h2>ORDER CONFIRM</h2>
</div>
</div>
</div>
</div>
</div>
<!-- BEGIN Main Container col2-right -->
<section class="main-container col2-right-layout">
<div class="main container">
<div class="row">
<section class="col-main col-sm-9 col-xs-12 wow bounceInUp animated animated" style="visibility: visible;">
<div class="my-account">
<!--page-title-->
<!-- BEGIN DASHBOARD-->
<div class="dashboard">
<div class="welcome-msg">
<!-- <p class="hello"><strong>Hello, <?php echo $_SESSION['name'];?>!</strong></p> -->
<!-- <p>From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.</p> -->
</div>
<div class="recent-orders">
<?php
$date=date('Y-m-d');
$id=$_SESSION['id'];
$stop_date = date('Y-m-d', strtotime($date . ' +1 day'));
$squery = "select * from confirm_order WHERE date='$date' AND status ='confirm' AND user_id='$id' ORDER BY id DESC LIMIT 0, 1";
$result = mysqli_query($conn,$squery);
$count=mysqli_num_rows($result);
$row = mysqli_fetch_array($result);
?>
<div class="title-buttons" > <strong style="font-size: 20px">Order Confirmed</strong>
<h5 class="hello" style="color: #000; font-size: 15px;"> Hello <?php echo $_SESSION['name'];?> ,<br><br>Your order for <?php echo $row['product'];?> has been confirmed.Your items will be deivered on <?php echo $stop_date;?></h5>
</div>
<div class="table-responsive">
<!-- <table class="data-table table-striped" id="my-orders-table">
<colgroup>
<col width="">
<col width="">
<col>
<col width="1">
<col width="1">
<col width="20%">
</colgroup>
<thead>
<tr class="first last">
<th>Order # </th>
<th>Date</th>
<th>Ship To</th>
<th><span class="nobr">Order Total</span></th>
<th>Status</th>
<th> </th>
</tr>
</thead>
<tbody>
<?php
include('dbconnect.php');
$home_id = $_SESSION['id'];
$squery = "select * from product_cart where user_id='$home_id'AND status ='conform' ORDER BY id DESC";
$result = mysqli_query($conn,$squery);
//$i=mysqli_num_rows($result);
//$j=1;
while( $row = mysqli_fetch_array($result))
{
$price=$row['price'];
$order_id=$row['id'];
if (isset($_SESSION['name'])) {
?>
<tr class="first odd">
<td><?php if ($order_id>0) { echo "ORD-00". $order_id; } ?></td>
<td><span class="nobr"><?php echo $row['date']?></span></td>
<td><?php echo $row['user_name']?></td>
<td><span class="price"><?php if ($price>0) { echo "₹". $price; } ?></span></td>
<td><em><?php echo $row['status']?></em></td>
<td class="a-center last"><span class="nobr"> <a href="product-detail.php?id=<?php echo $row['prduct_id']; ?>">View Order</a> </span></td>
</tr>
<?php
}
}
?>
</tbody>
</table> -->
</div>
<!--table-responsive-->
</div>
<!--recent-orders-->
</div>
</div>
</section>
</div>
<!--row-->
</div>
<!--main container-->
</section>
<!--main-container col2-left-layout-->
<!-- For version 1,2,3,4,6 -->
<div class="hidden-xs">
<?php
include('footer.php');
?>
</div>
<div class="container hidden-lg hidden-md hidden-sm">
<div class="row fix">
<?php
include('dbconnect.php');
$home_id = $_SESSION['id'];
$ip_address=$_SESSION['ip_address'];
$squery = "select * from product_cart WHERE ip_address='$ip_address' AND status ='order' or status='enquiry'";
$result = mysqli_query($conn,$squery);
$count=mysqli_num_rows($result);
while($row = mysqli_fetch_array($result)){
$total=$total+$row['total'];}
if($count>0){
?>
<div class="item_view row">
<div class="col-xs-8">
<h4><?php echo $count;?>Items</h4></div>
<div class="col-xs-4">
<a href="cart.php"><button class="btn cart_btn">View Cart</button></a></div>
</div>
<?php }?>
<div class="d-md-none d-sm-none col-xs-3 fix-row"><a href="home.php">
<div class="contact-item1 ">
<i class="fa fa-home icon_fo"></i>
<div class="info-text1 ad">
<!--
+91 96567 84892 -->
Home
</div>
</div></a>
</div>
<div class="d-md-none d-sm-none col-xs-3 fix-row"><a href="tel:9207771797">
<div class="contact-item1">
<i class="fa fa-phone icon_fo"></i>
<div class="info-text1 ad">
Call
</div>
</div></a>
</div>
<div class="d-md-none d-sm-none col-xs-3 fix-row"><a href="customer.php">
<div class="contact-item1">
<i class="fa fa-truck icon_fo" aria-hidden="true"></i>
<div class="info-text1 ad">
<!--
+91 96567 84892 -->Order
</div>
</div></a>
</div>
<div class="d-md-none d-sm-none col-xs-3 fix-row"><a href="package_grid1.php">
<div class="contact-item1">
<i class="fa fa-archive icon_fo" aria-hidden="true"></i>
<div class="info-text1 ad">
<!-- jijojosephkochi -->
Package
</div>
</div></a>
</div>
</div>
</div>
<!-- End For version 1,2,3,4,6 -->
</div>
<!--page-->
<!-- Mobile Menu-->
<?php
include('mobile-menu.php');
?>
<a href="#" id="toTop" style="display: block;"><span class="fa fa-arrow-up"></span></a>
<!-- JavaScript -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/parallax.js"></script>
<script type="text/javascript" src="js/revslider.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/jquery.bxslider.min.js"></script>
<script type="text/javascript" src="js/jquery.flexslider.js"></script>
<script type="text/javascript" src="js/owl.carousel.min.js"></script>
<script type="text/javascript" src="js/jquery.mobile-menu.min.js"></script>
</body>
</html>