根目录、模板目录和样式目录:
{DT_PATH}
{DT_SKIN}
导入头脚:
{template 'header'}
{template 'footer'}
对应模块首页:
{$MODULE[$moduleid][linkurl]} //注:$moduleid表示对应模块的ID号
对应模块列表页:
{$MODULE[$moduleid][linkurl]}list.php?catid=$catid  //注:$catid表示调用的分类的ID号
发布某模块信息:
{$MODULE[2][linkurl]}my.php?mid=$moduleid&action=add
调用广告:
{ad(27)}  //注:27表示广告位为27的广告
时间函数:
{date('Y-m-d',$t[addtime])} // 注:addtime是添加时间,可以换别的
控制字符数:
{dsubst($t[company],30)}  //注:company是公司名称字段,可以换别的。30表示字符数为15个
版权信息:
{$DT[copyright]}
客服电话:
{$DT[telephone]}
ICP备案号:
{$DT[icpno]}
本月:
addtime>$today_endtime-30*86400
供应:
(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")}
求购:
(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")}
行情:
(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")}
公司:
{php $tags = tag("moduleid=4&table=company&condition=groupid>5&pagesize=10&order=fromtime desc&template=null")}
展会:
(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")}
资讯:
(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")}
招商:
(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")}
品牌:
(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")}
人才:
{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")}
知道:
(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")}
专题:
(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")}
图库:
(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")}
视频:
(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")}
下载:
(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")}
论坛:
{php $tags=tag("table=discuz.cdb_threads&prefix=&condition=status=0 and fid=?&order=dateline desc&pagesize=10&target=_blank&template=null")}
调用模块内容,资讯模块举例:
{php $tagss = tag("moduleid=21&table=article_data_21&condition=itemid=".$t[itemid]."&template=null")}
调用分类,资讯模块举例:
{php $tagss = tag("moduleid=21&table=category&condition=moduleid=21 and parentid=?&pagesize=10&order=catid desc&template=null")}
网站标题:
{$seo_title}
关键字:
{$head_keywords}
网页描述:
{$head_description}
会员升级:
{$MODULE[2][linkurl]}grade.php
收藏本页:
<script type="text/javascript">addFav('收藏本页');</script>
设为首页:
<a href='#' "this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jbxue.com');">设为首页</a>
WAP浏览:
{extendurl('wap')}
RSS订阅:
{extendurl('feed')}
商务中心:
{$MODULE[2][linkurl]}
发布信息:
{$MODULE[2][linkurl]}{$DT[file_my]}
排名推广:
{extendurl('spread')}
网站地图:
{DT_PATH}sitemap/
友情链接:
{extendurl('link')}index.php?typeid=1
申请友情链接:
{extendurl('link')}{rewrite('index.php?action=reg')}
调用友情链接:
{php $tags = tag("table=link&length=14&condition=status=3 and typeid=1&pagesize=40&order=addtime desc&template=null")}
网站留言:
{extendurl('guestbook')}
广告服务:
{extendurl('ad')}
版权隐私、使用协议、联系方式、关于我们:
{tag("table=webpage&condition=item=1&order=listorder desc,itemid desc&template=list-webpage")}
Copyright.html、agreement.html、contact.html、about.html
地区:
{$AREA[1][areaname]}
投票:
{extendurl('vote')}
登录框模板:
{if $DT[page_login]}{template 'user', 'chip'}{/if}
公告栏:
{extendurl('announce')}
分类模板:
{php $mid=5;}{template 'catalog' 'chip'}
相关评论模板:
{template 'comment', 'chip'}
联系方式模板:
{template 'contact', 'chip'}
留言加盟:
<iframe src="{$MOD[linkurl]}message.php?itemid={$itemid}" name="destoon_message" id="destoon_message" style="width:99%;height:0px;" scrolling="no" frameborder="0"></iframe>
读缓存:
{php $CATEGORY = cache_read('category-21.php');}
{$MODULE[21][linkurl]}{$CATEGORY[5][linkurl]}
<meta http-equiv="x-ua-compatible" content="ie=7"/>
调用栏目名:
{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">{dsubst($tt[catname],12)}</a>】     {/loop} </span><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></li>    {/loop}
调用大分类中的所有:
{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}
产品图片怎么调用middle.jpg中大的图?
<img src="{str_replac('thumb', 'middle', $t[thumb])}" width="{$width}" height="{$height}" alt="{$t[alt]}"/>

destoon 调用汇总相关推荐

  1. destoon各栏目调用汇总

    ================================================================== destoon各栏目调用汇总 ================== ...

  2. 织梦dedecms TAG标签调用汇总

    前言 TAG标签是一种由您自己定义的,比分类更准确.更具体,可以概括文章主要内容的关键词,合理的运用TAG标签,可以使你发表的文章更容易被搜索到. 很多网站的首页.列表页和文章页调用的TAG关键词是带 ...

  3. vue组件间的传值方式及方法调用汇总

    1.传值 a.父组件传子组件 方法一: 父页面: <myReportContent v-if="contentState==1" :paramsProps='paramsPr ...

  4. 织梦php时间调用,织梦DedeCms时间格式调用汇总

    学好织梦的各种调用,制作各种网站都是可以的了.织梦DedeCMS确实是一款很强大的CMS建站软件.今天主要搜集了一些织梦时间格式调用的标签.我们在使用织梦DedeCms的过程中,会根据需要改变时间的显 ...

  5. 【matlab】强化/深度学习工具箱例程调用汇总及编程实例

    前言 前段时间帮导师申请项目时涉及到了智能化,因为行文过于天马行空导师要求将大致思路仿真出来试试,于是就又找到了强大的MATLAB,在网上一顿搜索后发现最新的强化学习以及深度学习的工具箱只有2019年 ...

  6. dede栏目调用汇总

    1.1 首页调用方式 A.使用   {dede:global.cfg_cmsurl/}/   调用,放在a标签中.如下图: <a href="{dede:global.cfg_cmsu ...

  7. destoon入门实例与常见问题汇总

    2019独角兽企业重金招聘Python工程师标准>>> destoon入门实例与常见问题 收集了一些destoon入门实例与常见问题,大家做个参考.转自:http://blog.cs ...

  8. destoon实现调用热门关键字的方法

    本文所述的destoon调用热门关键字的方法是根据数据库里面的保存的搜索的关键字来显示的. 每个模块下面都有各自的关键字 下面是调用的标签: ? 1 <!--{tag("modulei ...

  9. 公告栏模板php代码,PHP_destoon调用自定义模板及样式的公告栏,destoon中默认的首页公告栏调用 - phpStudy...

    destoon调用自定义模板及样式的公告栏 destoon中默认的首页公告栏调用方法如下: $today_endtime-86400&areaid=$cityid&pagesize=3 ...

最新文章

  1. 【数据库】适用于SQLite的SQL语句(二)
  2. flexi-streams用法简介
  3. 手机设置两个操作:享受专注生活
  4. 天锐绿盾解密_天锐绿盾携手衡阳规划设计院 实现信息系统安全管理
  5. eclipse菜单字体乱码的解决
  6. 背景图片随着浏览器拖动而变化
  7. Flex, SilverLight 和 JavaFX
  8. php动态写入vue,Vue.js中使用动态组件的方法
  9. python下载包没用_Python下载各种功能包出问题
  10. 手把手教你搭建pytorch深度学习网络
  11. 计算机处理器的参数及意义,如何看懂CPU的性能参数?
  12. forever不重启 node_node.js – NodeJS和Forever(监控并重启应用)
  13. leg引擎适合什么系统的服务器,第一讲 LEG引擎服务端更新BLUE引擎
  14. html中span隐藏属性,span标签的class属性
  15. 新版本itunes如何设置iphone铃声
  16. ruby中的符号_Ruby中的凡人和不朽符号
  17. html 气泡上升效果,css气泡效果
  18. 除了闹过腥风血雨的fastjson,你还知道哪些Java解析JSON的利器?
  19. oracle空值排到最前面或最后面
  20. XMLHttpRequest + JSON + 文件上传 + axios

热门文章

  1. Android之——获取进程总数、内存、任务列表
  2. scrapy shell list crawl 命令行无显示退出 no echo quit scrapy 踩坑
  3. Java反射PropertyDescriptor的异常记录
  4. 一个记者辞职开餐馆的坎坷经历 《一碗羊汤这五年》(转)
  5. java输入学生信息_要求编写一个java程序,输入学生信息,并能保存与显示学生信息。...
  6. option 43和option 60
  7. Python3 - Linux 下安装 LibreOffice 以及使用
  8. 我的『1024』创作纪念日
  9. docker-desktop启动k8s
  10. linux指令_肖长青