列表模板最上面加下面代码
<?
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
上一个:帝国自动获取当前栏目链接代码