Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 42 → Rev 44

/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
119,11 → 119,11
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>');
 
$ids = $this->findIDs('BlogPosts', 'WHERE ParentID = ' . $id);
$ids = $this->findIDs('BlogPosts', 'WHERE ParentID=' . $id);
for ($i = 0; $i < count($ids); $i++)
{
write('<p class="indent">');
$this->drawBlogPostTree($i);
$this->drawBlogPostTree($ids[$i]);
write('</p>');
}