Common variables for PHPCMSV9 template design

Source: Internet
Author: User
Tags add time
PHPCMSV9 template design common variables global interpretation {CHARSET} √ character set $ SEO [title] √ Page title $ SEO [site_title] √ website title $ SEO [keyword] √ keyword {$ SEO [description] √ description {CSS_P PHPCMS V9 template design common variables

Variable

Global Meaning
{CHARSET} Character set
$ SEO ['title'] Page title
$ SEO ['site _ title'] Website title
$ SEO ['keyword'] Keyword
{$ SEO ['description'] Description
{CSS_PATH} Css path
{JS_PATH} Js path
{IMG_PATH} Img path
{APP_PATH} App Path
{Get_siteid ()} Site ID
{$ Siteid} Substation URL
{Siteurl ($ siteid )} Site URL
{$ Catid}
?
Topic ID
{$ Pages}
?
Paging

?

?

?
{Date ('Y-m-d H: I: S', $ r [inputtime])}
?
Update Time
{Str_cut ($ v [description], 116 ,'..')}
?
String truncation
{Thumb ($ v [thumb], 70, 60 )}
?
Thumbnail capture
{$ CATEGORYS [$ cid] [catname]}
?
Channel name
{$ CATEGORYS [$ cid] [url]}
?
Channel URL
{Template ?? "Content", "footer "}
?
Template call
{Pc: block pos = "index_block_1 "}
?
Dispute (block call)
Action: lists List, position recommendation position, category subtopic, relation related articles, and hits ranking
?
Action
Posid:
?
Recommended bit
1 homepage focus chart recommendation
?
Posid
2 homepage headlines recommendation
?

?
5. recommended download
?

?
8. focus chart on the homepage of the image Channel
?

?
9. top website recommendations
?

?
10 topic homepage recommendations
?

?
12 homepage image recommendations
?

?
13 topic page focus chart
?

?
Thumb: 0 all articles, 1 contains thumbnails
?
Thumb
Order: listorder ?? DESC sort descending, listorder ASC sort ascending, id DESC add time descending, updatetime DESC update time descending Order

?

?

?
{Pc: content
Action = "position "?? Posid = "2" order = "listorder DESC" num = "4 "}

?
News-hot
{Pc: content
Action = "position "?? Posid = "1"
Order = "listorder DESC" thumb = "1 "?? Num = "5 "}

?
FocusPic
{Pc: content
Action = "position "?? Posid = "12" thumb = "1" order = "id DESC "?? Num = "10 "}

?
Image News
{Pc: content ?? Action = "lists" catid = "$ r [catid]" num = "1 "?? Thumb = "1" order = "id DESC" return = "info "}
?
{Pc: content ?? Action = "lists" catid = "$ r [catid]" num = "5 "?? Order = "id DESC" return = "info "}
?

?
{Pc: announce
Action = "lists "?? Siteid = "$ siteid" num = "2 "}

?
Announcement
{Pc: special
Action = "lists "?? Siteid = "$ siteid" elite = "1" listorder = "3 "?? Num = "2 "}

?
Topics
{Pc: content action = "hits "?? Catid = "35" num = "10" order = "views DESC "}
?
Digg click
{Pc: comment action = "bang "?? Num = "10" cache = "3600 "}
?
Comment
{Pc: content action = "hits "?? Catid = "35" num = "10" order = "views DESC "}
?

?
{Pc: link
Action = "type_list "?? Siteid = "$ siteid" linktype = "1" order = "listorder ?? DESC "num =" 8 "return =" pic_link "}
Links
{Pc: content action = "lists "?? Catid = "$ catid" num = "25" order = "id DESC "?? Page = "$ page "}
?
List
{Pc: content action = "hits "?? Catid = "$ catid" num = "10" order = "views DESC "?? Cache = "3600 "}
?
Total ranking
{Pc: content action = "hits "?? Catid = "$ catid" num = "8" order = "monthviews DESC "?? Cache = "3600 "}
?
Monthly ranking
{Pc: content
Action = "position "?? Posid = "5" order = "listorder DESC" num = "4 "}

?
Recommended download

?

?

?
{Catpos ($ catid )}
?
Column positioning
{Loop subcat (0, 0, 0, $ siteid) $ r}
?

?
{Title_style ($ r [style])}
?
Title style
{$ Inputtime}

?

?

Release Date

?

?

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.