Rev 8 | Rev 70 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8 | tom | 1 | <?php |
2 | |||
3 | require '../_taios.php'; |
||
4 | |||
5 | $page = new Taios_Page('Administration', '../'); |
||
6 | $page->drawHeader(); |
||
7 | $page->drawMiddle(); |
||
8 | |||
9 | $page->checkLoggedIn(); |
||
10 | $user = $page->getLoggedInUser(); |
||
11 | |||
12 | write('<h3><a href="account.php?id=' . $user->ID. '">Manage Account</a></h3>'); |
||
13 | |||
11 | tom | 14 | if ($page->isUserAdmin($user)) |
15 | { |
||
16 | write('<h3><a href="all-accounts.php">Manage All Accounts</a></h3>'); |
||
17 | write('<h3><a href="all-blog-posts.php">Manage All Blog Posts</a></h3>'); |
||
18 | write('<h3><a href="all-blog-comments.php">Manage All Blog Comments</a></h3>'); |
||
19 | write('<h3><a href="all-forum-categories.php">Manage All Forum Categories</a></h3>'); |
||
20 | write('<h3><a href="all-forum-topics.php">Manage All Forum Topics</a></h3>'); |
||
21 | write('<h3><a href="all-forum-posts.php">Manage All Forum Posts</a></h3>'); |
||
22 | } |
||
23 | |||
8 | tom | 24 | $page->drawFooter(); |
25 | |||
26 | ?> |