其他的就不细说了,直接看下面代码
{dede:channelartlist typeid=4 row=10 } </p> <p> {dede:field name='typename'/}{dede:sql sql='Select * from dede_arctype where reid=~id~ ORDER BY id limit 0,10'}href='[field:typedir function='str_replace("{cmspath}","",@me)'/]' target='_blank'>[field:typename/]{/dede:sql}</p> <p>{/dede:channelartlist}