下面是替换的代码:
</div>
<div class="mainarea">
<div id="cccc" class="block" style="height: 310px; overflow: hidden;">
<h3 id="cccctabs" class="tabs">
<a id="cccc1tab" href="#" class="tab curtab">推荐资讯</a>
<a id="cccc2tab" href="#" class="tab">最新资讯</a>
<a id="cccc3tab" href="#" class="tab">查看最多</a>
<a id="cccc4tab" href="#" class="tab">评论最多</a>
</h3>
<div id="cccc1" class="tabcontent">
<div class="msgtitle">
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.digest DESC,i.goodrate DESC,i.trackbacknum DESC/limit/0,1/subjectlen/30/showdetail/1/messagelen/110/cachename/news/tpl/data"}--><!--推荐资讯-头条-->
<!--{loop $_SBLOCK[news] $value}-->
<a href="$value[url]" title="$value[subjectall]"><img src="$value[a_thumbpath]" alt="$value[subject]" /></a>
<a href="$value[url]" target="_blank" title="$value[subjectall]"><strong>$value[subject]</strong></a>
<p>$value[message] <a href="$value[url]" target="_blank" title="点击这里,查看$value[subjectall]的详细内容。">全文</a></p>
<!--{/loop}-->
</div>
<ul class="msgL">
<!--{block name="spacenews" parameter="order/i.digest DESC,i.goodrate DESC,i.trackbacknum DESC/limit/0,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--推荐资讯-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li> <!--{/loop}-->
</ul>
<ul class="msgR">
<!--{block name="spacenews" parameter="order/i.digest DESC,i.goodrate DESC,i.trackbacknum DESC/limit/7,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--推荐资讯-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li>
<!--{/loop}-->
</ul>
</div>
<div id="cccc2" class="tabcontent" style="display: none;">
<div class="msgtitle">
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/limit/0,1/subjectlen/30/showdetail/1/messagelen/110/cachename/news/tpl/data"}--><!--最新资讯-头条-->
<!--{loop $_SBLOCK[news] $value}-->
<a href="$value[url]" title="$value[subjectall]"><img src="$value[a_thumbpath]" alt="$value[subject]" /></a>
<a href="$value[url]" target="_blank" title="$value[subjectall]"><strong>$value[subject]</strong></a>
<p>$value[message] <a href="$value[url]" target="_blank" title="点击这里,查看$value[subjectall]的详细内容。">全文</a></p>
<!--{/loop}-->
</div>
<ul class="msgL">
<!--{block name="spacenews" parameter="order/i.dateline DESC/limit/0,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--最新资讯-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li> <!--{/loop}-->
</ul>
<ul class="msgR">
<!--{block name="spacenews" parameter="order/i.dateline DESC/limit/7,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--最新资讯-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li>
<!--{/loop}-->
</ul>
</div>
<div id="cccc3" class="tabcontent" style="display: none;">
<div class="msgtitle">
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.viewnum DESC/limit/0,1/subjectlen/30/showdetail/1/messagelen/110/cachename/news/tpl/data"}--><!--查看最多-头条-->
<!--{loop $_SBLOCK[news] $value}-->
<a href="$value[url]" title="$value[subjectall]"><img src="$value[a_thumbpath]" alt="$value[subject]" /></a>
<a href="$value[url]" target="_blank" title="$value[subjectall]"><strong>$value[subject]</strong></a>
<p>$value[message] <a href="$value[url]" target="_blank" title="点击这里,查看$value[subjectall]的详细内容。">全文</a></p>
<!--{/loop}-->
</div>
<ul class="msgL">
<!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/0,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--查看最多-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li> <!--{/loop}-->
</ul>
<ul class="msgR">
<!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/7,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--查看最多-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li>
<!--{/loop}-->
</ul>
</div>
<div id="cccc4" class="tabcontent" style="display: none;">
<div class="msgtitle">
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.replynum DESC/limit/0,1/subjectlen/30/showdetail/1/messagelen/110/cachename/news/tpl/data"}--><!--回复最多-头条-->
<!--{loop $_SBLOCK[news] $value}-->
<a href="$value[url]" title="$value[subjectall]"><img src="$value[a_thumbpath]" alt="$value[subject]" /></a>
<a href="$value[url]" target="_blank" title="$value[subjectall]"><strong>$value[subject]</strong></a>
<p>$value[message] <a href="$value[url]" target="_blank" title="点击这里,查看$value[subjectall]的详细内容。">全文</a></p>
<!--{/loop}-->
</div>
<ul class="msgL">
<!--{block name="spacenews" parameter="order/i.replynum DESC/limit/0,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--回复最多-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li> <!--{/loop}-->
</ul>
<ul class="msgR">
<!--{block name="spacenews" parameter="order/i.replynum DESC/limit/7,6/cachetime/900/subjectlen/30/cachename/news/tpl/data"}--><!--回复最多-->
<!--{loop $_SBLOCK[news] $value}-->
<li>
<a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
</div> |