常用方法:
1、 $article['content'] 文章内容数组
{foreach $article['content'] as $k => $v} {$k} {$v} {/foreach}
2、$article['tags'] 当前文章对应标签数组
{foreach $article['tags'] as $v} <a href="/portal/tags/{$v}/">{$_Y['tags'][$v]['title']}</a> {/foreach}
3、上一篇、下一篇 $article['prev']、$article['next']
{if $article['prev'] || $article['next']} <div class="fanye"> {if $article["prev"]} <p class="cl"><span>上一篇</span><a href="/portal/{$cat['dirnames']}/article-{$article['prev']['aid']}.html">{$article['prev']['title']}</a></p> {/if} {if $article["next"]} <p class="cl"><span>下一篇</span><a href="/portal/{$cat['dirnames']}/article-{$article['next']['aid']}.html">{$article["next"]['title']}</a></p> {/if} </div> {/if}
当前页面可用的 html快捷标签
{html val="button_edit" } //可选属性 class