POST TIME:2019-09-30 11:20
>=DedeCMS 3,DedeCMS 4,DedeCMS 5)
名稱:bookcontentlist
功能:連載圖書最新內容調用
語法:
{dede:bookcontentlist row='12' booktype='-1' orderby='lastpost' author='' keyword=''}
<table width="100%" border="0" cellspacing="2" cellpadding="2"> <tr> <td width='40%'> [[field:cataloglink/]] [field:booklink/]</td> <td width='40%'>[field:contentlink/]</td> <td width='20%'>[field:lastpost function="GetDateMk(@me)"/]</td> </tr> </table> {/dede:bookcontentlist}文件:
include aglibookcontentlist.lib.php
function lib_bookcontentlist(&$ctag, &$refObj)
默認底層模板:
bookcontentlist.htm
參數:
row=12調用記錄條數
booktype=-1圖書類型,0圖書、1漫畫,默認全部
titlelen=30標題長度
orderby=lastpost排序類型,當按排序類型為commend表示推薦圖書
author=''作者
keyword=''關鍵字
底層字段:
contenttitle,contentid,contenturl,dmbookurl,bookurl,catalogurl,cataloglink,booklink,contentlink,imglink,ischeck,booktypename