-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvendor-dashboard.php
49 lines (38 loc) · 1.05 KB
/
vendor-dashboard.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
<?php include('includes/connection.php') ?>
<?php include('includes/session.php') ?>
<?php
//Unauthorized Access Check
checkSession();
if(!isset($_SESSION['usertype']) || $_SESSION['usertype'] != 'v'){
$message = base64_encode(urlencode("Please Login"));
header('Location:login.php?msg=' . $message);
exit();
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Vendor Dashboard | Ceylon Beverages</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<?php include('includes/header.php') ?>
<div class="row-100">
<h1 class="div-c">Vendor Dashboard</h1>
</div>
<div class="row-100">
<a href="vendor-product-view.php">
<div class="dashboard-button">
Products
</div>
</a>
</div>
<div class="row-100">
<a href="vendor-report-view.php">
<div class="dashboard-button">
Reports
</div>
</a>
</div>
</body>
</html>