{foreach from=$data item=d}

# {if $d.title} {$d.title}{else}无题{/if}

{dtktime time=$d.time}
{feeds item=$d.body type=$d.type limit=$limits bid=$d.bid}
标签:
{tag tag=$d.tag c=tag}
{$d.good_num}
{$d.bad_num}
{if $d.title == ''}全文{/if} 动态{if {$d.feedcount} != 0}({$d.feedcount}){/if} {if islogin()} 评论{if {$d.replaycount} != 0}({$d.replaycount}){/if} {if $d.uid != $smarty.session.uid} {if $d.followid != ''} 已关注 {else} 关注 {/if} {/if} {if $d.uid != $smarty.session.uid} {if $d.likeid != ''} 已喜欢 {else} 喜欢 {/if} {/if} 收集 {if $d.uid == $smarty.session.uid || $smarty.session.admin == 1} {/if} {/if}
{if islogin()}
{/if}

{/foreach}