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

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=gb2312"%>
  2. <%@ page import="java.util.*" %>
  3. <%@ include file="../include/config.jsp"%>
  4. <%@ include file="../pub/control.jsp"%>
  5. <%@ include file="../include/head.jsp"%>
  6. <html>
  7. <head>
  8. <title>新闻栏目维护</title>
  9. <link rel="stylesheet" href="../../../../css/style.css" type="text/css">
  10. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  11. <script language="javascript">
  12. function sub(str)
  13.  {
  14.     
  15.      document.form1.id.value=str;
  16.      document.form1.par.value="get";   
  17.      document.form1.submit();
  18.  }
  19. </script>
  20. </head>
  21. <%
  22.        String par = request.getParameter("par");
  23.        String aid = session.getAttribute("aid").toString();
  24.        
  25.        
  26.        if(par!=null&&par.equals("get"))
  27.         { 
  28.           String id = request.getParameter("id");          
  29.           ManageOrder.updateOrderGet(aid,id);
  30.         }
  31.         
  32.        Vector m_vct = ManageOrder.getOrderList(); 
  33.                
  34. %>
  35. <body bgcolor="#eff3f7" topmargin="0"  leftmargin="0">
  36. <form name="form1" method="post"> 
  37. <input type="hidden" name="par">
  38. <input type="hidden" name="id">
  39. <br>
  40. <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
  41. <tr> <td align="left" valign="middle" height="2"></td></tr> 
  42. <tr> 
  43. <td align="left" valign="top"> 
  44. <table align=center border=1 bordercolor=#095ab5 
  45.                   bordercolordark=#ffffff cellpadding=0 cellspacing=0 
  46.                   id=submenu1 width="90%">
  47.                 <tr valign=center BGCOLOR="#D0ECF9"> 
  48.                   <td align=CENTER height=25 valign=MIDDLE COLSPAN="9"><B><FONT SIZE="2">&nbsp;</FONT></B></td>
  49.                 </tr>
  50.                 <tbody>
  51.                   <tr valign=center> 
  52.                     <td align=center height=25 valign=MIDDLE 
  53.                         width="10%" colspan=1><font color="#000000">订单编号</font></td>
  54.                     <td align=center height=25 valign=MIDDLE 
  55.                         width="15%" colspan=1><font color="#000000">&nbsp;商品名称</font></td> 
  56.                     <td width="10%" height=25 align=CENTER valign=MIDDLE colspan=1>预定人姓名</td> 
  57.                      <td align=center height=25 valign=MIDDLE 
  58.                         width="10%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;手机</font></td>                                            
  59.                     <td align=CENTER height=25 valign=MIDDLE                                                                     
  60.                     <td align=left height=25 valign=MIDDLE 
  61.                         width="15%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;联系电话</font></td>                                            
  62.                     <td align=CENTER height=25 valign=MIDDLE 
  63.                         width="10%"><font color="#000000">总价格</font></td> 
  64.                     <td width="10%" height=25 align=CENTER valign=MIDDLE colspan=3>操作</td>   
  65.                   </tr>                      
  66.                   
  67.    <%
  68.    if(m_vct!=null&&m_vct.size()>0)
  69.     {
  70.        for(int i=0;i<m_vct.size();i++)
  71.         {
  72.            Vector t_vct = (Vector)m_vct.get(i);
  73.            %>
  74.                   <tr valign=center> 
  75.                     <td align=center height=25 valign=MIDDLE 
  76.                         width="5%" colspan=1><font color="#000000">&nbsp;<a href="orderdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><%=t_vct.get(0)%></a></font></td>
  77.                     <td align=center height=25 valign=MIDDLE 
  78.                         width="15%" colspan=1><font color="#000000">&nbsp;<%=t_vct.get(2)%></font></td> 
  79.                     <td width="10%" height=25 align=CENTER valign=MIDDLE colspan=1><%=t_vct.get(3)%></td>   
  80.  <td align=center height=25 valign=MIDDLE 
  81.                         width="15%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;<%=t_vct.get(4)%></font></td>                                                                                                              
  82.                     <td align=center height=25 valign=MIDDLE 
  83.                         width="15%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;<%=t_vct.get(5)%></font></td>                                            
  84.                     <td align=CENTER height=25 valign=MIDDLE 
  85.                         width="10%"><font color="#000000"><%=t_vct.get(7)%></font></td> 
  86.                     <td width="10%" height=25 align=CENTER valign=MIDDLE colspan=3><a href="javascript:sub(<%=t_vct.get(0)%>)">获取</a></td>
  87.                   </tr>            
  88.            <%
  89.         }
  90.     }
  91. %>           
  92.                   
  93.               </table>
  94.               <br> 
  95.               <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  96.               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  97.               </p></td></tr> 
  98. </table></td></tr> <tr> <td align="left" valign="top" background="../../../image/line_hor.jpg" height="1"> 
  99. </td></tr> </table>
  100. </form>
  101. </body>
  102. </html>