/blog/index.php |
---|
19,7 → 19,7 |
{ |
$id = $ids[$i]; |
$post = $page->getBlogPost($id); |
write('<a href="post.php?id=' . $i . '"><h3>' . $post->title. '</h3></a>'); |
write('<a href="post.php?id=' . $ids[$i] . '"><h3>' . $post->title. '</h3></a>'); |
write('<h5 style="color: #666666;">Posted On ' . date('l j F Y', $post->datePosted) . ' by ' . $post->user->name . ' (' . $post->user->username . ')</h5>'); |
write('<p>' . $post->content . '</p>'); |
} |
/_taios.php |
---|
123,7 → 123,7 |
for ($i = 0; $i < count($ids); $i++) |
{ |
write('<p class="indent">'); |
$this->drawBlogPostTree($i); |
$this->drawBlogPostTree($ids[$i]); |
write('</p>'); |
} |