📄 geditok.asp
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<%option explicit%>
<%Dim id,site,classid,url,about,show,showorder,hzhb,rs,rsstr%>
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "admin.asp"
end if
id=request("id")
site=request("site")
classid=request("fenlei")
url=request("url")
about=request("about")
show=request("show")
showorder=request("showorder")
hzhb=request("hzhb")
set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [urls] where wid=" &id
rs.open rsstr,conn,1,2
if site<>"" then rs("site")=site
if url<>"" then rs("url")=url
if about<>"" then rs("about")=about
if classid<>"" then rs("classid")=classid
if show<>"" then rs("show")=show
if showorder<>"" then rs("showorder")=showorder
if hzhb<>"" then rs("hzhb")=hzhb
rs.update
%>
<html>
<head>
<title>修改成功</title>
<meta http-equiv="refresh" content='2; URL=urlx.asp?classid=<%=rs("classid")%>'>
<%
rs.close
set rs=Nothing
conn.close
set conn=nothing
%>
</head>
<body>
<p align="center">
<b>网址修改成功!</b>
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -