Destoon call Summary

Source: Internet
Author: User
Tags add time

Root directory, template directory, and style directory:

{DT_PATH}{DT_SKIN}

Import header:

{template 'header'}{template 'footer'}

Home page of the corresponding module:

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

Corresponding module list page:

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

Publish a module:

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

Call advertisement:

{Ad (27)} // Note: 27 indicates an advertisement with the ad space of 27.

Time functions:

{Date ('Y-m-d', $ t [addtime])} // Note: addtime is the add time, which can be changed

Control characters:

{Dsubstr ($ t [company], 30)} // Note: company is the company name field, which can be changed. 30 indicates 15 characters

Copyright information:

{$DT[copyright]} 

Customer service phone:

{$DT[telephone]}

ICP filing No:

{$DT[icpno]}

This 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")}

Purchase:

(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")}

Quotations:

(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 Attraction:

(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")}

Talents:

{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")}

Note:

(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")}

Topics:

(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")}

Image Library:

(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 content, information module example:

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

Call category. Example of the information module:

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

Website title:

{$seo_title}

Keywords:

{$head_keywords}

Webpage description:

{$head_description}

Member upgrade:

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

Add to favorites:

<Script type = "text/javascript"> addFav ('add this page'); </script>

Set as homepage:

<A href = '# 'onclick = "this. style. behavior = 'url (# default # homepage) '; this. setHomePage ('HTTP: // www.webjx.com '); "> set as homepage </a>

WAP browsing:

{extendurl('wap')}

RSS subscription:

{extendurl('feed')}

Business Center:

{$MODULE[2][linkurl]}

Release information:

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

Ranking promotion:

{extendurl('spread')}

Website map:

{DT_PATH}sitemap/

Links:

{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')}

Advertisement service:

{extendurl('ad')}

Copyright privacy, usage 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

Region:

{$AREA[1][areaname]}

Vote:

{extendurl('vote')}

Logon template:

{if $DT[page_login]}{template 'user', 'chip'}{/if}

Announcement board:

{extendurl('announce')}

Classification template:

{php $mid=5;}{template 'catalog' 'chip'}

Related comment templates:

{template 'comment', 'chip'}

Contact Method template:

{template 'contact', 'chip'}

JOIN message:

<iframe src="{$MOD[linkurl]}message.php?itemid={$itemid}" name="destoon_message" id="destoon_message" style="width:99%;height:0px;" scrolling="no" frameborder="0"></iframe>

Read cache:

{php $CATEGORY = cache_read('category-21.php');}{$MODULE[21][linkurl]}{$CATEGORY[5][linkurl]}
<meta http-equiv="x-ua-compatible" content="ie=7"/>


Call topic name

{php $tags = tag("moduleid=21&table=article_21&length=32 &condition=status=3 &pagesize=11&order=addtime desc&template=null")}    {loop $tags $t}    <li><span class="rq">{date('Y-m-d',$t[addtime])}</span><span class="catn"> {php $tagss = tag("moduleid=21&table=category&condition=moduleid=21 and catid=".$t[catid]."&template=null")}     {loop $tagss $tt}     【<a href="{$tt[linkurl]}" target="_blank">{dsubstr($tt[catname],12)}</a>】     {/loop} </span><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></li>    {/loop} 

Call all

{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}        <li>•<a href="{$ts[linkurl]}" target="_blank">{$ts[title]}</a></li>         {/loop}  {/loop}


Product image watermark to use a large image in middle.jpg?

 

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.