帝国cms如何实现在列表页显示信息的收藏次数
列表页:$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'");$listtemp='收藏数:'.$scs;……
列表页:$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'");$listtemp='收藏数:'.$scs;
- 上一篇
帝国CMS7.5增加栏目生成拼音乱码解决方法
帝国CMS乱码解决方法修改e/class/connect.php文件,找到ReturnPinyinFun函数,改名为ReturnPinyinFun_BAK,将下列代码粘贴在下面://修正后的返回拼音functionReturnPinyinFun($hz){global$ecms_config;include_once(ECMS_PA
- 下一篇
帝国cms TAG列表页显示信息数量统计代码方法与标签是什么?
帝国cms模板制作过程中一般会使用到tag列表模板,有一些常用的变量标签需要使用,比如tag信息数量的统计,当前tag名称以及当前tagid等。使用的标签代码如下,放在列表页模板中相应的位置即可。变量说明:TAG信息数量:<?=$GLOBAL