Subversion Repositories taios

Rev

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

Rev Author Line No. Line
22 freddie 1
<?php
2
 
3
require '../_taios.php';
4
 
5
$page = new Taios_Page('Blog Posts', '../');
26 freddie 6
 
7
if (!isset($_GET['id']))
8
    $page->redirect("index.php");
9
 
22 freddie 10
$page->drawHeader();
57 tom 11
$page->drawBlogCategoriesMenu();
22 freddie 12
$page->drawMiddle();
13
 
14
if ($page->isUserGM($page->getLoggedInUser()))
15
{
47 freddie 16
    write('<p class="bold"><a href="add-post.php?id="' . $_GET['id'] . '">Add Comment</a></p>');
22 freddie 17
    write('<br />');
18
}
19
 
34 freddie 20
$page->drawBlogPostTree($_GET['id']);
22 freddie 21
 
22
$page->drawFooter();
23
 
24
?>
60 tom 25