帝国cms栏目列表设置会员查看权限
<!--code.start-->?
if(!$_COOKIE[ecmsmlusername])
{
echo"<script>alert('还未登陆');history.go(-1);</script>";
exit();
}
?<!--code.end-->
ecms为你的cookie前缀,可以看e/class/config.php
<!--code.start-->?
if(!$_COOKIE[ecmsmlusername])
{
echo"<script>alert('还未登陆');history.go(-1);</script>";
exit();
}
?<!--code.end-->
ecms为你的cookie前缀,可以看e/class/config.php
帝国cms模板中显示标题颜色的标题灵动标签调用方法! 调用标签如下: <?=DoTitleFont($bqr[titlefont],$bqr[title])?> OK!搞定!...
帝国CMS的DIGG顶数最多的文章怎么调用呢? [e:loop={'select * from [!db.pre!]ecms_news where checked=1 order by diggtop desc,id desc limit 8',10,24,0}] <li><a ...
帝国cms灵动标签实现循环子栏目数据 <?php $bclassid=$GLOBALS[navclassid];//取得本栏目id //取得本栏目下的子栏目 ?> [e:loop={"select classid, classname, classpath from `[!db.pre...
帝国CMS常用或者经常遇到的几个函数RepPostVar,RepPostVar2,RepPostStr,RepPostStr2的用法! (1)、数字型变量可以用(int)或intval函数处理,例子: $page=(int)$_GET['page']; 或 $page=intval($_GET['p...
帝国cms模板内容里面,要关键词加粗,加背景颜色,调整下css即可。 关键字的class在 e/class/functions.php,搜索 function ReplaceKey 或 class=infotextkey 找到后在自己css文件中定义这个(class=infotextkey)css...
怎么跳过选择会员组类型直接注册呢?帝国cms模板网就来告诉大家帝国CMS跳过选择会员类型直接注册方法! 打开 e/class/user.php 文件 查找: $changeregisterurl="ChangeRegister.php" 替换为: $changeregisterurl="" 即可...