orderview.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:6k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%!
- String fun(String str)
- {
- try
- {
- return new String(str.getBytes("ISO8859_1"));
- }
- catch(Exception e)
- {
- return "";
- }
- }
- %>
- <%
- String totalprice=(String)request.getParameter("totalprice");
- 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=(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);
- %>
- <HTML><HEAD><TITLE>订单提交预览</TITLE>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link rel="stylesheet" href="../image/buyok_shop.css" type="text/css">
- <style type="text/css">
- <!--
- .style1 {color: #FF3300}
- .STYLE2 {
- font-size: 14px;
- font-weight: bold;
- }
- -->
- </style>
- </HEAD>
- <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="20">
- <form name=confirm action="orderok.jsp" method=post>
- <table border="0" cellspacing="0" cellpadding="0" align="center" width="520">
- <tr bgcolor="#FFFFFF"><td height=25><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"> 生成订单 </div></td>
- <input type=hidden value="ok" name="confirm">
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height=25><div align="center"><font color="#FF3333"><b>请确认您所填写的内容,检查之后请单击“提交订单”或“返回修改”</b></font></div></td>
- </tr>
- </table>
- <div align="center">
- </div>
- <table border="0" cellspacing="1" cellpadding="0" align="center" width="520" bgcolor="CCCCCC">
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>配送 </td> <td> <%=peisong%></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>收货人姓名 </td> <td> <%=Recname%> </td></tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>收货人电话 </td> <td> <%=RecPhone%> </td></tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>收货人邮箱 </td> <td> <%=Recmail%> </td></tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>邮政编码 </td> <td> <%=ZipCode%> </td></tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>收货人地址 </td> <td> <%=address%> </td></tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>指定送达时间 </td> <td> <%=gettime%> </td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>付款方式 </td> <td>
- <%
- String str="";
- if(Integer.valueOf(fukuan)==1)
- str="货到付款";
- if(Integer.valueOf(fukuan)==2)
- str="在线支付";
- if(Integer.valueOf(fukuan)==3)
- str="邮局汇款";
- if(Integer.valueOf(fukuan)==4)
- str="银行电汇";
- %>
- <%=str%> </td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=25>是否开具发票 </td> <td> <%=fapiao%></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="20%" align=right height=24>我的其它要求 </td>
- <td> <%=content%> </td>
- </tr>
- <INPUT TYPE="hidden" name="Recname" value="<%=Recname%>">
- <INPUT TYPE="hidden" name="RecPhone" value="<%=RecPhone%>">
- <INPUT TYPE="hidden" name="address" value="<%=address%>">
- <INPUT TYPE="hidden" name="gettime" value="<%=gettime%>">
- <INPUT TYPE="hidden" name="Recmail" value="<%=Recmail%>">
- <INPUT TYPE="hidden" name="ZipCode" value="<%=ZipCode%>">
- <INPUT TYPE="hidden" name="fukuan" value="<%=str%>">
- <INPUT TYPE="hidden" name="fapiao" value="<%=fapiao%>">
- <INPUT TYPE="hidden" name="content" value="<%=content%>">
- <INPUT TYPE="hidden" name="peisong" value="<%=peisong%>">
- <INPUT TYPE="hidden" name="fei" value="<%=post%>">
- <INPUT TYPE="hidden" name="sum" value="<%=(Float.valueOf(post)+Float.valueOf(totalprice))%>">
- </font></td>
- </tr>
- <tr bgcolor="#FFFFFF"><td height="30" align="center" colspan=2><b><font color="#FF3333">图书总价:<%=totalprice%> 配送费用:<%=post%> </font>
- <input name="youfei" type="hidden" id="youfei" value="7">
- 总计:<%=(Float.valueOf(post)+Float.valueOf(totalprice))%></td></tr>
- <%//session.setAttribute("goods_price", Float.valueOf(post)+Float.valueOf(totalprice));//这里加不行的%>
- <tr bgcolor="#FFFFFF">
- <td colspan=2 height=29 align=center><span class="style1">( * 杭州地区 送货上门 货到付款 <span class="STYLE2"><a href="../help_ps.asp">查看送货地区详情</a></span>)</span></td>
- </tr>
- <tr bgcolor="#FFFFFF"><td colspan=2 height=50 align=center>
- <input name="imageField" type="image" src="../image/bt_5.gif" width="97" height="27" border="0">
- <a href="#"onClick="javascript:history.go(-1)"><img src="../image/bt_4.gif" width="97" height="27" border="0"></a></td>
- </tr>
- </table>
- </form></table>
- </BODY>
- </HTML>