orderdetail.jsp
上传用户:sami52198
上传日期:2010-02-11
资源大小:5174k
文件大小:13k
源码类别:

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=gb2312" %>
  2. <% request.setCharacterEncoding("gb2312"); %>
  3. <%@ include file="include/config.jsp"%>
  4. <%@include file="include/bean.jsp"%>
  5. <%@include file="include/head.jsp"%>
  6. <html>
  7. <head>
  8. <title>欢迎来到乐趣工作室!</title>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <LINK href="../css/style.css" rel=stylesheet type=text/css>
  11. </head>
  12. <body leftmargin="0">
  13. <%  
  14.   String id = request.getParameter("nextpar")==null?request.getParameter("id"):request.getParameter("nextpar");  
  15. %>
  16. <form name="form1" method="post" action="../user/login.jsp">
  17. <input type="hidden" name="nextpage" value="../myshop/fillorder.jsp">
  18. <input type="hidden" name="nextpar" value="<%=id%>">
  19. <input type="hidden" name="id" value="<%=id%>">
  20. <%
  21.   if(session.getAttribute("id") == null || session.getAttribute("id") == "")
  22.    {   
  23.      %>
  24.       <script language="javascript">
  25.        document.form1.submit();
  26.       </script> 
  27.      <%     
  28.    }     
  29.   String userid = (String)session.getAttribute("id"); 
  30.   String nickname = (String)session.getAttribute("nickname");   
  31.   String ordernum = order.createOrder(userid,nickname);
  32. %>
  33. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  34.   <tr> 
  35.     <td><table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  36.         <tr> 
  37.           <td width="150"><img src="images/logo.gif" width="150" height="42"></td>
  38.           <td width="500"> <div align="center"><img src="images/bannar.gif" width="458" height="60"></div></td>
  39.           <td width="110"><table width="110" border="0" cellspacing="0" cellpadding="0">
  40.               <tr> 
  41.                 <td height="20" valign="middle"> <div align="center"><font size="2">设为首页 
  42.                     </font></div></td>
  43.               </tr>
  44.               <tr> 
  45.                 <td height="20" valign="middle"> <div align="center"><font size="2">设为首页 
  46.                     </font></div></td>
  47.               </tr>
  48.               <tr> 
  49.                 <td height="20" valign="middle"> <div align="center"><font size="2">设为首页 
  50.                     </font></div></td>
  51.               </tr>
  52.             </table></td>
  53.         </tr>
  54.       </table></td>
  55.   </tr>
  56.   <tr> 
  57.     <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  58.   </tr>
  59.   <tr> 
  60.     <td height="22" valign="middle" bgcolor="#FCCB05"> 
  61.     <div align="center">
  62. <%@include file="include/board1.jsp"%>    
  63.         </div>
  64.         </td>
  65.   </tr>
  66.   <tr> 
  67.     <td height="17" bgcolor="#FC9803">&nbsp;</td>
  68.   </tr>
  69.   <tr> 
  70.     <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
  71.   </tr>
  72. </table>
  73. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  74.   <tr> 
  75.     <td width="150" valign="top"> <table width="150" border="0" cellpadding="0" cellspacing="0">
  76.         <%@include file="include/board3.jsp"%> 
  77.         <tr> 
  78.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  79.         </tr>
  80.         <tr> 
  81.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  82.         </tr>
  83.         <tr> 
  84.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">联系方式</font></div></td>
  85.         </tr>
  86.         <tr> 
  87.           <td height="20" valign="bottom" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;电话:64704946</font></td>
  88.         </tr>
  89.         <tr> 
  90.           <td height="18" background="images/hydl.jpg"> <p><font size="2">&nbsp;&nbsp;E-mail:</font></p></td>
  91.         </tr>
  92.         <tr> 
  93.           <td height="18" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;MSN:</font></td>
  94.         </tr>
  95.         <tr> 
  96.           <td height="18" valign="top" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;QQ:</font></td>
  97.         </tr>
  98.         <tr> 
  99.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  100.         </tr>
  101.         <tr> 
  102.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  103.         </tr>
  104.                 <%@include file="include/board2.jsp"%>
  105.         <tr> 
  106.           <td height="5" background="images/hydl.jpg"><img src="images/tmtp.gif" width="2" height="2"></td>
  107.         </tr>
  108.         <tr> 
  109.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  110.         </tr>
  111.         <tr> 
  112.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  113.         </tr>
  114.         <tr> 
  115.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">友情链接</font></div></td>
  116.         </tr>
  117.         <tr> 
  118.           <td height="150" background="images/hydl.jpg">&nbsp;</td>
  119.         </tr>
  120.         <tr> 
  121.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  122.         </tr>
  123.       </table></td>
  124.     <td width="610" valign="top"><table width="580" border="0" align="center" cellpadding="0" cellspacing="0">
  125.         <tr> 
  126.           <td height="30"> <div align="center"><strong><font color="#000000" size="3">订单详细信息</font></strong></div></td>
  127.         </tr>
  128.         <tr bgcolor="#FFFBEC"> 
  129.           <td height="20" align="center"><font size="2">订单号: <%=ordernum%>
  130.             </font></td>
  131.         </tr>   
  132.        <tr> 
  133.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  134.         </tr>        
  135.         <tr> 
  136.           <td height="20" bgcolor="#FFCC00"><font size="2">订购信息: 您在预订时,请先阅读<a href="#">预订须知</a>。 
  137.             </font></td>
  138.         </tr>
  139.         <tr> 
  140.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  141.         </tr>
  142.         <tr> 
  143.           <td> <table width="580" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  144.               <tr bgcolor="#FFFBEC"> 
  145.                 <td width="20%" height="25"> <div align="center"><font size="2">产品编号</font></div></td>
  146.                 <td width="20%" height="25"> <div align="center"><font size="2">产品名称</font></div></td>                
  147.                 <td width="20%" height="25"> <div align="center"><font size="2">会员价格</font></div></td>
  148.                 <td width="20%" height="25"> <div align="center"><font size="2">订购数量</font></div></td>
  149.                 <td width="20%" height="25"> <div align="center"><font size="2">总金额</font></div></td>
  150.               </tr>
  151. <%
  152.     m_vct = order.getOrderDetail(ordernum,userid);
  153.     Vector t_vct = (Vector)m_vct.get(0);
  154.     
  155. %>              
  156.               <tr> 
  157.                 <td width="20%" height="25"> <div align="center"><%=t_vct.get(1)%></div></td>
  158.                 <td  height="25"> <div align="center"><font size="2"><%=t_vct.get(2)%></font></div></td>
  159.                 <td width="20%" height="25"> <div align="center"><font size="2"><%=t_vct.get(3)%></font></div></td>
  160.                 <td width="20%" height="25"> <div align="center"><font size="2"><%=t_vct.get(4)%></font></div></td>
  161.                 <td width="20%" height="25"> <div align="center"> 
  162.                     <%=t_vct.get(5)%>
  163.                   </div></td>
  164.               </tr>
  165.             </table></td>
  166.         </tr>
  167.         <tr> 
  168.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  169.         </tr>
  170.         <tr> 
  171.           <td height="20" bgcolor="#FFCC00"><font size="2">联系信息:</font></td>
  172.         </tr>
  173.         <tr> 
  174.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  175.         </tr>  
  176.         <tr> 
  177.           <td><table width="580" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  178.               <tr> 
  179.                 <td width="100" height="30"> <div align="center"><font size="2">联系人:</font></div></td>
  180.                 <td width="480" height="30">&nbsp; <%=t_vct.get(6)%></td>
  181.               </tr>
  182.               <tr bgcolor="#FFFBEC"> 
  183.                 <td width="100" height="30"> <div align="center"><font size="2">手机:</font></div></td>
  184.                 <td width="480" height="30">&nbsp; <%=t_vct.get(7)%></td>
  185.               </tr>
  186.               <tr> 
  187.                 <td width="100" height="30"> <div align="center"><font size="2">电话:</font></div></td>
  188.                 <td width="480" height="30">&nbsp; <%=t_vct.get(8)%></td>
  189.               </tr>
  190.               <tr bgcolor="#FFFBEC"> 
  191.                 <td width="100" height="30"> <div align="center"><font size="2">传真:</font></div></td>
  192.                 <td width="480" height="30">&nbsp; <%=t_vct.get(9)%></td>
  193.               </tr>
  194.               <tr> 
  195.                 <td width="100" height="30"> <div align="center"><font size="2">E_mail:</font></div></td>
  196.                 <td width="480" height="30">&nbsp; <%=t_vct.get(10)%></td>
  197.               </tr>              
  198.               <tr bgcolor="#FFFBEC"> 
  199.                 <td width="100" height="30"> 
  200.                 <div align="center"><font size="2">确认方式:</font></div>
  201.                 </td>
  202.                 <td width="480" height="30">&nbsp; 
  203.                   <%=t_vct.get(11)%>
  204.                 </td>
  205.               </tr>
  206.               <tr > 
  207.                 <td width="100" height="30"> 
  208.                 <div align="center"><font size="2">付款方式:</font></div>
  209.                 </td>
  210.                 <td width="480" height="30">&nbsp; 
  211.                  <%=t_vct.get(12)%>   
  212.                 </td>
  213.               </tr>              
  214.               <tr bgcolor="#FFFBEC"> 
  215.                 <td height="30"> <div align="center"><font size="2">邮寄地址:</font></div></td>
  216.                 <td height="30">&nbsp; <%=t_vct.get(13)%></td>
  217.               </tr>
  218.               
  219.               <tr> 
  220.                 <td height="30"> <div align="center"><font size="2">邮政编码:</font></div></td>
  221.                 <td height="30">&nbsp; <%=t_vct.get(14)%></td>
  222.               </tr>
  223.             </table></td>
  224.         </tr>
  225.         <tr> 
  226.           <td height="8"><font size="2">&nbsp;<img src="images/tmtp.gif" width="2" height="2"></font></td>
  227.         </tr>
  228.         <tr> 
  229.           <td height="20" bgcolor="#FFCC00"><font size="2">&nbsp;特殊要求:</font></td>
  230.         </tr>
  231.         <tr>
  232.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  233.         </tr>
  234.         <tr>
  235.           <td><table width="580" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  236.               <tr> 
  237.                 <td width="100" height="30" bgcolor="#FFFBEC">
  238.                  <div align="center">
  239.                  <font size="2"> 
  240.                     特殊说明: </font></div></td>
  241.                 <td width="480" height="30">
  242.                   <table width="400" border="0" cellspacing="0" cellpadding="0">
  243.                     <tr>
  244.                       <td valign="center">&nbsp;
  245.                       <%=t_vct.get(15)%>
  246.                       </td>
  247.                     </tr>                    
  248.                   </table>
  249.                   
  250.                 </td>
  251.               </tr>              
  252.             </table></td>
  253.         </tr>
  254.         <tr>
  255.           <td>&nbsp;</td>
  256.         </tr>
  257.         <tr>
  258.           <td align="center">&nbsp;<a href="orderlist.jsp">进入订单管理</a></td>
  259.         </tr>
  260.         <tr>
  261.           <td>&nbsp;</td>
  262.         </tr>
  263.       </table> </td>
  264.   </tr>
  265.   <tr> 
  266.     <td height="20" colspan="2" bgcolor="#FFCC00"><font size="2">&nbsp;&gt;&gt; 
  267.       合作伙伴</font></td>
  268.   </tr>
  269.   <tr> 
  270.     <td height="60" colspan="2" bgcolor="#FFFBEC">
  271. <table width="750" border="0" cellspacing="0" cellpadding="0">
  272.         <tr> 
  273.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  274.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  275.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  276.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  277.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  278.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  279.         </tr>
  280.         <tr> 
  281.           <td><div align="center"></div></td>
  282.           <td><div align="center"></div></td>
  283.           <td><div align="center"></div></td>
  284.           <td><div align="center"></div></td>
  285.           <td><div align="center"></div></td>
  286.           <td><div align="center"></div></td>
  287.         </tr>
  288.       </table></td>
  289.   </tr>
  290.   <tr> 
  291.     <td height="10" colspan="2"><hr size="1"></td>
  292.   </tr>
  293.   <tr> 
  294.     <td height="10" colspan="2"><div align="center"><font size="2">公司简介 | 公司简介 
  295.         | 公司简介 | 公司简介 | 公司简介 | 公司简介 | 公司简介 | 公司简介 </font></div></td>
  296.   </tr>
  297.   <tr> 
  298.     <td height="30" colspan="2"> <div align="center"><font size="2">Copyright 
  299.         &copy;乐趣工作室2rich.net 客户服务中心信箱:2rich@2rich.net </font></div></td>
  300.   </tr>
  301. </table>
  302. </form>
  303. </body>
  304. </html>