{if !$topics} {assign var=topics value=$cbgroup->get_group_topics($group.group_id)} {/if} {if $topics}

{foreach from=$topics item=topic} {assign var=user 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}

  {$topic.topic_post|description|strip_tags|truncate:100}
  {$topic.date_added|niceTime} – Added by {$user.username} –{if $last_poster}{lang code="last_reply"} {lang code="by"} {$last_poster.username} ({$topic.last_post_time|niceTime}){else}Participate{/if} {if has_access('admin_access') || $topic.userid == $userquery->userid} – Delete{/if}
{/foreach}

{/if}