{if count($posts) > 0 } <div class="cbb"> <h3>Recent Forum posts</h3> <p>Looking for something?</p> <p>We are looking to remove the forum component of the site</p> <p>If you have an opinion on this change contact: staff@sucs.org</p> {* <table width="100%" class="border"> <tr> <th>Subject</th> <th>by</th> </tr> {foreach name=posts from=$posts item=post} <tr> <td><a href="/Community/Forum/viewtopic.php?pid={$post.last_post_id}#p{$post.last_post_id}">{$post.subject}</a></td> <td><a href="/Community/Members/{$post.last_poster}">{$post.last_poster}</a></td> </tr> {/foreach} </table> *} </div> {/if}