-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsession_clear.php
93 lines (76 loc) · 3.93 KB
/
session_clear.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Fooderia</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<!-- Font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet">
<link rel="stylesheet" href="fonts/beyond_the_mountains-webfont.css" type="text/css"/>
<!-- Stylesheets -->
<link href="plugin-frameworks/bootstrap.min.css" rel="stylesheet">
<link href="plugin-frameworks/swiper.css" rel="stylesheet">
<link href="fonts/ionicons.css" rel="stylesheet">
<link href="common/styles.css" rel="stylesheet">
</head>
<body>
<?php
session_start();
include("toconnect.php");
$cust_id = $_SESSION['cust_id'];
mysqli_query($connection,"CALL clearCart('$cust_id')");
session_unset();
session_destroy();
echo "<script>window.location.href='index.php'</script>";
?>
<header>
<div class="container">
<a class="logo" href="#"><img src="images/logo-white.png" alt="Logo"></a>
<div class="right-area">
<h6><a class="plr-20 color-white btn-fill-primary" href="cart.php">CART</a></h6>
</div><!-- right-area -->
<a class="menu-nav-icon" data-menu="#main-menu" href="#"><i class="ion-navicon"></i></a>
<ul class="main-menu font-mountainsre" id="main-menu">
<li><a href="index.php">HOME</a></li>
<li><a href="03_menu.php">YUM YUM</a></li>
</ul>
<div class="clearfix"></div>
</div><!-- container -->
</header>
<footer class="pb-50 pt-70 pos-relative">
<div class="pos-top triangle-bottom"></div>
<div class="container-fluid">
<a href="index.php"><img src="images/logo-white.png" alt="Logo"></a>
<div class="pt-30">
<p class="underline-secondary"><b>Address:</b></p>
<p>Bangalore . Mumbai . Chennai . Kolkata</p>
</div>
<div class="pt-30">
<p class="underline-secondary mb-10"><b>Phone:</b></p>
<a href="tel:+53 345 7953 32453 ">1234567890 </a>
</div>
<div class="pt-30">
<p class="underline-secondary mb-10"><b>Email:</b></p>
<a href="mailto:[email protected]"> [email protected]</a>
</div>
<ul class="icon mt-30">
<li><a href="#"><i class="ion-social-pinterest"></i></a></li>
<li><a href="#"><i class="ion-social-facebook"></i></a></li>
<li><a href="#"><i class="ion-social-twitter"></i></a></li>
<li><a href="#"><i class="ion-social-dribbble-outline"></i></a></li>
<li><a href="#"><i class="ion-social-linkedin"></i></a></li>
<li><a href="#"><i class="ion-social-vimeo"></i></a></li>
</ul>
<p class="color-light font-9 mt-50 mt-sm-30"><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="ion-heart" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p>
</div><!-- container -->
</footer>
<!-- SCIPTS -->
<script src="plugin-frameworks/jquery-3.2.1.min.js"></script>
<script src="plugin-frameworks/bootstrap.min.js"></script>
<script src="plugin-frameworks/swiper.js"></script>
<script src="common/scripts.js"></script>
</body>
</html>