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: 1489 | Rating: 0.0/0 | |
Total comments: 0 | |