{pc:content action="lists" catid="$catid" num="10" order="id DESC" page="$page"}
{loop $data $r}
{php $keywords = explode(' ',$r[keywords]);}
<b>标签:</b>
{loop $keywords $keyword}
<a style="color:#3300FF; border:1px solid #3300FF; padding:2px;" href="{APP_PATH}index.php?m=content&c=tag&catid={$catid}&tag={urlencode($keyword)}" class="blue"> {$keyword}</a>
{/loop}
{/loop}
转载于:https://my.oschina.net/tenking/blog/30289