editok.asp
来自「燃点真情的WAP整站程序,WAP建站系统,,更多WAP源码再登陆http://x」· ASP 代码 · 共 47 行
ASP
47 行
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<!--#include file="../conn.asp"-->
<!--#include file="../admin.asp"-->
<%
id=request("id")
name=request("name")
title=request("title")
text=request("text")
lianxi=request("lianxi")
p=request("p")
set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [gbook] where ID=" & id
rs.open rsstr,conn,1,2
if name<>"" then rs("name")=name
if title<>"" then rs("title")=title
if text<>"" then rs("text")=text
if lianxi<>"" then rs("lianxi")=lianxi
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<card title="编辑留言" ontimer="Admin_ly.asp?sid=<%=sid%>&p=<%=p%>">
<timer value="20"/>
<p>
编辑成功,<br/>
正在返回留言管理!<br/>
----------<br/>
<a href="Admin_ly.asp?sid=<%=sid%>&p=<%=p%>">[留言管理]</a><br/>
<a href="../class.asp?sid=<%=sid%>">[设计中心]</a><br/>
<a href="../index.asp?sid=<%=sid%>">[后台管理]</a><br/><br/>
</p>
</card>
</wml>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?