-
Notifications
You must be signed in to change notification settings - Fork 0
/
deliveryMan.php
39 lines (34 loc) · 957 Bytes
/
deliveryMan.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
<?php
include 'connection.php';
$conn=connect();
session_start();
if (isset($_SESSION["deli_email"])) {
$deliUser=$_SESSION["deli_email"];
}
else {
header("Location: index1.php");
}
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="deliveryMan.css">
<title>Delivery Hero Panel</title>
</head>
<body>
<nav style="height:12vh; background: #059862">
<div class="item2">
<a class="change1" href="#"><?php echo $_SESSION["deli_email"]; ?></a>
<a class="change1" href="toDeliver.php">orders to deliver</a>
<a class="change1" href="trackMe.php">Track me</a>
<form method="post">
<input type="submit" name="signout" value="signout">
<?php if (isset($_POST["signout"])) {
session_destroy();
} ?>
</form>
</div>
</nav>
</body>
</html>