如何取的子欄目的Url?
作者:jackie?? 發(fā)布時(shí)間:2010-01-07 22:31:23?? 瀏覽 :
- {loop type($typeid) $t}
- <h2><a title="{$t[typename]}" target="_blank" href="{$t[url]}">{$t[typename]}</a></h2>
- {loop type($t) $t1}
- <h3><a title="{$t1[typename]}" target="_blank" href="{$t1[url]}">{$t1[typename]}</a></h3>
- {loop type($t1) $t2}
- <h4><a title="{$t2[typename]}" target="_blank" href="{$t2[url]}">{$t2[typename]}</a></h4>
- {loop type($t2) $t3}
- <h5><a title="{$t3[typename]}" target="_blank" href="{$t3[url]}">{$t3[typename]}</a></h5>
- {/loop}
- {/loop}
- {/loop}
- {/loop}
復(fù)制代碼 |