What are the labels of phpcms-v9?
Today, I will talk to you about the tags of phpcms-v9, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Phpcms
{template "content" "header"}-call the phpcms\ template\ content\ header file {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}-replace address with root directory\ statics\ css {JS_PATH}-address replace with root directory\ statics\ js {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 "- type of dialog box =" content recommended bit list "posid=" 9 "- recommended bit ID=" 9 "order=" id "- sort type =" id "num=" 10 "- data Number of calls = "10" cache= "3600"-cache = "3600" milliseconds {APP_PATH}-Project address {get_siteid ()}-{IMG_PATH}-action= "hits" ranking Action= "lists", such as hot spots, is mainly used for lists, etc. Catid= "$catid" current column ID specified number That is, for the specified column num= "" the number of articles called order= "id DESC" in descending ID order, order= "id ASC" in ascending order of ID, order= "views DESC" sort= "thumb=" 1 "thumbnail return="page=" $page "needs to be paginated every time the list is paged and this {if $num%2==0} {/ if} circular label-- {loop $data $r} {/ loop}-- {loop $info $r} {/ loop} date-- {date ('Y-m-d Hrigi loop') $r [inputtime])} article link-- {$r [url]} article title-- {$r [title]} title truncation-- {str_cut ($r [title], 40 minutes' …') } Thumbnail-- use {thumb ($r [thumb], 110 thumb 0) when loop is info)} {thumb ($v [thumb]) when loop is data Page tag-- {$pages} article page label title-- {$title} content-- {$content} date-- {$inputtime} source-- {$copyfrom} clicks-- website homepage-- {siteurl ($siteid)} current location-- {catpos ($catid)} column name-- {$CAT [catid]} column pinyin-- {$CAT [letter]} column link-- {$CATletter]} column link. [url]} parent column name-- {$CATEGORYS [$CAT [parentid]] [catname]} parent column link-- {$CATEGORYS [$CAT [parentid]] [url]} parent column name-- {$CATEGORYS [$CATEGORYS [$CAT [parentid]] [parentid]] [catname]} parent column link-- {$CATEGORYS [$CATEGORYS [$CAT [par entid]] [parentid]] [url]} first-level parent column list {pc:content action= "category" catid= "0" num= "34 "siteid=" $siteid "order=" listorder ASC "} {loop $data $r} {/ loop} {/ loop} peer column list {pc:content action=" category "catid=" $parentid "num=" 12 "siteid=" $siteid "order=" listorder ASC "} {loop $data $r} {/ loop} {/ pc} Group figure list {loop $photos $r}
{/ loop} Note: where $photos is the custom group image field, {$r [url]} is the image address, {thumb ($r [url], 75,45,0)} is the picture thumbnail, and {$r [alt]} is the picture description. After reading the above, do you have any further understanding of the phpcms-v9 label? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.