以下是相關標簽: 

標簽名稱:channel 
功能說明: 
獲取欄目列表標簽 
使用實例: 

1{dede:channel type='top' row='8' currentstyle="<li><a href='~typelink~' class='thisclass'>~typename~</a> </li>"}
2 <li><a href='[field:typelink/]'>[field:typename/]</a> </li>
3{/dede:channel}

參數說明: 
typeid = '0' 欄目ID 
reid = '0' 上級欄目ID 
row = '100' 調用欄目數 
col = '1' 分多少列顯示(默認為單列) 
type = 'son' son表示下級欄目,self表示同級欄目,top頂級欄目 
currentstyle = '' 應用樣式 

實現如下:

1{dede:channel name='type' runphp='yes' if(reid == "0") @me = "son";else @me = "self";}
2<a href='[field:typeurl/]'>[field:typename/]</a>
3{/dede:channel}

?