Phpcmsv9 template label description finishing {template "content", "header "}? Call the phpcms \ template \ content \ header file {CHARSET} in the root directory }? Collation (gbk or UTF-8) {ifis phpcms v9 template label description
{Template "content", "header "}? Call the phpcms \ template \ content \ header 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 }? Replace the address with \ statics \ css under the root directory.
Replace {JS_PATH} with \ statics \ js under the root directory.
{Pc: content? Action = "position" posid = "9" order = "id" num = "10" cache = "3600"} pc tag {pc: content parameter name = "parameter value "}
{loop $data $k $v}? ? ?
{$v[title]}{/loop}
Pc tag valueAction = "position" -------------- dialog box type = "content recommendation bit list" posid = "9" ---------------------- recommendation bit ID = "9" order = "id" --------------------- sorting type = "id "num =" 10 "-------------------- number of data calls =" 10 "cache =" 3600 "------------------- cache =" 3600 "millisecond {get_siteid ()} {IMG_PATH} action = "hits" ranking, hotspot, etc. action = "lists" is mainly used for list and so on. Catid = "$ catid" current topic ID? Specifies a number, that is, the specified column num = ""? Number of articles called order = "id DESC" order = "id asc" in descending order by id "? Sort by ID in ascending order "views DESC "? Sort = "1" thumbnail return = "" page = "$ page" requires paging
The {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])} link to the article ------ {$ r [url]} title ------ {$ r [title]} subtitle ------ {str_cut ($ r [title], 40 ,'... ')} used when the thumbnail --------- loop is info? {Thumb ($ r [thumb], 110,0 )}? ? When loop is data, use {thumb ($ v [thumb], 90,0 )} pagination tag ------ {$ pages} article page tag title ------- {$ title} content ------- {$ content} Date ------- {$ inputtime} source ------- {$ copyfrom} clicks ------?