Phpcms V9 template Design Common variables _php tutorial

Source: Internet
Author: User
Tags add time

Phpcms V9 template Design Common variables


Phpcms V9 template Design Common variables


Label:

Zatan

Category: Phpcmsv9
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 first page Focus map recommended
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 "}

Photo 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= "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}

http://www.bkjia.com/PHPjc/1026144.html www.bkjia.com true http://www.bkjia.com/PHPjc/1026144.html techarticle phpcms V9 template design commonly used variable phpcms V9 template design Common variable tags: talk classification: PHPCMSV9 variable global interpretation {CHARSET} character set $SEO [title] page title $SEO [Site_ ...

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