一级栏目调用例子：
<li {pboot:if(0=='{sort:scode}')}class="cur"{/pboot:if}><a href="/" title="网站首页">网站首页</a></li>
{pboot:nav num=10 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="cur"{/pboot:if}><a href="[nav:link]" title="[nav:name]">[nav:name]</a></li>
{/pboot:nav}



{pboot:nav num=10 parent={sort:tcode}}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="cur"{/pboot:if}>
<a href="[nav:link]" title="[nav:name]">[nav:name]</a>
</li>
{/pboot:nav}

{pboot:nav num=10 parent={sort:tcode}}
<a href="[nav:link]" {pboot:if('[nav:scode]'=='{sort:tcode}')}class="cur"{/pboot:if}>[nav:name]</a>
{/pboot:nav}

<ul>
{pboot:nav num=10 parent=0}
<li><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>

二级栏目调用例子：


{pboot:nav num=10 parent=0}
[nav:link][nav:name]

{pboot:if([nav:soncount]>0)}

{pboot:2nav num=10 parent=[nav:scode]}
[2nav:link][2nav:name]
{/pboot:2nav}

{/pboot:if}

{/pboot:nav}


<ul>
{pboot:nav num=10 parent=0}
<li><a href="[nav:link]">[nav:name]</a>
{pboot:if([nav:soncount]>0)}
<ul>
{pboot:2nav num=10 parent=[nav:scode]}
<li><a href="[2nav:link]">[2nav:name]</a></li>
{/pboot:2nav}
</ul>
{/pboot:if}
</li>
{/pboot:nav}
</ul>


三级导航栏调用例子：

<ul>
{pboot:nav num=10 parent=0}
<li><a href="[nav:link]">[nav:name]</a>
{pboot:if([nav:soncount]>0)}
<ul>
{pboot:2nav num=10 parent=[nav:scode]}
<li><a href="[2nav:link]">[2nav:name]</a></li>
{pboot:3nav num=10 parent=[2nav:scode]}
<li><a href="[3nav:link]">[3nav:name]</a></li>
{/pboot:3nav}
{/pboot:2nav}
</ul>
{/pboot:if}
</li>
{/pboot:nav}
</ul>


三级ul弹出导航栏调用例子：（2级if嵌套）

<ul>
{pboot:nav num=10 parent=0}
<li><a href="[nav:link]">[nav:name]</a>
{pboot:if([nav:soncount]>0)}
<ul>
{pboot:2nav num=10 parent=[nav:scode]}
<li><a href="[2nav:link]">[2nav:name]</a>
{pboot:2if([2nav:soncount]>0)}
<ul>
{pboot:3nav num=10 parent=[2nav:scode]}
<li><a href="[3nav:link]">[3nav:name]</a></li>
{/pboot:3nav}
</ul>
{/pboot:2if}
</li>
{/pboot:2nav}
</ul>
{/pboot:if}
</li>
{/pboot:nav}
</ul>


高亮方法：
{pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}

或者

{pboot:if(0=='{sort:scode}')}class='active'{/pboot:if}