轻源码

  • QingYuanMa.com
  • 全球最大的互联网技术和资源下载平台
搜索
一起源码网 门户 ECShop网店 查看主题

ECSHOP首页要求会员用户先登录成功后才能跳转到首页

发布者: 苯小孩 | 发布时间: 2018-7-5 22:55| 查看数: 4380| 评论数: 1|帖子模式

<div class="content_topp">                   我们希望访问网站首页的时候,要求必须登录,登录成功后才能正常显示首页。
第一步:


打开index.php文件

查找:
1

require(dirname(__FILE__) . '/includes/init.php');
在下面添加一行:

[table=560][tr][td]
1

[/td][td=1,1,740]<div class="line number1 index0 alt2" style="border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important;">if($_SESSION['user_id']

最新评论

黎帅「网络安全 发表于 2022-6-19 18:53
低代码开发平台哪个最好

浏览过的版块

轻源码让程序更轻更快

QingYuanMa.com

工作时间 周一至周六 8:00-17:30

侵权处理

客服QQ点击咨询

关注抖音号

定期抽VIP

Copyright © 2016-2021 https://www.171739.xyz/ 滇ICP备13200218号

快速回复 返回顶部 返回列表