www.gusucode.com > 流光音乐建站系统 1.1码程序 > admin/newpic.asp

    <!--#include file="const.asp"-->
<%CheckAdmin3%>
<%pagename="newpic"%>
<!--#include file="Top.Asp"-->
<html>
<head>
<title>管理系统</title>
<meta name=generator content="Microsoft FrontPage 4.0" FrontPage 4.0"" charset="gb2312" Microsoft>
<link rel="stylesheet" href="inc/Admin_STYLE.css" type="text/css">
<meta name=generator content="Microsoft FrontPage 4.0" FrontPage 4.0"" charset="gb2312" Microsoft>
<style type="text/css">
<!--
.样式2 {color: #FFFFFF}
.样式2 {color: #000000}
.样式3 {font-size: 9pt}
-->
</style>
</head>

<body bgcolor=eeeeee leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<br>
<table class="border" border="0" width="69%" align="center" cellpadding="0" cellspacing="0" height="141">
  <%set rs=server.createobject("adodb.recordset")
  rs.open "select * from newpic",conn,1,3
  %>
  <form method="POST" action="editnewpic.asp">
<tr align="center">
<th height="22" colspan="2" align="center" class="title 样式1 样式3">首页FLASH推荐(效果如下方最后一个flash)</th>
</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="15" colspan="2" align="center" class="tdbg"> 
<input type="submit" value=" 修 改 " name="cmdok" class="buttonface">
      <input type="reset" value=" 重 写 " name="cmdcancel" class="buttonface">(提交修改后即可在看到效果)</td>
</tr>
</form>

<%
rs.close
set rs=nothing
conn.close
set conn=nothing
'===========================版权信息===============================
' 流光音乐系统 1.0
' Homepage  : http://www.ad968.cn
' E-Mail : 77280511@qq.com
' QQ : 77280511 
'请保留版权信息,以便我们更好的为您服务
'==================================================================
%>
</table>


</body>
</html>