
這種logo在中間的一共有6個(gè)欄目我應(yīng)該怎么循環(huán),可以前面循環(huán)前三個(gè),后面循環(huán)后是三個(gè)
<dl class="nav_top_left">
{list action=category module=share pid=0 num=3}
<dd><a href="{$t.url}">{$t.name}</a></dd>
{/list}
</dl>
<dl class="nav_top_logo">
<a href="/"><img src="{dr_get_file(dr_block('logo2'))}" /></a>
</dl>
<dl class="nav_top_right">
{list action=category module=share pid=0 }
<dd><a href="{$t.url}">{$t.name}</a></dd>
{/list}
</dl>
{list action=category module=share pid=0 num=3,3}
回復(fù)@可愛的鳳凰號沒有作用
<dl class="nav_top_left"> {list action=category module=share pid=0 num=3} <dd><a target="_blank" href="{$t.url}">{$t.name}</a></dd> {/list} </dl> <dl class="nav_top_logo"> <a target="_blank" href="/"><img src="{dr_get_file(dr_block('logo2'))}" /></a> </dl> <dl class="nav_top_right"> {list action=category module=share pid=0 num=6} {if $key>2} <dd><a target="_blank" href="{$t.url}">{$t.name}</a></dd> {/if} {/list} </dl>