dedecms会员中心常用信息输出

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_Login
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'];

打印print_r($cfg_ml) 查看数组

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    
)

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

织梦如何调用会员详细信息: 在include/extend.func.php function GetMemberInfos($fields,$mid){ global $dsql; if($mid = 0){ $revalue = Error; } else{ $row=$dsql-GetOne(sele ct * from dede_member_person where mid ={$mid}); if(!is_array($row)){
在优化织梦DeDeCMS的个人博客时往往需要进行二次开发,在发表图集和文章时总是没发表一篇就要去更改文章作者和来源,操作繁琐非常麻烦,能简单就简单,无非就是修改织梦DeDeCMS图集与文章的默认来源于作者,开始之前需要提到的是图集发布于文章发布相关的文
织梦dedecms系统arclist标签noflag属性默认是只能过滤一个参数,比如过滤推荐是noflag=c,过滤有图片的文章是noflag=c,在模板制作过程中,有时候我们为了seo和避免重复,需要过滤多个参数。今天小编就来跟大家讲讲织梦dedecms系统noflag过滤多个参数。 打开
dedecms修改后台编辑器参数GetEditor dedecms通过include/helpers/util.helper.php function GetEditor($fname, $fvalue, $nheight=350, $etype=Basic, $gtype=print, $isfullpage=FALSE) 函数调用文本编辑器,个个参数可参考该方法的注释信息, * 获取编辑器
我们在调用封面页的时候,需要循环输出封面栏目下的子栏目以及子栏目下的文档,这个要怎么操作呢? 代码如下: {dede:channelartlist row=10} dl dta href={dede:field name=typeurl/}{dede:field name=typename/}/a/dt dd {dede:arclist titlelen=42 row=10}
相信大家都遇到过,我们在使用织梦dedecms系统程序开发网站中,会遇到很多因网页版面设计限定的宽度,使文章标题需要进行字数限制,通常做法是在a标签中加入一个title属性,让鼠标放上去的时候显示完整标题。但是标题被剪裁掉一些字符而不完整,下面小编就为