<!--图片资讯显示-->
<!--{block name="spacenews" parameter="catid/1/haveattach/1/showattach/1/order/i.lastpost DESC/subjectlen/12/subjectdot/1/limit/0,1/cachetime/8000/cachename/picnews/tpl/data"}-->
<!--{loop $_SBLOCK['picnews'] $value}-->
<div class="pic">
<a href="$value[url]"><img src="$value[a_thumbpath]" alt="$value[subject]" width="160" height="120" border="0" /></a>
<h6><a href="$value[url]">$value[subject]</a></h6>
</div>
<!--{/loop}-->
messagelen/80 缩略内容显示字节数
<!--论坛精华2带附件主题按查看数-->
<!--{block name="bbsattachment" parameter="filetype/image/t_digest/2/t_fid/72,73,44,45,81,43,82,65,79,64,63,62,78,55,80,42,39,34,46,77,38,33,37,31,74,76,75,68,67,69,66,53,19,18,20,17,16,15,14,13/order/t.views DESC/limit/0,6/cachetime/10800/subjectlen/30/cachename/picthread/tpl/data"}-->
<!--{loop $_SBLOCK['picthread'] $value}-->
<div class="con1_center_area">
<a href="$value[url]"><img src="$value[a_attachment]" width="94" height="66" /></a>
<h4><a href="$value[url]">$value[subject]</a></h4>
<p><a href="$value[url]">发布时间:#date("y年m月d日", $value["dateline"])# 共有$value[views]位网友关注 最后回复: $value[lastposter]</a> [<a href="$value[url]">查看全文</a>]</p></div>
<!--{/loop}-->
自行调试一下吧 |