教你。第二段代码其实是最开头的,你所看到的内容是第一段代码,其实是最后面的
下面这个是我原来修改过的。
你试者把他加在第2。3。4段代码里面
<div class="shopList1 txt1">
<div class="topTopic1">
<p class="l">
<!--{block name="spacenews" parameter="grade/1/haveattach/1/showattach/1/catid/114,120/order/i.dateline DESC/limit/0,1/subjectlen/26/subjectdot/0/cachetime/18600/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK[headnews] $value}-->
<a href="$value[url]"><img src="$value[a_thumbpath]" alt="$value[subjectall]" width="117" height="77" border="0"/></a>
<!--{/loop}-->
</p>
<div class="topicInfo">
<!--{block name="spacenews" parameter="dateline/604800/grade/1/showattach/1/showdetail/1/catid/114,120/order/i.viewnum DESC/limit/0,1/subjectlen/34/subjectdot/1/messagelen/80/messagedot/1/cachetime/18600/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK[headnews] $value}-->
<P><STRONG><a href="$value[url]">$value[subject]</a></STRONG></P>
<p>$value[message]【<a href="$value[url]">全文</a>】</p>
<!--{/loop}-->
</div></div>
<div class="topTopic2 l">
<ul>
<!--{block name="spacenews" parameter="catid/114,120/order/i.dateline DESC/limit/0,6/cachetime/85400/subjectlen/24/subjectdot/1/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK['headnews'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
<div class= "topTopic3 r">
<ul>
<!--{block name="spacenews" parameter="catid/114,120/order/i.viewnum DESC/limit/0,6/cachetime/85400/subjectlen/30/subjectdot/1/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK['headnews'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div></div></div>
<div id="DivShopMsg_Food_CaiPu_Content" class="txt" style="display:none">
<div class="shopList1 txt1">
<div class="topTopic1">
<p class="l">
<!--{block name="spacenews" parameter="grade/1/haveattach/1/showattach/1/catid/114,120/order/i.dateline DESC/limit/0,1/subjectlen/26/subjectdot/0/cachetime/18600/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK[headnews] $value}-->
<a href="$value[url]"><img src="$value[a_thumbpath]" alt="$value[subjectall]" width="117" height="77" border="0"/></a>
<!--{/loop}-->
</p>
<div class="topicInfo">
<!--{block name="spacenews" parameter="dateline/604800/grade/1/showattach/1/showdetail/1/catid/114,120/order/i.viewnum DESC/limit/0,1/subjectlen/34/subjectdot/1/messagelen/80/messagedot/1/cachetime/18600/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK[headnews] $value}-->
<P><STRONG><a href="$value[url]">$value[subject]</a></STRONG></P>
<p>$value[message]【<a href="$value[url]">全文</a>】</p>
<!--{/loop}-->
</div></div>
<div class="topTopic2 l">
<ul>
<!--{block name="spacenews" parameter="catid/114,120/order/i.dateline DESC/limit/0,6/cachetime/85400/subjectlen/24/subjectdot/1/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK['headnews'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
<div class= "topTopic3 r">
<ul>
<!--{block name="spacenews" parameter="catid/114,120/order/i.viewnum DESC/limit/0,6/cachetime/85400/subjectlen/30/subjectdot/1/cachename/headnews/tpl/data"}-->
<!--{loop $_SBLOCK['headnews'] $value}-->
<li><a href="$value[url]">$value[subject]</a></li>
<!--{/loop}-->
</ul>
</div></div> |