Subversion Repositories taios

Rev

Rev 96 | Rev 258 | 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>');
112 tom 18
    write('<h4><a href="all-projects.php">Manage All Projects</a></h4>');
15 tom 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>');
11 tom 22
}
23
 
8 tom 24
$page->drawFooter();
25
 
26
?>
70 tom 27