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
Grammar:
The code is as follows:
<?=$bqno+5?> 帝国CMS[!--no.num--] 输出效果为 1 2 3 4 5 6 7 8...样式
Grammar:
The code is as follows:
<?=$bqno?> 帝国CMS[!--no.num--] 输出效果 01 02 03 04 05 06 07 08 ...样式
Recommended to study "Empirecms Tutorial 》
Grammar:
The code is as follows:
<?=sprintf("%02d", $bqno)?> 帝国CMS[!--no.num--] 输出效果 001 002 003 004 005 006 007 008 0 ...样式
Grammar:
The code is as follows:
<?=sprintf("%03d", $bqno)?>
Smart tag usage Method
How to call text and paragraphs from the Empire CMS smart tag:
The code is as follows:
<a href="<?=$bqsr[titleurl]?>" title="<?=$bqr['title']?>"><?=$bqr['title']?></a>
How to call the image from 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>
I hope this article will be helpful to everyone’s Imperial CMS website building.
The above is the detailed content of Usage analysis of [!--no.num--] tag in Imperial CMS. For more information, please follow other related articles on the PHP Chinese website!