{if !$topics} {assign var=topics value=$cbgroup->get_group_topics($group.group_id)} {/if}
  Topic Title Views Replies Last Reply
{if $topics} {foreach from=$topics item=topic} {assign var=poster value=$userquery->get_user_details($topic.userid)} {if $topic.last_poster} {assign var=last_poster value=$userquery->get_user_details($topic.last_poster)} {else} {assign var=last_poster value=''} {/if}
{$topic.topic_title}by {$poster.username} 4 days ago {$topic.total_views|number_format} {$topic.total_replies|number_format} {if $last_poster}{$topic.last_post_time|niceTime}
by {$last_poster.username}{else}Never{/if}
{/foreach} {else}
No Topics
{/if}