Subversion Repositories taios

Rev

Rev 498 | 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
 
181 tom 7
if (empty($_GET['id']) || $_GET['id'] == -1)
129 tom 8
{
9
    $page->redirect('index.php');
10
}
11
 
522 muzer 12
$page->title = 'Blog Post &middot; ' . htmlentities($page->getBlogPost($page->getGetID())->title, ENT_QUOTES);
498 muzer 13
 
130 tom 14
$page->drawHeader();
15
$page->drawBlogCategoriesMenu();
16
$page->drawMiddle();
17
 
120 tom 18
$page->drawBlogPostTree($page->getGetID(), true);
22 freddie 19
 
20
$page->drawFooter();
21
 
22
?>
60 tom 23