


phpcms v9 template tag description finishing series_PHP tutorial
{template "content","header"} calls the phpcmstemplatecontentheader file in the root directory
{CHARSET} character set (gbk or utf-8)
{if isset($SEO['title']) && !empty($SEO['title'])}
{$SEO['title']}{/if}
{$SEO['site_title']}
{$SEO['keyword']}
{$SEO['description']}title and title seo optimization
{CSS_PATH} address is replaced with staticscss
in the root directoryReplace the {JS_PATH} address with staticsjs in the root directory
{pc:content action="position" posid="9" order="id" num="10" cache="3600"}pc tag{pc:content parameter name="parameter value" parameter name=" Parameter value "parameter name="parameter value"}
{loop $data $k $v}
{/loop}pc tag value
action="position"--------------Dialog type="Content recommendation position list"
posid="9"----------------------Recommendation ID="9"
order="id"---------------------Sort type="id"
num="10" -----------------------Number of data calls="10"
cache="3600"------------------cache="3600" milliseconds
{get_siteid()}
{IMG_PATH}
action="hits" ranking, hot spots, etc.
action="lists" is mainly used for lists, etc.
catid="$catid" The current column ID specifies the number, which is the designated column
num="" Number of articles called
order="id DESC" Sort by ID in descending order
order="id ASC" Sort by ID in ascending order
"views DESC"
sort=""
"1" Thumbnail
return=""
page="$page" requires paging. This will appear every time the list has several rows
{if $num%2==0} {/if}Loop tag
{loop $data $r} {/loop}
{loop $info $r} {/loop}Date-------------{date('Y-m-d H:i:s',$r[inputtime])}
Article link------{$r[url]}
Article title------{$r[title]}
Title interception------{str_cut($r[title],40,'...')}
Thumbnail ---------When the loop is info, use {thumb($r[thumb],110,0)} When the loop is data, use {thumb($v[thumb],90,0) }
Pagination tag------{$pages}
Article page tag
Title-------{$title}
Content-------{$content}
Date-------{$inputtime}
Source-------{$copyfrom}
Number of clicks------ Homepage----------------{siteurl($siteid)}
Current location----------------{catpos($catid)}
Column name----------------{$CAT[catname]}
Column Pinyin----------------{$CAT[letter]}
Column link----------------{$CAT[url]}
Parent column name-------------{$CATEGORYS[$CAT[parentid]][catname]}
Parent column link--------------{$CATEGORYS[$CAT[parentid]][url]}
Upper level column name--------{$CATEGORYS[$CATEGORYS[$CAT[parentid]][parentid]][catname]}
Link to superior column--------{$CATEGORYS[$CATEGORYS[$CAT[parentid]][parentid]][url]}
First-level parent column list
{pc:content action="category" catid="0" num="34" siteid="$siteid" order="listorder ASC"}
{loop $data $r}
{/loop}
{/pc}Similar column list
{pc:content action="category" catid="$parentid" num="12" siteid="$siteid" order="listorder ASC"}
{loop $data $r}
{/loop}
{/pc}Picture list
{loop $photos $r}
{/loop}Note: $photos is the custom photo group field, {$r[url]} is the image address, {thumb($r[url], 75, 45, 0)} is the image thumbnail, {$ r[alt]} is the picture description

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The Xiaomi Mi 15 series is expected to be officially released in October, and its full series codenames have been exposed in the foreign media MiCode code base. Among them, the flagship Xiaomi Mi 15 Ultra is codenamed "Xuanyuan" (meaning "Xuanyuan"). This name comes from the Yellow Emperor in Chinese mythology, which symbolizes nobility. Xiaomi 15 is codenamed "Dada", while Xiaomi 15Pro is named "Haotian" (meaning "Haotian"). The internal code name of Xiaomi Mi 15S Pro is "dijun", which alludes to Emperor Jun, the creator god of "The Classic of Mountains and Seas". Xiaomi 15Ultra series covers

