http://www.huixian.net/?category-80.html
用的是空姐模板。
他原来的图片幻灯片是调用论坛的附件的,
- <!--{block name="bbsattachment" parameter="filetype/image/t_lastpost/2592000/order/a.dateline DESC/limit/0,4/cachetime/7200/cachename/newpic/tpl/data"}-->
- <!--{if !empty( $_SBLOCK['newpic'])}-->
- <script type="text/javascript" language="javascript">
- <!--
- var xsTextBar = 1; //是否显示文字链接,1为显示,0为不显示
- var xsPlayBtn = 0; //是否显示播放按钮,1显示,0为不显示
- var xsImgSize = new Array(285,195); //幻灯图片的尺寸,格式为“宽度,高度”
-
- var xsImgs = new Array();
- var xsImgLinks = new Array();
- var xsImgTexts = new Array();
-
- <!--{eval $i=0;}-->
- <!--{loop $_SBLOCK['newpic'] $key $value}-->
- xsImgs[$i] = "$value[attachment]";
- xsImgLinks[$i] = "<!--{eval echo url_remake($value['url']);}-->";
- xsImgTexts[$i] = "$value[subject]";
- <!--{eval $i++;}-->
- <!--{/loop}-->
- //-->
- </script>
- <script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>
- <!--{/if}-->
复制代码
我由于要调用资讯,给他改成了:
- <!--{block name="spacenews" parameter="grade/3/catid/90,88,96,132,133/haveattach/1/showattach/1/order/i.dateline DESC/limit/0,4/cachetime/11930/cachename/newpic/tpl/data"}-->
- <!--{if !empty( $_SBLOCK['newpic'])}-->
复制代码
调用3等级的908896132 133频道
可是不显示图片了 图片都是查号 我保证图片是有饿
怎么回事? |