2017年6月28日

header_userstatus.htm文件注释

摘要: <!--{if $_G['uid']}--><!--这段代码是用于判断会员是否登录了的,不能删除啊,切记--> <div id="um"><!--会员信息展示区开始--> <!--下边的代码是会员头像的--> <div class="avt y"><a href="home.php?mod=spac 阅读全文

posted @ 2017-06-28 23:49 alleyonine 阅读(487) 评论(0) 推荐(0) 编辑

【discuzx2】header.htm模板文件深入分析

摘要: [php] view plain copy print? [php] view plain copy print? [php] view plain copy print? [php] view plain copy print? 阅读全文

posted @ 2017-06-28 23:35 alleyonine 阅读(269) 评论(0) 推荐(0) 编辑

discuz的页头header和页尾footer文件必要代码

摘要: 页头文件路径:template/default/common/header.htmheader.htm文件二次加载的文件有:template/default/common/header_common.htm 全局公共文件 |--该文件中包含了页面TITLE,对浏览器的申明,以及全局必须存在的基本代码 阅读全文

posted @ 2017-06-28 23:28 alleyonine 阅读(3438) 评论(0) 推荐(0) 编辑

discuz全局数组变量 后台各项设置 完整版

摘要: $_G 保存了 Discuz! 中所有的预处理数据缓存能够很好的提高程序的性能,一些配置数据没必要每次都查询数据库,只要在修改了的时候更新下缓存即可。Discuz! 中所有的缓存保存在 $_G[cache] 中$_G[member] 会员信息数据$_G[uid] 用户 uid$_G[username 阅读全文

posted @ 2017-06-28 23:01 alleyonine 阅读(773) 评论(0) 推荐(0) 编辑

导航