This article mainly introduces various types of destoon calls. For more information, see the following 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: