-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.php
44 lines (33 loc) · 1.24 KB
/
sidebar.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
<div class="sidebar"><br>
<h3 class="text">Dashboard</h3><br><hr><br>
<ul class="s">
<?php
if(isset($_SESSION["AID"]))
{
echo'
<li class="li"><a href="admin_home.php">Home Page</a></li>
<li class="li"><a href="add_class.php"> Class</a></li>
<li class="li"><a href="add_sub.php"> Subject</a></li>
<li class="li"><a href="add_staff.php"> Teacher</a></li>
<li class="li"><a href="view_staff.php">View Teachers</a></li>
<li class="li"><a href="set_exam.php">Set Exam</a></li>
<li class="li"><a href="view_exam.php">View Exam</a></li>
<li class="li"><a href="student.php"target="_blank"> View Student</a></li>
<li class="li"><a href="logout.php">Logout</a></li>
';
}
else{
echo'
<li class="li"><a href="teacher_home.php">Profile</a></li>
<li class="li"><a href="handle_class.php"> Handled Class</a></li>
<li class="li"><a href="add_stud.php"> Students</a></li>
<li class="li"><a href="view_stud_teach.php" target="_blank"> View Student</a></li>
<li class="li"><a href="tech_view_exam.php">View Exam</a></li>
<li class="li"><a href="add_mark.php">Add Marks</a></li>
<li class="li"><a href="view_mark.php">View Marks</a></li>
<li class="li"><a href="logout.php">Logout</a></li>
';
}
?>
</ul>
</div>