注:一站式VIP下载:www.92cms.cn 价更省,源码更多。
列表模板最上面加下面代码
<?
if(!$_COOKIE[ecmsmlusername])
{
echo"<script>alert('还未登陆');history.go(-1);</script>";
exit();
}
?>
ecms为你的cookie前缀,可以看e/class/config.php
列表模板最上面加下面代码
<?
if(!$_COOKIE[ecmsmlusername])
{
echo"<script>alert('还未登陆');history.go(-1);</script>";
exit();
}
?>
ecms为你的cookie前缀,可以看e/class/config.php