Subversion Repositories taios

Rev

Rev 47 | Rev 60 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

require '../_taios.php';

$page = new Taios_Page('Blog Posts', '../');

if (!isset($_GET['id']))
    $page->redirect("index.php");

$page->drawHeader();
write('<h3>Blog</h3>');
$page->drawBlogCategoriesMenu();
$page->drawMiddle();

if ($page->isUserGM($page->getLoggedInUser()))
{
    write('<p class="bold"><a href="add-post.php?id="' . $_GET['id'] . '">Add Comment</a></p>');
    write('<br />');
}

$page->drawBlogPostTree($_GET['id']);

$page->drawFooter();

?>