{volist name="menu" id="item" key="k"} {if $item['type']==2}
- {:__($item.title)}
{if !empty($item['child'])} {volist name="item['child']" id="son" key="kk"} {if !empty($son['child'])}

- {:__($son.title)}

{else /}

- {:__($son.title)}

{/if} {/volist} {/if} {else /} {if !empty($item['child'])}

- {:__($item.title)}

{else /} {if $item['type']==2}
- {:__($item.title)}
{else /}

- {:__($item.title)}

{/if} {/if} {/if} {/volist}