央行就行政嘉奖裁量基准暂行端方悍然搜聚定见
2604 2026-07-18 20:00
要掉落踪掉落踪附加表内容 ,用用于必须契合两个前提
1 、调段指定 channelid 属性
2 、附加指定要掉落踪掉落踪的表字编制字段 addfields='字段1,字段'
如:
{ dede:arclist addfields='filetype,language,softtype' row='8' channelid='3'}
[field:textlink /] - [field:softtype /]<br />
{ /dede:arclist}
ID(同 id),typeid,sortrank,flag,ismake,channel,arcrank,click,money,title,shorttitle,color,writer,
source,litpic(同picname),pubdate,senddate,mid, lastpost,scores,goodpost,badpost,notpost,
description(同infos),filename, image, imglink, fulltitle, textlink, typelink,plusurl, memberurl, templeturl,
stime(pubdate 的"0000-00-00"格式)
个中:
textlink = <a href='arcurl'>title</a>
typelink = <a href='typeurl'>typename</a>
imglink = <a href='arcurl'><img src='picname' border='0' width='imgwidth' height='imgheight'></a>
image = <img src='picname' border='0' width='imgwidth' height='imgheight' alt=’titile’>
如 :
{ dede:arclist infolen='100'}
[field:textlink/]
<br>
[field:infos/]
<br>
{ /dede:arclist}
注 :底层模板里的Field完成也是织梦标识表记标帜的一种编制 ,是用用于以支撑独霸PHP语法 ,Function扩大年夜大年夜大年夜大年夜等下场。调段
[field:senddate runphp='yes']
$ntime = time();
$oneday = 3600 * 24;
if(($ntime - @me)<$oneday) @me = "<font color='red'>(new)</font>";
else @me = "";
[/field:senddate]
[b][/b]