Since the Huawei Mate60 series went on sale last year, I personally have been using the Mate60Pro as my main phone. In nearly a year, Huawei Mate60Pro has undergone multiple OTA upgrades, and the overall experience has been significantly improved, giving people a feeling of being constantly new. For example, recently, the Huawei Mate60 series has once again received a major upgrade in imaging capabilities. The first is the new AI elimination function, which can intelligently eliminate passers-by and debris and automatically fill in the blank areas; secondly, the color accuracy and telephoto clarity of the main camera have been significantly upgraded. Considering that it is the back-to-school season, Huawei Mate60 series has also launched an autumn promotion: you can enjoy a discount of up to 800 yuan when purchasing the phone, and the starting price is as low as 4,999 yuan. Commonly used and often new products with great value

As a popular short video social platform, Douyin has a huge user base. For Douyin creators, using tags to attract traffic is an effective way to increase the exposure of content and attract attention. So, how does Douyin use tags to attract traffic? This article will answer this question in detail for you and introduce related techniques. 1. How to add tags on Douyin to attract traffic? When posting a video, make sure to choose tags that are relevant to the content. These tags should cover the topic and keywords of your video to make it easier for users to find your video through tags. Leveraging popular hashtags is an effective way to increase your video’s exposure. Research current popular tags and trends and incorporate them into your video descriptions and tags. These popular tags usually have higher visibility and can attract the attention of more viewers. 3. Label

Regarding PPT masking, many people must be unfamiliar with it. Most people do not understand it thoroughly when making PPT, but just make it up to make what they like. Therefore, many people do not know what PPT masking means, nor do they understand it. I know what this mask does, and I don’t even know that it can make the picture less monotonous. Friends who want to learn, come and learn, and add some PPT masks to your PPT pictures. Make it less monotonous. So, how to add a PPT mask? Please read below. 1. First we open PPT, select a blank picture, then right-click [Set Background Format] and select a solid color. 2. Click [Insert], word art, enter the word 3. Click [Insert], click [Shape]

C++ template specializations affect function overloading and rewriting: Function overloading: Specialized versions can provide different implementations of a specific type, thus affecting the functions the compiler chooses to call. Function overriding: The specialized version in the derived class will override the template function in the base class, affecting the behavior of the derived class object when calling the function.

When browsing Douyin works, we often see a clock icon behind the tag. So, what exactly is this clock? This article will focus on the discussion of "What is the clock behind the Douyin label", hoping to provide some useful reference for your use of Douyin. 1. What is the clock behind the Douyin label? Douyin will launch some hot topic challenges. When users participate, they will see a clock icon after the tag, which means that the work is participating in the topic challenge and displays the remaining time of the challenge. For some time-sensitive content, such as holidays, special events, etc., Douyin will attach a clock icon after the label to remind users of the validity period of the content. 3. Popular tags: When a tag becomes popular, Douyin will add a clock icon after the tag to indicate that the tag is

How to delete external contact tags on DingTalk app? DingTalk has a function to delete external contact tags, but most friends don’t know how to delete external contact tags on DingTalk. Next is the DingTalk guide that the editor brings to users. Graphical tutorial on how to delete external contact tags in the Ding app. Interested users can come and take a look! How to delete external contact tags in DingTalk app 1. First open DingTalk APP and click the [Management] function as shown below on the main page; 2. Then enter the enterprise management interface and find [External Contacts]; 3. Then on the external contact setting function page, select the [Label Management] service; 4. Then on the main contact label page, select the type of label group you want to delete; 5. Finally, click on the red label group

PHP CMS is a PHP-based open source content management system for managing website content. Its features include ease of use, powerful functionality, scalability, high security, and free open source. It can save time, improve website quality, enhance collaboration and reduce development costs, and is widely used in various websites such as news websites, blogs, corporate websites, e-commerce websites and community forums.
