-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
38 lines (38 loc) · 1016 Bytes
/
index.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
<?
include('header.inc');
if (!isset($_SESSION['email'])) {
include('login-test.inc');
} else if ($activity=="logout") {
session_destroy();
include('login-test.inc');
} else {
include('menu.inc');
if ($activity=="Request room") {
include('request.inc');
} else if ($activity=="Bookings") {
include('booking.inc');
} else if ($activity=="Pending") {
include('pending.inc');
} else if ($activity=="Users") {
include('user.inc');
} else if ($activity=="Room status") {
include('rooms.inc');
} else if ($activity=="Check-in") {
include('checkin.inc');
} else if ($activity=="Checkout") {
include('checkout.inc');
} else if ($activity=="Check-out") {
include('checkout.inc');
} else if ($activity=="Checkout students") {
include('checkout-students.inc');
} else if ($activity=="Check-in students") {
include('checkin-students.inc');
} else if ($activity=="Guests") {
include('guests.inc');
} else {
include('dashboard.inc');
include('user.inc');
}
}
include('footer.inc');
?>