Phpcmsv9 template label description pack series

Source: Internet
Author: User
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">

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.