/
forum.php
71 lines (42 loc) · 1.91 KB
/
forum.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
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
<?php
include 'core/init.php';
protect_pages();
include 'includes/overall/header.php';
?>
<?php
if(user_exists_members($user_data['username'])===false){$data ="Baskerville Old Face";
echo'<td><div align="center">
<h1 style="font-family:'.$data.'; font-size:60px; text-shadow:0px 5px 2px #CCC; color:#900">Forum</h1></div>
<ul><li>
<a href="notifications.php" style="text-decoration:none;">Notifications</a></li>
<li>
<a href="emails.php" style="text-decoration:none">members email address </a></div></li>
<li><a href="messageforstudents.php" style="text-decoration:none ">Member messages</a></li>
</ul></td>';
}
else if(user_exists_members($user_data['username'])){
echo'<td><div align="center">
<h1>Forum</h1></div><div align ="left"><h3><ul><li><a href="notifications.php">Notifications</a>
</li>
</li> <li><a href="contentshare.php">share content with users </a>
</li> <li><a href="list.php">Details of all users</a>
</li> <li><a href="addblog.php" style="text-decoration:none">Add A Blog</a></li><li><a href="profile.php" style="text-decoration:none">Check Your Profile Details </a>
</li>
<li><a href="delete.php" style="text-decoration:none">Delete Some Blog </a>
<li><a href="message.php" style="text-decoration:none ">Share some message to Students</a></li>
</h3> </div></td>';
}
else if(user_type($user_data['username'])==2){
echo'<td><div align="center">
<h1>Forum</h1></div><div align ="left"><h3><ul><li><a href="notifications.php">Notifications</a>
</li>
</li> <li><a href="contentshare.php">share content with users </a>
</li> <li><a href="delete.php">Delete a post</a>
</li> <li><a href="list.php">Details of all users</a>
</li> </h3> </div></td>';
}
?>
<?php
include 'includes/aside.php';
?>
<?php include 'includes/overall/footer.php';?>