📄 lastconfirm.asp
字号:
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="../inc/function.asp" -->
<%
if session("username") = "" then
response.Redirect("index.asp")
end if
if session("fid") = "" then
response.Redirect("index.asp")
end if
fid = session("fid")
sql = "SELECT fid, total, remark, uname, phone, email, postalcode, address FROM orderform INNER JOIN people ON orderform.uid = people.uid WHERE (fid = '"&fid&"')"
rs.open sql,conn
if not rs.eof then
total = rs("total")
remark = rs("remark")
uname = rs("uname")
phone = rs("phone")
email = rs("email")
postalcode = rs("postalcode")
address = rs("address")
end if
rs.close
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>意科在线定单系统</title>
<style>
.w-1 {
font-family: "宋体";
font-size: 12px;
color: #FFFFFF;
background-position: bottom;
}
.w-2 {
font-family: "宋体";
font-size: 12px;
color: #cccccc;
background-position: bottom;
}
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- #include file="../inc/qhead.asp" -->
<table width="737" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="666666">
<tr>
<td height="20" colspan="3"> </td>
</tr>
<tr>
<td width="170" height="20" valign="top" bgcolor="606060"><!-- #include file="../inc/left.inc" --></td>
<td width="8"> </td>
<td width="559" valign="top">
<table width="100%" border="0">
<tr>
<td class="w-1">您的订单已生成,订单号为:<b>yk<%=fid%></b>。客服人员会尽快与您联系。感谢您购买我公司的产品。</td>
</tr>
</table>
<hr>
<table width="100%" border="0">
<tr>
<td class="w-1"><b>商品信息:</b></td>
</tr>
</table>
<hr>
<%
sql = "SELECT pid, pname, price, number FROM ordersub WHERE (fid = '"&fid&"')"
rs.open sql,conn
do while not rs.eof
%>
<table width="100%" border="0" class="w-1">
<tr>
<td width="17%" height="25"><div align="right">产品编号:</div></td>
<td width="33%" height="25"><%=rs("pid")%></td>
<td width="19%" height="25"><div align="right">产品名称:</div></td>
<td width="31%" height="25"><%=rs("pname")%></td>
</tr>
<tr>
<td height="25"><div align="right">产品单价:</div></td>
<td height="25"><%=rs("price")%></td>
<td height="25"><div align="right">所构数量:</div></td>
<td height="25"><%=rs("number")%></td>
</tr>
<tr>
<td height="25"><div align="right">小 计:</div></td>
<td height="25"><%=rs("price")*rs("number")%></td>
<td height="25"><div align="right"></div></td>
<td height="25"> </td>
</tr>
</table>
<hr>
<%
rs.movenext
loop
rs.close
%>
<table width="100%" border="0">
<tr>
<td width="69%" class="w-1"><div align="right"><b>总价格:</b></div></td>
<td width="31%" class="w-1"><b><%=total%>元</b></td>
</tr>
</table>
<table width="100%" border="0" class="w-1">
<tr>
<td height="30"><b>用户信息:</b></td>
</tr>
</table>
<input type="hidden" name="uid" value="">
<input type="hidden" name="total" value="">
<table width="100%" border="0" class="w-1">
<tr>
<td width="15%" height="25"><div align="right">联系人:</div></td>
<td width="40%" height="25"><label><%=uname%></label></td>
<td width="13%" height="25"><div align="right">联系电话:</div></td>
<td width="32%" height="25"><label><%=phone%></label></td>
</tr>
<tr>
<td height="25"><div align="right">E-mail:</div></td>
<td height="25"><label><%=email%></label></td>
<td height="25"><div align="right">邮编:</div></td>
<td height="25"><label><%=postalcode%></label></td>
</tr>
<tr>
<td height="25"><div align="right">地 址:</div></td>
<td height="25" colspan="3"><label><%=address%></label></td>
</tr>
<tr>
<td height="22" colspan="4" valign="bottom"> 客人附加要求:</td>
</tr>
<tr>
<td height="25" colspan="4"> <textarea name="remark" cols="63" rows="7" readonly="true"><%=remark%></textarea></td>
</tr>
<tr>
<td colspan="4"><label></label></td>
</tr>
<tr>
<td colspan="4">
<div align="right">
<br>
<input type="button" name="Submit2" onClick="window.location.href='index.asp'" value="继续购物"> </div></td>
</tr>
</table><br><br><br>
</td>
</tr>
</table>
<!-- #include file="../inc/bottom.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -