Subversion Repositories taios

Rev

Rev 47 | Rev 60 | 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();
11
write('<h3>Blog</h3>');
57 tom 12
$page->drawBlogCategoriesMenu();
22 freddie 13
$page->drawMiddle();
14
 
15
if ($page->isUserGM($page->getLoggedInUser()))
16
{
47 freddie 17
    write('<p class="bold"><a href="add-post.php?id="' . $_GET['id'] . '">Add Comment</a></p>');
22 freddie 18
    write('<br />');
19
}
20
 
34 freddie 21
$page->drawBlogPostTree($_GET['id']);
22 freddie 22
 
23
$page->drawFooter();
24
 
25
?>