<?php
/*
共使用了6個變量
$webdb[www_url] 整站網址
$width FLASH寬度
$height FLASH高度
$img 文章圖片
$url 文章網址
$title 文章標題
注意:你可以更換的只是下面的JS代碼,其它不可刪除
*/
$show=<<<EOT


<SCRIPT LANGUAGE="JavaScript">
var swf_width = $width;
var swf_height = $height;
var swf_config = "0x000000|3|0xFAFAFA|65|0xFFFFFF|0xFF8040||6|2|1|_blank";
var files = "$img";
var links = "$url";
var texts = "$title";
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">'); 
document.write('<param name="movie" value="$webdb[www_url]/template/default/rollpic/bcastr.swf"><param name="quality" value="high">'); 
document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); 
document.write('<param name="FlashVars" value="bcastr_file=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '&bcastr_config=' + swf_config + '">'); 
document.write('<embed src="images/default/bcastr.swf" wmode="opaque" FlashVars="bcastr_file=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '&bcastr_config=' + swf_config + '" menu="false" quality="high" width="' + swf_width + '" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); 
document.write('</object>'); 
 </SCRIPT>




EOT;
?>