Phpcms V9 template Design idiomatic variables

Source: Internet
Author: User
Tags add time
Phpcms V9 template Design Common variables

Variable

Global Interpretation
{CHARSET} Character
$SEO[' title '] Page Title
$SEO [' Site_title '] Site 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} Sub-station URL
{siteURL($siteid)} Site URL
{$catid}
?
Column ID
{$pages}
?
Page out

?

?

?
{Date (' y-m-d h:i:s ', $r [Inputtime])}
?
Update Time
{Str_cut ($v [description],116, '. ')}
?
Truncation string
{Thumb ($v [thumb],70,60)}
?
truncated thumbnail image
{$CATEGORYS [$cid][catname]}
?
Channel name
{$CATEGORYS [$cid][url]}
?
Channel URL
{Template?? " Content "," Footer "}
?
Template invocation
{pc:block pos= "Index_block_1"}
?
Controversy (block Call)
Action:lists list , position recommendation , category Sub-column, relation related articles , hits leaderboard
?
Action
Posid:
?
Recommended bit
1 Home Focus Map recommendation
?
Posid
2 first page Headline recommendation
?

?
5 Recommended Downloads
?

?
8 Picture Channel Homepage Focus map
?

?
9 Site Top Recommended
?

?
10 Column Homepage Recommended
?

?
12 first page Photo recommendation
?

?
13 Column 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= "thumb=" 1 "order=" id DESC "?? Num= "10"}

?
Picture 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"}

?
Notice
{pc:special
action= "lists"?? Siteid= "$siteid" elite= "1" listorder= "3"?? Num= "2"}

?
Special
{pc:content action= "hits"?? Catid= "num=" order= "Views DESC"}
?
Digg Click
{pc:comment action= "bang"?? Num= "Ten" cache= "3600"}
?
Comments
{pc:content action= "hits"?? Catid= "num=" order= "Views DESC"}
?

?
{Pc:link
Action= "Type_list"?? Siteid= "$siteid" linktype= "1" order= "Listorder?? DESC "num=" 8 "return=" Pic_link "}
Friendship Link
{pc:content action= "lists"?? Catid= "$catid" num= "order=" id DESC "?? Page= "$page"}
?
List
{pc:content action= "hits"?? Catid= "$catid" num= "ten" 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 Downloads

?

?

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

?
{Title_style ($r [style])}
?
Heading styles
{$inputtime}

?

?

Release time

?

?

Transferred from: http://hi.baidu.com/wwp0726/blog/item/a5359823151b57469922edf7.html

1 floor of the butterfly at ease to fly 2011-09-29

Bo Master is also phpcms enthusiasts, can make a friend.

  • 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.