Summary of common functions of phpcms2008

Source: Internet
Author: User

{$head [title]} page title, usage: <title>{$head [title]}-{$PHPCMS [sitename]}</title>

{$PHPCMS [sitename]} Site name usage:<title>{$head [title]}-{$PHPCMS [sitename]}</title>

{$head [keywords]} keyword usage:<meta name= "keywords" content= "{$head [keywords]}" >

{$head [description]} page description usage:<meta name= "description" content= "{$head [description]}" >

{$PHPCMS [version]} phpcms version usage:<meta name= "generator" content= "Phpcms {$PHPCMS [version]}" >

{Phpcms_path} point to Site root usage:<script language= "javascript" src= "{phpcms_path}include/js/common.js" > </script>

{$MODULE [ads][linkurl]} AD module domain name path usage:<script language= "JavaScript" src= "{$MODULE [Ads][linkurl]} Ad.php?id=1 "></SCRIPT>

{$MODULE [Vote][linkurl]} voting module the domain name path is the same as the upper side, so that the module can be bound to a different domain name, and the path will not be wrong.

{$skindir} Point to Template Style folder /templates/default/skins/default usage:<link href= "{$skindir}/style.css" rel= "stylesheet" Type= "Text/css" >

{$PHP _siteurl} site domain name address usage:"<a href=" # "on click=" Window.external.addFavorite (' {$PHP _siteurl} ', ' {$ phpcms[' sitename '} ') "> Add to Favorites </a>"

The following variables are called methods:

{$PHPCMS [sitename]} PHPCMS Website Management system
{$PHPCMS [SiteURL]} HTTP://127.0.0.1/
{$PHPCMS [logo]} images/logo.gif
{$PHPCMS [Linklogo]} images/linklogo.gif
{$PHPCMS [icpno]} Shaanxi ICP Preparation No.
{$PHPCMS [Bazscert]} Cert/bazs.cert
{$PHPCMS [seo_title]} PHPCMS Website Management system
{$PHPCMS [seo_keywords]} PHPCMS Website Management system
{$PHPCMS [seo_description]} PHPCMS Website Management system
{$PHPCMS [ishtml]} 1 channel first page generates static
{$PHPCMS [index]} index First Name
{$PHPCMS [Fileext]} HTML file suffix name
{$PHPCMS [Webmasteremail]} [Email protected]
{$PHPCMS [copyright]} PHPCMS website Management system Copyright
{$PHPCMS [Enableeditor]} 1 to turn on visual editing
{$PHPCMS [province]} Shaanxi province
{$PHPCMS [city]} XI ' an
{$PHPCMS [area]} Lianhu District
{$PHPCMS [uploaddir]} uploadfile upload Directory
{$PHPCMS [Uploadfiletype]} gif|jpg|jpeg|png|bmp|txt|zip|rar|doc|swf
{$PHPCMS [Uploadfunctype]} 1 functions used to upload files
{$PHPCMS [Enablegzip]} 0 starts gzip compression
{$PHPCMS [maxpage]} 100 Maximum number of pages
{$PHPCMS [pagesize]} 20 shows the number of bars per page
{$PHPCMS [searchtime]} 10 search interval unit is seconds
{$PHPCMS [maxsearchresults]} 500 maximum search results
{$PHPCMS [searchperpage]} 10 search results per page
{$PHPCMS [searchcontent]} 1 allows full-text search
{$PHPCMS [Authkey]} www.phpcms.cn Web site security key
{$PHPCMS [Adminaccessip]} 127.0. Manage the Allowed IDs
{$PHPCMS [maxfailedtimes]} 5 maximum number of password attempts
{$PHPCMS [maxlockedtime]} 1 maximum lockout time per hour
{$PHPCMS [Enablebanip]} 1 turns on disable IP
{$PHPCMS [Enableadmincheckcode]} 1 turns on background verification code
{$PHPCMS [Enablethumb]} 1 to open thumbnails
{$PHPCMS [thumb_width]} 150 thumbnail width
{$PHPCMS [thumb_height]} 150 thumbnail height
{$PHPCMS [Water_type]} 2 to generate the watermark type
{$PHPCMS [Water_text]} www.phpcms.cn The text that generated the watermark
{$PHPCMS [Water_font]} include/fonts/simhei.ttf text watermark font file address
{$PHPCMS [water_fontsize]} 18 text watermark font Size
{$PHPCMS [Water_fontcolor]} #ff0000 text watermark font Color
{$PHPCMS [water_image]} images/watermark.gif picture watermark image Address
{$PHPCMS [Water_pos]} 9 watermark generated location
{$PHPCMS [Sendmailtype]} SMTP mail delivery form provides mail and SMTP mode
{$PHPCMS [SMTPHost]} smtp.163.com
{$PHPCMS [Smtpuser]} [Email protected]
{$PHPCMS [Smtppass]} ********
{$PHPCMS [Smtpport]} 25
{$PHPCMS [enablesignature]} 1 To turn on the message signing feature
{$PHPCMS [signature]} <p> <table cellspacing= "0" cellpadding= "0" width= "331" class= "mar_10" > <tbody> <tr> <td height= "" "> <p><font color=" #ff0000 "size=" 3 "><strong>&nbsp; contact </ Strong><font color= "#000000" size= "2" >phpcms website mail system signature </font></font></p> </td> < /tr> <tr> <td> <p> Address: High-tech zone, Xi ' an hi-tech road, Maple Leaf Building 35th, Room 1706 (710075) <br/> Tel: 029-88314457 <br/> Fax: 029-88314457 <br/> Mail: <a href= "Mailto:[email protected]" >[email protected]</a><br/> URL: <a href= "http://www.phpcms.cn" >http://www.phpcms.cn</a><br/> Consulting Qq:<a title= "Click to Inquire" href= "http ://wpa.qq.com/msgrd? v=1&amp; uin=411109466&amp; site=phpcms.cn&amp; Menu=yes "><font color=" #000000 ">411109466</font></a> </p> </td> </tr> </ Tbody> </table> </p>
{$PHPCMS [enableftp]} 0 To turn on FTP function
{$PHPCMS [Ftphost]} FTP host address
{$PHPCMS [FtpPort]} 21 Port number
{$PHPCMS [Ftpuser]} FTP user name
{$PHPCMS [Ftppass]} FTP password
{$PHPCMS [Ftpwebpath]} FTP-relative site root directory address
{$PHPCMS [Enablepassport]} 0 Whether external consolidation is enabled
{$PHPCMS [passport_file]} discuz The pass file used for integration
{$PHPCMS [Passport_url]} http://bbs.phpcms.cn/api/passport.php
{$PHPCMS [Passport_key]} xxxxxxxxxxyyyyyyy
{$PHPCMS [version]} 2007 Current system version

Array:$MODULE

{$MODULE [phpcms][module]} phpcms
{$MODULE [phpcms][name]} phpcms
{$MODULE [Phpcms][iscore]} 1
{$MODULE [phpcms][iscopy]} 0
{$MODULE [Phpcms][isshare]} 0
{$MODULE [Phpcms][moduledir]}
{$MODULE [Phpcms][linkurl]}
{$MODULE [Member][module]} member
{$MODULE [Member][name]} member module name
{$MODULE [Member][iscore]} 1
{$MODULE [member][iscopy]} 0
{$MODULE [Member][isshare]} 0
{$MODULE [Member][moduledir]} member Member module directory name
{$MODULE [Member][linkurl]}/member/member module path
{$MODULE [Article][module]} module used by article channel
{$MODULE [article][name]} articles
{$MODULE [Article][iscore]} 0
{$MODULE [article][iscopy]} 1
{$MODULE [Article][isshare]} 0
{$MODULE [Article][moduledir]} article
{$MODULE [Article][linkurl]}
{$MODULE [picture][module]} picture
{$MODULE [picture][name]} pictures
{$MODULE [Picture][iscore]} 0
{$MODULE [picture][iscopy]} 1
{$MODULE [Picture][isshare]} 0
{$MODULE [picture][moduledir]} picture
{$MODULE [Picture][linkurl]}
{$MODULE [down][module]} down
{$MODULE [down][name]} download
{$MODULE [Down][iscore]} 0
{$MODULE [down][iscopy]} 1
{$MODULE [Down][isshare]} 0
{$MODULE [Down][moduledir]} down
{$MODULE [Down][linkurl]}
{$MODULE [ads][module]} ads
{$MODULE [ads][name]} ads
{$MODULE [Ads][iscore]} 0
{$MODULE [ads][iscopy]} 0
{$MODULE [Ads][isshare]} 0
{$MODULE [Ads][moduledir]} ads
{$MODULE [Ads][linkurl]}/ads/
{$MODULE [comment][module]} comment
{$MODULE [Comment][name]} comments
{$MODULE [Comment][iscore]} 0
{$MODULE [comment][iscopy]} 0
{$MODULE [comment][isshare]} 1
{$MODULE [Comment][moduledir]} comment
{$MODULE [Comment][linkurl]}/comment/
{$MODULE [Vote][module]} vote
{$MODULE [Vote][name]} votes
{$MODULE [Vote][iscore]} 0
{$MODULE [vote][iscopy]} 0
{$MODULE [vote][isshare]} 1
{$MODULE [Vote][moduledir]} vote
{$MODULE [Vote][linkurl]}/vote/
{$MODULE [link][module]} link
{$MODULE [Link][name]} links
{$MODULE [Link][iscore]} 0
{$MODULE [link][iscopy]} 0
{$MODULE [Link][isshare]} 0
{$MODULE [Link][moduledir]} link
{$MODULE [Link][linkurl]}/link/
{$MODULE [stat][module]} stat
{$MODULE [Stat][name]} access statistics
{$MODULE [Stat][iscore]} 0
{$MODULE [stat][iscopy]} 0
{$MODULE [Stat][isshare]} 0
{$MODULE [Stat][moduledir]} stat
{$MODULE [Stat][linkurl]}/stat/
{$MODULE [spider][module]} spider
{$MODULE [Spider][name]} collection
{$MODULE [Spider][iscore]} 0
{$MODULE [spider][iscopy]} 0
{$MODULE [Spider][isshare]} 0
{$MODULE [Spider][moduledir]} spider
{$MODULE [Spider][linkurl]}/spider/
{$MODULE [message][module]} message
{$MODULE [message][name]} Short Message
{$MODULE [Message][iscore]} 0
{$MODULE [message][iscopy]} 0
{$MODULE [Message][isshare]} 0
{$MODULE [Message][moduledir]} message
{$MODULE [Message][linkurl]}/message/
{$MODULE [mail][module]} Mail
{$MODULE [mail][name]} Mail Subscription
{$MODULE [Mail][iscore]} 0
{$MODULE [mail][iscopy]} 0
{$MODULE [Mail][isshare]} 0
{$MODULE [Mail][moduledir]} Mail
{$MODULE [Mail][linkurl]}/mail/
{$MODULE [Page][module]} page
{$MODULE [Page][name]} single page
{$MODULE [Page][iscore]} 0
{$MODULE [page][iscopy]} 0
{$MODULE [page][isshare]} 1
{$MODULE [Page][moduledir]} page
{$MODULE [Page][linkurl]}/page/
{$MODULE [guestbook][module]} Guestbook
{$MODULE [guestbook][name]} message Book
{$MODULE [Guestbook][iscore]} 0
{$MODULE [guestbook][iscopy]} 0
{$MODULE [guestbook][isshare]} 1
{$MODULE [Guestbook][moduledir]} Guestbook
{$MODULE [Guestbook][linkurl]}/guestbook/
{$MODULE [mypage][module]} mypage
{$MODULE [mypage][name]} custom Web page
{$MODULE [Mypage][iscore]} 0
{$MODULE [mypage][iscopy]} 0
{$MODULE [mypage][isshare]} 1
{$MODULE [Mypage][moduledir]} mypage
{$MODULE [Mypage][linkurl]}/mypage/
{$MODULE [Announce][module]} announce
{$MODULE [announce][name]} site Announcements
{$MODULE [Announce][iscore]} 0
{$MODULE [announce][iscopy]} 0
{$MODULE [announce][isshare]} 1
{$MODULE [Announce][moduledir]} announce
{$MODULE [Announce][linkurl]}/announce/

