<%dbs="../"%>
<!--#include file="../inc/config.asp"-->
<!--#include file="uccook.asp"-->
<!--#include file="uc.asp"-->
<%
action=request.QueryString("action")
if action="edit" then
W_regad1=Replace(Replace(Left(request.Form("W_regad1"),4),"<","["),">","]")
W_regad2=Replace(Replace(Left(request.Form("W_regad2"),4),"<","["),">","]")
W_regad3=Replace(Replace(Left(request.Form("W_regad3"),4),"<","["),">","]")
W_regad4=Replace(Replace(Left(request.Form("W_regad4"),4),"<","["),">","]")
W_regad5=Replace(Replace(Left(request.Form("W_regad5"),4),"<","["),">","]")
W_regad6=Replace(Replace(Left(request.Form("W_regad6"),4),"<","["),">","]")
W_regad7=Replace(Replace(Left(request.Form("W_regad7"),4),"<","["),">","]")
W_regad8=Replace(Replace(Left(request.Form("W_regad8"),4),"<","["),">","]")
W_regad9=Replace(Replace(Left(request.Form("W_regad9"),4),"<","["),">","]")
W_regad10=Replace(Replace(Left(request.Form("W_regad10"),4),"<","["),">","]")
W_regad11=Replace(Replace(Left(request.Form("W_regad11"),4),"<","["),">","]")
W_regad12=Replace(Replace(Left(request.Form("W_regad12"),4),"<","["),">","]")
W_regad13=Replace(Replace(Left(request.Form("W_regad13"),4),"<","["),">","]")
W_regad14=Replace(Replace(Left(request.Form("W_regad14"),4),"<","["),">","]")
W_regad15=Replace(Replace(Left(request.Form("W_regad15"),4),"<","["),">","]")
W_regad16=Replace(Replace(Left(request.Form("W_regad16"),4),"<","["),">","]")
W_regad17=Replace(Replace(Left(request.Form("W_regad17"),4),"<","["),">","]")
W_regad18=Replace(Replace(Left(request.Form("W_regad18"),4),"<","["),">","]")
W_regad19=Replace(Replace(Left(request.Form("W_regad19"),4),"<","["),">","]")
W_regad20=Replace(Replace(Left(request.Form("W_regad20"),4),"<","["),">","]")
W_regad21=Replace(Replace(Left(request.Form("W_regad21"),4),"<","["),">","]")
W_regad22=Replace(Replace(Left(request.Form("W_regad22"),4),"<","["),">","]")
W_regad23=Replace(Replace(Left(request.Form("W_regad23"),4),"<","["),">","]")
W_regad24=Replace(Replace(Left(request.Form("W_regad24"),4),"<","["),">","]")
W_regad25=Replace(Replace(Left(request.Form("W_regad25"),4),"<","["),">","]")
W_regad26=Replace(Replace(Left(request.Form("W_regad26"),4),"<","["),">","]")
W_regad27=Replace(Replace(Left(request.Form("W_regad27"),4),"<","["),">","]")
W_regad28=Replace(Replace(Left(request.Form("W_regad28"),4),"<","["),">","]")
W_regad29=Replace(Replace(Left(request.Form("W_regad29"),4),"<","["),">","]")
W_regad30=Replace(Replace(Left(request.Form("W_regad30"),4),"<","["),">","]")
W_regad31=Replace(Replace(Left(request.Form("W_regad31"),4),"<","["),">","]")
if W_regad1="" or W_regad2="" or W_regad3="" or W_regad4="" or W_regad5="" or W_regad6="" or W_regad7="" or W_regad8="" or W_regad9="" or W_regad10="" or W_regad11="" or W_regad12="" or W_regad13="" or W_regad14="" or W_regad15="" or W_regad16="" or W_regad17="" or W_regad18="" or W_regad19="" or W_regad20="" or W_regad21="" or W_regad22="" or W_regad23="" or W_regad24="" or W_regad25="" or W_regad26="" or W_regad27="" or W_regad28="" or W_regad29="" or W_regad30="" or W_regad31="" then
	response.Write "<script >alert('提示：\n\n对不起，请填写首页广告区的模式...');history.back(-1);</script>"
	response.end 
