Home >CMS Tutorial >Empire CMS >Usage analysis of [!--no.num--] tag in Imperial CMS

Usage analysis of [!--no.num--] tag in Imperial CMS

silencement
silencementforward
2019-11-28 13:14:251872browse

Usage analysis of [!--no.num--] tag in Imperial CMS

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[&#39;title&#39;]?>"><?=$bqr[&#39;title&#39;]?></a>

How to call the image from 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>

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!

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