<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if qx14<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if

%>
<%
if request.QueryString("action")="save" then
set rs = server.CreateObject("adodb.recordset")
sql = "select * from shop_config"
rs.Open sql,conn,1,3
rs("banner01")=trim(request("banner01"))
rs("banner02")=trim(request("banner02"))
rs("banner03")=trim(request("banner03"))
rs("banner04")=trim(request("banner04"))
rs("banner01a")=trim(request("banner01a"))
rs("banner02a")=trim(request("banner02a"))
rs("banner03a")=trim(request("banner03a"))
rs("banner04a")=trim(request("banner04a"))
rs("banner01b")=trim(request("banner01b"))
rs("banner02b")=trim(request("banner02b"))
rs("banner03b")=trim(request("banner03b"))
rs("banner04b")=trim(request("banner04b"))
rs.update
rs.close
set rs=nothing
response.write "<script language=javascript>alert('修改成功！');history.go(-1);</script>"
response.End
end if
%>
<html>
<head>
<title>网软志成在线购物系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style2 {
	color: #000000;
	font-weight: bold;
}
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="1%" height="28">&nbsp;</td>
    <td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
      <tr>
        <td width="77%" height="27" style="font-size:14px;color:#ffffff">&nbsp;<strong><font color="#000000">网软志成购物后台管理系统 &gt;&gt; 系统管理 &gt;&gt; 首页</font></strong></td>
        <td width="23%" style="font-size:14px;color:#ffffff"><span class="STYLE1">* 为必添项目</span></td>
      </tr>
      <tr>
        <td height="27" colspan="2" style="font-size:14px;color:#ffffff"><span style="font-size:12px;color:#ff0000">&nbsp;注：为了获取最佳效果，上传的大图尺寸最好为 516（宽） × 235（高） 像素，小图尺寸最好为 58（宽） × 55（高） 像素。</span></td>
        </tr>
    </table></td>
  </tr>
</table>
<%
set rs = server.CreateObject("adodb.recordset")
sql = "select * from shop_config"
rs.Open sql,conn,1,1
		%>
<form name="flash" method="post" action="web_flash.asp?action=save">
  <table width="95%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#999999">
    <tr bgcolor="#cccccc"> 
      <td height="22" style="PADDING-LEFT: 6px"><div align="center">动画说明</div></td>
      <td width="30%" height="22" > <div align="center">大 图 片 地 址</div></td>
      <td width="30%" ><div align="center">小 图 片 地 址</div></td>
      <td height="22" > <div align="center">链 接 地 址 </div></td>
    </tr>
    
    <tr bgcolor="#F3F3F3"> 
      <td width="11%" style="PADDING-LEFT: 6px"><div align="center">广告一：</div></td>
      <td > <div align="center"> 
          <input name="banner01" type="text"  class="wenbenkuang" id="d1" size="28" value="<%=trim(rs("banner01"))%>">
       <a href=# onClick="window.open('../upload.asp?formname=flash&editname=d1&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td ><div align="center">
        <input name="banner01a" type="text"  class="wenbenkuang" id="d12" size="28" value="<%=trim(rs("banner01a"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner01a&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td width="29%" > <div align="center"> 
          <input name="banner01b" type="text"  class="wenbenkuang" id="d1url" size="30" value="<%=trim(rs("banner01b"))%>">
     </div></td>
    </tr>
    <tr bgcolor="#F3F3F3"> 
      <td style="PADDING-LEFT: 6px"><div align="center">广告二：</div></td>
      <td > <div align="center"> 
          <input name="banner02" type="text"  class="wenbenkuang" id="2541" size="28" value="<%=trim(rs("banner02"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner02&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td ><div align="center">
        <input name="banner02a" type="text"  class="wenbenkuang" id="d13" size="28" value="<%=trim(rs("banner02a"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner02a&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td > <div align="center"> 
          <input name="banner02b" type="text"  class="wenbenkuang" id="d2url" size="30" value="<%=trim(rs("banner02b"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=guanggao&editname=d2&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></a></div></td>
    </tr>
    <tr bgcolor="#F3F3F3"> 
      <td style="PADDING-LEFT: 6px"><div align="center">广告三：</div></td>
      <td > <div align="center"> 
          <input name="banner03" type="text"  class="wenbenkuang" id="d3" size="28" value="<%=trim(rs("banner03"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner03&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td ><div align="center">
        <input name="banner03a" type="text"  class="wenbenkuang" id="d14" size="28" value="<%=trim(rs("banner03a"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner03a&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td > <div align="center"> 
          <input name="banner03b" type="text"  class="wenbenkuang" id="d3url" size="30" value="<%=trim(rs("banner03b"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=guanggao&editname=d3&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></a></div></td>
    </tr>
    <tr bgcolor="#F3F3F3"> 
      <td style="PADDING-LEFT: 6px"><div align="center">广告四：</div></td>
      <td > <div align="center"> 
          <input name="banner04" type="text"  class="wenbenkuang" id="d4" size="28" value="<%=trim(rs("banner04"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner04&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td ><div align="center">
        <input name="banner04a" type="text"  class="wenbenkuang" id="d15" size="28" value="<%=trim(rs("banner04a"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=flash&editname=banner04a&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传</a></div></td>
      <td > <div align="center"> 
          <input name="banner04b" type="text"  class="wenbenkuang" id="d4url" size="30" value="<%=trim(rs("banner04b"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=guanggao&editname=d4&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></a></div></td>
    </tr>
    <tr bgcolor="#F3F3F3"> 
      <td height="32" colspan="4" style="PADDING-LEFT: 6px"> <div align="center"> 
          <input type="submit" name="Submit"  class="go-wenbenkuang" value="提交更改">
      </div></td>
    </tr>
  </table>
</form>
<!--#include file="copyright.asp"-->
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>
