Subversion Repositories taios

Rev

Rev 112 | Rev 258 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
169 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('<h4><a href="account.php?id=' . $user->ID. '">Manage Account</a></h4>');
13
 
14
if ($page->isUserAdmin($user))
15
{
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-projects.php">Manage All Projects</a></h4>');
19
    write('<h4><a href="all-forum-categories.php">Manage All Forum Categories</a></h4>');
20
    write('<h4><a href="all-forum-topics.php">Manage All Forum Topics</a></h4>');
21
    write('<h4><a href="all-forum-posts.php">Manage All Forum Posts</a></h4>');
22
}
23
 
24
$page->drawFooter();
25
 
26
?>
27