?? save.asp
字號:
<!--#include file="conn.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from [order] ",conn,1,3
rs.addnew
rs("name")=trim(request("name"))
rs("tel")=trim(request("tel"))
rs("shouji")=trim(request("shouji"))
rs("youbian")=trim(request("youbian"))
rs("number")=trim(request("number"))
rs("email")=trim(request("email"))
rs("address")=trim(request("address"))
rs("content")=trim(request("content"))
rs("date")=now()
rs.Update
rs.Close
set rs=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script id=clientEventHandlersJS language=javascript>
<!--
function window_onload() {
window.moveTo(screen.availWidth-320,0)
window.focus();
}
//-->
</script>
<script language="javascript">
<!--
function chk()
{
if (document.forma.number.value=="")
{
alert("請?zhí)顚懩臄M購數(shù)量!");
return false;
}
if (document.forma.email.value=="")
{
alert("請?zhí)顚懩腅_mail地址!");
return false;
}
if (document.forma.name.value=="")
{
alert("請?zhí)顚懧?lián)系人的姓名!");
return false;
}
if (document.forma.tel.value=="")
{
alert("請?zhí)顚懩穆?lián)系電話!");
return false;
}
}
//-->
</script>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<table width="350" border="0" align="center" cellpadding="4" cellspacing="0" class="css03">
<tr>
<td>您的訂單已經(jīng)提交完成,等候我們的處理</td>
</tr>
<tr>
<td align="center"><a href=# onClick="window.close();"><u>關(guān)閉窗口</u></a></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -