在线看片电视剧免费看,精品国产一区二区三区2021,99久久久无码国产精品免费,精品人妻少妇嫩草AV无码专区

    電話(huà)

    0411-39943997

仟億科技
客服中心
  • 電話(huà)
  • 電話(huà)咨詢(xún):0411-39943997
  • 手機
  • 手機咨詢(xún):15840979770
    手機咨詢(xún):13889672791
網(wǎng)絡(luò )營(yíng)銷(xiāo) >更多

dede織夢(mèng)函數詳解介紹

作者:billionnet 發(fā)布于:2012/2/3 16:34:14 點(diǎn)擊量:

 

dede織夢(mèng)函數詳解介紹:
       [1] typeid='' 表示欄目ID,在列表模板和檔案模板中一般不需要指定,在封面模板中允許用","分開(kāi)表示多個(gè)欄目

[2] row='' 表示返回文檔列表總數

[3] col='' 表示分多少列顯示(默認為單列);

[4] titlelen='' 表示標題長(cháng)度

[5] infolen='' 表示內容簡(jiǎn)介長(cháng)度

[6] imgwidth='' 表示縮略圖寬度

[7] imgheight='' 表示縮略圖高度

[8] type='' 表示檔案類(lèi)型,其中空值、不使用這個(gè)屬性或type='all'時(shí)為普通文檔

type='commend'時(shí),表示推薦文檔,等同于 {dede:coolart}{/dede:coolart}

type='image'時(shí),表示必須含有縮略圖片的文檔,等同于{dede:imglist}{/dede:imglist}

{d ede:imginfolist}{/dede:imginfolist}

type='spec'時(shí),表示專(zhuān)題,等同于標記{dede:specart}{/dede:specart}

以上屬性值可以聯(lián)合使用,如: type='commend image' 表示推薦的圖片文檔

[9] orderby='' 表示排序方式,默認值是 senddate 按發(fā)布時(shí)間排列。

orderby='hot'或orderby='click'表示按點(diǎn)擊數排列

orderby='pubdate'按出版時(shí)間排列(即是前臺允許更改的時(shí)間值)"

orderby='sortrank'按文章的新排序級別排序(如果你想使用置頂文章則使用這個(gè)屬性)

orderby='id'按文章ID排序

orderby='postnum'按文章評論次數排序)

orderby='rank'隨機獲得指定條件的文檔列表

[10] orderway='' 值為 desc 或 asc ,指定排序方式是降序還是順向排序,默認為降序。

[11] keyword='' 表示含有指定關(guān)鍵字的文檔列表,多個(gè)關(guān)鍵字用","分開(kāi)

[12] channelid='' 表示特定的頻道模型ID,內置的頻道:專(zhuān)題(-1)、文章(1)、圖集(2)、Flash(4)、軟件(3)

[13] limit='起始,結束' 表示限定的記錄范圍,row屬性必須等于"結束 - 起始",mysql的limit語(yǔ)句是由0起始的,如

“limit 0,5”表示的是取前五筆記錄,“limit 5,5”表示由第五筆記錄起,取下五筆記錄,使用了本屬性后,row屬性將無(wú)效。

[14] att='數值' 表示自定義屬性值

[15] subday='天數' 表示在多少天以?xún)鹊奈臋n,通常用于獲取指定天數的熱門(mén)文檔、推薦文檔、熱門(mén)評論文檔等

[16] partsort='排列位數' 表示自動(dòng)獲得父欄目的所有子數中排列在第幾位的欄目ID,

標記為 {dede:autolist}{/dede:autolist} 時(shí),使用本屬性才有效。

-----------------------------------------------------------------------------

以下放在調用位置相應

.

用戶(hù)密碼

驗證

注冊帳號

-----------------------------------------------------------------------------------------------

常用標簽:

1.

[field:arcurl /] 文章地址

2.

[field:title /] 文章標題

常用于首頁(yè)、欄目、文章列表頁(yè)

3.

[field:imglink/]

顯示縮略圖及鏈接地址

4

[field:info/] 文章簡(jiǎn)介

5

[field:description/] 文章簡(jiǎn)介 多用于文章列表頁(yè)

6.

[field:textlink/] 等價(jià)于[field:title /]

7.

[field:pubdate function=strftime('%m-%d',@me)/] 顯示文章發(fā)布時(shí)間,形式為月-日 例如:03-07

8.

[field:pubdate function="GetDateTimeMK(@me)"/] 詳細時(shí)間,形式為年-月-日 時(shí)-分-秒

9.

[field:filename /]等價(jià)于[field:arcurl /] 常用于欄目、文章列表頁(yè)

10.

[field:typelink /] 欄目地址.

11

[field:typename /] 欄目名稱(chēng)

12

[field:postnum/] 評論條數

13.[field:source/] 來(lái)源

14.

[field:writer/] 作者

j15.

[field:litpic function="CkLitImageView(@me,120)"/] 提取文章縮略圖

16.

[field:click/] 文章點(diǎn)擊次數

17.

[field:phpurl/]/stow.php?arcID=[field:id/] 相應文章加入收藏路徑 常用于欄目、文章列表頁(yè)2 }

18.

