帝国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;
- 上一篇
帝国CMS中网站URL路径栏目目录的灵活更改实现方式
最近在使用帝国CMS的时候碰到个问题,帝国CMS在添加分类的时候感觉没有dedecms的那样灵活设置。在帝国下面添加分类的时候往往会把目录路径做的很长,怎么样才能优化分类的路径呢。在网上找了很久才找到怎么样更改帝国CMS
- 下一篇
用灵动标签调用推荐信息的企业名称
[e:loop={栏目ID/专题ID,显示条数,操作类型,只显示有标题图片}]<?php$user=$empire->fetch1("select company from phome_enewsmemberadd where userid='$bqr[userid]' limit 1");?><?=$user[company]?>[/e:loop]