Skip to content
Snippets Groups Projects
forumposts.tpl 436 B
Newer Older
  • Learn to ignore specific revisions
  • {if count($posts) > 0 }
    <div class="cbb">
    
    <h3>Recent Forum posts</h3>
    
    <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}