search
HomeCMS TutorialEmpire CMSCommonly used tags in empire cms (summary)

Commonly used tags in empire cms (summary)

Related recommendations: "Empire cms tutorial"

Empire CMSThe variables supported by the home page, list page, and content page templates are different. Some are universal and some are not universal. This article lists the commonly used variables for these three templates. In addition, smart tags are very good. Use it, and store it here for later use, so you don't have to rummage around.

1. Variables supported by the home page

Website name: [!--pagetitle--] Website address: [!--news.url--]
First-level column navigation: [!--class.menu--] Page keywords: [!--pagekey--]
Page description: [!--pagedes--]

##2. Variables supported by the list page

2.1. Common tags supported by the list page template

Page title: [ !--pagetitle--]Page keyword: [!--pagekey--]##Page description: [!--pagedes--]Navigation bar: [!--newsnav--]This column/topic ID: [!--self.classid--] Column/topic thumbnail: [!--class.classimg--]Paging navigation (list style): [!--show.listpage--]2.2. Common variables supported by list content template (list.var)
Column name: [!--class.name--]
Column/topic introduction :[!--class.intro--]
Column/topic keyword : [!--class.keywords--]
Page navigation (drop-down ): [!--show.page--]


Information ID: [!- -id--]Title ALT (do not intercept characters): [!--oldtitle--] Column name (with link): [!--class.name--] Column address: [!--this.classlink--]Publisher: [!--username--] Number of clicks: [!--onclick--]
Title link: [!--titleurl--]
Column ID: [!--classid--]
Column name (without link): [!--this.classname--]
Website address: [!--news.url--]
Number of comments: [!-- plnum--]
Release time: [!--newstime--]
3. Variables supported by the content page

##Page title: [!--pagetitle--]Page keyword: [!--pagekey--]Page description: [!--pagedes--]Navigation bar: [! --newsnav--]Statistics access: [!--page.stats--]Column ID: [!--classid--]Keywords: [!--keyboard--] Column name: [!--class.name--]This column ID: [!--self.classid--]Related links: [!--other.link--]Publisher ID :[!--userid--]Publisher: [!--username--]Next article: [!--info.next--]Source: [!--befrom--]
##Previous post: [!--info.pre- -]
Release time: [!--newstime--]
Real-time display of clicks (not counted):
Display the number of comments in real time:

4. Commonly used variables for smart tags

##Title picture: =$bqr['titlepic']?>Number of clicks: =$ bqr[onclick]?>##Article introduction:=sub($bqr[smalltext],0,200,false)?>Number of comments: =$bqr[plnum]?>## Column link: =$bqsr[classurl]?> Call number: =$bqno?> Website address: =$public_r[newsurl]?> Information ID: < ;?=$bqr[id]?> 5. Custom expansion variable
Title: =$bqr['title']?> Title link: =$bqsr['titleurl']?>
Title interception: =esub($bqr[title],40)?> ;
Time:< ;?=date('Y-m-d',$bqr[newstime])?>
Column: =$bqsr[classname]?>

in any php or template Use $public_r['add_variable name'] to obtain the variable content. The following are examples of system common variables and extended variables:

Website name: =$public_r[sitename]?> (common to the entire site) Website sentence: =$public_r['add_web_word']?> (Daily sentence: Your efforts will eventually achieve your own success) Webmaster nickname: =$public_r['add_master']?> (ytkah) Webmaster's word: =$public_r['add_master_word'] ?> (Contact us: Please scan the QR code) Webmaster profile: =$public_r['add_master_intro']?> (ytkah, a person who understands SEO Developer!) Website registration: =$public_r['add_beian']?>qq group link: =$public_r['add_qq_url']?>qqmail: =$public_r['add_qq_mail']?>Weibo link: =$public_r['add_weibo_url']?>Website statistics: =$public_r['add_tongji']? >Website announcement: =$public_r['add_notice']?>More programming related For knowledge, please visit: programming teaching
! !

The above is the detailed content of Commonly used tags in empire cms (summary). For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)