DEDECMS织梦系统的会员调用方法详细介绍

调用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} 

调用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}