📄 submit.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>中一广告</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body background="images/bg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- #include file="top.asp" -->
<table width="742" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/2_7.gif" width="742" height="23"></td>
</tr>
</table>
<table width="742" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="104" valign="top" background="images/2_8-1.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="13"><img src="images/2_8.gif" width="104" height="339"></td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/2_9.gif" width="638" height="40"></td>
</tr>
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="551" height="340" bgcolor="#FFFFFF" class="13">
<div align="center">
<%
dim rs
dim sql
set rs = server.createobject("adodb.recordset")
sql = "SELECT * from BOOK where id is null"
rs.open sql,conn,1,3
if request("name")="" or request("mail")="" or request("connt")="" then
response.Write("请把表格填写完整!")
%>
<a href="vbscript:history.back" >返回</a>
<%
else
rs.addnew
rs("name")=request("name")
rs("mail")=request("mail")
rs("web")=request("web")
rs("form")=request("form")
rs("title")=request("title")
rs("connt")=request("connt")
rs("qiao")=request("qiao")
rs("face")=request("face")
rs.update
response.Write("成功提交,请等待管理回复!")
%>
<meta http-equiv="refresh" content="2;URL=book.asp">
<%
end if
%>
</div></td>
<td width="82" background="images/2_11.gif"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/2_12.gif" width="638" height="44"></td>
</tr>
</table></td>
</tr>
</table>
<table width="742" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!-- #include file="bottom.asp" --></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -