-
Notifications
You must be signed in to change notification settings - Fork 0
/
success.php
61 lines (57 loc) · 2.02 KB
/
success.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
session_start();
require 'connection.php';
if(!isset($_SESSION['email'])){
header('location:index.php');
}else{
$user_id=$_GET['id'];
$confirm_query="update users_items set status='Confirmed' where user_id=$user_id";
$confirm_query_result=mysqli_query($con,$confirm_query) or die(mysqli_error($con));
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="img/lifestyleStore.png" />
<title>Worlds Store</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- latest compiled and minified CSS -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css">
<!-- jquery library -->
<script type="text/javascript" src="bootstrap/js/jquery-3.2.1.min.js"></script>
<!-- Latest compiled and minified javascript -->
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<!-- External CSS -->
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div>
<?php
require 'header.php';
?>
<br>
<div class="container">
<div class="row">
<div class="col-xs-6">
<div class="panel panel-primary">
<div class="panel-heading"></div>
<div class="panel-body">
<p>Your order is confirmed. Thank you for shopping with us. <a href="products.php">Click
here</a> to purchase any other item.</p>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<center>
<p>Copyright © Worlds Store. All Rights Reserved.</p>
<p>This website is developed by Aman Mourya</p>
</center>
</div>
</footer>
</div>
</body>
</html>