end if
set rs=Server.CreateObject("Adodb.Recordset")
	sql="select top 1 * from H_config"
	rs.open sql,conn,1,3
	rs("W_regad1")=W_regad1
	rs("W_regad2")=W_regad2
	rs("W_regad3")=W_regad3
	rs("W_regad4")=W_regad4
	rs("W_regad5")=W_regad5
	rs("W_regad6")=W_regad6
	rs("W_regad7")=W_regad7
	rs("W_regad8")=W_regad8
	rs("W_regad9")=W_regad9
	rs("W_regad10")=W_regad10
	rs("W_regad11")=W_regad11
	rs("W_regad12")=W_regad12
	rs("W_regad13")=W_regad13
	rs("W_regad14")=W_regad14
	rs("W_regad15")=W_regad15
	rs("W_regad16")=W_regad16
	rs("W_regad17")=W_regad17
	rs("W_regad18")=W_regad18
	rs("W_regad19")=W_regad19
	rs("W_regad20")=W_regad20
	rs("W_regad21")=W_regad21
	rs("W_regad22")=W_regad22
	rs("W_regad23")=W_regad23
	rs("W_regad24")=W_regad24
	rs("W_regad25")=W_regad25
	rs("W_regad26")=W_regad26
	rs("W_regad27")=W_regad27
	rs("W_regad28")=W_regad28
	rs("W_regad29")=W_regad29
	rs("W_regad30")=W_regad30
	rs("W_regad31")=W_regad31
	rs.update
	rs.close
	set rs=nothing	
	response.Write "<script >alert('提示：\n\n修改成功,立即返回...');location.href='ads_config.asp';</script>"
	response.End()	
end if
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<title><%=W_title%>,总管理中心</title>


<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="style.css" type=text/css rel=stylesheet>
<script>
function CheckAll(form)  {
  for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')       e.checked = form.chkall.checked; 
   }
  }
</script>
<script>
function oa_tool1(){
window.parent.mm.rows="20,200,10,*";
}
</script>
<SCRIPT language=javascript src="images/jquery.js" 
type=text/javascript></SCRIPT>

<SCRIPT language=javascript src="images/function.js" 
type=text/javascript></SCRIPT>

<SCRIPT language=javascript type=text/javascript>
<!--


/*
function AddnewType()
*/
-->
</SCRIPT>

<META content="MSHTML 6.00.3790.4426" name=GENERATOR>
</HEAD>
<BODY><!--用户中心头部-->
<!--#include file="top.asp"-->
<table width="960" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="150" valign="top"><!--#include file="left.asp"--></td>
      <td width="810" align="right" valign="top"><table width="800" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20" align="center"><img src="images/ico_4.gif" width="12" height="12"></td>
                <td height="30" align="left"><a href="index.asp" target="_self">管理中心</a> <span class="uc_huise">&gt;广告配置</span></td>
            </tr>
            <tr>
                <td height="1" colspan="2" bgcolor="#EEEEEE"></td>
        </tr>
        </table>
            <table width="600" height="5" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td></td>
                </tr>
            </table>
		
            <table width="800" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE">
			<form action="ads_config.asp?action=edit" method="post" target="_self">
              <tr>
                <td width="127" height="28" bgcolor="#FFFFFF" class="uc_huise">广告定义</td>
                <td width="528" height="28" bgcolor="#FFFFFF" class="uc_huise">广告每行显示个数，0为不显示，必须是数字形式</td>
                <td width="141" bgcolor="#FFFFFF" class="uc_huise">操作</td>
              </tr>
              
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">首页广告一区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"> <input name="W_regad1" type="text" id="W_regad1" value="<%=W_regad1%>"> 
                  首页第一行广告</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=1" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=1" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">首页广告二区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad2" type="text" id="W_regad2" value="<%=W_regad2%>">
                首页第二行广告</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=2" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=2" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">首页广告三区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad3" type="text" id="W_regad3" value="<%=W_regad3%>">
                首页第三行广告</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=3" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=3" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">首页广告四区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad4" type="text" id="W_regad4" value="<%=W_regad4%>">
                首页第四行广告</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=4" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=4" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">首页广告五区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad5" type="text" id="W_regad5" value="<%=W_regad5%>">
                首页第五行广告</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=5" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=5" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">请客广告一区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad6" type="text" id="W_regad6" value="<%=W_regad6%>">
                  请客页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=6" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=6" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">请客广告二区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad7" type="text" id="W_regad7" value="<%=W_regad7%>">
                  请客页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=7" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=7" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">房产广告一区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad8" type="text" id="W_regad8" value="<%=W_regad8%>"> 
                房产页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=8" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=8" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">房产广告二区：</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad9" type="text" id="W_regad9" value="<%=W_regad9%>">
                房产页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=9" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=9" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">楼盘广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad10" type="text" id="W_regad10" value="<%=W_regad10%>">
                  楼盘页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=10" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=10" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">楼盘广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad11" type="text" id="W_regad11" value="<%=W_regad11%>">
                  楼盘页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=11" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=11" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">二手广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad12" type="text" id="W_regad12" value="<%=W_regad12%>">
