8,8 → 8,10 |
|
$id = $page->getGetID(); |
$forumPost = $page->getForumPost($id); |
write('<h4>' . $forumPost->title . '</h4>'); |
write('<p>' . $forumPost->description . '</p>'); |
write('<p class="bold"><a href="index.php?parentID=' . $forumPost->category->ID . '">Back to Topics</a></p><br />'); |
|
write('<h3>' . $forumPost->title . '</h3>'); |
write('<p>' . $forumPost->content . '</p>'); |
write('<br />'); |
|
$ids = $page->findIDs('ForumPosts', 'WHERE ParentID = ' . $id . ' ORDER BY DatePosted DESC'); |
17,7 → 19,7 |
{ |
$forumPost = $page->getForumPost($ids[$i]); |
write('<h4>' . $forumPost->title . '</h4>'); |
write('<p>' . $forumPost->description . '</p>'); |
write('<p>' . $forumPost->content . '</p>'); |
write('<br />'); |
} |
|