一,导航一二级常用:
<ul class="list clearfix" id="na">
<li id="cur" {pboot:if(0=='{sort:scode}')}class='hover'{/pboot:if} ><a href="{pboot:sitepath}/" title="网站首页">网站首页</a></li>
{pboot:nav parent=0}
<li><a href="[nav:link]" title="[nav:name]" class='{pboot:if('[nav:scode]'=='{sort:tcode}')}hover{/pboot:if}'>[nav:name]</a>
{pboot:if([nav:soncount]>0)}
<dl>
{pboot:2nav parent=[nav:scode]}
<dd><a href="[2nav:link]" title="[2nav:name]">[2nav:name]</a> </dd>
{/pboot:2nav}
</dl>
{/pboot:if}
</li>
{/pboot:nav}
</ul>
二,内页二级导航常用
<ul>
{pboot:nav num=10 parent={sort:tcode}} {pboot:if('[nav:scode]'=='{sort:scode}')}
<li class='hover'><a href='[nav:link]'>[nav:name]</a></li>
{else}
<li><a href="[nav:link]" title="[nav:name]">[nav:name]</a> </li>
{/pboot:if}{/pboot:nav}
</ul>
三,内页banner常用
<img src="{pboot:if('{sort:pic}')}{sort:pic}{else}{pboot:sitepath}/skin/images/nybanner.jpg{/pboot:if}">
四,首页调用产品
{pboot:list scode=8 num=3 order=date}
<li><a href="[list:link]" title="[list:title]"><img class="img" src="[list:ico]" alt="[list:title]"/>
<div class="title">
<h3 class="tit" >[list:title] [list:date style=Y-m-d]</h3>
<p class="cont">[list:content drophtml=1 lencn=60]</p>
</div>
<p class="view_detail">详情>></p>
</a></li>
{/pboot:list}
五,指定分类的二级分类
{pboot:nav parent=8} <a href="[nav:link]" title="[nav:name]">[nav:name]</a>{/pboot:nav}
六, <a {pboot:if({sort:tcode}=='{sort:scode}')}class="video_linkcolor"{/pboot:if} href="?article">全部</a>