Rev 70 | Rev 112 | 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 | |||
| 15 | tom | 12 | write('<h4><a href="account.php?id=' . $user->ID. '">Manage Account</a></h4>'); |
| 8 | tom | 13 | |
| 11 | tom | 14 | if ($page->isUserAdmin($user)) |
| 15 | { |
||
| 15 | tom | 16 | write('<h4><a href="all-accounts.php">Manage All Accounts</a></h4>'); |
| 17 | write('<h4><a href="all-blog-posts.php">Manage All Blog Posts</a></h4>'); |
||
| 18 | write('<h4><a href="all-forum-categories.php">Manage All Forum Categories</a></h4>'); |
||
| 19 | write('<h4><a href="all-forum-topics.php">Manage All Forum Topics</a></h4>'); |
||
| 20 | write('<h4><a href="all-forum-posts.php">Manage All Forum Posts</a></h4>'); |
||
| 11 | tom | 21 | } |
| 22 | |||
| 8 | tom | 23 | $page->drawFooter(); |
| 24 | |||
| 25 | ?> |
||
| 70 | tom | 26 |