Phpcmsv9 template label description series {template & quot; content & quot;, & quot; header & quot ;} call the phpcms \ template \ content \ header file {CHARSET} character set & nbsp; (gbk or UTF-8) {if phpcms v9 template label to describe the sorting series in the root directory
{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.
{JS_PATH}
Replace the address with \ statics \ js under the root directory.
{pc:content action="position" posid="9" order="id" num="10" cache="3600"}
Pc tag {pc: content parameter = "parameter value" parameter name = "parameter value" parameter name = "parameter value "}
{loop $data $k $v}
href="{$v[url]}">{$v[title]}{/loop}
Pc tag value
Action = "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" specifies the number of the current topic ID, that is, order = "id DESC" order = "id desc" order = "id ASC" sort by ID in descending order "views DESC" sort "= "1" thumbnail return = "" page = "$ page" requires pagination
This occurs every time the list contains 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 truncation------ {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 )}
Paging tag------ {$ Pages}
Article tab
Title ------- {$ title} content ------- {$ content} Date ------- {$ inputtime} source ------- {$ copyfrom} clicks ------ id = "hits">