📄 infoeditcheck.asp
字号:
<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="include/checksession.asp" -->
<!--#include file="func.asp" -->
<%
'infotitle = DealInput(trim(request("infotitle")))
infotitle = trim(request("infotitle"))
infocontent = trim(request("infocontent"))
'infocontent = display2(dealinput(trim(request("infocontent"))))
infoclassname = trim(request("infoclassname"))
IsFocus = trim(request("IsFocus"))
createdatetime=trim(request("createdatetime"))
if isnull(IsFocus) or IsFocus="" then
IsFocus=0
end if
classid=Request("id")
pageno=trim(Request("pageno"))
findcontent=trim(request("findcontent"))
%><HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" href="include/e1.css" type="text/css">
</HEAD>
<BODY>
-------------------------修改中...............<br>
<%
set rs=server.CreateObject("adodb.recordset")
sql = "update t_InfoDetail set InfoTitle = '" & InfoTitle & "',InfoContent = '" & InfoContent & "',InfoClassName = "
sql = sql & InfoClassName & ",IsFocus=" & IsFocus & ",createdatetime='" & createdatetime & "'"
sql = sql & " where Infoid =" & classid
'Response.Write sql
'Response.End
rs.Open sql,conn
%>
<br>------------------------<font color=red>修改成功!</font><br>
<script language="javascript">
window.location.href="Infoman.asp?pageno=<% =pageno%>&findcontent=<%=findcontent%>"
window.parent.frames(0).location.reload();
</script>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -