这个用一个模块肯定是调用不出来的,需要组合调用。
<!--{block name="category" parameter="catid/1,2,3/order/c.displayorder DESC/limit/0,3/cachetime/900/cachename/newscate/tpl/data"}--><!--调用资讯分类1,2,3-->
<!--{loop $_SBLOCK[newscate] $val_cate}-->
<div>
<h4><a href="$val_cate[url]" target="_blank">$val_cate[name]</a></h4>
<div>
<!--{block name="spacenews" parameter="grade/5/catid/$val_cate[catid]/haveattach/2/order/i.dateline DESC/limit/0,1/cachetime/900/subjectlen/30/showdetail/1/messagelen/60/messagedot/1/cachename/news_g5/tpl/data"}--><!--调用该分类下等级5的资讯和图片-->
<!--{loop $_SBLOCK[news_g5] $val_g5}-->
<p><img src="$val_g5[a_thumbpath]" /></p>
<h4><a href="$val_g5[url]" target="_blank">$val_g5[subject]</a></h4>
<p><a href="$val_g5[url]" target="_blank">$val_g5[message]</a></p>
<!--{/loop}-->
</div>
<ul>
<!--{block name="spacenews" parameter="catid/$val_cate[catid]/order/i.dateline DESC/limit/0,4/cachetime/900/subjectlen/30/cachename/news_list/tpl/data"}--><!--调用该分类下最新4条资讯-->
<!--{loop $_SBLOCK[news_list] $val_list}-->
<li><cite style="float:right">#date("m-d", $val_list["dateline"])#</cite><a href="$val_list[url]" target="_blank">$val_list[subject]</a></li>
<!--{/loop}-->
</ul>
<div>
<!--{/loop}--> |