Call the root directory under the Phpcms\template\content\header file
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
Replace the address with the root directory under \STATICS\CSS
{Js_path}
Replace the address with the root directory under \statics\js
{pc:content action= "position" posid= "9" order= "id" num= "ten" cache= "3600"}
PC Label {pc:content parameter name = parameter value argument name = parameter value parameter name = parameter value}
{loop $data $k $v} <li><a href= "{$v [url]}" >{$v[title]}< /a></li>{/loop}
PC Tag Value
action= type of "position"--------------dialog box ="Content Recommendation List" Posid= "9"----------------------recommended bit id= "9"order = "id"---------------------Sort type = "id"num= "Ten"----------------------number of data calls = "Ten"cache= "3600"---- ---------------cache = "3600" milliseconds {Get_siteid ()}{img_path}action= "hits" rank, hotspot, etc. action= "lists" Mainly used for lists and so on. CatID= "$catid" The current column ID specifies a number, that is, the number of the specified column num= "" is called the quantity of the article order= "id DESC" in descending order by ID = "id ASC" in ascending order by ID "views DESC" sort= "" "1" thumbnail return= ""page = " $page "Paging required
Every time the list is a few lines, this one appears.
{if $num%2==0} {/if}
Loop label
{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 intercept ------{str_cut ($r [title],40, ' ... ')}
thumbnail ---------loop is info using {thumb ($v [thumb],90,0)} When {thumb ($r [thumb],110,0)} loop is data)
Paging tab ------{$pages}
Article page labels
The title-------{$title} content-------{$content} date-------{$inputtime} source-------{$copyfrom} hits------<span id= " Hits "></span> <script language=" JavaScript "src=" {app_path}api.php?op=count&id={$id }&modelid={$modelid} "></script>
website Home ----------------{siteurl ($siteid)}
Current Position ----------------{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 Column name --------{$CATEGORYS [$CATEGORYS [$CAT [Parentid]][parentid]][catname]}
Upper Column link --------{$CATEGORYS [$CATEGORYS [$CAT [Parentid]][parentid]][url]}
List of parent-level columns
{pc:content action= "category" catid= "0" num= "siteid=" $siteid "order=" Listorder ASC "} {Loop $data $r} <li><a href= "{$r [url]}" >{$r[catname]}</a></li> {/loop} {/PC}
Peer Column list
{pc:content action= "category" Catid= "$parentid" num= "siteid=" $siteid "order=" Listorder ASC "} {Loop $data $r} <li><a href= "{$r [url]}" >{$r[catname]}</a></li> {/loop} {/PC}
List of photos
{loop $photos $r} <li><a href= "{$r [url]}" > /></a></li>{/loop}
Note: Where $photos is a custom group field, {$r [url]} is a picture address, {thumb ($r [url], 75, 45, 0)} is a picture thumbnail, {$r [Alt]} is a picture description