帝国CMS ecmsinfo万能标签
带模板的信息调用标签:[万能标签](ecmsinfo)
标签名称: 带模板的信息调用标签 (sys_GetEcmsInfo)
格式:[ecmsinfo]栏目ID/专题ID, 显示条数, 标题截取数, 是否显示栏目名, 操作类型, 模板ID, 只显示有标题图片[/ecmsinfo]
参数说明:(帝国模板制作的精髓所在,此标签实现各种显示效果。)
- 栏目ID/专题ID:要调用信息的栏目ID或专题ID,当前栏目或专题ID='selfinfo',多个栏目ID或专题ID可用","号格开,如'1,2',如果是按SQL语句调用,则此处为SQL语句。
- 显示条数:显示前几条记录。
- 标题截取数: 截取标题多少个字符。
- 是否显示栏目名: 0为不显示,1为显示。
- 操作类型: 具体查看信息调用操作类型说明。
- 标签模板ID: 此标签所用的标签模板ID。
- 只显示有标题图片: 0为不限制,1为只显示有标题图片的信息。
它的显示效果由标签模板决定。操作类型如下:
操作类型 说明 操作类型 说明 0 各栏目最新 3 所有信息最新(默认表) 1 各栏目热门 4 所有信息热门(默认表) 2 各栏目推荐 5 所有信息推荐(默认表) 9 各栏目评论排行 10 所有信息评论排行(默认表) 12 各栏目头条信息 13 所有信息头条(默认表) 15 各栏目下载排行 16 所有信息下载排行(默认表) 25 各栏目评分排行 27 所有信息评分排行(默认表) 26 各栏目投票排行 28 所有信息投票排行(默认表) 6 专题最新信息 18 各表最新 (栏目ID='表名') 7 专题热门信息 19 各表热门 (栏目ID='表名') 8 专题推荐信息 20 各表推荐 (栏目ID='表名') 11 专题评论排行 21 各表评论排行 (栏目ID='表名') 14 专题头条 22 各表头条信息 (栏目ID='表名') 17 各专题下载排行 23 各表下载排行 (栏目ID='表名') 29 各专题评分排行 31 各表评分排行 (栏目ID='表名') 30 各专题投票排行 32 各表投票排行 (栏目ID='表名') 24 按sql查询(栏目ID='sql语句') 数据表前缀可用:"[!db.pre!]"表示
举例说明:[ecmsinfo]2,3,14,1,0,5,1[/ecmsinfo]
- 栏目ID为2
- 显示条数为3
- 标题截取数为14个字符
- 是否显示栏目名 1为显示
- 操作类型为0
- 模板ID为5
- 只显示有标题图片

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The Empire CMS sitemap can be found by accessing the config.inc.php file and checking the dositemap settings. If set to "on", sitemap is enabled. The sitemap path is located in the sitemapurl setting and can be accessed via a browser or downloaded via FTP.

The mobile settings of Empire CMS are located in the "Mobile Template" of the "Template Management" module. The specific steps include: enabling the template, selecting the application channel, editing the template content, and saving the settings.

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

The ideal location for the Empire CMS template file is /e/template/default/skin/default/. Secondly, it can also be placed in /e/data/skins/ and /e/skin/. You need to pay attention to maintaining the folder structure and setting file permissions. and regular backups.

The Imperial CMS database configuration file is located in the website root directory e/config/db.inc.php. It contains the following configuration information: $dbhost: database server address $dbuser: database user name $dbpass: database password $dbname: database name $dbport :Database port $dbcharset: Database character set

Yes, Empire CMS is a free and open source content management system (CMS). It is a lightweight CMS that is feature-rich and easy to use. Empire CMS is licensed under the GNU General Public License (GPL), which means it is free to download, install and use. For commercial use, it offers a paid version that offers additional features and support such as ad management, online payments, and premium technical support.

The automatic publishing interface of Empire CMS is located at /e/api/web/postinfo.php. The usage steps are as follows: visit /e/api/web/postinfo.php address and use HTTP POST to submit the article title, column ID, category ID, author and article The content and other data interfaces will return a response in JSON format, which contains the publishing results and article ID.

The Imperial CMS Member Center is located in the "Member Management" menu in the background or at the following URL: Browser side: https://your domain name/e/member/user.php Server side: /e/member/user.php Functions included in the Member Center Including member management, member group management, personal center, points management, level management, etc., to facilitate administrators and members to manage website account information.
