", 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?
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['title']?>"><?=$bqr['title']?></a>
The method of calling images by the Empire CMS smart tag:
The code is as follows:
<a href="<?=$bqsr[titleurl]?>" title="<?=$bqr['title']?>"> <img src="<?=$bqr[titlepic]?>" alt="<?=$bqr['title']?>" title="<?=$bqr['title']?>"> </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!