forked from codeb1ooded/RTI_Automation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselect_option.php
More file actions
37 lines (35 loc) · 1.14 KB
/
select_option.php
File metadata and controls
37 lines (35 loc) · 1.14 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
<?php
if(!isset($_SESSION)) {
session_start();
}
?>
<html>
<head>
<title>Home</title>
<link rel="stylesheet" href="css/new_prev.css">
<link rel="stylesheet" href="css/background.css">
</head>
<?php
// Variable $login_access defines which type of user is logged in and then give response of the page as per that
$login_access = $_SESSION['login_access'];
if($login_access == 'Appellant'){
include 'appellant_interface.php';
}
else{
echo "<div class=new-prev>";
echo "<marquee scrollamount=5><strong>PLEASE SELECT AN OPTION:</strong></marquee> <br><br><br>";
echo "<div class=options>";
if($login_access=='Admin') {
echo"<a href='./add_rti.html'>Add New RTI</a><br><br><br>
<a href='./report.php'>Generate Report</a><br><br><br>
<a href='./backup_ask_user.html'>Create Backup</a><br><br><br>
<a href='./change_password.php'>Change Password</a><br><br><br>";
}
echo"<a href='./ongoing_rti.php'>Ongoing RTIs</a><br><br><br>
<a href='./completed_rti.php'>Completed RTIs</a><br><br><br>
<a href='./view_closed_rti.php'>Closed RTIs</a>
</div>
</div>";
}
include 'logoff.html';
?>