{dede:sql sql='select * from dede_member where mtype="企業(yè)" order by mid limit 0,12'}
<a href=../member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a>
{/dede:sql}
調用12個個人會員 按 注冊時間排序
代碼如下:
{dede:sql sql='select * from dede_member where mtype="個人" order by mid limit 0,12'}
<a href=../member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a>
{/dede:sql}