Destoon Types of Call Rollup _php tutorials

Source: Internet
Author: User
Tags control characters
root directory, template directory, and style directory:

{Dt_path} {Dt_skin}

To import the head foot:

{Template ' header '} {Template ' footer '}

Corresponding Module homepage:

{$MODULE [$moduleid][linkurl]}//Note: $moduleid indicates the ID number of the corresponding module

Corresponding Modules List page:

{$MODULE [$moduleid][linkurl]}list.php?catid= $catid  //Note: $catid represents the ID number of the category being called

To publish a module information:

{$MODULE [2][linkurl]}my.php?mid= $moduleid &action=add

Calling ads:

{AD ()}  Note: 27 for ads with 27 ad positions

Time function:

{Date (' y-m-d ', $t [Addtime])}//Note: Addtime is added time, can be changed for other

Number of control characters:

{Dsubstr ($t [company],30)}  Note: Company is a name field and can be changed for another. 30 indicates a number of 15 characters

Copyright information:

Customer Service Tel:

{$DT [telephone]}

ICP Record number:

{$DT [Icpno]}

Month:

Addtime> $today _endtime-30*86400

Supply:

(level=1) {php $tags = tag ("Moduleid=5&table=sell&length=30&condition=status=3 and catid=? and Level=?&pagesize=10&order=addtime Desc&template=null ")}

Buy:

(level=1) {php $tags = tag ("Moduleid=6&table=buy&length=30&condition=status=3 and catid=? and Level=?&pagesize=10&order=addtime Desc&template=null ")}

Market:

(level=1,2,3,4,5) {php $tags = tag ("Moduleid=7&table=quote&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Company:

{php $tags = tag ("Moduleid=4&table=company&condition=groupid>5&pagesize=10&order=fromtime desc &template=null ")}

Exhibition:

(level=1) {php $tags = tag ("Moduleid=8&table=exhibit&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Information:

(level=1,2,3,4,5) {php $tags = tag ("Moduleid=21&table=article_21&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Investment:

(level=1) {php $tags = tag ("Moduleid=22&table=info_22&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Brand:

(level=1) {php $tags = tag ("Moduleid=13&table=brand&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Talent:

{php $tags = tag ("Moduleid=9&table=job&length=30&condition=status=3 and catid=?&pagesize=10& Order=addtime desc&template=null ")}{php $tags = Tag (" moduleid=9&table=resume&length=30&condition= Status=3 and Catid=?&pagesize=10&order=addtime desc&template=null ")}

Know:

(level=1) {php $tags = tag ("Moduleid=10&table=know&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Special:

(level=1,2,3,4,5) {php $tags = tag ("Moduleid=11&table=special&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Gallery:

(level=1,2,3,4,5) {php $tags = tag ("Moduleid=12&table=photo&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Video:

(level=1) {php $tags = tag ("Moduleid=14&table=video&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Download:

(level=1) {php $tags = tag ("Moduleid=15&table=down&length=30&condition=status=3 and catid=? and thumb<> "and Level=?&pagesize=10&order=addtime Desc&template=null")}

Forum:

{PHP $tags =tag ("Table=discuz.cdb_threads&prefix=&condition=status=0 and Fid=?&order=dateline desc& Pagesize=10&target=_blank&template=null ")}

Call module contents, Information Module Example:

{php $TAGSS = tag ("moduleid=21&table=article_data_21&condition=itemid=". $t [itemid]. " &template=null ")}

Call classification, Information Module example:

{php $TAGSS = tag ("Moduleid=21&table=category&condition=moduleid=21 and parentid=?&pagesize=10& Order=catid desc&template=null ")}

Website title:

{$seo _title}

Key words:

{$head _keywords}

Page Description:

{$head _description}

Member Upgrade:

{$MODULE [2][linkurl]}grade.php

Bookmark this page:

Set as homepage:

Set as homepage

WAP Browsing:

{Extendurl (' wap ')}

RSS Subscription:

{Extendurl (' feed ')}

Business Center:

{$MODULE [2][linkurl]}

Post information:

{$MODULE [2][linkurl]} {$DT [file_my]}

Ranking Promotion:

{extendurl (' spread ')}

Site Map:

{dt_path}sitemap/

Friendship Link:

{extendurl (' link ')}index.php?typeid=1

Application Links:

{extendurl (' link ')} {rewrite (' Index.php?action=reg ')}

Call Links:

{php $tags = tag ("Table=link&length=14&condition=status=3 and Typeid=1&pagesize=40&order=addtime Desc&template=null ")}

Website message:

{extendurl (' guestbook ')}

Advertising services:

{extendurl (' ad ')}

Copyright privacy, use Agreement, contact information, about us

{tag ("Table=webpage&condition=item=1&order=listorder desc,itemid desc&template=list-webpage")}

Copyright.html, agreement.html, contact.html, about.html

Area:

{$AREA [1][areaname]}

Vote:

{Extendurl (' vote ')}

Login Box Template:

{if $DT [Page_login]} {Template ' user ', ' Chip '} {/if}

Bulletin Board:

{Extendurl (' announce ')}

Category Template:

{PHP $mid = 5;} {Template ' catalog ' ' Chip '}

Related Comment templates:

{Template ' comment ', ' Chip '}

Contact Us Template:

{Template ' contact ', ' chip '}

Message to join:

Read cache:

{php $CATEGORY = cache_read (' category-21.php ');} {$MODULE [21][linkurl]} {$CATEGORY [5][linkurl]}
 
  


Call Column Name

{php $tags = tag ("Moduleid=21&table=article_21&length=32 &condition=status=3 &pagesize=11&order =addtime desc&template=null ")}    {loop $tags $t}    
  • {date (' y-m-d ', $t [Addtime])} {php $TAGSS = tag ("Moduleid=21&table=category&condition=moduleid=21 and catid=". $t [catid]. " &template=null ")} {loop $tagss $tt} " {dsubstr ($tt [catname],12)} " {$t [title]}
  • Call all in the large category

    {php $tags = tag ("Moduleid=26&table=category&condition=moduleid=26 and Catid=137&template=null")}   {Loop $tags $t}  {php $TAGSS = tag ("moduleid=26&length=26&condition=status=3 and level=4 and CatID in (". $t [Arrchildid]. ") &pagesize=4&order=addtime desc&template=null ")}   {loop $TAGSS $ts}        
  • {$ts [title]}
  • {/loop} {/loop}


    Product picture How to call the big picture in middle.jpg?

    http://www.bkjia.com/PHPjc/825488.html www.bkjia.com true http://www.bkjia.com/PHPjc/825488.html techarticle root directory, template directory, and style directory: {Dt_path}{dt_skin} Import Header: {Template ' header '}{template ' Footer '} corresponding module home: {$MODULE [$moduleid] [ Linkurl]}//Note: $mo ...

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