<!--#include file="../../Conn.asp" -->
<!--#include file="../../Comm/Site_Class.asp" -->
<%
PagePath = "../../"

Set Qsite = New Site_Class

Qsite.SiteConfig_Master()
%>
<!--#include file="../Check_Login.asp" -->
<%
Qsite.Check_AdminFlag(arrAdminFlag(5 , 3))

Dim arrRs
Dim AdTypeId_Top_01,AdName_Top_01,AdWz_Top_01,AdGg_Top_01,AdJg_Top_01,AdNote_Top_01
Dim AdTypeId_Top_02,AdName_Top_02,AdWz_Top_02,AdGg_Top_02,AdJg_Top_02,AdNote_Top_02
Dim AdTypeId_Ind_01,AdName_Ind_01,AdWz_Ind_01,AdGg_Ind_01,AdJg_Ind_01,AdNote_Ind_01
Dim AdTypeId_Ind_02,AdName_Ind_02,AdWz_Ind_02,AdGg_Ind_02,AdJg_Ind_02,AdNote_Ind_02
Dim AdTypeId_Ind_03,AdName_Ind_03,AdWz_Ind_03,AdGg_Ind_03,AdJg_Ind_03,AdNote_Ind_03
Dim AdTypeId_Ind_04,AdName_Ind_04,AdWz_Ind_04,AdGg_Ind_04,AdJg_Ind_04,AdNote_Ind_04
Dim AdTypeId_Ind_05,AdName_Ind_05,AdWz_Ind_05,AdGg_Ind_05,AdJg_Ind_05,AdNote_Ind_05
Dim AdTypeId_Com_01,AdName_Com_01,AdWz_Com_01,AdGg_Com_01,AdJg_Com_01,AdNote_Com_01
Dim AdTypeId_Com_02,AdName_Com_02,AdWz_Com_02,AdGg_Com_02,AdJg_Com_02,AdNote_Com_02
Dim AdTypeId_Per_01,AdName_Per_01,AdWz_Per_01,AdGg_Per_01,AdJg_Per_01,AdNote_Per_01
Dim AdTypeId_Per_02,AdName_Per_02,AdWz_Per_02,AdGg_Per_02,AdJg_Per_02,AdNote_Per_02
Dim AdTypeId_Per_03,AdName_Per_03,AdWz_Per_03,AdGg_Per_03,AdJg_Per_03,AdNote_Per_03
Dim AdTypeId_Per_04,AdName_Per_04,AdWz_Per_04,AdGg_Per_04,AdJg_Per_04,AdNote_Per_04
Dim AdTypeId_Per_05,AdName_Per_05,AdWz_Per_05,AdGg_Per_05,AdJg_Per_05,AdNote_Per_05
Dim AdTypeId_Per_06,AdName_Per_06,AdWz_Per_06,AdGg_Per_06,AdJg_Per_06,AdNote_Per_06
Dim AdTypeId_Per_07,AdName_Per_07,AdWz_Per_07,AdGg_Per_07,AdJg_Per_07,AdNote_Per_07
Dim AdTypeId_Per_08,AdName_Per_08,AdWz_Per_08,AdGg_Per_08,AdJg_Per_08,AdNote_Per_08
Dim AdTypeId_Per_09,AdName_Per_09,AdWz_Per_09,AdGg_Per_09,AdJg_Per_09,AdNote_Per_09
Dim AdTypeId_Per_10,AdName_Per_10,AdWz_Per_10,AdGg_Per_10,AdJg_Per_10,AdNote_Per_10
Dim AdTypeId_Per_11,AdName_Per_11,AdWz_Per_11,AdGg_Per_11,AdJg_Per_11,AdNote_Per_11
Dim AdTypeId_Part_01,AdName_Part_01,AdWz_Part_01,AdGg_Part_01,AdJg_Part_01,AdNote_Part_01
Dim AdTypeId_Med_01,AdName_Med_01,AdWz_Med_01,AdGg_Med_01,AdJg_Med_01,AdNote_Med_01
Dim AdTypeId_Med_02,AdName_Med_02,AdWz_Med_02,AdGg_Med_02,AdJg_Med_02,AdNote_Med_02
Dim AdTypeId_Edu_01,AdName_Edu_01,AdWz_Edu_01,AdGg_Edu_01,AdJg_Edu_01,AdNote_Edu_01
Dim AdTypeId_Edu_02,AdName_Edu_02,AdWz_Edu_02,AdGg_Edu_02,AdJg_Edu_02,AdNote_Edu_02
Dim AdTypeId_News_01,AdName_News_01,AdWz_News_01,AdGg_News_01,AdJg_News_01,AdNote_News_01
Dim AdTypeId_News_02,AdName_News_02,AdWz_News_02,AdGg_News_02,AdJg_News_02,AdNote_News_02

Set Rs = server.createobject("ADODB.Recordset")

