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

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=gb2312" %>
  2. <%@ include file="include/config.jsp"%>
  3. <%@include file="include/bean.jsp"%>
  4. <%@include file="include/head.jsp"%>
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  8. <title>欢迎来到乐趣工作室!</title>
  9. <LINK href="../css/style.css" rel=stylesheet type=text/css>
  10. </head>
  11. <body leftmargin="0">
  12. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  13.   <tr> 
  14.     <td><table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  15.         <tr> 
  16.           <td width="150"><img src="images/logo.gif" width="150" height="42"></td>
  17.           <td width="500"> <div align="center"><img src="images/bannar.gif" width="458" height="60"></div></td>
  18.           <td width="110"><table width="110" border="0" cellspacing="0" cellpadding="0">
  19.               <tr> 
  20.                 <td height="20" valign="middle"> <div align="center"><font size="2">设为首页 
  21.                     </font></div></td>
  22.               </tr>
  23.               <tr> 
  24.                 <td height="20" valign="middle"> <div align="center"><font size="2">设为首页 
  25.                     </font></div></td>
  26.               </tr>
  27.               <tr> 
  28.                 <td height="20" valign="middle"> <div align="center"><font size="2">设为首页 
  29.                     </font></div></td>
  30.               </tr>
  31.             </table></td>
  32.         </tr>
  33.       </table></td>
  34.   </tr>
  35.   <tr> 
  36.     <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  37.   </tr>
  38.   <tr> 
  39.     <td height="22" valign="middle" bgcolor="#FCCB05"> 
  40.     <div align="center">
  41.     <%@include file="include/board1.jsp"%> 
  42.     </div></td>
  43.   </tr>
  44.   <tr> 
  45.     <td height="17" bgcolor="#FC9803">&nbsp;</td>
  46.   </tr>
  47.   <tr> 
  48.     <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
  49.   </tr>
  50. </table>
  51. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  52.   <tr> 
  53.     <td width="150" valign="top"> 
  54.     <table width="150" border="0" cellpadding="0" cellspacing="0">
  55.        <%@include file="include/board3.jsp"%>
  56.         <tr> 
  57.           <td height="5" background="images/hydl.jpg"> <div align="center"><img src="images/tmtp.gif" width="2" height="2"></div></td>
  58.         </tr>
  59.         <tr> 
  60.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  61.         </tr>
  62.         <tr> 
  63.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  64.         </tr>
  65.         <tr> 
  66.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">联系方式</font></div></td>
  67.         </tr>
  68.         <tr> 
  69.           <td height="20" valign="bottom" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;电话:64704946</font></td>
  70.         </tr>
  71.         <tr> 
  72.           <td height="18" background="images/hydl.jpg"> <p><font size="2">&nbsp;&nbsp;E-mail:</font></p></td>
  73.         </tr>
  74.         <tr> 
  75.           <td height="18" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;MSN:</font></td>
  76.         </tr>
  77.         <tr> 
  78.           <td height="18" valign="top" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;QQ:</font></td>
  79.         </tr>
  80.         <tr> 
  81.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  82.         </tr>
  83.         <tr> 
  84.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  85.         </tr>
  86.        <%@include file="include/board2.jsp"%>
  87.         <tr> 
  88.           <td height="5" background="images/hydl.jpg"><img src="images/tmtp.gif" width="2" height="2"></td>
  89.         </tr>
  90.         <tr> 
  91.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  92.         </tr>
  93.         <tr> 
  94.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  95.         </tr>
  96.         <tr> 
  97.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">新闻公告</font></div></td>
  98.         </tr>
  99.         <tr> 
  100.           <td height="150" background="images/hydl.jpg">&nbsp;</td>
  101.         </tr>
  102.         <tr> 
  103.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  104.         </tr>
  105.       </table></td>
  106. <%
  107.     
  108.     m_vct = shop.getGoodsDetail(request.getParameter("id"));
  109.     Vector t_vct = (Vector)m_vct.get(0);
  110.     Vector img_vct = shop.getGoodsImage(t_vct.get(0).toString(),"01");
  111.               String img_url = "image/upload/shop/1.jpg";
  112.               if(img_vct!=null&&img_vct.size()>0)
  113.                {
  114.                    img_url = (String)(((Vector)img_vct.get(0)).get(1));
  115.                }    
  116. %>      
  117.     <td width="610" valign="top"> 
  118.       <table width="600" border="0" align="right" cellpadding="0" cellspacing="0">
  119.         <tr> 
  120.           <td><br> <table width="600" border="0" cellspacing="0" cellpadding="0">
  121.               <tr> 
  122.                 <td width="300"> <div align="center"><img src="../../<%=img_url%>" width="135" height="200"></div></td>
  123.                 <td width="300" rowspan="2" valign="top"><table width="300" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  124.                     <tr> 
  125.                       <td valign="top" bgcolor="#FFFCF0"> <table width="260" border="0" align="center" cellpadding="0" cellspacing="0">
  126.                           <tr> 
  127.                             <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  128.                           </tr>
  129.                           <tr> 
  130.                             <td height="25"><font color="#000000" size="2">
  131.                             <strong>
  132.                               <%=((Vector)m_vct.get(0)).get(1)%> 
  133.                             </strong>
  134.                             </font>
  135.                             </td>
  136.                           </tr>
  137.                           <tr> 
  138.                             <td height="25"><font color="#000000" size="2">商品编号:   
  139.                              <%=((Vector)m_vct.get(0)).get(0)%> </font></td>
  140.                           </tr>
  141.                           <tr> 
  142.                             <td height="25"><font color="#000000" size="2">厂&nbsp;&nbsp;&nbsp;&nbsp;商:   
  143.                                <%=((Vector)m_vct.get(0)).get(10)%> </font></td>
  144.                           </tr>
  145.                           <tr> 
  146.                             <td height="25"><font color="#000000" size="2">规格型号:   
  147.                               一部/套 </font></td>
  148.                           </tr>
  149.                           <tr> 
  150.                             <td height="25"><font color="#000000" size="2">商品产地:   
  151.                               中国 </font></td>
  152.                           </tr>
  153.                           <tr> 
  154.                             <td height="25"><font color="#000000" size="2">
  155.                             上架日期:   
  156.                                <%=((t_vct.get(7).toString()).substring(0,10))%>   
  157.                                </font></td>
  158.                           </tr>
  159.                           <tr> 
  160.                             <td height="25"><font color="#000000" size="2">
  161.                             更新日期:   
  162.                                <%=((t_vct.get(8).toString()).substring(0,10))%> </font></td>
  163.                           </tr>                                                    
  164.                           <tr> 
  165.                             <td height="25"><font color="#000000" size="2">市 场 
  166.                               价:   
  167.                                 <%=((Vector)m_vct.get(0)).get(3)%>  元 </font></td>
  168.                           </tr>
  169.                           <tr> 
  170.                             <td height="25"><font color="#000000" size="2">非会员价:   
  171.                                 <%=((Vector)m_vct.get(0)).get(4)%> 元 </font></td>
  172.                           </tr>                          
  173.                           <tr> 
  174.                             <td height="25"><font color="#000000" size="2">会 员 
  175.                               价:   
  176.                                 <font color="red"><%=((Vector)m_vct.get(0)).get(5)%></font> 元 </font></td>
  177.                           </tr>  
  178.                           <tr> 
  179.                             <td height="25"><font color="#000000" size="2">是否有货:   
  180.                                 <%=((Vector)m_vct.get(0)).get(9).equals("00")?"有货":"无货"%> </font></td>
  181.                           </tr>                                                                             
  182.                           <tr> 
  183.                             <td height="25" valign="bottom"> <div align="left"><font color="#000000" size="2"><a href="fillorder.jsp?id=<%=request.getParameter("id")%>"><img src="images/buy.gif" width="70" height="18" border="0"></a>&nbsp;&nbsp;&nbsp;<img src="images/fav.gif" width="70" height="18"></font></div></td>
  184.                           </tr>
  185.                           <tr> 
  186.                             <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  187.                           </tr>
  188.                         </table></td>
  189.                     </tr>
  190.                   </table></td>
  191.               </tr>
  192.               <tr> 
  193.                 <td width="300" height="30"> <div align="center"><img src="images/button_big.gif" width="76" height="18"></div></td>
  194.               </tr>
  195.             </table></td>
  196.         </tr>
  197.         <tr> 
  198.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  199.         </tr>
  200.         <tr> 
  201.           <td height="20" bgcolor="#FFCC00"><font size="2">&gt;&gt;详细介绍 
  202.           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  203.           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  204.           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  205.           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  206.           <a href="comment.jsp?id=<%=request.getParameter("id")%>" target="_blank">评论&gt;&gt;</a></font>
  207.           </td>
  208.         </tr>
  209.         <tr> 
  210.           <td><font size="2"> 
  211.             <p> <%=((Vector)m_vct.get(0)).get(6)%>    </p></td>
  212.         </tr>
  213.         <tr> 
  214.           <td>&nbsp;</td>
  215.         </tr>
  216.         <tr> 
  217.           <td height="20" bgcolor="#FFCC00"><table width="600" border="0" cellspacing="0" cellpadding="0">
  218.               <tr> 
  219.                 <td width="300"><font size="2">&gt;&gt; 客户评论</font></td>
  220.                 <td width="300"><div align="right"><font size="2"><a href="comment.jsp?id=<%=request.getParameter("id")%>" target="_blank">评论&gt;&gt;</a>&nbsp;&nbsp;</font></div></td>
  221.               </tr>
  222.             </table></td>
  223.         </tr>       
  224.         <tr>
  225.           <td height="20">&nbsp;</td>
  226.         </tr>
  227.       </table>
  228.     </td>
  229.   </tr>
  230.   <tr bgcolor="#FFCC00"> 
  231.     <td height="20" colspan="2"><font size="2">&nbsp;&gt;&gt; 合作伙伴</font></td>
  232.   </tr>
  233.   <tr bgcolor="#FFFBEC"> 
  234.     <td height="60" colspan="2"><table width="750" border="0" cellspacing="0" cellpadding="0">
  235.         <tr> 
  236.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  237.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  238.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  239.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  240.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  241.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  242.         </tr>
  243.         <tr> 
  244.           <td><div align="center"></div></td>
  245.           <td><div align="center"></div></td>
  246.           <td><div align="center"></div></td>
  247.           <td><div align="center"></div></td>
  248.           <td><div align="center"></div></td>
  249.           <td><div align="center"></div></td>
  250.         </tr>
  251.       </table></td>
  252.   </tr>
  253. <%@include file="include/foot.jsp"%>  
  254. </table>
  255. </body>
  256. </html>