Select Top 10 ID,NewsID,Title,Path,PicPath,FilterNews from FS_News where FilterNews=1 Order by ID Desc
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="2" style="border-left:#b7b7b7 1px solid;border-top:#b7b7b7 1px solid;border-bottom:#b7b7b7 1px solid;border-right:#b7b7b7 1px solid;" height=100%>
<tr>
<td width="240" align="center" valign="top">
<script type="text/javascript">
<!--
var str='{#[*PicPath*]|_|[#Url#]|_|[*Title*]|||#}'
var focus_width=230
var focus_height=150
var text_height=18
var swf_height = focus_height+text_height
var s
s=str.split("|||");
var ss = new Array();
ss[0]='';
ss[1]='';
ss[2]='';
for(i=0;i<(s.length-2);i++)
{
var sss=s[i].split("|_|");
ss[0]+=sss[0]+'|';
ss[1]+=sss[1]+'|';
ss[2]+=sss[2]+'|';
}
sss=s[i].split("|_|");
ss[0]+=sss[0];
ss[1]+=sss[1];
ss[2]+=sss[2];
var pics=ss[0];
var links=ss[1];
var texts=ss[2];
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="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/upload/flash/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="/upload/flash/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
//-->
</script>
</td>
</tr>
</table>