[field:phpurl/]/recommend.php?arcID=[field:id/] 推薦文章路徑 常用于欄目、文章列表頁(yè))

文章正文頁(yè)常用調用標簽::

19.

{dede:field name="title"/} 文章標題 多用于正文頁(yè)

20.

{dede:field name='pubdate' function='GetDateMk(@me)'/}顯示文章發(fā)布時(shí)間 多用正文頁(yè)

21.

{dede:field name='phpurl'/}/stow.php?arcID={dede:field name=ID/}相應文章加入收藏路徑 多用于正文

22.

{dede:field name='phpurl'/}/recommend.php?arcID={dede:field name=ID/}推薦文章路徑多用于正文

23.

{dede:field name='source'/} 來(lái)源: }

24

{dede:field name='writer'/} 作者

25.

{{dede:field name='postnum'/}評論條數

26.

{dede:field name='phpurl'/}/feedback.php?arcID={dede:field name=ID/} 相應文章所有評論鏈接

27.

{dede:field name='body'/} 文章內容

28.

4.文章正文評論調用

<>

<>

type=hidden value="submit" name=itemid>

5.調用收藏夾,添加文章到各大網(wǎng)站收藏夾

color=#58c600>藏

color=#c00012>網(wǎng)

color=#327f00>:

href='javascript:u=location.href;t=document.title;c%20=%20""%20+%20(window.getSelection%20? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url="http://cang.baidu.com/do/add?it="+encodeURIComponent(t)+"&iu="+encodeURIComponent(u)+"&dc="+encodeURIComponent(c)+"&fr=ien#nw=1";window.open(url,"_blank","scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes"); void 0'>

alt=Baidu搜藏 src="/wm_img/baidu.gif" border=0>

href="javascript:window.open('http://shuqian.qq.com/post?title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=960,height=600,left=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)">

title=QQ書(shū)簽 alt=QQ書(shū)簽 src="/wm_img/qq.gif" border=0>

href="javascript:location.href='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)">

alt=Google書(shū)簽 src="/wm_img/google.gif" border=0>

href="javascript:location.href='http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)">

title=Del.icio.us alt=Del.icio.us src="/wm_img/delicious.gif" :

border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'')d.getSelection?d.getSelection():'');void(keyit=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&img=http://www.h-strong.com/blog/logo.gif','keyit','scrollbars=no,width=475,height=575,status=no,resizable=yes'));keyit.focus();">

alt=POCO 網(wǎng)摘 src="/wm_img/poco.gif" border=0>

alt=Yahoo書(shū)簽 src="/wm_img/yahoo.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'')d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=28&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();">

alt=新浪ViVi src="/wm_img/vivi.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'')d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();">

alt=365Key網(wǎng)摘 src="/wm_img/365key.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'')d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();">天極網(wǎng)摘

href="javascript:t=document.title;u=location.href;e=document.selection?(document.selection.type!='None'?document.selection.createRange().text:'')document.getSelection?document.getSelection():'');void(open('http://bookmark.hexun.com/post.aspx?title='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'HexunBookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));">

alt=和訊網(wǎng)摘 src="/wm_img/hexun.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'')d.getSelection?d.getSelection():'');void(live=window.open('https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url='+escape(d.location.href)+'&title='+escape(d.title)+'&top=1','live','scrollbars=no,status=no,resizable=yes'));live.focus();">

alt="Windows Live" src="/wm_img/live.gif" border=0>

# m8 O* S9 j2 f+ l2 @: U$ N$ ~3 y4 B5 m) `' U

title=鼠標選中部分作為描述,提交到diglog.com

onclick="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'')d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.diglog.com/submit.aspx?title='+escape(d.title)+'&url='+escape(d.location.href)+'&description='+escape(t),'keyit','scrollbars=yes,width=500,height=500,left=65,top=20,status=no,resizable=yes'));keyit.focus();"

href="javascript://">提交新發(fā)現,Dig it

border=0>

其他調用:

{dede:group row="8" orderby='threads'}

[field:groupname/]

{/dede:group}

"

圖片調用:{dede:flink type='image' row='1' col='9' titlelen='22'/}

文字調用:{dede:flink type='text' row='2' col='9' titlelen='24'/}

[

{dede:hotwords num='20' subday='30'/}

{dede:loop table='pw_threads' sort='tid' row='8' if=''}

·[field:subject function="cn_substr('@me',30)"/]

([field:lastpost function="date('m-d H:M','@me')"/])

{dede:loop}

-----------------------------------文章圖片幻燈片顯示------------------------------------>

 



分享到:


Copyright@ 2011-2016 版權所有:大連千億科技有限公司 遼ICP備11013762-3號   google網(wǎng)站地圖   百度網(wǎng)站地圖   網(wǎng)站地圖

公司地址:大連市沙河口區中山路692號辰熙星海國際2317 客服電話(huà):0411-39943997 QQ:2088827823 37482752

法律聲明:未經(jīng)許可,任何模仿本站模板、轉載本站內容等行為者,本站保留追究其法律責任的權利! 隱私權政策聲明

丁香花成人电影| 99久久国产综合精品五月天| 人人妻碰人人免费| 337P日本欧洲亚洲高清鲁鲁| 国产婷婷色一区二区三区在线| 人妻少妇无码精品视频区|