帝国cms自定义页面(帝国cms如何使用)
大家都知道Imperial CMS有一个自定义的JS功能,经常用在搜索页面或者其他动态展示中。虽然有这个功能,但是很多朋友并不知道。
根本无法使用SQL语句。为此,这里列出了一些常用的。希望对大家有帮助!
1.根据最新文章,select * from [!db.pre!]ecms_news whereChecked=1 order by newstime desc limit 102.根据推荐文章,select * from [!db.pre!]ecms_newswherechecked=1 和isgood=1 订单。按newstime desc limit 103,基于热门文章select * from [!db.pre!]ecms_news where selected=1 order by onclick desc limit 104,基于标题select * from [!db.pre!]ecms_news where check=1且firsttitle=1 order by newstime desc limit 105, select * from [!db.pre!]ecms_news where selected=1 order by plnum desc limit 106, select * from [!db.pre!]ecms_news where 根据digg 排名检查=1 order by diggtop desc limit 107, select * from [!db.pre!]ecms_news where selected=1 order by votenum desc limit 108, select * from [!db.pre!]ecms_news where 根据下载排名check=1 order by Totaldown desc limit 109,根据分数排名select * from [!db.pre!]ecms_news whereChecked=1 order by infopfen desc limit 10 推荐学习《帝国cms教程》。
以上就是分享帝国CMS自定义JS语句的详细内容。更多资讯请关注木库阁其他相关文章!