destoon各类调用汇总

根目录、模板目录和样式目录:

rush:xhtml;"> {DT_PATH} {DT_SKIN}

导入头脚:

rush:xhtml;"> {template 'header'} {template 'footer'}

对应模块首页

rush:xhtml;"> {$MODULE[$moduleid][linkurl]} //注:$moduleid表示对应模块的ID号

对应模块列表页

rush:xhtml;"> {$MODULE[$moduleid][linkurl]}list.PHP?catid=$catid //注:$catid表示调用分类的ID号

发布某模块信息:

rush:xhtml;"> {$MODULE[2][linkurl]}my.PHP?mid=$moduleid&action=add

调用广告:

rush:xhtml;"> {ad(27)} //注:27表示广告位为27的广告

时间函数:

rush:xhtml;"> {date('Y-m-d',$t[addtime])} // 注:addtime是添加时间,可以换别的

控制字符数:

rush:xhtml;"> {dsubstr($t[company],30)} //注:company是公司名称字段,可以换别的。30表示字符数为15个

版权信息

rush:xhtml;"> {$DT[copyright]}

客服电话:

rush:xhtml;"> {$DT[telephone]}

ICP备案号:

rush:xhtml;"> {$DT[icpno]}

本月:

$today_endtime-30*86400

供应:

rush:PHP;"> (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")}

求购:

rush:PHP;"> (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")}

行情:

rush:PHP;"> (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")}

公司:

5&pagesize=10&order=fromtime desc&template=null")}

展会:

rush:PHP;"> (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")}

资讯:

rush:PHP;"> (level=1,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")}

招商:

rush:PHP;"> (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")}

品牌:

rush:PHP;"> (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")}

人才:

rush:PHP;"> {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")}

知道:

rush:PHP;"> (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")}

专题:

rush:PHP;"> (level=1,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")}

图库:

rush:PHP;"> (level=1,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")}

视频:

rush:PHP;"> (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")}

下载:

rush:PHP;"> (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")}

论坛:

rush:PHP;"> {PHP $tags=tag("table=discuz.cdb_threads&prefix=&condition=status=0 and fid=?&order=dateline desc&pagesize=10&target=_blank&template=null")}

调用模块内容,资讯模块举例:

rush:PHP;"> {PHP $tagss = tag("moduleid=21&table=article_data_21&condition=itemid=".$t[itemid]."&template=null")}

调用分类,资讯模块举例:

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

网站标题

rush:PHP;"> {$SEO_title}

关键字:

rush:PHP;"> {$head_keywords}

网页描述:

rush:PHP;"> {$head_description}

会员升级

rush:PHP;"> {$MODULE[2][linkurl]}grade.PHP

收藏本页:

rush:js;">