DEDE判断当前是否有下级栏目,有就显示所有下级栏目,没有就显示同级栏目!
<span style="font-family:tahoma,geneva,sans-serif;"><span style="font-size:14px;">{dede:channel name='type' runphp='yes' if(reid == "0") @me = "son";else @me = "self";}
<a href='[field:typeurl/]'>[field:typename/]</a>
{/dede:channel}</span></span>