天天躁日日躁狠狠躁AV麻豆-天天躁人人躁人人躁狂躁-天天澡夜夜澡人人澡-天天影视香色欲综合网-国产成人女人在线视频观看-国产成人女人视频在线观看

destoon各類調用匯總

根目錄、模板目錄和樣式目錄:

{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是添加時間,可以換別的

控制字符數:

{dsubstr($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='#' onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.webjx.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">{dsubstr($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_replace('thumb', 'middle', $t[thumb])}" width="{$width}" height="{$height}" alt="{$t[alt]}"/>

php技術destoon各類調用匯總,轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 快播在线电影网站 | 花蝴蝶在线观看免费8 | 老年日本老年daddy | 色播成人影院 | 狠狠色丁香久久婷婷综合_中 | 免费人成在线观看网站视频 | 天天久久狠狠色综合 | 亚洲日本欧美产综合在线 | 亚洲综合色在线视频久 | 色婷婷AV国产精品欧美毛片 | ASIAN大陆明星裸休合成PICS | 97无码欧美熟妇人妻蜜桃天美 | 国产亚洲精品视频亚洲香蕉视 | 老师紧窄粉嫩 | 失禁h啪肉尿出来高h | 法国剧丝袜情版h级在线电影 | 在线国产a不卡 | 一区二区三区高清视频 | 好爽胸大好深好多水 | 国产精品99精品无码视亚 | 国产精品自产拍在线观看网站 | 秋霞在线观看视频一区二区三区 | 亚洲视频在线观看网站 | 国产在线精品亚洲另类 | 暖暖 免费 高清 日本视频大全 | 99无人区码一码二码三 | 囯产精品麻豆巨作久久 | 嫩草AV久久伊人妇女 | 偷拍久久国产视频免费 | 中文中幕无码亚洲在线 | 久久99r66热这里只有精品 | 成人国产精品免费网站 | 国产高清视频在线观看不卡v | 无限资源在线看影院免费观看 | 色欲国产麻豆一精品一AV一免费 | 精品性影院一区二区三区内射 | 亚洲中文字幕无码一去台湾 | 亚洲视频一区 | 国产精品无码视频一区二区 | 国产-第1页-浮力影院 | 欧美亚洲日韩欧洲不卡 |