-
Notifications
You must be signed in to change notification settings - Fork 0
/
orders.php
168 lines (144 loc) · 6.67 KB
/
orders.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?php include('conn/connection.php'); ?>
<?php
session_start();
if(isset($_SESSION['u_name']))
{
session_unset();
session_destroy();
header('location:INDEX.php');
}
elseif(!isset($_SESSION['admin']))
{
header('location:INDEX.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>BRAVEHEARTZ ONLINE ARDUINO SHOP</title>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,700" rel="stylesheet">
<!-- Bootstrap -->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"/>
<!-- Slick -->
<link type="text/css" rel="stylesheet" href="css/slick.css"/>
<link type="text/css" rel="stylesheet" href="css/slick-theme.css"/>
<!-- nouislider -->
<link type="text/css" rel="stylesheet" href="css/nouislider.min.css"/>
<!-- Font Awesome Icon -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css"/>
<link type="text/css" rel="stylesheet" href="css/newstyle.css"/>
<script defer src="js/script.js"></script>
</head>
<body>
<!-- HEADER -->
<header>
<!-- TOP HEADER -->
<div id="top-header">
<div class="container">
<ul class="header-links pull-left">
<li><a href="#"><i class="fa fa-phone"></i> +9471-3565356</a></li>
<li><a href="#"><i class="fa fa-envelope-o"></i> [email protected]</a></li>
<li><a href="#"><i class="fa fa-map-marker"></i> south eastern university of sri lanka</a></li>
</ul>
<ul class="header-links pull-right">
<li><a href="?id=LOGOUT"><i class="user"></i>LOGOUT</a></li>
<?php if(isset($_GET['id']))
{
$id=$_GET['id'];
if ($id=="LOGOUT")
{
include 'connection.php';
session_start();
session_unset();
session_destroy();
header('location:sign.php');
}
else
{
echo "logout error";
}
}
?>
</ul>
</div>
</div>
<!-- /TOP HEADER -->
<!-- MAIN HEADER -->
<div id="header">
<!-- container -->
<div class="container">
<!-- row -->
<div class="row" style="height:4vw">
<!-- LOGO -->
<div class="banner" style="overflow: hidden;height: 9.1vw;position: absolute;margin-top: -1.1vw;margin-left: -12vw;z-index: 0">
<video autoplay muted loop
style="transform: rotate(180deg);height: 115vh;">
<source src="./Images/bg.mp4" type="video/mp4">
</video>
</div>
<!-- /LOGO -->
<div class="anim-header">
<span style="--i:1;">B</span>
<span style="--i:2;">R</span>
<span style="--i:3;">A</span>
<span style="--i:4;">V</span>
<span style="--i:5;">E</span>
<span style="--i:6;">H</span>
<span style="--i:7;">E</span>
<span style="--i:8;">A</span>
<span style="--i:9;">R</span>
<span style="--i:10;">T</span>
<span style="--i:11;">Z</span>
</div>
<!-- /Cart -->
<div class="searchnew-bar">
<div class="col-md-3 clearfix">
<div class="wrap">
<div class="search">
<input type="text" class="searchTerm" placeholder="What are you looking for?">
<button type="submit" class="searchButton">
<i class="fa fa-search"></i>
</button>
</div>
</div>
</div>
</div>
<div class="cart" style="z-index: 4;position: absolute;">
<a href="CHECKOUT.php">
<i class="fa fa-cart-plus" ><br>CART</i>
</a>
</div>
</div>
</div>
<!-- row -->
</div>
<!-- container -->
</header>
<!-- /HEADER -->
<!-- NAVIGATION -->
<nav id="navigation">
<!-- container -->
<div class="container">
<!-- responsive-nav -->
<div id="responsive-nav">
<!-- NAV -->
<ul class="main-nav nav navbar-nav">
<li><a href="INDEX.php">Home</a></li>
<li><a href="MBSTORE.php">Orders</a></li>
<li><a href="TOOLS.php">Product Stocks</a></li>
<li><a href="MCSTORE.php">Updates</a></li>
</ul>
<!-- /NAV -->
</div>
<!-- /responsive-nav -->
</div>
<!-- /container -->
</nav>
<!-- /NAVIGATION -->