{loop $data $announce}
  • {$announce['title']} [{if $showauthor}发布人:{$announce[username]} {/if}{$announce[addtime]}]
  • {/loop}