Phpcmsv9 template label description

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

    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.