<!--#include file="conn.asp"-->
<%
if session("login")<>"yes" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您还未登陆或者超时,请重登陆！');"&"window.location.href = '../'"&" </script>"
response.end
end if
%>

<%
if request.QueryString("action")="save" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from ads",conn,1,3
rs("p1")=trim(request("p1"))
rs("p2")=trim(request("p2"))
rs("p3")=trim(request("p3"))
rs("p4")=trim(request("p4"))
rs("p5")=trim(request("p5"))
rs("p6")=trim(request("p6"))
rs("p7")=trim(request("p7"))
rs("p8")=trim(request("p8"))
rs("p9")=trim(request("p9"))
rs("p10")=trim(request("p10"))
rs("p11")=trim(request("p11"))
rs("p12")=trim(request("p12"))
rs("p13")=trim(request("p13"))
rs("p14")=trim(request("p14"))
rs("p15")=trim(request("p15"))
rs("p16")=trim(request("p16"))
rs("p17")=trim(request("p17"))
rs("p18")=trim(request("p18"))

rs("l1")=trim(request("l1"))
rs("l2")=trim(request("l2"))
rs("l3")=trim(request("l3"))
rs("l4")=trim(request("l4"))
rs("l5")=trim(request("l5"))
rs("l6")=trim(request("l6"))
rs("l7")=trim(request("l7"))
rs("l8")=trim(request("l8"))
rs("l9")=trim(request("l9"))
rs("l10")=trim(request("l10"))
rs("l11")=trim(request("l11"))
rs("l12")=trim(request("l12"))
rs("l13")=trim(request("l13"))
rs("l14")=trim(request("l14"))
rs("l15")=trim(request("l15"))
rs("l16")=trim(request("l16"))
rs("l17")=trim(request("l17"))
rs("l18")=trim(request("l18"))

rs("s1")=trim(request("s1"))
rs("s2")=trim(request("s2"))
rs("s3")=trim(request("s3"))
rs("s4")=trim(request("s4"))
rs("s5")=trim(request("s5"))
rs("s6")=trim(request("s6"))
rs("s7")=trim(request("s7"))
rs("s8")=trim(request("s8"))
rs("s9")=trim(request("s9"))
rs("s10")=trim(request("s10"))
rs("s11")=trim(request("s11"))
rs("s12")=trim(request("s12"))
rs("s13")=trim(request("s13"))
rs("s14")=trim(request("s14"))
rs("s16")=trim(request("s16"))
rs("s17")=trim(request("s17"))
rs("s18")=trim(request("s18"))


rs("开关")=trim(request("ntype"))