{$CHA [channelid]} 1 Channel ID
{$CHA [module]} Article module name
{$CHA [channelname]} article channel name
{$CHA [style]} channel name style
{$CHA [channelpic]} channel pictures
{$CHA [introduce]} channel introduction
{$CHA [seo_title]} Channel SEO title
{$CHA [seo_keywords]} keywords
{$CHA [seo_description]} description
{$CHA [Listorder]} 1 Sort location
{$CHA [Islink]} 0 is an external link
{$CHA [Channeldir]} Article channel directory
{$CHA [Channeldomain]} channel bound domain name address
{$CHA [disabled]} 0 whether to disable the channel
{$CHA [TemplateID]} index default channel first template
{$CHA [SkinID]} 0 default Style ID
{$CHA [items]} 2 channel articles total
{$CHA [comments]} 0 Total comments
{$CHA [Categorys]} 0 columns Total
{$CHA [Specials]} 0 topics Total
{$CHA [hits]} 0 Total Hits
{$CHA [Enablepurview]} 0 development channel or authentication channel 0 for development
{$CHA [Arrgroupid_browse]} user group ID allowed to access
{$CHA [purview_message]} <div align= ' center ' style= ' color:red ' > Sorry, you don't have permission to read! </div>
{$CHA [point_message]} <p align= ' center ' ><span style= ' background: #E3E3E3 ' ><a href= ' {$readurl} ' class= ' Read ' > read this article consumes <font color= ' red ' >{$readpoint}</font> Point, are you sure you want to see it? </a></span></p><br/>
{$CHA [Enablecontribute]} 1 is allowed to contribute
{$CHA [Enablecheck]} 1 submission is required for review
{$CHA [Emailofreject]} When you withdraw text message/email notification content in the station:
{$CHA [emailofpassed]} manuscript is used when the message/email notification content in the station:
{$CHA [enableupload]} 1 Whether this channel allows uploading
{$CHA [uploaddir]} uploadfile upload file directory
{$CHA [maxfilesize]} 1024000 upload file size
{$CHA [uploadfiletype]} gif|jpg|jpeg|bmp|swf|rar|zip|doc|xls|chm|hlp upload file type
{$CHA [Linkurl]}/article/channel address
{$CHA [setting]} The channel parameters after serialization
{$CHA [ishtml]} 1 generates channel home page
{$CHA [Cat_html_urlruleid]} 0 column generates a static rule ID
{$CHA [Item_html_urlruleid]} 0 Article content page generates a static rule ID
{$CHA [Special_html_urlruleid]} 0 feature page generate static rule ID
{$CHA [Cat_php_urlruleid]} 0 column does not generate a static rule ID
{$CHA [Item_php_urlruleid]} 0 Article content page does not generate a static rule ID
{$CHA [Special_php_urlruleid]} 0 feature page does not generate a static rule ID

Summary of common functions of phpcms2008

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.