-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadmin.php
More file actions
73 lines (51 loc) · 1.97 KB
/
Copy pathadmin.php
File metadata and controls
73 lines (51 loc) · 1.97 KB
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
<?php
// Initialize the session
session_start();
// If session variable is not set it will redirect to login page
if(!isset($_SESSION['username']) || empty($_SESSION['username'])){
header("location: index.php");
exit;
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="http://localhost/food/img/favicon.ico">
<title> Admin Details | FOOD DECIDER</title>
<!-- Bootstrap core CSS -->
<link href="http://localhost/food/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="http://localhost/food/css/bootstrap.min.cssnarrow-jumbotron.css" rel="stylesheet">
</head>
<body>
<div class="container">
<?php include 'header.php';?>
<main role="main">
<div class="alert alert-primary" role="alert">
Admin Details
</div>
<form>
<div class="form-group">
<label for="exampleInputhrname">Admin name</label>
<input type="Adminname" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter hrname">
</div>
<div class="form-group">
<label for="exampleInputhrname">Admin email</label>
<input type="Adminname" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Admin Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<a href="dashboard.php" type="submit" class="btn btn-primary">Update</a>
<a href="dashboard.php" type="submit" class="btn btn-danger">Cancel</a>
</form>
</main>
<?php include 'footer.php';?>
</div> <!-- /container -->
</body>
</html>