dedecms会员中心常用信息输出

dedecms会员中心常用信息输出

  • 最近更新2020年06月09日

dedecms会员中心常用信息输出

  1. <span style=“font-size:14px;”><span style=“font-family:tahoma,geneva,sans-serif;”>echo $cfg_ml->M_UserName;
  2. echo “”;
  3. echo $cfg_ml->M_ID;
  4. echo “”;
  5. echo $cfg_ml->M_MbType;
  6. echo “”;
  7. echo $cfg_ml->M_Money;
  8. echo “”;
  9. echo $cfg_ml->M_Scores;
  10. echo “”;
  11. echo $cfg_ml->M_UserName;
  12. echo “”;
  13. echo $cfg_ml->M_Rank;
  14. echo “”;
  15. echo $cfg_ml->M_Face;
  16. echo “”;
  17. echo $cfg_ml->M_LoginTime;
  18. echo “”;
  19. echo $cfg_ml->M_KeepTime;
  20. echo “”;
  21. echo $cfg_ml->M_Spacesta;
  22. echo “”;
  23. echo $cfg_ml->M_Honor;
  24. echo “”;
  25. echo $cfg_ml->fields[‘sex’];
  26. echo “”;
  27. echo $cfg_ml->fields[’email’];
  28. echo “”;
  29. echo $cfg_ml->fields[‘honor’];
  30. echo “”;
  31. echo $cfg_ml->fields[‘matt’];</span></span>

打印print_r($cfg_ml) 查看数组

  1. <span style=“font-size:14px;”><span style=“font-family:tahoma,geneva,sans-serif;”>adminMemberLogin Object
  2. (
  3.    [M_ID] => 1
  4.    [M_LoginID] => admin
  5.    [M_MbType] => 个人
  6.    [M_Money] => 0
  7.    [M_Scores] => 10000
  8.    [M_UserName] => admin
  9.    [M_Rank] => 100
  10.    [M_Face] =>
  11.    [M_LoginTime] => 1393946471
  12.    [M_KeepTime] => 604800
  13.    [M_Spacesta] => 0
  14.    [fields] => Array
  15.        (
  16.            [mid] => 1
  17.            [mtype] => 个人
  18.            [userid] => admin
  19.            [pwd] => 21232f297a57a5a743894a0e4a801fc3
  20.            [uname] => admin
  21.            [sex] => 男
  22.            [rank] => 100
  23.            [uptime] => 0
  24.            [exptime] => 0
  25.            [money] => 0
  26.            [email] =>
  27.            [scores] => 10000
  28.            [matt] => 10
  29.            [spacesta] => 0
  30.            [face] =>
  31.            [safequestion] => 0
  32.            [safeanswer] =>
  33.            [jointime] => 1376494666
  34.            [joinip] =>
  35.            [logintime] => 1393946471
  36.            [loginip] => 127.0.0.1
  37.            [checkmail] => -1
  38.            [honor] => 上校
  39.        )
  40.    [isAdmin] => 1
  41.    [M_UpTime] => 0
  42.    [M_ExpTime] => 0
  43.    [M_HasDay] =>
  44.    [M_JoinTime] => 2013-08-14
  45.    [M_Honor] => 上校
  46.    [memberCache] => memberlogin
  47. )</span></span>

仅供大家参考学习。

分享到 :
相关推荐

发表评论

邮箱地址不会被公开。 必填项已用*标注