-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin-panel-staff.php
141 lines (127 loc) · 5.55 KB
/
admin-panel-staff.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
<!DOCTYPE html>
<html>
<head>
<title>Admin Panel</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script type="text/javascript" src="lib/bootstrap-datepicker.js"></script>
<link rel="stylesheet" type="text/css" href="lib/bootstrap-datepicker.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Bitter:700|Merriweather:700" rel="stylesheet">
<script>
$(function(){
$('.dates #user1').datepicker({
'format':'yyyy-mm-dd',
'autoclose' : true
});
});
</script>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg sticky-top navbar-dark bg-primary">
<a class="navbar-brand" href="admin-panel.php"><i class="fas fa-prescription" aria-hidden="true"></i><strong> General Hospital</strong></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="admin-panel.php"><i class="fas fa-user" aria-hidden="true"></i> Patients</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin-panel-doctor.php"><i class="fas fa-user-md" aria-hidden="true"></i> Doctors</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="admin-panel-staff.php"><i class="fas fa-user-plus" aria-hidden="true"></i> Staff <span class="sr-only">(current)</span></a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a class="nav-link" href="about.php"><i class="fas fa-user-circle" aria-hidden="true"></i> About</a></li>
<li><a class="nav-link" href="index.php"><i class="fas fa-sign-out-alt" aria-hidden="true"></i> Logout</a></li>
</ul>
</div>
</nav>
<!-- Jumbotron -->
<div class="jumbotron" style="background: url(Images/4.png) no-repeat; height: 250px; background-size: cover">
<h1><i class="fas fa-hospital"></i> GENERAL HOSPITAL</h1>
<p>You Trust, We Care</p>
</div>
<div class="container-fluid" style="margin: 25px auto 50px auto;">
<div class="row">
<div class="col-md-3">
<div class="list-group">
<a href="admin-panel-staff.php" class="list-group-item list-group-item-action active">Add Staff</a>
<a href="staff_details.php" class="list-group-item list-group-item-action">Staff Details</a>
</div>
</div>
<div class="col-md-9">
<div class="card">
<div class="card-body" style="background-color: #007BFF; color: #FFFFFF;">
<h3>Add New Staff</h3>
</div>
<div class="card-body">
<form class="form-group" action="func.php" method="post">
<div class="row">
<!-- First Name -->
<div class="col-md-4">
<label>First Name :</label>
</div>
<div class="col-md-8">
<input type="text" name="fname" class="form-control" required="">
</div><br><br>
<!-- Last Name -->
<div class="col-md-4">
<label>Last Name :</label>
</div>
<div class="col-md-8">
<input type="text" name="lname" class="form-control" required="">
</div><br><br>
<!-- Contact -->
<div class="col-md-4">
<label>Contact :</label>
</div>
<div class="col-md-8">
<input type="text" name="contact" class="form-control" required="">
</div><br><br>
<!-- Gender2 -->
<div class="col-md-4">
<label>Gender :</label>
</div>
<div class="col-md-8">
<div class="row">
<div class="col-md-4"><label>Male <input type="radio" name="gender" value="Male"></label></div>
<div class="col-md-4"><label>Female <input type="radio" name="gender" value="Female"></label></div>
<div class="col-md-4"><label>Other <input type="radio" name="gender" value="Other"></label></div>
</div>
</div><br><br>
<!-- DOB -->
<div class="col-md-4">
<label>Date of Birth</label>
</div>
<div class="col-md-8">
<div class="dates">
<input type="text" autocomplete="off" id="user1" class="form-control" name="dob" placeholder="yyyy-mm-dd" required="">
</div>
</div><br><br>
<!-- Post -->
<div class="col-md-4">
<label>Post :</label>
</div>
<div class="col-md-8">
<input type="text" name="post" class="form-control" required="">
</div><br><br>
</div>
<input type="submit" class="btn btn-primary" name="staff_submit" value="Confirm Enrollment"><br>
</form>
</div>
<!-- <div class="card-body" style="background-color: #007BFF; color: #FFFFFF;"></div>-->
</div>
</div>
<div class="col-md-1"></div>
</div>
</div>
</body>
</html>