Home > CMS Tutorial > Empire CMS > body text

Share Empire CMS custom JS statements in detail

silencement
Release: 2019-12-04 09:55:22
forward
2285 people have browsed it

Share Empire CMS custom JS statements in detail

Everyone knows that Empire CMS has a custom JS function, which is often used in search pages or other real-time dynamic displays. Although this function is available, many friends do not know it

SQL statements cannot be used at all. For this reason, here are some commonly used ones. I hope it will be helpful to everyone!

1,根据最新文章 select * from [!db.pre!]ecms_news where checked=1 order by newstime desc limit 10
2,根据推荐文章 select * from [!db.pre!]ecms_news where checked=1 and isgood=1 order by newstime desc 
limit 10
3,根据热门文章 select * from [!db.pre!]ecms_news where checked=1 order by onclick desc limit 10
4,根据头条新闻 select * from [!db.pre!]ecms_news where checked=1 and firsttitle=1 order by newstime 
desc limit 10
5,根据评论排行 select * from [!db.pre!]ecms_news where checked=1 order by plnum desc limit 10
6,根据digg排行 select * from [!db.pre!]ecms_news where checked=1 order by diggtop desc limit 10
7,根据投票排行 select * from [!db.pre!]ecms_news where checked=1 order by votenum desc limit 10
8,根据下载排行 select * from [!db.pre!]ecms_news where checked=1 order by totaldown desc limit 10
9,根据评分排行 select * from [!db.pre!]ecms_news where checked=1 order by infopfen desc limit 10
Copy after login

It is recommended to study "Empirecms Tutorial".

The above is the detailed content of Share Empire CMS custom JS statements in detail. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:www.word666.com/cms
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template