?> <table width="100%" border="0" cellpadding="4" cellspacing="0"> <tr> <th colspan="3" align="left" bgcolor="#999999" scope="col"><?php echo $topic_name; ?> </th> </tr> <?php $i = $offset; foreach ($post_list as $post) { ?> <tr> <td width="20%" bgcolor="#CCCCCC"><?php echo getUserProfileNameLink($post['authorID']); ?> </td> <td width="50%" bgcolor="#CCCCCC">Posted: <?php echo $post['post_date']; ?> </td> <?php if ($post['parentID'] == 0) { ?> <td width="30%" align=right bgcolor="#CCCCCC">[<?php echo anchor('forums/posts/report/' . $post['postID'], ' Report '); ?> ]</td> <?php } else {
?> </td> <td align="center" valign="middle"><?php echo $topic['post_viewcount']; ?> </td> <td> <?php if (!empty($topic['last_post'])) { ?> <?php echo anchor('forums/posts/view_reply/' . $topic['last_post']['postID'], $topic['last_post']['post_date']); ?> <br/> Author: <?php echo getUserProfileNameLink($topic['last_post']['authorID']); ?> <?php } ?> </td> </tr> <?php } ?> <?php } ?> </table>
echo $forum['reply_count']; ?> </td> <td class="lastpost_info"> <?php if (isset($forum['last_post']['post_title'])) { ?> <?php echo anchor('forums/posts/view_reply/' . $forum['last_post']['postID'], $forum['last_post']['post_title']); ?> <br/> Posted: <?php echo $forum['last_post']['post_date']; ?> <br/> Author: <?php echo getUserProfileNameLink($forum['last_post']['authorID']); ?> <?php } ?> </td> </tr> <?php } ?> </table> <br/><br/> <?php }