Home > CMS Tutorial > Empire CMS > body text

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

silencement
Release: 2019-11-28 13:14:25
forward
1842 people have browsed it

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...样式
Copy after login

Grammar:

The code is as follows:

<?=$bqno?>
帝国CMS[!--no.num--] 输出效果 01 02 03 04 05 06 07 08 ...样式
Copy after login

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 ...样式
Copy after login

Grammar:

The code is as follows:

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

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:www.word666.com
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