帝国CMS不调用指定栏目的信息不调用屏蔽过滤指定栏目内的信息不调用出来
作者:来源:帝国CMS发表于:2020-05-09 11:39:10
[e:loop={"select * from phome_ecms_news where title like '%中国%' and classid<>82 and checked=1 order by newstime desc limit 30",30,24,0}]
上面语句的意思为调用网站中包含“中国”2个字的信息,其中classid<>82 意思为不调用栏目ID为82内的文章。如果要屏蔽多个栏目可以用classid not in(82,83,84,85) 替换
相关文章
-
无相关信息