二手页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=12" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=12" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">二手广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad13" type="text" id="W_regad13" value="<%=W_regad13%>">
二手页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=13" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=13" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">商机广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad14" type="text" id="W_regad14" value="<%=W_regad14%>">
商机页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=14" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=14" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">商机广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad15" type="text" id="W_regad15" value="<%=W_regad15%>">
商机页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=15" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=15" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">交友广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad16" type="text" id="W_regad16" value="<%=W_regad16%>">
交友页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=16" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=16" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">交友广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad17" type="text" id="W_regad17" value="<%=W_regad17%>">
交友页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=17" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=17" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">打折信息一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad18" type="text" id="W_regad18" value="<%=W_regad18%>">
打折页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=18" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=18" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">打折信息二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad19" type="text" id="W_regad19" value="<%=W_regad19%>">
打折页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=19" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=19" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">分类信息一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad20" type="text" id="W_regad20" value="<%=W_regad20%>">
打折页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=20" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=20" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">分类信息二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad21" type="text" id="W_regad21" value="<%=W_regad21%>">
打折页面右边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=21" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=21" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">招聘页面一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad22" type="text" id="W_regad22" value="<%=W_regad22%>">
打折页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=22" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=22" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">招聘页面二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad23" type="text" id="W_regad23" value="<%=W_regad23%>">
打折页面左边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=23" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=23" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">展会广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad24" type="text" id="W_regad24" value="<%=W_regad24%>">
展会页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=24" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=24" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">展会广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad25" type="text" id="W_regad25" value="<%=W_regad25%>">
展会页面左边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=25" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=25" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">网店广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad26" type="text" id="W_regad26" value="<%=W_regad26%>">
网店页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=26" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=26" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">网店广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad27" type="text" id="W_regad27" value="<%=W_regad27%>">
网店页面左边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=27" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=27" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">汽车广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad28" type="text" id="W_regad28" value="<%=W_regad28%>">
汽车页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=28" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=28" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">汽车广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad29" type="text" id="W_regad29" value="<%=W_regad29%>">
汽车页面左边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=29" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=29" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">电脑广告一区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad30" type="text" id="W_regad30" value="<%=W_regad30%>">
电脑页面顶部</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=30" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=30" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="25" bgcolor="#FFFFFF" class="uc_huise">电脑广告二区</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="W_regad31" type="text" id="W_regad31" value="<%=W_regad31%>">
电脑页面左边</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><a href="indexads_add.asp?H_regad=31" target="_self">添加广告</a> | <a href="indexads_master.asp?H_regad=31" target="_self">管理</a></td>
              </tr>
              <tr>
                <td height="28" bgcolor="#FFFFFF" class="uc_huise">&nbsp;</td>
                <td bgcolor="#FFFFFF" class="uc_huise"><input name="Submit" type="submit" class="UCform" value="修 改"></td>
                <td bgcolor="#FFFFFF" class="uc_huise">&nbsp;</td>
              </tr>
			  </form>
            </table>
      </td>
    </tr>
</table>

<!--#include file="end.asp"-->

</BODY></HTML>
