-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin.php
31 lines (29 loc) · 1.19 KB
/
admin.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
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<?php
include("session.php");
if($login_role=='user'){
header('location:user.php');
}
if($login_role=='moderator'){
header('location:moderator.php');
}
?>
<h1>Welcome to Portal Secretary</h1><br><?php echo "Today is " . date("Y-m-d") . "<br>";
echo "Today is " . date("l");?><br>
<link rel="stylesheet" href="style.css" type="text/css"/>
<div id="profile">
<h2>User name is: <?php echo $login_session;?> and Your Role is :<?php echo $login_role;?><br>Society ID is : <?php echo $society;?></h2>
<ul class="nav navbar-nav navbar-right">
<li><a href="funds.php">Set Payment/Maintenance due date and Amount</a></li>
<li><a href="workerstat.php">Monitor payments received and given to Workers</a></li>
<li><a href="memberstat.php">Change Society Members' Maintenance Payment status</a></li>
</ul>
<div id="logout"><a href="logout.php">Please Click To Logout</a></div>
</div>
</body>
</html>