-
Notifications
You must be signed in to change notification settings - Fork 0
/
adheader.php
260 lines (222 loc) · 11.5 KB
/
adheader.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<?php
session_start();
error_reporting(0);
include("dbconnection.php");
$dt = date("Y-m-d");
$tim = date("H:i:s");
?>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>HMS - Admin</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
<link href="assets/plugins/morrisjs/morris.css" rel="stylesheet" />
<!-- Custom Css -->
<link href="assets/css/main.css" rel="stylesheet">
<!-- Swift Themes. You can choose a theme from css/themes instead of get all themes -->
<link href="assets/css/themes/all-themes.css" rel="stylesheet" />
<!-- Bootstrap Material Datetime Picker Css -->
</head>
<body class="theme-cyan" style="background-color:#663399">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">
<div class="preloader">
<div class="spinner-layer pl-cyan">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
<p>Please wait...</p>
</div>
</div>
<!-- #END# Page Loader -->
<!-- Overlay For Sidebars -->
<div class="overlay" style="background-color:#663399"></div>
<!-- #END# Overlay For Sidebars -->
<!-- Morphing Search -->
<!-- Top Bar -->
<nav class="navbar clearHeader" style="background-color:#8B008B">
<div class="col-12">
<div class="navbar-header"> <a href="javascript:void(0);" class="bars"></a> <a class="navbar-brand"
href="#">Hospital Management System</a> </div>
<ul class="nav navbar-nav navbar-right">
<!-- Notifications -->
<li>
<a data-placement="bottom" title="Full Screen" href="logout.php"><i
class="zmdi zmdi-sign-in"></i></a>
</li>
</ul>
</div>
</nav>
<!-- #Top Bar -->
<section>
<!-- Left Sidebar -->
<aside id="leftsidebar" class="sidebar">
<?php
if(isset($_SESSION['adminid']))
{
?>
<!--Admin Menu -->
<div class="menu" style="background-color:#663399">
<ul class="list" style="overflow: hidden; width: auto; height: calc(-184px + 100vh);">
<li class="header">MAIN NAVIGATION</li>
<li class="active open"><a href="adminaccount.php"><i
class="zmdi zmdi-home"></i><span>Dashboard</span></a></li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-calendar-check"></i><span>Profile</span> </a>
<ul class="ml-menu">
<li><a href="adminprofile.php">Admin Profile</a></li>
<li><a href="adminchangepassword.php">Change Password</a></li>
<li><a href="admin.php">Add Admin</a></li>
<li><a href="viewadmin.php">View Admin</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-calendar-check"></i><span>Appointment</span> </a>
<ul class="ml-menu">
<li><a href="appointment.php">New Appointment</a></li>
<li><a href="viewappointmentpending.php">View Pending Appointments</a>
</li>
<li><a href="viewappointmentapproved.php">View Approved
Appointments</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-account-add"></i><span>Doctors</span> </a>
<ul class="ml-menu">
<li><a href="doctor.php">Add Doctor</a>
</li>
<li><a href="viewdoctor.php">View Doctor</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-account-o"></i><span>Patients</span> </a>
<ul class="ml-menu">
<li><a href="patient.php">Add Patient</a></li>
<li><a href="viewpatient.php">View Patient Records</a></li>
</ul>
</li>
<li> <a href="javascript:void(0);" class="menu-toggle toggled waves-effect waves-block"><i
class="zmdi zmdi-copy"></i><span>Service</span> </a>
<ul class="ml-menu" style="display: block;">
<li><a href="department.php" class=" waves-effect waves-block">Add Department</a></li>
<li><a href="viewdepartment.php" class=" waves-effect waves-block">View Department</a></li>
<li><a href="treatment.php" class=" waves-effect waves-block">Add Treatment type</a></li>
<li><a href="viewtreatment.php" class=" waves-effect waves-block">View Treatment types</a></li>
<li><a href="medicine.php" class=" waves-effect waves-block">Add Medicine</a></li>
<li><a href="viewmedicine.php" class=" waves-effect waves-block">View Medicine</a></li>
</ul>
</li>
</li>
</ul>
</div>
<!-- Admin Menu -->
<?php }?>
<!-- doctor Menu -->
<?php
if(isset($_SESSION['doctorid']))
{
?>
<div class="menu" style="background-color:#663399">
<ul class="list">
<li class="header">MAIN NAVIGATION</li>
<li class="active open"><a href="doctoraccount.php"><i
class="zmdi zmdi-home"></i><span>Dashboard</span></a></li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-calendar-check"></i><span>Profile</span> </a>
<ul class="ml-menu">
<li><a href="doctorprofile.php">Profile</a></li>
<li><a href="doctorchangepassword.php">Change Password</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-calendar-check"></i><span>Appointment</span> </a>
<ul class="ml-menu">
<li><a href="viewappointmentpending.php" style="width:250px;">View Pending Appointments</a>
</li>
<li><a href="viewappointmentapproved.php" style="width:250px;">View Approved
Appointments</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-account-add"></i><span>Doctors</span> </a>
<ul class="ml-menu">
<li><a href="doctortimings.php">Add Visiting Hour</a></li>
<li><a href="viewdoctortimings.php">View Visiting Hour</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-account-o"></i><span>Patients</span> </a>
<ul class="ml-menu">
<li><a href="viewpatient.php">View Patient</a>
</li>
</ul>
</li>
<li> <a href="viewdoctorconsultancycharge.php"><i class="zmdi zmdi-copy"></i><span>Income
Report</span> </a></li>
<li> <a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-copy"></i><span>Service</span> </a>
<ul class="ml-menu">
<li><a href="viewtreatmentrecord.php">View Treatment Records</a></li>
<li><a href="viewtreatment.php">View Treatment</a></li>
</ul>
</li>
</ul>
</div>
<?php }; ?>
<!-- doctor Menu -->
<!-- patient Menu -->
<?php
if(isset($_SESSION['patientid']))
{
?>
<div class="menu" style="background-color:#663399">
<ul class="list">
<li class="header">MAIN NAVIGATION</li>
<li class="active open"><a href="patientaccount.php"><i
class="zmdi zmdi-home"></i><span>Dashboard</span></a></li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-calendar-check"></i><span>Profile</span> </a>
<ul class="ml-menu">
<li><a href="patientprofile.php">View Profile</a></li>
<li><a href="patientchangepassword.php">Change Password</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-calendar-check"></i><span>Appointment</span> </a>
<ul class="ml-menu">
<li><a href="patientappointment.php" >Add Appointment</a></li>
<li><a href="viewappointment.php" >View Appointments</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-account-add"></i><span>Prescription</span> </a>
<ul class="ml-menu">
<li><a href="patviewprescription.php">View Prescription Records</a>
</li>
</ul>
</li>
<li><a href="javascript:void(0);" class="menu-toggle"><i
class="zmdi zmdi-account-o"></i><span>Treatment</span> </a>
<ul class="ml-menu">
<li><a href="viewtreatmentrecord.php">View Treatment Records</a></li>
</li>
</ul>
</li>
</ul>
</div>
<?php }; ?>
<!-- patient Menu -->
</aside>
<!-- #END# Left Sidebar -->
</section>
<section class="content home">