", which means that it starts displaying from a certain number, and its empire CMS "[!--no.num--]" The output effect is "1 2 3 4 5 6 7 8..." style."/> ", which means that it starts displaying from a certain number, and its empire CMS "[!--no.num--]" The output effect is "1 2 3 4 5 6 7 8..." style.">

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

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

藏色散人
藏色散人Original
2019-12-03 10:48:332507browse

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?>

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

Syntax:

The code is as follows:

<?=$bqno?>

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

Syntax:

The code is as follows:

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

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)?>

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>

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>

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!

Statement:
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