MENU▼

UCMS一级二级导航

{$channels=c(0,999,0,1)}
{loop $channels as $channel}
<li>
    <a href="{$channel['url']}" class="{$channel['onstyle']}">{$channel['name']}</a>
{$channels2=c(0,999,$channel['cid'],1)}
<ul id="menu">
    {loop $channels2 as $channel2}
    <li><a href="{$channel2['url']}" class="{$channel2['onstyle']}">{$channel2['name']}</a></li>
    {/loop}
</ul>
</li>
{/loop}

请为这篇文章评分:
( 这篇文章尚未评分 )