帝国CMS灵动标签排除头条、推荐、置顶等信息调⽤
帝国CMS 灵动标签排除头条、推荐、置顶等信息调⽤
SQL语句:
sql调⽤
select * from phome_ecms_表 where istop=0 and isgood=0 andfirsttitle=0 and checked=1 order by newstime desc limit 10解释:
istop=0      是排除置顶 信息
isgood=0    是排除推荐 信息
帝国cms文库模板firsttitle=0 是排除头条 信息
灵动标签简化版写法
sql附加条件'istop=0 and isgood=0 and firsttitle=0 and checked=1'
以上是帝国CMS 灵动标签排除头条、推荐、置顶等信息调⽤的⽅法