espcms特殊标签
内页banner图从后台调用分类图片
<div style="background:url({%$rootdir%}{%find:type class=$type.topid out=typepic%}{%$type.typepic%}) 50% 0 no-repeat;"></div>
{%find:type class=$type.topid out=typepic%}{%$type.typepic%}
内页显示一级栏目名称及链接
<a href="/index.php?ac=article&at=list&tid={%$uptypeview.tid%}" title="{%$uptypeview.typename%}">{%$uptypeview.typename%}</a>
文章详情页显示关联文章
{%if $read.linkdid!=''%} <ul> {%get name=list class=tid:$read.tid,linkdid:$read.linkdid,max:6%} {%forlist from=$array key=i%} <li> <a class="infolist" title="{%$array[i].title%}" href="{%$array[i].link%}">{%$array[i].title|cutstr(28,'...')%}</a> </li> {%/forlist%} {%/get%} </ul> {%/if%}