-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaster.php
271 lines (225 loc) · 12.5 KB
/
master.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
261
262
263
264
265
266
267
268
269
270
271
<?php
$base_url = "http://localhost/Hostel-Management-System/";
$ses = new \sessionManager\sessionManager();
//$ses->start();
$name = $ses->Get("name");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title><?php echo $GLOBALS['title']; ?></title>
<!-- Bootstrap Core CSS -->
<link href="<?php echo $base_url; ?>dist/css/bootstrap.min.css" rel="stylesheet">
<link href="<?php echo $base_url; ?>dist/css/datepicker.css" rel="stylesheet">
<!-- MetisMenu CSS -->
<link href="<?php echo $base_url; ?>dist/css/metisMenu.min.css" rel="stylesheet">
<!-- Timeline CSS -->
<link href="<?php echo $base_url; ?>dist/css/timeline.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="<?php echo $base_url; ?>dist/css/sb-admin-2.css" rel="stylesheet">
<!-- Morris Charts CSS -->
<link href="<?php echo $base_url; ?>dist/css/morris.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="<?php echo $base_url; ?>dist/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="<?php echo $base_url; ?>dist/css/dataTable.css" rel="stylesheet" type="text/css">
<link href="<?php echo $base_url; ?>dist/css/timepicker.css" rel="stylesheet" type="text/css">
<link href="<?php echo $base_url; ?>dist/css/calendar.css" rel="stylesheet" type="text/css">
<link href="<?php echo $base_url; ?>dist/css/custom_2.css" rel="stylesheet" type="text/css">
<link href="<?php echo $base_url; ?>dist/css/app.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<img alt="HMS" class="pull-left" src="<?php echo $base_url . 'site/images/logonav.png' ?>"><a class="navbar-brand titlehms" href="<?php echo $base_url . 'dashboard.php' ?>">Hostel Management System</a>
</div>
<!-- /.navbar-header -->
<ul class="nav navbar-top-links navbar-right">
<li>
<h5 class="titlehms"><?php echo $name ?></h5>
</li>
<!-- /.dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="<?php echo $base_url; ?>ui/setting/adduser.php"><i class="fa fa-gear fa-fw"></i> Settings</a>
</li>
<li class="divider"></li>
<li><a href="<?php echo $base_url; ?>index.php"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
</li>
</ul>
<!-- /.dropdown-user -->
</li>
<!-- /.dropdown -->
</ul>
<!-- /.navbar-top-links -->
<div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse">
<ul class="nav" id="side-menu">
<li>
<a href="<?php echo $base_url . 'dashboard.php'; ?>"><i class="fa fa-2x fa-dashboard fa-fw"></i> Dashboard</a>
</li>
<li>
<a href="#"><i class="fa fa-file-text fa-fw"></i>Attendence<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/attendence/add.php' ?>">Add Attendence</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/attendence/list.php' ?>">Attendence List View</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/attendence/view.php' ?>">Attendence View</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-maxcdn fa-fw"></i>Meal Manage<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/meal/add.php' ?>">Add New</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/meal/view.php' ?>">List View</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-money fa-fw"></i>Cost Manage<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/cost/add.php' ?>">Add New</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/cost/view.php' ?>">List View</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-users fa-fw"></i>Students Manage<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/studentManage/admission.php' ?>">Admission</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/studentManage/studentlist.php' ?>">Student List</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/studentManage/deposit.php' ?>">Deposit</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/studentManage/seatalocation.php' ?>">Seat Alocation</a>
</li>
</ul>
<!-- /.nav-second-level -->
</li>
<li>
<a href="#"><i class="fa fa-money fa-fw"></i>Students Payment<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/stdpayment/add.php' ?>">Add</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/stdpayment/approvallist.php' ?>">Approval List</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/stdpayment/view.php' ?>">View</a>
</li>
</ul>
<!-- /.nav-second-level -->
</li>
<li>
<a href="#"><i class="fa fa-users fa-fw"></i>Employee Manage<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/employee/add.php' ?>">Add New</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/employee/view.php' ?>">List view</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/employee/salaryadd.php' ?>">Salary Add</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/employee/salaryview.php' ?>">Salary View</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-dollar fa-fw"></i>Vendor Payment<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/payment/create.php' ?>">Add New</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/payment/view.php' ?>">List View</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-file-text fa-fw"></i>Bill Manage<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/bill/add.php' ?>">Add New</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/bill/view.php' ?>">List View</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-list-alt fa-fw"></i>Notice Board<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/notice/create.php' ?>">Notice Add/List</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-cog fa-fw"></i>Setting<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/setting/adduser.php' ?>">System Admin User</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-gears fa-fw"></i>Setup<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="<?php echo $base_url . 'ui/setup/fees.php' ?>">Fees</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/setup/mealrate.php' ?>">Meal Rate</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/setup/timeset.php' ?>">Time Set</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/setup/block.php' ?>">Blocks</a>
</li>
<li>
<a href="<?php echo $base_url . 'ui/setup/room.php' ?>">Rooms</a>
</li>
</ul>
</li>
</ul>
</div>
<!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->
</nav>