If Request.Form <> "" Then
	AdTypeId_Top_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Top_01")))
	AdName_Top_01 = Qsite.chgStr(Trim(Request.Form("AdName_Top_01")))
	AdWz_Top_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Top_01")))
	AdGg_Top_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Top_01")))
	AdJg_Top_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Top_01")))
	AdNote_Top_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Top_01")))
	
	AdTypeId_Top_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Top_02")))
	AdName_Top_02 = Qsite.chgStr(Trim(Request.Form("AdName_Top_02")))
	AdWz_Top_02 = Qsite.chgStr(Trim(Request.Form("AdWz_Top_02")))
	AdGg_Top_02 = Qsite.chgStr(Trim(Request.Form("AdGg_Top_02")))
	AdJg_Top_02 = Qsite.chgStr(Trim(Request.Form("AdJg_Top_02")))
	AdNote_Top_02 = Qsite.chgStr(Trim(Request.Form("AdNote_Top_02")))
	
	AdTypeId_Ind_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Ind_01")))
	AdName_Ind_01 = Qsite.chgStr(Trim(Request.Form("AdName_Ind_01")))
	AdWz_Ind_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Ind_01")))
	AdGg_Ind_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Ind_01")))
	AdJg_Ind_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Ind_01")))
	AdNote_Ind_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Ind_01")))
	
	AdTypeId_Ind_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Ind_02")))
	AdName_Ind_02 = Qsite.chgStr(Trim(Request.Form("AdName_Ind_02")))
	AdWz_Ind_02 = Qsite.chgStr(Trim(Request.Form("AdWz_Ind_02")))
	AdGg_Ind_02 = Qsite.chgStr(Trim(Request.Form("AdGg_Ind_02")))
	AdJg_Ind_02 = Qsite.chgStr(Trim(Request.Form("AdJg_Ind_02")))
	AdNote_Ind_02 = Qsite.chgStr(Trim(Request.Form("AdNote_Ind_02")))
	
	AdTypeId_Ind_03 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Ind_03")))
	AdName_Ind_03 = Qsite.chgStr(Trim(Request.Form("AdName_Ind_03")))
	AdWz_Ind_03 = Qsite.chgStr(Trim(Request.Form("AdWz_Ind_03")))
	AdGg_Ind_03 = Qsite.chgStr(Trim(Request.Form("AdGg_Ind_03")))
	AdJg_Ind_03 = Qsite.chgStr(Trim(Request.Form("AdJg_Ind_03")))
	AdNote_Ind_03 = Qsite.chgStr(Trim(Request.Form("AdNote_Ind_03")))
	
	AdTypeId_Ind_04 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Ind_04")))
	AdName_Ind_04 = Qsite.chgStr(Trim(Request.Form("AdName_Ind_04")))
	AdWz_Ind_04 = Qsite.chgStr(Trim(Request.Form("AdWz_Ind_04")))
	AdGg_Ind_04 = Qsite.chgStr(Trim(Request.Form("AdGg_Ind_04")))
	AdJg_Ind_04 = Qsite.chgStr(Trim(Request.Form("AdJg_Ind_04")))
	AdNote_Ind_04 = Qsite.chgStr(Trim(Request.Form("AdNote_Ind_04")))
	
	AdTypeId_Ind_05 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Ind_05")))
	AdName_Ind_05 = Qsite.chgStr(Trim(Request.Form("AdName_Ind_05")))
	AdWz_Ind_05 = Qsite.chgStr(Trim(Request.Form("AdWz_Ind_05")))
	AdGg_Ind_05 = Qsite.chgStr(Trim(Request.Form("AdGg_Ind_05")))
	AdJg_Ind_05 = Qsite.chgStr(Trim(Request.Form("AdJg_Ind_05")))
	AdNote_Ind_05 = Qsite.chgStr(Trim(Request.Form("AdNote_Ind_05")))
	
	AdTypeId_Com_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Com_01")))
	AdName_Com_01 = Qsite.chgStr(Trim(Request.Form("AdName_Com_01")))
	AdWz_Com_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Com_01")))
	AdGg_Com_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Com_01")))
	AdJg_Com_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Com_01")))
	AdNote_Com_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Com_01")))
	
	AdTypeId_Com_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Com_02")))
	AdName_Com_02 = Qsite.chgStr(Trim(Request.Form("AdName_Com_02")))
	AdWz_Com_02 = Qsite.chgStr(Trim(Request.Form("AdWz_Com_02")))
	AdGg_Com_02 = Qsite.chgStr(Trim(Request.Form("AdGg_Com_02")))
	AdJg_Com_02 = Qsite.chgStr(Trim(Request.Form("AdJg_Com_02")))
	AdNote_Com_02 = Qsite.chgStr(Trim(Request.Form("AdNote_Com_02")))
	
	AdTypeId_Per_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_01")))
	AdName_Per_01 = Qsite.chgStr(Trim(Request.Form("AdName_Per_01")))
	AdWz_Per_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_01")))
	AdGg_Per_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_01")))
	AdJg_Per_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_01")))
	AdNote_Per_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_01")))
	
	AdTypeId_Per_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_02")))
	AdName_Per_02 = Qsite.chgStr(Trim(Request.Form("AdName_Per_02")))
	AdWz_Per_02 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_02")))
	AdGg_Per_02 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_02")))
	AdJg_Per_02 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_02")))
	AdNote_Per_02 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_02")))
	
	AdTypeId_Per_03 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_03")))
	AdName_Per_03 = Qsite.chgStr(Trim(Request.Form("AdName_Per_03")))
	AdWz_Per_03 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_03")))
	AdGg_Per_03 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_03")))
	AdJg_Per_03 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_03")))
	AdNote_Per_03 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_03")))
	
	AdTypeId_Per_04 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_04")))
	AdName_Per_04 = Qsite.chgStr(Trim(Request.Form("AdName_Per_04")))
	AdWz_Per_04 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_04")))
	AdGg_Per_04 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_04")))
	AdJg_Per_04 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_04")))
	AdNote_Per_04 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_04")))
	
	AdTypeId_Per_05 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_05")))
	AdName_Per_05 = Qsite.chgStr(Trim(Request.Form("AdName_Per_05")))
	AdWz_Per_05 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_05")))
	AdGg_Per_05 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_05")))
	AdJg_Per_05 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_05")))
	AdNote_Per_05 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_05")))
	
	AdTypeId_Per_06 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_06")))
	AdName_Per_06 = Qsite.chgStr(Trim(Request.Form("AdName_Per_06")))
	AdWz_Per_06 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_06")))
	AdGg_Per_06 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_06")))
	AdJg_Per_06 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_06")))
	AdNote_Per_06 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_06")))
	
	AdTypeId_Per_07 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_07")))
	AdName_Per_07 = Qsite.chgStr(Trim(Request.Form("AdName_Per_07")))
	AdWz_Per_07 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_07")))
	AdGg_Per_07 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_07")))
	AdJg_Per_07 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_07")))
	AdNote_Per_07 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_07")))
	
	AdTypeId_Per_08 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_08")))
	AdName_Per_08 = Qsite.chgStr(Trim(Request.Form("AdName_Per_08")))
	AdWz_Per_08 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_08")))
	AdGg_Per_08 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_08")))
	AdJg_Per_08 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_08")))
	AdNote_Per_08 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_08")))
	
	
	AdTypeId_Per_09 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_09")))
	AdName_Per_09 = Qsite.chgStr(Trim(Request.Form("AdName_Per_09")))
	AdWz_Per_09 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_09")))
	AdGg_Per_09 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_09")))
	AdJg_Per_09 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_09")))
	AdNote_Per_09 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_09")))
	
	AdTypeId_Per_10 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_10")))
	AdName_Per_10 = Qsite.chgStr(Trim(Request.Form("AdName_Per_10")))
	AdWz_Per_10 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_10")))
	AdGg_Per_10 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_10")))
	AdJg_Per_10 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_10")))
	AdNote_Per_10 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_10")))
	
	AdTypeId_Per_11 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Per_11")))
	AdName_Per_11 = Qsite.chgStr(Trim(Request.Form("AdName_Per_11")))
	AdWz_Per_11 = Qsite.chgStr(Trim(Request.Form("AdWz_Per_11")))
	AdGg_Per_11 = Qsite.chgStr(Trim(Request.Form("AdGg_Per_11")))
	AdJg_Per_11 = Qsite.chgStr(Trim(Request.Form("AdJg_Per_11")))
	AdNote_Per_11 = Qsite.chgStr(Trim(Request.Form("AdNote_Per_11")))
	
	AdTypeId_Part_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Part_01")))
	AdName_Part_01 = Qsite.chgStr(Trim(Request.Form("AdName_Part_01")))
	AdWz_Part_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Part_01")))
	AdGg_Part_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Part_01")))
	AdJg_Part_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Part_01")))
	AdNote_Part_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Part_01")))
	
	AdTypeId_Med_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Med_01")))
	AdName_Med_01 = Qsite.chgStr(Trim(Request.Form("AdName_Med_01")))
	AdWz_Med_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Med_01")))
	AdGg_Med_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Med_01")))
	AdJg_Med_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Med_01")))
	AdNote_Med_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Med_01")))
	
	AdTypeId_Med_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Med_02")))
	AdName_Med_02 = Qsite.chgStr(Trim(Request.Form("AdName_Med_02")))
	AdWz_Med_02 = Qsite.chgStr(Trim(Request.Form("AdWz_Med_02")))
	AdGg_Med_02 = Qsite.chgStr(Trim(Request.Form("AdGg_Med_02")))
	AdJg_Med_02 = Qsite.chgStr(Trim(Request.Form("AdJg_Med_02")))
	AdNote_Med_02 = Qsite.chgStr(Trim(Request.Form("AdNote_Med_02")))
	
	AdTypeId_Edu_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Edu_01")))
	AdName_Edu_01 = Qsite.chgStr(Trim(Request.Form("AdName_Edu_01")))
	AdWz_Edu_01 = Qsite.chgStr(Trim(Request.Form("AdWz_Edu_01")))
	AdGg_Edu_01 = Qsite.chgStr(Trim(Request.Form("AdGg_Edu_01")))
	AdJg_Edu_01 = Qsite.chgStr(Trim(Request.Form("AdJg_Edu_01")))
	AdNote_Edu_01 = Qsite.chgStr(Trim(Request.Form("AdNote_Edu_01")))
	
	AdTypeId_Edu_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_Edu_02")))
	AdName_Edu_02 = Qsite.chgStr(Trim(Request.Form("AdName_Edu_02")))
	AdWz_Edu_02 = Qsite.chgStr(Trim(Request.Form("AdWz_Edu_02")))
	AdGg_Edu_02 = Qsite.chgStr(Trim(Request.Form("AdGg_Edu_02")))
	AdJg_Edu_02 = Qsite.chgStr(Trim(Request.Form("AdJg_Edu_02")))
	AdNote_Edu_02 = Qsite.chgStr(Trim(Request.Form("AdNote_Edu_02")))
	
	AdTypeId_News_01 = Qsite.chgStr(Trim(Request.Form("AdTypeId_News_01")))
	AdName_News_01 = Qsite.chgStr(Trim(Request.Form("AdName_News_01")))
	AdWz_News_01 = Qsite.chgStr(Trim(Request.Form("AdWz_News_01")))
	AdGg_News_01 = Qsite.chgStr(Trim(Request.Form("AdGg_News_01")))
	AdJg_News_01 = Qsite.chgStr(Trim(Request.Form("AdJg_News_01")))
	AdNote_News_01 = Qsite.chgStr(Trim(Request.Form("AdNote_News_01")))
	
	AdTypeId_News_02 = Qsite.chgStr(Trim(Request.Form("AdTypeId_News_02")))
	AdName_News_02 = Qsite.chgStr(Trim(Request.Form("AdName_News_02")))
	AdWz_News_02 = Qsite.chgStr(Trim(Request.Form("AdWz_News_02")))
	AdGg_News_02 = Qsite.chgStr(Trim(Request.Form("AdGg_News_02")))
	AdJg_News_02 = Qsite.chgStr(Trim(Request.Form("AdJg_News_02")))
	AdNote_News_02 = Qsite.chgStr(Trim(Request.Form("AdNote_News_02")))
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Top_01 &"' , AdWz = '"& AdWz_Top_01 &"' , AdGg = '"& AdGg_Top_01 &"' , AdJg = '"& AdJg_Top_01 &"' , AdNote = '"& AdNote_Top_01 &"' where AdTypeId = "& AdTypeId_Top_01)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Ind_01 &"' , AdWz = '"& AdWz_Ind_01 &"' , AdGg = '"& AdGg_Ind_01 &"' , AdJg = '"& AdJg_Ind_01 &"' , AdNote = '"& AdNote_Ind_01 &"' where AdTypeId = "& AdTypeId_Ind_01)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Ind_02 &"' , AdWz = '"& AdWz_Ind_02 &"' , AdGg = '"& AdGg_Ind_02 &"' , AdJg = '"& AdJg_Ind_02 &"' , AdNote = '"& AdNote_Ind_02 &"' where AdTypeId = "& AdTypeId_Ind_02)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Ind_03 &"' , AdWz = '"& AdWz_Ind_03 &"' , AdGg = '"& AdGg_Ind_03 &"' , AdJg = '"& AdJg_Ind_03 &"' , AdNote = '"& AdNote_Ind_03 &"' where AdTypeId = "& AdTypeId_Ind_03)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Ind_05 &"' , AdWz = '"& AdWz_Ind_05 &"' , AdGg = '"& AdGg_Ind_05 &"' , AdJg = '"& AdJg_Ind_05 &"' , AdNote = '"& AdNote_Ind_05 &"' where AdTypeId = "& AdTypeId_Ind_05)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Com_01 &"' , AdWz = '"& AdWz_Com_01 &"' , AdGg = '"& AdGg_Com_01 &"' , AdJg = '"& AdJg_Com_01 &"' , AdNote = '"& AdNote_Com_01 &"' where AdTypeId = "& AdTypeId_Com_01)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Com_02 &"' , AdWz = '"& AdWz_Com_02 &"' , AdGg = '"& AdGg_Com_02 &"' , AdJg = '"& AdJg_Com_02 &"' , AdNote = '"& AdNote_Com_02 &"' where AdTypeId = "& AdTypeId_Com_02)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_01 &"' , AdWz = '"& AdWz_Per_01 &"' , AdGg = '"& AdGg_Per_01 &"' , AdJg = '"& AdJg_Per_01 &"' , AdNote = '"& AdNote_Per_01 &"' where AdTypeId = "& AdTypeId_Per_01)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_02 &"' , AdWz = '"& AdWz_Per_02 &"' , AdGg = '"& AdGg_Per_02 &"' , AdJg = '"& AdJg_Per_02 &"' , AdNote = '"& AdNote_Per_02 &"' where AdTypeId = "& AdTypeId_Per_02)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_03 &"' , AdWz = '"& AdWz_Per_03 &"' , AdGg = '"& AdGg_Per_03 &"' , AdJg = '"& AdJg_Per_03 &"' , AdNote = '"& AdNote_Per_03 &"' where AdTypeId = "& AdTypeId_Per_03)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_04 &"' , AdWz = '"& AdWz_Per_04 &"' , AdGg = '"& AdGg_Per_04 &"' , AdJg = '"& AdJg_Per_04 &"' , AdNote = '"& AdNote_Per_04 &"' where AdTypeId = "& AdTypeId_Per_04)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_05 &"' , AdWz = '"& AdWz_Per_05 &"' , AdGg = '"& AdGg_Per_05 &"' , AdJg = '"& AdJg_Per_05 &"' , AdNote = '"& AdNote_Per_05 &"' where AdTypeId = "& AdTypeId_Per_05)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_06 &"' , AdWz = '"& AdWz_Per_06 &"' , AdGg = '"& AdGg_Per_06 &"' , AdJg = '"& AdJg_Per_06 &"' , AdNote = '"& AdNote_Per_06 &"' where AdTypeId = "& AdTypeId_Per_06)
	
	Conn.Execute("update AdTypeTbl set AdName = '"& AdName_Per_07 &"' , AdWz = '"& AdWz_Per_07 &"' , AdGg = '"& AdGg_Per_07 &"' , AdJg = '"& AdJg_Per_07 &"' , AdNote = '"& AdNote_Per_07 &"' where AdTypeId = "& AdTypeId_Per_07)
	
	Qsite.ShowMsg "配置成功" , "AdConfig.asp"
End If



Rs.Open "select * from AdTypeTbl order by AdTypeId asc" , Conn , 1 , 1
If Not Rs.Eof Then
	arrRs = Rs.GetRows(-1)
End If
Rs.Close
Set Rs = Nothing

If Not IsArray(arrRs) Then
	ReDim arrRs(5 , 17)
	For i = 0 To 17
		arrRs(0 , i) = i
		For j = 1 To 5
			arrRs(j , i) = 0
		Next
	Next
End If
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>广告配置</title>
<link href="../skins/css/main.css" rel="stylesheet" type="text/css">
</head>

<body>
<form name="PosForm" method="post" action="AdConfig.asp" style="margin:0">
	<table width="100%" border="0" cellspacing="1" cellpadding="5">
		<tr>
			<td height="25" class="td_title">广告配置(介绍中显示为“无”的广告暂未开放。)</td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Top_01" type="hidden" id="AdTypeId_Top_01" value="<%=arrRs(0 , 0)%>">
				名称：
				<input name="AdName_Top_01" type="text" class="input_1" id="AdName_Top_01" value="<%=arrRs(1 , 0)%>" size="10">
			位置：
			<input name="AdWz_Top_01" type="text" class="input_1" id="AdWz_Top_01" value="<%=arrRs(2 , 0)%>" size="8">
			规格：
			<input name="AdGg_Top_01" type="text" class="input_1" id="AdGg_Top_01" value="<%=arrRs(3 , 0)%>" size="10">
			价格：
			<input name="AdJg_Top_01" type="text" class="input_1" id="AdJg_Top_01" value="<%=arrRs(4 , 0)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Top_01" type="text" class="input_1" id="AdNote_Top_01" value="<%=arrRs(5 , 0)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Ind_01" type="hidden" id="AdTypeId_Ind_01" value="<%=arrRs(0 , 2)%>">
				名称：
				<input name="AdName_Ind_01" type="text" class="input_1" id="AdName_Ind_01" value="<%=arrRs(1 , 2)%>" size="10">
			位置：
			<input name="AdWz_Ind_01" type="text" class="input_1" id="AdWz_Ind_01" value="<%=arrRs(2 , 2)%>" size="8">
			规格：
			<input name="AdGg_Ind_01" type="text" class="input_1" id="AdGg_Ind_01" value="<%=arrRs(3 , 2)%>" size="10">
			价格：
			<input name="AdJg_Ind_01" type="text" class="input_1" id="AdJg_Ind_01" value="<%=arrRs(4 , 2)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Ind_01" type="text" class="input_1" id="AdNote_Ind_01" value="<%=arrRs(5 , 2)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Ind_02" type="hidden" id="AdTypeId_Ind_02" value="<%=arrRs(0 , 3)%>">
				名称：
				<input name="AdName_Ind_02" type="text" class="input_1" id="AdName_Ind_02" value="<%=arrRs(1 , 3)%>" size="10">
			位置：
			<input name="AdWz_Ind_02" type="text" class="input_1" id="AdWz_Ind_02" value="<%=arrRs(2 , 3)%>" size="8">
			规格：
			<input name="AdGg_Ind_02" type="text" class="input_1" id="AdGg_Ind_02" value="<%=arrRs(3 , 3)%>" size="10">
			价格：
			<input name="AdJg_Ind_02" type="text" class="input_1" id="AdJg_Ind_02" value="<%=arrRs(4 , 3)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Ind_02" type="text" class="input_1" id="AdNote_Ind_02" value="<%=arrRs(5 , 3)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Ind_03" type="hidden" id="AdTypeId_Ind_03" value="<%=arrRs(0 , 4)%>">
				名称：
				<input name="AdName_Ind_03" type="text" class="input_1" id="AdName_Ind_03" value="<%=arrRs(1 , 4)%>" size="10">
			位置：
			<input name="AdWz_Ind_03" type="text" class="input_1" id="AdWz_Ind_03" value="<%=arrRs(2 , 4)%>" size="8">
			规格：
			<input name="AdGg_Ind_03" type="text" class="input_1" id="AdGg_Ind_03" value="<%=arrRs(3 , 4)%>" size="10">
			价格：
			<input name="AdJg_Ind_03" type="text" class="input_1" id="AdJg_Ind_03" value="<%=arrRs(4 , 4)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Ind_03" type="text" class="input_1" id="AdNote_Ind_03" value="<%=arrRs(5 , 4)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Ind_05" type="hidden" id="AdTypeId_Ind_05" value="<%=arrRs(0 , 6)%>">
				名称：
				<input name="AdName_Ind_05" type="text" class="input_1" id="AdName_Ind_05" value="<%=arrRs(1 , 6)%>" size="10">
			位置：
			<input name="AdWz_Ind_05" type="text" class="input_1" id="AdWz_Ind_05" value="<%=arrRs(2 , 6)%>" size="8">
			规格：
			<input name="AdGg_Ind_05" type="text" class="input_1" id="AdGg_Ind_05" value="<%=arrRs(3 , 6)%>" size="10">
			价格：
			<input name="AdJg_Ind_05" type="text" class="input_1" id="AdJg_Ind_05" value="<%=arrRs(4 , 6)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Ind_05" type="text" class="input_1" id="AdNote_Ind_05" value="<%=arrRs(5 , 6)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Com_01" type="hidden" id="AdTypeId_Com_01" value="<%=arrRs(0 , 7)%>">
				名称：
				<input name="AdName_Com_01" type="text" class="input_1" id="AdName_Com_01" value="<%=arrRs(1 , 7)%>" size="10">
			位置：
			<input name="AdWz_Com_01" type="text" class="input_1" id="AdWz_Com_01" value="<%=arrRs(2 , 7)%>" size="8">
			规格：
			<input name="AdGg_Com_01" type="text" class="input_1" id="AdGg_Com_01" value="<%=arrRs(3 , 7)%>" size="10">
			价格：
			<input name="AdJg_Com_01" type="text" class="input_1" id="AdJg_Com_01" value="<%=arrRs(4 , 7)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Com_01" type="text" class="input_1" id="AdNote_Com_01" value="<%=arrRs(5 , 7)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Com_02" type="hidden" id="AdTypeId_Com_02" value="<%=arrRs(0 , 8)%>">
				名称：
				<input name="AdName_Com_02" type="text" class="input_1" id="AdName_Com_02" value="<%=arrRs(1 , 8)%>" size="10">
			位置：
			<input name="AdWz_Com_02" type="text" class="input_1" id="AdWz_Com_02" value="<%=arrRs(2 , 8)%>" size="8">
			规格：
			<input name="AdGg_Com_02" type="text" class="input_1" id="AdGg_Com_02" value="<%=arrRs(3 , 8)%>" size="10">
			价格：
			<input name="AdJg_Com_02" type="text" class="input_1" id="AdJg_Com_02" value="<%=arrRs(4 , 8)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Com_02" type="text" class="input_1" id="AdNote_Com_02" value="<%=arrRs(5 , 8)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Per_01" type="hidden" id="AdTypeId_Per_01" value="<%=arrRs(0 , 9)%>">
				名称：
				<input name="AdName_Per_01" type="text" class="input_1" id="AdName_Per_01" value="<%=arrRs(1 , 9)%>" size="10">
			位置：
			<input name="AdWz_Per_01" type="text" class="input_1" id="AdWz_Per_01" value="<%=arrRs(2 , 9)%>" size="8">
			规格：
			<input name="AdGg_Per_01" type="text" class="input_1" id="AdGg_Per_01" value="<%=arrRs(3 , 9)%>" size="10">
			价格：
			<input name="AdJg_Per_01" type="text" class="input_1" id="AdJg_Per_01" value="<%=arrRs(4 , 9)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_01" type="text" class="input_1" id="AdNote_Per_01" value="<%=arrRs(5 , 9)%>" size="40"></td>
		</tr>
		<tr>
			<td height="23" class="td_content"><input name="AdTypeId_Per_02" type="hidden" id="AdTypeId_Per_02" value="<%=arrRs(0 , 10)%>">
				名称：
				<input name="AdName_Per_02" type="text" class="input_1" id="AdName_Per_02" value="<%=arrRs(1 , 10)%>" size="10">
			位置：
			<input name="AdWz_Per_02" type="text" class="input_1" id="AdWz_Per_02" value="<%=arrRs(2 , 10)%>" size="8">
			规格：
			<input name="AdGg_Per_02" type="text" class="input_1" id="AdGg_Per_02" value="<%=arrRs(3 , 10)%>" size="10">
			价格：
			<input name="AdJg_Per_02" type="text" class="input_1" id="AdJg_Per_02" value="<%=arrRs(4 , 10)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_02" type="text" class="input_1" id="AdNote_Per_02" value="<%=arrRs(5 , 10)%>" size="40"></td>
		</tr>
		<tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_03" type="hidden" id="AdTypeId_Per_03" value="<%=arrRs(0 , 11)%>">
				名称：
				<input name="AdName_Per_03" type="text" class="input_1" id="AdName_Per_03" value="<%=arrRs(1 , 11)%>" size="10">
			位置：
			<input name="AdWz_Per_03" type="text" class="input_1" id="AdWz_Per_03" value="<%=arrRs(2 , 11)%>" size="8">
			规格：
			<input name="AdGg_Per_03" type="text" class="input_1" id="AdGg_Per_03" value="<%=arrRs(3 , 11)%>" size="10">
			价格：
			<input name="AdJg_Per_03" type="text" class="input_1" id="AdJg_Per_03" value="<%=arrRs(4 , 11)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_03" type="text" class="input_1" id="AdNote_Per_03" value="<%=arrRs(5 , 11)%>" size="40"></td>
	  </tr>
		<tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_04" type="hidden" id="AdTypeId_Per_04" value="<%=arrRs(0 , 12)%>">
				名称：
				<input name="AdName_Per_04" type="text" class="input_1" id="AdName_Per_04" value="<%=arrRs(1 , 12)%>" size="10">
			位置：
			<input name="AdWz_Per_04" type="text" class="input_1" id="AdWz_Per_04" value="<%=arrRs(2 , 12)%>" size="8">
			规格：
			<input name="AdGg_Per_04" type="text" class="input_1" id="AdGg_Per_04" value="<%=arrRs(3 , 12)%>" size="10">
			价格：
			<input name="AdJg_Per_04" type="text" class="input_1" id="AdJg_Per_04" value="<%=arrRs(4 , 12)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_04" type="text" class="input_1" id="AdNote_Per_04" value="<%=arrRs(5 , 12)%>" size="40"></td>
	  </tr>
	  <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_05" type="hidden" id="AdTypeId_Per_05" value="<%=arrRs(0 , 13)%>">
				名称：
				<input name="AdName_Per_05" type="text" class="input_1" id="AdName_Per_05" value="<%=arrRs(1 , 13)%>" size="10">
			位置：
			<input name="AdWz_Per_05" type="text" class="input_1" id="AdWz_Per_05" value="<%=arrRs(2 , 13)%>" size="8">
			规格：
			<input name="AdGg_Per_05" type="text" class="input_1" id="AdGg_Per_05" value="<%=arrRs(3 , 13)%>" size="10">
			价格：
			<input name="AdJg_Per_05" type="text" class="input_1" id="AdJg_Per_05" value="<%=arrRs(4 , 13)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_05" type="text" class="input_1" id="AdNote_Per_05" value="<%=arrRs(5 , 13)%>" size="40"></td>
	  </tr>
	  <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_06" type="hidden" id="AdTypeId_Per_06" value="<%=arrRs(0 , 14)%>">
				名称：
				<input name="AdName_Per_06" type="text" class="input_1" id="AdName_Per_06" value="<%=arrRs(1 , 14)%>" size="10">
			位置：
			<input name="AdWz_Per_06" type="text" class="input_1" id="AdWz_Per_06" value="<%=arrRs(2 , 14)%>" size="8">
			规格：
			<input name="AdGg_Per_06" type="text" class="input_1" id="AdGg_Per_06" value="<%=arrRs(3 , 14)%>" size="10">
			价格：
			<input name="AdJg_Per_06" type="text" class="input_1" id="AdJg_Per_06" value="<%=arrRs(4 , 14)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_06" type="text" class="input_1" id="AdNote_Per_06" value="<%=arrRs(5 , 14)%>" size="40"></td>
	  </tr>
	  <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_07" type="hidden" id="AdTypeId_Per_07" value="<%=arrRs(0 , 15)%>">
				名称：
				<input name="AdName_Per_07" type="text" class="input_1" id="AdName_Per_07" value="<%=arrRs(1 , 15)%>" size="10">
			位置：
			<input name="AdWz_Per_07" type="text" class="input_1" id="AdWz_Per_07" value="<%=arrRs(2 , 15)%>" size="8">
			规格：
			<input name="AdGg_Per_07" type="text" class="input_1" id="AdGg_Per_07" value="<%=arrRs(3 , 15)%>" size="10">
			价格：
			<input name="AdJg_Per_07" type="text" class="input_1" id="AdJg_Per_07" value="<%=arrRs(4 , 15)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_07" type="text" class="input_1" id="AdNote_Per_07" value="<%=arrRs(5 , 15)%>" size="40"></td>
	  </tr>
	  
	  
	   <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_08" type="hidden" id="AdTypeId_Per_08" value="<%=arrRs(0 , 16)%>">
				名称：
				<input name="AdName_Per_08" type="text" class="input_1" id="AdName_Per_08" value="<%=arrRs(1 , 16)%>" size="10">
			位置：
			<input name="AdWz_Per_08" type="text" class="input_1" id="AdWz_Per_08" value="<%=arrRs(2 , 16)%>" size="8">
			规格：
			<input name="AdGg_Per_08" type="text" class="input_1" id="AdGg_Per_08" value="<%=arrRs(3 , 16)%>" size="10">
			价格：
			<input name="AdJg_Per_08" type="text" class="input_1" id="AdJg_Per_08" value="<%=arrRs(4 , 16)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_08" type="text" class="input_1" id="AdNote_Per_08" value="<%=arrRs(5 , 16)%>" size="40"></td>
	  </tr>
	  
	   <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_09" type="hidden" id="AdTypeId_Per_09" value="<%=arrRs(0 , 17)%>">
				名称：
				<input name="AdName_Per_09" type="text" class="input_1" id="AdName_Per_09" value="<%=arrRs(1 , 17)%>" size="10">
			位置：
			<input name="AdWz_Per_09" type="text" class="input_1" id="AdWz_Per_09" value="<%=arrRs(2 , 17)%>" size="8">
			规格：
			<input name="AdGg_Per_09" type="text" class="input_1" id="AdGg_Per_09" value="<%=arrRs(3 , 17)%>" size="10">
			价格：
			<input name="AdJg_Per_09" type="text" class="input_1" id="AdJg_Per_09" value="<%=arrRs(4 , 17)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_09" type="text" class="input_1" id="AdNote_Per_09" value="<%=arrRs(5 , 17)%>" size="40"></td>
	  </tr>
	  
	  
	   <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_10" type="hidden" id="AdTypeId_Per_10" value="<%=arrRs(0 , 18)%>">
				名称：
				<input name="AdName_Per_10" type="text" class="input_1" id="AdName_Per_10" value="<%=arrRs(1 , 18)%>" size="10">
			位置：
			<input name="AdWz_Per_10" type="text" class="input_1" id="AdWz_Per_10" value="<%=arrRs(2 , 18)%>" size="8">
			规格：
			<input name="AdGg_Per_10" type="text" class="input_1" id="AdGg_Per_10" value="<%=arrRs(3 , 18)%>" size="10">
			价格：
			<input name="AdJg_Per_10" type="text" class="input_1" id="AdJg_Per_10" value="<%=arrRs(4 , 18)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_10" type="text" class="input_1" id="AdNote_Per_10" value="<%=arrRs(5 , 18)%>" size="40"></td>
	  </tr>
	  
	   <tr>
		  <td height="23" class="td_content"><input name="AdTypeId_Per_11" type="hidden" id="AdTypeId_Per_11" value="<%=arrRs(0 , 19)%>">
				名称：
				<input name="AdName_Per_11" type="text" class="input_1" id="AdName_Per_11" value="<%=arrRs(1 , 19)%>" size="10">
			位置：
			<input name="AdWz_Per_11" type="text" class="input_1" id="AdWz_Per_11" value="<%=arrRs(2 , 19)%>" size="8">
			规格：
			<input name="AdGg_Per_11" type="text" class="input_1" id="AdGg_Per_11" value="<%=arrRs(3 , 19)%>" size="10">
			价格：
			<input name="AdJg_Per_11" type="text" class="input_1" id="AdJg_Per_11" value="<%=arrRs(4 , 19)%>" size="6">
			元/月
			&nbsp;介绍：			<input name="AdNote_Per_11" type="text" class="input_1" id="AdNote_Per_11" value="<%=arrRs(5 , 19)%>" size="40"></td>
	  </tr>
		<tr>
			<td height="23" class="td_content"><input name="Submit" type="submit" class="input_1" value=" 修  改 "> 
			&nbsp;
			<input name="Submit" type="reset" class="input_1" value=" 重  置 "></td>
		</tr>
	</table>
</form>
</body>
</html>
