點(diǎn)評(píng):本文詳細(xì)介紹了如何調(diào)用會(huì)員
調(diào)用12個(gè)企業(yè)會(huì)員 按 注冊(cè)時(shí)間排序代碼如下:
{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}
代碼如下:
{dede:sql sql='select * from dede_member where mtype="個(gè)人" order by mid limit 0,12'}
<a href=../member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a>
{/dede:sql}
代碼如下:
{dede:sql sql='select * from dede_member order by mid limit 0,12'}
<a href=../member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a>
{/dede:sql}
代碼如下:
{dede:sql sql='select * from dede_member order by logintime limit 0,12'}
<a href=../member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a>
{/dede:sql}
代碼如下:
{dede:sql sql='select * from dede_member where length(face)>0 order by logintime limit 0,12'}
<a href=../member/index.php?uid=[field:userid/] target='_blank'><img src=[field:face/] /></a>
{/dede:sql}
代碼如下:
{dede:sql sql="SELECT mid,mtype,userid,uname,matt,face
FROM dede_member
where matt = 1 and mtype='個(gè)人'
LIMIT 0 , 10"}
頭像:<img src="[field:face runphp='yes']
if(!@me)@me = '';
[/field:face]" />
用戶名:<a [field:global name='cfg_cmspath'/]/member/?[field:userid/]/'>[field:uname/]</a>
{/dede:sql}
[field:face runphp='yes']
if(!@me)@me = '';
[/field:face]
代碼如下:
[quote]
{dede:sql sql="Select mid,userid,uname,scores From dede_member order by scores desc limit 0,10"}
<dd><span class="name"><a [field:global name='cfg_cmspath'/]/member/?[field:userid/]/'>[field:uname/]</a>
</span><span class="jifen">積分[field:scores/]</span></dd>
{/dede:sql}
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會(huì)員發(fā)布,如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請(qǐng)注明: DEDECMS織夢(mèng)系統(tǒng)的會(huì)員調(diào)用方法詳細(xì)介紹