|
var pics = "";
var links = "";
var texts = "";
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from tupian where bigclassname='右边图片' and j2='1' ",conn,1,1
%>
pics += "<%=rs("j1")%>";
links += "<%=rs("linkout")%>";
texts += "<%=rs("title")%>";
pics += "|";
links += "|";
texts += "|";
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from tupian where bigclassname='右边图片' and j2='2' ",conn,1,1
%>
pics += "<%=rs("j1")%>";
links += "<%=rs("linkout")%>";
texts += "<%=rs("title")%>";
pics += "|";
links += "|";
texts += "|";
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from tupian where bigclassname='右边图片' and j2='3' ",conn,1,1
%>
pics += "<%=rs("j1")%>";
links += "<%=rs("linkout")%>";
texts += "<%=rs("title")%>";
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from tupian where bigclassname='右边图片' and j2='4' ",conn,1,1
%>
pics += "|";
links += "|";
texts += "|";
pics += "<%=rs("j1")%>";
links += "<%=rs("linkout")%>";
texts += "<%=rs("title")%>";
var so = new SWFObject("pic.swf", "focus", "327", "279", "0", "#ffffff");
so.addParam('wmode','transparent');
so.addVariable("picurl",pics);
so.addVariable("pictext",texts);
so.addVariable("piclink",links);
so.addVariable("pictime","3");
so.addVariable("borderwidth","327");
so.addVariable("borderheight","319");
so.addVariable("borderw","true");
so.addVariable("buttondisplay","true");
so.addVariable("textheight","1");
so.write("focus");
|
|