<!--#include file="../include/hf_conn.asp"-->
<!--#include file="checkadmin.asp"-->
<script language=javascript src=../include/mouse_on_title.js></script>
<%call checkmanage("01")%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="manage.css" type="text/css">
</head>

<BODY background="../images/admin/back.gif">

<%
action=request("ok")
if action="" then 
Set rps = conn.Execute("select * from page") 
%>
<table width="98%" border="1"  style="border-collapse: collapse; border-style: dotted; border-width: 0px"  bordercolor="#333333" cellspacing="0" cellpadding="2">
<form action=help.asp method=post name=help1>
<tr class=backs><td class=td height=18>网站栏目信息</td></tr>
    <tr><td height=18>以下是网站栏目信息，请填写各项目的名称、目标链接，或编辑其内容</td></tr>
    <tr><td height=18>&nbsp;&nbsp;第一列：</td></tr>
    <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title11" size="10" value="<%=rps("title11")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url11" size="33" value="<%=rps("url11")%>">&nbsp; <input type="button"
<% if rps("url11")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%>
onClick="javascript:location.href='helpedit.asp?id=11';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=11</u>"></td></tr>
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title12" size="10" value="<%=rps("title12")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url12" size="33" value="<%=rps("url12")%>">&nbsp; <input type="button" <% if rps("url12")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%>
onClick="javascript:location.href='helpedit.asp?id=12';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=12</u>"></td></tr> </td></tr>
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title13" size="10" value="<%=rps("title13")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url13" size="33" value="<%=rps("url13")%>">&nbsp; <input type="button" <% if rps("url13")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=13';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=13</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title14" size="10" value="<%=rps("title14")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url14" size="33" value="<%=rps("url14")%>">&nbsp; <input type="button" <% if rps("url14")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=14';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=14</u>"></td></tr> 
    <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title15" size="10" value="<%=rps("title15")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url15" size="33" value="<%=rps("url15")%>">&nbsp; <input type="button" <% if rps("url15")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=15';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=15</u>"></td></tr> 
	     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="title16" type="text" id="title16" value="<%=rps("title16")%>" size="10">
	     &nbsp;
     链接
     <input type="text" name="url16" size="33" value="<%=rps("url16")%>">&nbsp; <input type="button" <% if rps("url16")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=16';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=16</u>"></td></tr> 
	     <tr>
	       <td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	         <input type="text" name="title17" size="10" value="<%=rps("title17")%>">	       
	         &nbsp;
     链接
     <input type="text" name="url17" size="33" value="<%=rps("url17")%>">&nbsp; <input type="button" <% if rps("url17")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=17';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=17</u>"></td></tr> 



    <tr><td height=18>&nbsp;&nbsp;第二列：</td></tr>
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title21" size="10" value="<%=rps("title21")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url21" size="33" value="<%=rps("url21")%>">&nbsp; <input type="button" <% if rps("url21")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=21';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=21</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title22" size="10" value="<%=rps("title22")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url22" size="33" value="<%=rps("url22")%>">&nbsp; <input type="button" <% if rps("url22")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=22';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=22</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title23" size="10" value="<%=rps("title23")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url23" size="33" value="<%=rps("url23")%>">&nbsp; <input type="button" <% if rps("url23")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=23';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=23</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title24" size="10" value="<%=rps("title24")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url24" size="33" value="<%=rps("url24")%>">&nbsp; <input type="button" <% if rps("url24")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%>  onClick="javascript:location.href='helpedit.asp?id=24';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=24</u>"></td></tr> 

    <tr><td height=18>&nbsp;&nbsp;第三列：</td></tr>
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title31" size="10" value="<%=rps("title31")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url31" size="33" value="<%=rps("url31")%>">&nbsp; <input type="button" <% if rps("url31")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=31';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=31</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title32" size="10" value="<%=rps("title32")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url32" size="33" value="<%=rps("url32")%>">&nbsp; <input type="button" <% if rps("url32")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=32';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=32</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title33" size="10" value="<%=rps("title33")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url33" size="33" value="<%=rps("url33")%>">&nbsp; <input type="button" <% if rps("url33")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=33';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=33</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title34" size="10" value="<%=rps("title34")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url34" size="33" value="<%=rps("url34")%>">&nbsp; <input type="button" <% if rps("url34")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=34';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=34</u>"></td></tr> 

    <tr><td height=18>&nbsp;&nbsp;第四列：</td></tr>
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title41" size="10" value="<%=rps("title41")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url41" size="33" value="<%=rps("url41")%>">&nbsp; <input type="button" <% if rps("url41")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=41';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=41</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title42" size="10" value="<%=rps("title42")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url42" size="33" value="<%=rps("url42")%>">&nbsp; <input type="button" <% if rps("url42")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=42';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=42</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title43" size="10" value="<%=rps("title43")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url43" size="33" value="<%=rps("url43")%>">&nbsp; <input type="button" <% if rps("url43")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=43';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=43</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title44" size="10" value="<%=rps("title44")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url44" size="33" value="<%=rps("url44")%>">&nbsp; <input type="button" <% if rps("url44")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=44';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=44</u>"></td></tr> 

    <tr><td height=18>&nbsp;&nbsp;第五列：</td></tr>
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title51" size="10" value="<%=rps("title51")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url51" size="33" value="<%=rps("url51")%>">&nbsp; <input type="button" <% if rps("url51")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=51';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=51</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title52" size="10" value="<%=rps("title52")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url52" size="33" value="<%=rps("url52")%>">&nbsp; <input type="button" <% if rps("url52")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=52';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=52</u>"></td></tr> 
     <tr><td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title53" size="10" value="<%=rps("title53")%>">&nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url53" size="33" value="<%=rps("url53")%>">&nbsp; <input type="button" <% if rps("url53")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%> onClick="javascript:location.href='helpedit.asp?id=53';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=53</u>"></td></tr> 
     <tr>
       <td height=18>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <input type="text" name="title54" size="10" value="<%=rps("title54")%>">       &nbsp;
     链接&nbsp;&nbsp;<input type="text" name="url54" size="33" value="<%=rps("url54")%>">&nbsp; <input type="button" <% if rps("url54")<>"" then%>disabled alt="注意：<br>优先使用链接项<br>链接空出时才能编辑内容"<%end if%>  onClick="javascript:location.href='helpedit.asp?id=54';" value="编辑内容"  name="edit"> &nbsp; &nbsp; &nbsp;<img border=0 src=../images/admin/memo.gif alt="调用方法：<u>page.asp?id=54</u>"></td></tr> 
<tr><td><INPUT name="ok" TYPE="hidden" value="ok"><input type="submit" value="保存设置" name="action">
	 </td></tr></table>
 </form>
<font color=red>※提示：</font><br>注意：<br>优先使用链接项，若需显示编辑的内容，请将链接空出。仅在链接空出的情况下，才能编辑其内容。
	<%
	rps.close
	conn.close
	set rps=nothing
	set conn=nothing
	end if

'修改
if action="ok" then
	Set rps=Server.CreateObject("ADODB.Recordset")
	 sql="select * from page"
	 rps.open sql,conn,1,3

 	 rps("title11")=request.form("title11")
  	 rps("url11")=request.form("url11")
 	 rps("title12")=request.form("title12")
  	 rps("url12")=request.form("url12")
 	 rps("title13")=request.form("title13")
  	 rps("url13")=request.form("url13")
 	 rps("title14")=request.form("title14")
  	 rps("url14")=request.form("url14")
	 rps("title15")=request.form("title15")
  	 rps("url15")=request.form("url15")
	 rps("title16")=request.form("title16")
  	 rps("url16")=request.form("url16")
	 rps("title17")=request.form("title17")
  	 rps("url17")=request.form("url17")
	 
 	 rps("title21")=request.form("title21")
  	 rps("url21")=request.form("url21")
 	 rps("title22")=request.form("title22")
  	 rps("url22")=request.form("url22")
 	 rps("title23")=request.form("title23")
  	 rps("url23")=request.form("url23")
 	 rps("title24")=request.form("title24")
  	 rps("url24")=request.form("url24")


 	 rps("title31")=request.form("title31")
  	 rps("url31")=request.form("url31")
 	 rps("title32")=request.form("title32")
  	 rps("url32")=request.form("url32")
 	 rps("title33")=request.form("title33")
  	 rps("url33")=request.form("url33")
 	 rps("title34")=request.form("title34")
  	 rps("url34")=request.form("url34")


 	 rps("title41")=request.form("title41")
  	 rps("url41")=request.form("url41")
 	 rps("title42")=request.form("title42")
  	 rps("url42")=request.form("url42")
 	 rps("title43")=request.form("title43")
  	 rps("url43")=request.form("url43")
 	 rps("title44")=request.form("title44")
  	 rps("url44")=request.form("url44")

 	 rps("title51")=request.form("title51")
  	 rps("url51")=request.form("url51")
 	 rps("title52")=request.form("title52")
  	 rps("url52")=request.form("url52")
 	 rps("title53")=request.form("title53")
  	 rps("url53")=request.form("url53")
 	 rps("title54")=request.form("title54")
  	 rps("url54")=request.form("url54")

    rps.update
	rps.close	
	set rps=nothing
	conn.close	
	set conn=nothing
	url="help.asp"

	response.write "<script language='javascript'>"
	response.write "alert('操作成功，您的设置已保存！');"
	response.write "location.href='"&url&"';"			
	response.write "</script>"
end if%>

</body></html>
	
