<!--#include file="function.Asp"-->
<!--#include file="Conn.Asp"-->
<%CheckAdmin3%>
<!--#include file="Top.Asp"-->
<table width="69%" height="141" border="0" align="center" cellpadding="0" cellspacing="1" class="bordercolor">
  <%set rs=server.createobject("adodb.recordset")
  rs.open "select * from newpic",conn,1,3
  %>
  <form method="POST" action="888wang_newpic_edit.asp">
    <tr align="center" class="bg1">
      <td>首页轮显图片推荐</td>
    </tr>
    <tr>
      <td height="190" align="center" class="tdbg"><img src=<%=rs("pic1")%> width=190 height=190 border="1" alt="图片1"><img src=<%=rs("pic2")%> width=190 height=190 border="1" alt="图片2"><img src=<%=rs("pic3")%> width=190 height=190 border="1" alt="图片3"><img src=<%=rs("pic4")%> width=190 height=190 border="1" alt="图片4">
        <SCRIPT type=text/javascript>
	<!--
	
	var focus_width=190
	var focus_height=190
	var text_height=0
	var swf_height = focus_height+text_height
	
	var 


        pics='<%=rs("pic1")%>|<%=rs("pic2")%>|<%=rs("pic3")%>|<%=rs("pic4")%>'
	var links='#|#|#|#'
	var texts='1|2|3|4'
	
	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="/playswf.swf"><param name=wmode value=transparent><param name="quality" value="high">');
	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="playswf.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#DADADA" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');		document.write('</object>');
	
	//-->
	</SCRIPT></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg">推荐图片地址1：
        <input class="smallInput" name="pic1" size="40" value="<%=rs("pic1")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">推荐连接地址1： </span>
        <input class="smallInput" name="movie1" size="40" value="<%=rs("movie1")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">推荐图片地址2：</span>
        <input class="smallInput" name="pic2" size="40" value="<%=rs("pic2")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg">推荐连接地址2：
        <input class="smallInput" name="movie2" size="40" value="<%=rs("movie2")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">推荐图片地址3：</span>
        <input class="smallInput" name="pic3" size="40" value="<%=rs("pic3")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">推荐连接地址3：</span>
        <input class="smallInput" name="movie3" size="40" value="<%=rs("movie3")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">推荐图片地址4：</span>
        <input class="smallInput" name="pic4" size="40" value="<%=rs("pic4")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">推荐连接地址4：</span>
        <input class="smallInput" name="movie4" size="40" value="<%=rs("movie4")%>"></td>
    </tr>
	<!--
	    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻1：</span>
        <input class="smallInput" name="message1" size="40" value="<%=rs("message1")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻链接地址1：</span>
        <input class="smallInput" name="messageUrl1" size="40" value="<%=rs("messageUrl1")%>"></td>
    </tr>
		    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻2：</span>
        <input class="smallInput" name="message2" size="40" value="<%=rs("message2")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻链接地址2：</span>
        <input class="smallInput" name="messageUrl2" size="40" value="<%=rs("messageUrl2")%>"></td>
    </tr>
		    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻3：</span>
        <input class="smallInput" name="message3" size="40" value="<%=rs("message3")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻链接地址3：</span>
        <input class="smallInput" name="messageUrl3" size="40" value="<%=rs("messageUrl3")%>"></td>
    </tr>
	
	
		    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻4：</span>
        <input class="smallInput" name="message4" size="40" value="<%=rs("message4")%>"></td>
    </tr>
    <tr>
      <td height="25" align="center" class="tdbg"><span class="样式2">新闻链接地址4：</span>
        <input class="smallInput" name="messageUrl4" size="40" value="<%=rs("messageUrl4")%>"></td>
    </tr>-->
    <tr>
      <td height="15" colspan="2" align="center" class="tdbg"><input type="submit" value=" 修 改 " name="cmdok" class="buttonface">
        <input type="reset" value=" 重 写 " name="cmdcancel" class="buttonface">
        (提交修改后即可在看到效果，大小309*245px为佳)</td>
    </tr>
  </form>
  <%
rs.close
set rs=nothing
conn.close
set conn=nothing

%>
</table>
</body>
</html>






