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

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

{/pboot:nav}
</ul>