赞助商

Uchome中的$_SGLOBAL:各类全局信息

发布时间:2019-02-07 发布网站:脚本之家
脚本之家收集整理的这篇文章主要介绍了Uchome中的$_SGLOBAL:各类全局信息脚本之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Uchome中的$_SGLOBAL:各类全局信息

 1254829664   //程序开始执行的时间
  [supe_starttime] => 1254829664.1719
  [db] => dbstuff Object  //数据库对象
    (
      [querynum] => 3  //查询的次数
      [link] => Resource id #7   //数据库连接
      [charset] => utf8      // 数据库字符
    )

[app] => Array
(
[1] => Array
(
[name] => Discuz!
[url] => http://localhost/bbs
[type] => DISCUZ
[open] => 1
[icon] => discuz
)

  [2] => Array
    (
      [name] => 个人家园
      [url] => http://localhost/home
      [type] => UCHOME
      [open] => 0
      [icon] => uchome
    )

)

[userapp] => Array
(
)

[ad] => Array
(
)

[supe_uid] => 1 //当前用户id
[supe_username] => admin //用户名
[inajax] => 0
[ajaxmenuid] =>
[refer] => http://localhost/home/space.php?do=mtag
[session] => Array
(
[uid] => 1
[username] => admin
[password] => 8ae86ee69cba169f8691011ea3c5691f
[lastactivity] => 1254829662
[ip] => 127000000
)

[username] => admin
[my_menu] => Array
(
)

[my_userapp] => Array
(
)

[my_menu_more] => 0
[appmenu] => Array
(
[name] => uican
[url] => http://localhost/bbs
[type] => DISCUZ
[open] => 1
[icon] => discuz
)

[appmenus] => Array
(
)

[member] => Array //登陆用户的所有信息 space表和spacefiled 表复合查询
(
[uid] => 1
[sex] => 0
[email] =>
[emailcheck] => 0
[qq] =>
[msn] =>
[birthyear] => 0
[birthmonth] => 0
[birthday] => 0
[blood] =>
[marry] => 0
[birthprovince] =>
[birthcity] =>
[resideprovince] =>
[residecity] =>
[note] =>
[spacenote] =>
[authstr] =>
[theme] =>
[nocss] => 0
[menunum] => 0
[css][/css] =>
[privacy] => Array
(
[view] => Array
(
[index] => 0
[profile] => 0
[friend] => 0
[wall] => 0
[feed] => 0
[doing] => 0
[blog] => 0
[album] => 0
[share] => 0
[mtag] => 0
)

      [feed] => Array
        (
          [doing] => 1
          [blog] => 1
          [album] => 1
          [upload] => 1
          [share] => 1
          [thread] => 1
          [post] => 1
          [mtag] => 1
          [friend] => 1
          [comment] => 1
          [trace] => 1
        )

    )

  [friend] =>
  [feedfriend] =>
  [sendmail] =>
  [groupid] => 1
  [credit] => 0
  [username] => admin
  [name] =>
  [namestatus] => 0
  [domain] =>
  [viewnum] => 0
  [notenum] => 0
  [friendnum] => 0
  [dateline] => 1245599521
  [updatetime] => 0
  [lastsearch] => 0
  [lastpost] => 0
  [lastlogin] => 1254829560
  [lastsend] => 0
  [attachsize] => 0
  [addsize] => 0
  [flag] => 1    //空间是否被锁定  -1为锁定
  [newpm] => 0
  [avatar] => 0  //是否上传过头像
  [ip] => 127000000
  [mood] => 0
  [self] => 1
  [friends] => Array
    (
    )

)

[space_1_uid] => Array
(
[uid] => 1
[sex] => 1
[email] =>
[emailcheck] => 0
[qq] =>
[msn] =>
[birthyear] => 0
[birthmonth] => 0
[birthday] => 0
[blood] =>
[marry] => 0
[birthprovince] =>
[birthcity] =>
[resideprovince] =>
[residecity] =>
[note] =>
[spacenote] =>
[authstr] =>
[theme] => t10
[nocss] => 0
[menunum] => 0
[css][/css] =>
[privacy] => Array
(
[view] => Array
(
[index] => 0
[profile] => 0
[friend] => 0
[wall] => 0
[feed] => 0
[doing] => 0
[blog] => 0
[album] => 0
[share] => 0
[mtag] => 0
)

      [feed] => Array
        (
          [doing] => 1
          [blog] => 1
          [album] => 1
          [upload] => 1
          [share] => 1
          [thread] => 1
          [post] => 1
          [mtag] => 1
          [friend] => 1
          [comment] => 1
          [trace] => 1
        )

    )

  [friend] =>
  [feedfriend] =>
  [sendmail] =>
  [groupid] => 1
  [credit] => 0
  [username] => admin
  [name] => 晴枫
  [namestatus] => 1
  [domain] =>
  [viewnum] => 0
  [notenum] => 0
  [friendnum] => 0
  [dateline] => 1245599521
  [updatetime] => 0
  [lastsearch] => 0
  [lastpost] => 0
  [lastlogin] => 1254831926
  [lastsend] => 0
  [attachsize] => 0
  [addsize] => 0
  [flag] => 1
  [newpm] => 0
  [avatar] => 0
  [ip] => 127000000
  [mood] => 0
  [self] => 1
  [friends] => Array
    (
    )

)

[profield] => Array
(
[1] => Array
(
[fieldid] => 1
[title] => 自由联盟
[note] =>
[formtype] => text
[inputnum] => 100
[choice] =>
[mtagminnum] => 0
[manualmoderator] => 0
[manualmember] => 1
[displayorder] => 0
)

  [2] => Array
    (
      [fieldid] => 2
      [title] => 地区联盟
      [note] =>
      [formtype] => text
      [inputnum] => 100
      [choice] =>
      [mtagminnum] => 0
      [manualmoderator] => 0
      [manualmember] => 1
      [displayorder] => 0
    )

)

[usergroup] => Array
(

  [1] => Array
    (
      [gid] => 1
      [grouptitle] => 站点管理员
      [system] => -1
      [creditlower] => 0
      [maxfriendnum] => 0
      [maxattachsize] => 0
      [allowhtml] => 1
      [allowcomment] => 1
      [searchinterval] => 0
      [postinterval] => 0
      [allowblog] => 1
      [allowdoing] => 1
      [allowupload] => 1
      [allowshare] => 1
      [allowmtag] => 1
      [allowthread] => 1
      [allowpost] => 1
      [allowcss] => 1
      [allowpoke] => 1
      [allowfriend] => 1
      [allowtrace] => 1
      [edittrail] => 0
      [domainlength] => 1
      [closeignore] => 1
      [seccode] => 0
      [color] => red
      [icon] => image/group/admin.gif
      [manageconfig] => 1
      [managenetwork] => 1
      [manageprofilefield] => 1
      [manageprofield] => 1
      [manageusergroup] => 1
      [managefeed] => 1
      [manageshare] => 1
      [managedoing] => 1
      [manageblog] => 1
      [managetag] => 1
      [managetagtpl] => 0
      [managealbum] => 1
      [managecomment] => 1
      [managemtag] => 1
      [managethread] => 1
      [managespace] => 1
      [managecensor] => 1
      [managead] => 1
      [managesitefeed] => 1
      [managebackup] => 1
      [manageblock] => 1
      [managetemplate] => 1
      [managestat] => 1
      [managecache] => 1
      [managecredit] => 1
      [managecron] => 1
      [managename] => 1
      [manageapp] => 1
      [managetask] => 1
      [managereport] => 1
    )

  [5] => Array
    (
      [gid] => 5
      [grouptitle] => 普通会员
      [system] => 0
      [creditlower] => 0
      [maxfriendnum] => 100
      [maxattachsize] => 20971520
      [allowhtml] => 0
      [allowcomment] => 1
      [searchinterval] => 60
      [postinterval] => 60
      [allowblog] => 1
      [allowdoing] => 1
      [allowupload] => 1
      [allowshare] => 1
      [allowmtag] => 1
      [allowthread] => 1
      [allowpost] => 1
      [allowcss] => 0
      [allowpoke] => 1
      [allowfriend] => 1
      [allowtrace] => 1
      [edittrail] => 0
      [domainlength] => 0
      [closeignore] => 0
      [seccode] => 0
      [color] =>
      [icon] =>
      [manageconfig] => 0
      [managenetwork] => 0
      [manageprofilefield] => 0
      [manageprofield] => 0
      [manageusergroup] => 0
      [managefeed] => 0
      [manageshare] => 0
      [managedoing] => 0
      [manageblog] => 0
      [managetag] => 0
      [managetagtpl] => 0
      [managealbum] => 0
      [managecomment] => 0
      [managemtag] => 0
      [managethread] => 0
      [managespace] => 0
      [managecensor] => 0
      [managead] => 0
      [managesitefeed] => 0
      [managebackup] => 0
      [manageblock] => 0
      [managetemplate] => 0
      [managestat] => 0
      [managecache] => 0
      [managecredit] => 0
      [managecron] => 0
      [managename] => 0
      [manageapp] => 0
      [managetask] => 0
      [managereport] => 0
      [credithigher] => 99
    )

)

)

总结

以上是脚本之家为你收集整理的Uchome中的$_SGLOBAL:各类全局信息全部内容,希望文章能够帮你解决Uchome中的$_SGLOBAL:各类全局信息所遇到的程序开发问题。

如果觉得脚本之家网站内容还不错,欢迎将脚本之家网站推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:76874919,请注明来意。
标签: