<%@ codepage ="936" %>
<% 
	data_path="../../" 'ACC连接数据库路径，对SQL无效
	numid="81"
	dir="../err.asp" 
  %>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
 <!--#include file="../rolecheck.asp"-->
 
<%
 if request.form("id")="" then
Response.write("<script >alert('对不起！参数传递错误！');history.back(-1);</script>")
response.End()
end if

 id=Replace_Text(request.form("id"))
 
%>

<link rel="stylesheet" type="text/css" href="../css/style.css">
<%
 
showname=Replace_Text(request.form("showname"))
sortid=Replace_Text(request.form("sortid"))
typeid=Replace_Text(request.form("typeid"))
addname=Replace_Text(request.form("addname"))
content=request.form("content")
if content="" then
response.write"<SCRIPT language=JavaScript>alert('您没有填写详细内容，请返回重新填写！');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
end if

set rs=server.CreateObject ("adodb.recordset")
sql="select * from Yixiang_help where id="&id&""
rs.open sql,conn,1,3
rs("showname")=showname
rs("sortid")=sortid
rs("typeid")=typeid
rs("addname")=addname
rs("content")=content
rs("dateandtime")=date()
rs.update
id1=rs("id")
id2=rs("id")

rs.close

set rs=nothing
conn.close
set conn=nothing
%>
 <head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>操作成功</title>
</head>
<table cellpadding=2 cellspacing=1 border=0 width=400 class=tableBorder align=center><TR>
  <TH class=tableHeaderText colSpan=2 height=25>修改帮助信息</TH>
<TR><tr><td height=85 valign=top class=forumRow>
<iframe src="../../manage/makehtml/help/makedetail.asp?all=update&id1=<%=id1%>&id2=<%=id2%>" width="100%" height="0" frameborder="0"></iframe>
<div align=center><br><br>
修改帮助信息成功！</div></td></tr><tr align=center><td height=30 class=forumRowHighlight><a href='index.asp'>&lt;&lt; 返回上一页</a></td></tr></table>
</body>
</html>
<br>
<!--#include file="../copy.asp" -->