/install.sql |
---|
29,6 → 29,7 |
CREATE TABLE BlogComments |
( |
ID INT NOT NUll AUTO_INCREMENT, |
ParentID INT, |
AuthorID INT, |
PostID INT, |
Title TEXT, |
/_taios.php |
---|
51,7 → 51,7 |
write('<br />'); |
if ($this->isLoggedIn()) |
{ |
$this->drawMenuItem('Manage Account', 'admim/?id=' . $this->getLoggedInUser()->ID); |
$this->drawMenuItem('Manage Account', 'admin/account.php?id=' . $this->getLoggedInUser()->ID); |
$this->drawMenuItem('Logout', 'logout-do.php'); |
} |
else |
/admin/index.php |
---|
0,0 → 1,16 |
<?php |
require '../_taios.php'; |
$page = new Taios_Page('Administration', '../'); |
$page->drawHeader(); |
$page->drawMiddle(); |
$page->checkLoggedIn(); |
$user = $page->getLoggedInUser(); |
write('<h3><a href="account.php?id=' . $user->ID. '">Manage Account</a></h3>'); |
$page->drawFooter(); |
?> |