<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/limit/0,4/cachetime/11930/cachename/picnews/tpl/data"}--><!--{if !empty($_SBLOCK['picnews'])}-->
<script type="text/javascript">
<!--{eval $i=1;}-->
<!--{loop $_SBLOCK['picnews'] $key $value}-->
imgUrl$i="$value[a_thumbpath]";
imgtext$i="<!--{eval echo addslashes($value[subject])}-->"
imgLink$i=escape("<!--{eval echo url_remake($value['url']);}-->");
<!--{eval $i++;}-->
<!--{/loop}-->
<!--
var focus_width=289
var focus_height=329
var text_height=25
var swf_height = focus_height+text_height
var curhref=document.location.href;
var pics=imgUrl1|imgUrl2|imgUrl3|imgUrl4|imgUrl5;
var links='imgLink1|imgLink2|imgLink3|imgLink4|imgLink5';
var texts='imgtext1|imgtext2|imgtext3|imgtext4|imgtext5';
var FocusFlash = new daqi_focus_flash("http://www.daqi.com/common/flash/daqi_focus_flash.swf", "focusflash", focus_width, swf_height, "7", "#FFFFFF", false, "High");
FocusFlash.addParam("allowScriptAccess", "sameDomain");
FocusFlash.addParam("menu", "false");
FocusFlash.addParam("wmode", "opaque");
FocusFlash.addVariable("pics", pics);
FocusFlash.addVariable("links", links);
FocusFlash.addVariable("texts", texts);
FocusFlash.addVariable("borderwidth", focus_width);
FocusFlash.addVariable("borderheight", focus_height);
FocusFlash.addVariable("textheight", text_height);
FocusFlash.addVariable("curhref", curhref);
FocusFlash.write("focusViwer");
//-->
</script>
</if>
试下
[ 本帖最后由 xjun87 于 2008-4-25 18:08 编辑 ] |