dedecms会员中心常用信息输出

摘要:dedecms作为企业开源系统一直受大家欢迎,使用过程中或多或少也会接触到dedecms的会员部分,下面我们来看一下会员部分具体包括哪些字段? span style=font-size:14px;span style=font-family:tahoma,geneva

dedecms作为企业开源系统一直受大家欢迎,使用过程中或多或少也会接触到dedecms的会员部分,下面我们来看一下会员部分具体包括哪些字段?

<span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">echo $cfg_ml->M_UserName;
echo "";
echo $cfg_ml->M_ID;
echo "";
echo $cfg_ml->M_MbType;
echo "";
echo $cfg_ml->M_Money;
echo "";
echo $cfg_ml->M_Scores;
echo "";
echo $cfg_ml->M_UserName;
echo "";
echo $cfg_ml->M_Rank;
echo "";
echo $cfg_ml->M_Face;
echo "";
echo $cfg_ml->M_LoginTime;
echo "";
echo $cfg_ml->M_KeepTime;
echo "";
echo $cfg_ml->M_Spacesta;
echo "";
echo $cfg_ml->M_Honor;
echo "";
echo $cfg_ml->fields['sex'];
echo "";
echo $cfg_ml->fields['email'];
echo "";
echo $cfg_ml->fields['honor'];
echo "";
echo $cfg_ml->fields['matt'];</span></span>

打印print_r($cfg_ml) 查看数组

<span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">adminMemberLogin Object    
(    
   [M_ID] => 1    
   [M_LoginID] => admin    
   [M_MbType] => 个人    
   [M_Money] => 0    
   [M_Scores] => 10000    
   [M_UserName] => admin    
   [M_Rank] => 100    
   [M_Face] =>    
   [M_LoginTime] => 1393946471    
   [M_KeepTime] => 604800    
   [M_Spacesta] => 0    
   [fields] => Array    
       (    
           [mid] => 1    
           [mtype] => 个人    
           [userid] => admin    
           [pwd] => 21232f297a57a5a743894a0e4a801fc3    
           [uname] => admin    
           [sex] => 男    
           [rank] => 100    
           [uptime] => 0    
           [exptime] => 0    
           [money] => 0    
           [email] =>    
           [scores] => 10000    
           [matt] => 10    
           [spacesta] => 0    
           [face] =>    
           [safequestion] => 0    
           [safeanswer] =>    
           [jointime] => 1376494666    
           [joinip] =>    
           [logintime] => 1393946471    
           [loginip] => 127.0.0.1    
           [checkmail] => -1    
           [honor] => 上校    
       )    
   [isAdmin] => 1    
   [M_UpTime] => 0    
   [M_ExpTime] => 0    
   [M_HasDay] =>    
   [M_JoinTime] => 2013-08-14    
   [M_Honor] => 上校    
   [memberCache] => memberlogin    
)</span></span>
版权声明:本文为本站原创文章,未经本站允许不得转载。https://www.zmzmb.com/a/study/dede/859.html
赞(0)

如何修改织梦提示信息对话框

追梦者模板 8

dedecms织梦提示信息对话框修改方法 在织梦Dedecms中,页面跳转时都会是出现一个DEDECMS提示信息的对话框,我们可以根据自己的个人网站来修改这个提示信息标题,具体方法如下: DEDECMS提示信

dedecms分类信息列表页读取会员等级值

追梦者模板 8

织梦dedecms分类信息列表页读取会员等级值, 将以下代码放在extend.func.php文件下方 。 dfunction COMMemberInfos($fields,$mid){ global $dsql; if($mid = 0){ $revalue = Error; } else{ $row=$dsql-GetOne(select * from dede_member wh