Home > CMS Tutorial > Empire CMS > How to use the Empire CMS[!--no.num--] tag

How to use the Empire CMS[!--no.num--] tag

藏色散人
Release: 2019-12-03 10:48:33
Original
2526 people have browsed it

How to use the Empire CMS[!--no.num--] tag

How to use the Empire CMS[!--no.num--] tag?

This article analyzes the usage of the [!--no.num--] tag in the Empire CMS with examples. Share it with everyone for your reference. The specific analysis is as follows:

Empire CMS [!--no.num--] Tag usage:

Empire CMS[!--no.num--] Specifies that the display starts from a certain number

Syntax:

The code is as follows:

<?=$bqno+5?>
Copy after login

Empire CMS[!--no.num--] The output effect is 1 2 3 4 5 6 7 8... Style

Syntax:

The code is as follows:

<?=$bqno?>
Copy after login

Empire CMS[!--no.num--] Output effect 01 02 03 04 05 06 07 08 ... Style

Syntax:

The code is as follows:

<?=sprintf("%02d", $bqno)?>
Copy after login

Empire CMS[!--no.num--] Output effect 001 002 003 004 005 006 007 008 0 .. .Style

Grammar:

The code is as follows:

<?=sprintf("%03d", $bqno)?>
Copy after login

How to use smart tags

How to call text and paragraphs with Empire CMS smart tags:

The code is as follows:

<a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[&#39;title&#39;]?>"><?=$bqr[&#39;title&#39;]?></a>
Copy after login

The method of calling images by the Empire CMS smart tag:

The code is as follows:

<a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[&#39;title&#39;]?>">
<img src="<?=$bqr[titlepic]?>" alt="<?=$bqr[&#39;title&#39;]?>" title="<?=$bqr[&#39;title&#39;]?>">
</a>
Copy after login

The above is the detailed content of How to use the Empire CMS[!--no.num--] tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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