通过本教程可以使用自定义列表调用指定时间内发布的信息,比如,1周内发表的信息,1个月内发表的信息统计记录:select count(*) as total from [!db.pre!]ecms_shop where newstime>UNIX_TIMESTAMP()-86400*90查询记录:selec……
[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个字的信息,其中c……
帝国CMS列表页及内容页,是没有收藏数量调用标签的,但万能的帝国CMS,使用PHP代码就能调用出来。列表页:$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid=&……
最新评论