-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.php
More file actions
99 lines (68 loc) · 2.52 KB
/
menu.php
File metadata and controls
99 lines (68 loc) · 2.52 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
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
<!DOCTYPE html>
<div class="nav">
<ul>
<li><a href="index.php">Home </a></li>
<li><a href="dates.php">Dates </a></li>
<li><a><i>Information </i></a>
<ul>
<li><a href="about.php">About the conference</a></li>
<li><a href="fee.php">Conference Fee</a></li>
<li><a href="hotelinfo.php">Hotel Information</a></li>
<li><a href="registrationforconference.php">Conference Registration</a></li>
<li><a href="program.php">Conference Program</a></li>
<li><a href="guidelines.php">Guidelines</a></li>
<li><a href="keynote.php">Keynote Speakers</a></li>
<li><a href="call.php">Call for Paper</a></li>
<li><a href="major.php">Major Areas</a></li>
</ul>
</li>
<li><a href="comments.php">Comments </a></li>
<?php
session_start();
if(isset($_SESSION['loginstatus']) && $_SESSION['loginstatus']==true)
{
echo "<li><a id='orange'><i><b>Reviewer<b></i></a><ul>
<li><a id='orange'><i>" . $_SESSION['username'] . "</i></a></li>
<li><a href='logout.php'> Log out</a></li>
<li><a href='reviewerregister.php'>Registration</a></li>
<li><a href='submission.php'>Paper</a></li>
</ul></li>";
}
else
{
echo "<li><a><i>Reviewers </i></a>
<ul>
<li><a href='login.php'> Log in</a></li>
<li><a href='reviewerregister.php'>Reviewer Registration</a></li>
<li><a href='submission.php'>Paper Submission</a></li>
</ul>";
}
?>
</li>
<?php
if(isset($_SESSION['adminstatus']) && $_SESSION['adminstatus']==true)
{
echo "<li><a id='orange'><i><b>Admin<b></i></a><ul>
<li><a id='orange'><i>" . $_SESSION['adminname'] . "</i></a></li>
<li><a href='logout.php'>Log out</a></li>
<li><a href='admindbmanagement.php'>Management</a></li>
</ul></li>";
}
else
{
echo "
<li><a><i>Admin </i></a>
<ul>
<li><a href='adminlogin.php'> Log in</a></li>
</ul>
";
}
// admins should only be able to make new users
//the register page won't come up if you aren't logged in, in the page and menu
//Login page
//Create new admin page/management
//db management
// if this issue continues, make the menu into php and put log in data in the edge of the screen, save the old menu
?>
</ul>
</div>