本帖最后由 ztleapahead2 于 2010-7-7 17:26 编辑
SS整合论坛调用的图片附件总是重复显示,不知什么原因,请高人指点!
调用代码如下:- <div class="nostop">
-
- <!--{block name="bbsattachment" parameter="t_fid/27,28,29,30,31,32,33,34/order/t.dateline DESC/limit/0,4/cachetime/86400/subjectlen/30/showdetail/1/bbsurltype/bbs/subjectdot/1/cachename/aa/tpl/data"}-->
- <!--{loop $_SBLOCK['aa'] $value}-->
- <a target="_blank" href="$value[url]"><img alt="" src="$value['attachment']" />
- <h3>$value[subject]</h3>
- <!--{block name="bbsthread" parameter="tid/$value[tid]/showdetail/1/messagelen/100/messagedot/1/bbsurltype/bbs/cachetime/60/cachename/threadd/tpl/data"}-->
- <!--{loop $_SBLOCK['threadd'] $value2}-->
- <h6>$value2[message]</h6>
- <!--{/loop}-->
- </a><br />
- <!--{/loop}-->
- <div class="clear"></div>
- <ul>
- <!--{block name="bbsthread" parameter="fid/27,28,29,30,31,32,33,34/order/replies
- DESC/limit/0,11/cachetime/900/subjectlen/36/showcategory/1/bbsurltype/bbs/cachename/aa/tpl/data"}-->
- <!--{loop $_SBLOCK['aa'] $value}-->
- <li><a target="_blank" href="$value[url]">$value[subject]</a>
- <!--{block name="bbsforum" parameter="fid/$value[fid]/cachetime/60/cachename/11/tpl/data"}-->
- <!--{loop $_SBLOCK['11'] $value2}-->
- <span>{$value2[name]}</span>
- <!--{/loop}-->
- </li>
- <!--{/loop}-->
- </ul>
- </div>
复制代码 显示效果如下:
浏览地址:http://news.yshwi.com/?action-category-catid-11 |