📄 ok.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>迷你留言板</title><meta http-equiv=refresh content=3;url=index.asp>
<STYLE type=text/css>TD {
FONT-SIZE: 9pt; LINE-HEIGHT: 12pt
}
A:link {
COLOR: #0080ff; TEXT-DECORATION: none
}
A:visited {
COLOR: #0080ff; TEXT-DECORATION: none
}
A:hover {
COLOR: #ee9c00; TEXT-DECORATION: underline
}
</STYLE></head>
<body bgcolor="#FFFFFF">
<%
name=Replace(Request.Form("name"),"'","''")
body=Replace(Request.Form("body"),"'","''")
%>
<% if name="" or body="" then
response.write"<script>alert('对不起,请填写完整!');history.back(-1);</script>"
response.End()
end if%>
<%
set savebbs=conn.execute("insert into book(name,body)values('"&name&"','"&body&"')")%>
<%
set savebbs=nothing
%>
<table border="0" cellpadding="0" cellspacing="1" width="100%">
<tr>
<td width="100%"><font color="#FF0000"><font size="2">您的留言已经提交成功!谢谢您的支持!本页将在3秒后自动转向…………</font></font><font size="2" color="#FFFFFF">…<b>…</b></font></td>
</tr>
<tr>
<td width="100%"></td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -