orderok.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:5k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.io.*,java.util.*" errorPage="" %>
- <jsp:useBean id="shop" scope="page" class="MyFly.Book.Purchase" />
- <%!
- String fun(String str)
- {
- try
- {
- return new String(str.getBytes("ISO8859_1"));
- }
- catch(Exception e)
- {
- return "";
- }
- }
- %>
- <%
- String totalprice=(String)request.getParameter("totalprice");
- float sum=Float.valueOf(request.getParameter("sum"));
- //System.out.print(sum);
- String post=(String)request.getParameter("post");
- String Recname=(String)request.getParameter("Recname");
- String RecPhone=(String)request.getParameter("RecPhone");
- String Recmail=(String)request.getParameter("Recmail");
- String ZipCode=(String)request.getParameter("ZipCode");
- String address=(String)request.getParameter("address");
- String gettime=(String)request.getParameter("gettime");
- String fukuan=fun((String)request.getParameter("fukuan"));
- String fapiao=fun(request.getParameter("fapiao"));
- String content=fun((String)request.getParameter("content"));
- String peisong=fun((String)request.getParameter("peisong"));//配送方式
- //System.out.print(peisong);
- String mesg="";
- String name=(String)session.getAttribute("name");
- if (Recname != null && !Recname.equals("") ) {
- if (shop.payout(request) ) {
- mesg = "";
- session.removeAttribute("shopcar");
- } else {
- if(!shop.getIsLogin())
- mesg = "对不起您无权访问此页";
- else
- mesg = "对不起,您不能重复提交购物单";
- }
- }
- %>
- <HTML><HEAD><TITLE>订单提交成功</TITLE>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <meta name="CMBNETPAYMENT" content="China Merchants Bank">
- <link rel="stylesheet" href="../image/buyok_shop.css" type="text/css">
- <style type="text/css">
- <!--
- .STYLE1 {color: #FF0000}
- -->
- </style>
- </HEAD>
- <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="20">
- <%
- if(!mesg.equals(""))
- out.println("<Script language=JavaScript>alert('"+mesg+"');javascript:history.back();</Script>");
- else
- {
- session.removeAttribute("goods_num");
- session.removeAttribute("goods_price");
- //session.s
- %>
- <table width="450" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EBEBEB">
- <tr>
- <td><table width=450 border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#CCCCCC" valign=absmiddle>
- <tr bgcolor="#FFFFFF">
- <td height=19 colspan="3" align="center" valign="middle"><font color="#FF3333"><br>
- </font>
- <div align="center"><span class="red">购物清单</span> <img src="../image/gowu1.gif" width="11" height="7"> <span class="red">收货人信息[配送方式]</span> <img src="../image/gowu1.gif" width="11" height="7"><span class="red"> 检查订单信息</span> <img src="../image/gowu1.gif" width="11" height="7"> <span class="red">生成订单</span> </div></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=20 colspan="3" align="center" valign="middle"><span class="new"><font color="#FF3333">恭喜,订单提交成功!您可以在会员中心,订单管理内查看这张订单。</font></span></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=40 colspan="3" align="center" valign="middle"><font color="#FF3333"><span class="new">您的订单号码是:</span><b><%=shop.getIndentNo()%></b> <span class="new">本次交易金额为:</span><b><%=sum%></b><span class="new"> 元</span></font></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=40 colspan="3" align="center" valign="middle">您选择的付款方式是:<font color="#FF3333"><b><%=fukuan%> </b></font>
- </td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=40 colspan="3" align="center" valign="middle"><span class="STYLE1">邮政平邮的顾客只有付款成功后,才能完成本次交易。(特快专递货到付款)</span></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="124" height=40 align="center" valign="middle"><a href="../dil_way.jsp" target="_blank"><img src="../image/bt_6.gif" width="110" height="27" border="0"></a></td>
- <td width="153" height="40" align="center" valign="middle"><a href="../UserCenter/usermanage.jsp" target="_blank"><img src="../image/bt_7.gif" width="110" height="27" border="0"></a></td>
- <td width="153" align="center" valign="middle"><img src="../image/bt_9.gif" width="97" height="27" onClick="javascript:window.close()"></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=40 colspan="3" align="center" valign="middle">付款后请尽快与我们联系,以便我们及时查帐并为您发货。</td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=40 colspan="3" align="center" valign="middle"><span class="STYLE1">(请您在七天内付款或和我们联系,不然您的订单将作废)</span></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <%}%>
- </body></HTML>