MicroLPS


A personal website

Search

Site friends

Investworkflow.com 茶马股道 
PMP exam guilde referece 
PMI  IBM SAP

Catalog categories

UML [1]
Web technology and tools [13]
Javascript HTML XML CSS etc.
Lotus Domino [0]

Login form

Statistics


Total online: 1
Guests: 1
Users: 0

Our poll

Rate my site
Total of answers: 6
Monday, 2017-10-23, 7:03 AM
Welcome Guest
Main | Registration | Login | RSS

Publisher

Main » Articles » Software/Web Design and Development » Web technology and tools

dede模板取得当前登录用户


{dede:php} 



if($cfg_ml->IsLogin()){ echo $cfg_ml->M_UserName;
$row=$dsql->GetOne("SELECT  * FROM `#@__member` WHERE mid='".$cfg_ml->M_ID."'");
echo $cfg_ml->M_Rank;

echo $cfg_ml->M_LoginID;

echo $cfg_ml->M_Rank;

echo $cfg_ml->M_ID;
echo $row['mtype']; 
}

{/dede:php}


Source:
Category: Web technology and tools | Added by: peng (2013-12-27)
Views: 665 | Rating: 0.0/0 |
Total comments: 0

Only registered users can add comments.
[ Registration | Login ]