rs.update
rs.close
set rs=nothing
response.write "<script language=javascript>alert('修改成功！');window.location.reload('logo.asp')</script>"
response.End
end if
%>
<html>
<head>
<title>江苏大学生就业网</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#003366" topmargin="30" background="images/bg.jpg">
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from ads",conn,1,1%>
<table width="58%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#6B8FC8">
  <tr>
    <td background="images/admin_bg_1.gif" height="25">
      <div align="center">　</div>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#F0F0F0">
      <div align="center"><font color="#004080">企业网站广告设置</font></div>
    </td>
  </tr>
  <tr>
    <td height="211" valign="top" bgcolor="#F0F0F0"><form name="form1" method="post" action="logo.asp?action=save">
        <br>
        <table width="94%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#D9EFFD">
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%">
			<p align="center"><b>位置</b></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center"><b>图片地址</b></td>
            <td bgcolor="#F0F0F0" width="35%" > 
              <p align="center"><b>图片链接地址</b></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center"><b>说明</b></td>
          </tr>
          <tr> 
            <td width="6%" bgcolor="#F0F0F0" style="PADDING-LEFT: 6px">
			<p align="center">1</td>
            <td width="29%" bgcolor="#F0F0F0" > 
              <p align="center">
				<input name="p1" id="p1" size="20" value="<%=trim(rs("p1"))%>" style="float: left"></td>
            <td width="35%" bgcolor="#F0F0F0" > 
                <p align="center"> 
                <input name="l1" type="text" id="l1" size="28" value="<%=trim(rs("l1"))%>"></td>
            <td width="29%" bgcolor="#F0F0F0" > 
              <p align="center">
				<input type="text" name="s1" size="20" value="<%=trim(rs("s1"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%">
			<p align="center">2</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center"> 
              <input name="p2" id="p1" size="20" value="<%=trim(rs("p2"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l2" type="text" id="l1" size="28" value="<%=trim(rs("l2"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s2" size="20" value="<%=trim(rs("s2"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			3</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p3" id="p1" size="20" value="<%=trim(rs("p3"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l3" type="text" id="l1" size="28" value="<%=trim(rs("l3"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s3" size="20" value="<%=trim(rs("s3"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			4</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p4" id="p1" size="20" value="<%=trim(rs("p4"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l4" type="text" id="l1" size="28" value="<%=trim(rs("l4"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s4" size="20" value="<%=trim(rs("s4"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			5</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p5" id="p1" size="20" value="<%=trim(rs("p5"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l5" type="text" id="l1" size="28" value="<%=trim(rs("l5"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s5" size="20" value="<%=trim(rs("s5"))%>">
            </td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			6</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p6" id="p1" size="20" value="<%=trim(rs("p6"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l6" type="text" id="l1" size="28" value="<%=trim(rs("l6"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s6" size="20" value="<%=trim(rs("s6"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			7</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p7" id="p1" size="20" value="<%=trim(rs("p7"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l7" type="text" id="l1" size="28" value="<%=trim(rs("l7"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s7" size="20" value="<%=trim(rs("s7"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			8</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p8" id="p1" size="20" value="<%=trim(rs("p8"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l8" type="text" id="l1" size="28" value="<%=trim(rs("l8"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s8" size="20" value="<%=trim(rs("s8"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			9</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p9" id="p1" size="20" value="<%=trim(rs("p9"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l9" type="text" id="l1" size="28" value="<%=trim(rs("l9"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s9" size="20" value="<%=trim(rs("s9"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			10</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p10" id="p1" size="20" value="<%=trim(rs("p10"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l10" type="text" id="l1" size="28" value="<%=trim(rs("l10"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s10" size="20" value="<%=trim(rs("s10"))%>">
            </td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			11</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p11" id="p1" size="20" value="<%=trim(rs("p11"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l11" type="text" id="l1" size="28" value="<%=trim(rs("l11"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s11" size="20" value="<%=trim(rs("s11"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			12</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p12" id="p1" size="20" value="<%=trim(rs("p12"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l12" type="text" id="l1" size="28" value="<%=trim(rs("l12"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s12" size="20" value="<%=trim(rs("s12"))%>">
            </td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			13</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p13" id="p1" size="20" value="<%=trim(rs("p13"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l13" type="text" id="l1" size="28" value="<%=trim(rs("l13"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s13" size="20" value="<%=trim(rs("s13"))%>">
            </td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			14</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p14" id="p1" size="20" value="<%=trim(rs("p14"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l14" type="text" id="l1" size="28" value="<%=trim(rs("l14"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s14" size="20" value="<%=trim(rs("s14"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%">
			<p align="center">15</td>
            <td bgcolor="#F0F0F0" width="29%" >
				<input name="p15" id="p2" size="20" value="<%=trim(rs("p15"))%>" style="float: left"></td>
            <td bgcolor="#F0F0F0" width="35%" >
			<p align="center"> 
                <input name="l15" type="text" id="l2" size="28" value="<%=trim(rs("l15"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" >
			　              <select name="ntype">
                <option value="" checked>首页对联开关</option>
                <option>开启</option>
                <option>关闭</option>
               
              </select><font color="#000000">&nbsp;</font></td></td>
          </tr>
          <tr>
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			16</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p16" id="p3" size="20" value="<%=trim(rs("p16"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l16" type="text" id="l3" size="28" value="<%=trim(rs("l16"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s16" size="20" value="<%=trim(rs("s16"))%>"></td>
          </tr>
			<tr>
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			17</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p17" id="p4" size="20" value="<%=trim(rs("p17"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l17" type="text" id="l4" size="28" value="<%=trim(rs("l17"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s17" size="20" value="<%=trim(rs("s17"))%>"></td>
          </tr>
			<tr>
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%" align="center">
			18</td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input name="p18" id="p5" size="20" value="<%=trim(rs("p18"))%>" style="float: left">
            </td>
            <td bgcolor="#F0F0F0" width="35%" > 
                <p align="center"> 
                <input name="l18" type="text" id="l5" size="28" value="<%=trim(rs("l18"))%>"></td>
            <td bgcolor="#F0F0F0" width="29%" > 
              <p align="center">
				<input type="text" name="s18" size="20" value="<%=trim(rs("s18"))%>"></td>
          </tr>
          <tr> 
            <td bgcolor="#F0F0F0" style="PADDING-LEFT: 6px" width="6%">
			<p align="center">　</td>
            <td bgcolor="#F0F0F0" width="29%" >
				</td>
            <td bgcolor="#F0F0F0" width="35%" >
			<p align="center"> 
                　</td>
            <td bgcolor="#F0F0F0" width="29%" >
			<p align="center">　</td>
          </tr>
          <tr> 
            <td height="32" colspan="4" bgcolor="#F0F0F0" style="PADDING-LEFT: 6px"> 
              <p align="center"><input type="submit" name="Submit" value="提交更改">
            </td>
          </tr>
        </table>
      </form></td>
  </tr>
</table>

</body>
</html>