电脑技术学习

帝国CMS幻灯片用灵动标签怎么制作

dn001

问题:一个问题是关于幻灯片的问题:
我最近在模仿一个板子,有一个幻灯片问题,不知道应该怎么去解决,希望高手能指点下:其代码如下:
<SCRIPT language=javascript type=text/javascript>
var imageswf = '图片地址1|图片地址2|图片地址3|图片地址4|图片地址5';
var textswf = '图片标题1|图片标题2|图片标题3|图片标题4|图片标题5';
var urlswf = '连接地址1|连接地址2|连接地址3|连接地址4|连接地址5';
var swf = new sinaFlash("[!--news.url--]skin/tzlady/images/1.swf", "", "680", "280", "8", "", true,"high");
swf.addParam("allowScriptAccess", "always");
swf.addParam("wmode", "opaque");
swf.addVariable("p_array", imageswf);
swf.addVariable("txt_array", textswf);
swf.addVariable("link_array", urlswf);
swf.write("imager_div");
</SCRIPT>
请问对于这样的幻灯片我应该如何来制作?
解答:[e:loop={3,6,0,1}]

<?php

$s='|';

if($bqno==1)

{$s='';}

$imageswf.=$s.$bqr[titlepic];

$textswf.=$s.$bqr[title];

$urlswf.=$s.$bqsr[titleurl];

?>

[/e:loop]

<SCRIPT language=javascript type=text/javascript>

var imageswf = '<?=$imageswf?>';

var textswf = '<?=$textswf?>';

var urlswf = '<?=$urlswf?>';

var swf = new sinaFlash("[!--news.url--]skin/tzlady/images/1.swf", "", "680", "280", "8", "", true,"high");

swf.addParam("allowScriptAccess", "always");

swf.addParam("wmode", "opaque");

swf.addVariable("p_array", imageswf);

swf.addVariable("txt_array", textswf);

swf.addVariable("link_array", urlswf);

swf.write("imager_div");

</SCRIPT>
;