in-product.jsp
上传用户:helenhuo66
上传日期:2007-06-01
资源大小:865k
文件大小:9k
源码类别:

百货/超市行业

开发平台:

Java

  1. <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" style="margin-bottom: 6">
  2.         <tr bgcolor="#FFFFFF"> 
  3.           <td height="100" colspan="2" align="center"> 
  4.             <div align="center"></div>
  5.             <table width="95%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
  6.               <%
  7.   String id=request.getParameter("hw_id").trim();
  8.   int hw_id=Cint(id);
  9.   String hw_pic,hw_name,hw_content,hw_content2;
  10.       hw_pic=null;
  11.   hw_name=null;
  12.   hw_content=null;
  13.   hw_content2=null;
  14.   int pifa,daili,hw_cash;
  15.   pifa=0;
  16.  daili=0;
  17.  hw_cash=0;
  18.   boolean tuijian=false;
  19.       sql="select * from hw where hw_id="+hw_id;
  20.       rs=mdb.executeQuery(sql);
  21.       if(!rs.next())
  22.   {
  23.  
  24.       %>
  25.               <tr> 
  26.                 <td width="380" height="18"> 没有找到你要查看的商品 </td>
  27.               </tr>
  28.               <%
  29.   }
  30.   else
  31.   {
  32.      pifa=rs.getInt("pifa");
  33.    daili=rs.getInt("daili");
  34.    hw_cash=rs.getInt("hw_cash");
  35.    tuijian=rs.getBoolean("tuijian");
  36.    hw_pic=rs.getString("hw_pic");
  37.   hw_name=rs.getString("hw_name");
  38.   hw_content=rs.getString("hw_content");
  39.    hw_content2=rs.getString("hw_content2");
  40.       %>
  41.               <tr> 
  42.                 <td width="100%" valign="top"> 
  43.                   <table width="100%" border="0" cellspacing="0" cellpadding="0" height="10">
  44.                     <tr> 
  45.                       <td></td>
  46.                     </tr>
  47.                   </table>
  48.                   <table border="0" width="100%" cellspacing="0">
  49.                     <tr> 
  50.                       <td width="100%" bgcolor="#FFFFFF" valign="top"> 
  51.                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
  52.                           <tr> 
  53.                             <td width="180" style="border-right:#DBC2B0 1px solid"> 
  54.                               <div align="center"><a href="<%=hw_pic%>" target="_blank">
  55.                                 <img border="0" src="<%=hw_pic%>" width="140" height="99"><br>
  56.                                 <br>
  57.                                 [查看大图片]</a></div>
  58.                             </td>
  59.                             <td width="362" align="center"><a href="views.asp?hw_id=<%=hw_id%>"><font color="#D06800"><b class="dz1"></b></font></a> 
  60.                               <div align="center">
  61.                                 <center> 
  62.                               <table width="90%" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#808080" bgcolor="#F5EFE7">
  63.                                 <tr align="center"> 
  64.                                   <td height="25" colspan="2">商品名称:<a href="views.asp?hw_id=<%=hw_id%>"><%=hw_name%></a></td>
  65.                                 </tr>
  66.                                 <tr bgcolor="#FFFFFF"> 
  67.                                   <td width="50%" height="25"> 
  68.                                     <div align="right">市场价格:</div>
  69.                                   </td>
  70.                                   <td width="50%" height="25"> 
  71.                                     <div align="center"><s>¥<%=pifa%></s>元</div>
  72.                                   </td>
  73.                                 </tr>
  74.                                 <tr bgcolor="#FFFFFF"> 
  75.                                   <td height="25"> 
  76.                                     <div align="right">会员价格:</div>
  77.                                   </td>
  78.                                   <td height="25"> 
  79.                                     <div align="center"><font color="#D03430">¥<%=hw_cash%></font>元</div>
  80.                                   </td>
  81.                                 </tr>
  82.                                 <tr bgcolor="#FFFFFF"> 
  83.                                   <td height="25"> 
  84.                                     <div align="right"><font size="1" face="sans-serif"><b>VIP</b></font>会员价:</div>
  85.                                   </td>
  86.                                   <td height="25"> 
  87.                                     <div align="center"><font color="#D03430">¥<%=daili%></font>元</div>
  88.                                   </td>
  89.                                 </tr>
  90.                                 <tr bgcolor="#FFFFFF"> 
  91.                                   <td height="35" colspan="2"> 
  92.                                     <div align="center"><a href='javascript:openbag(<%=hw_id%>)'>定购<img border="0" src="img/order.gif" align="absmiddle"></a></div>
  93.                                   </td>
  94.                                 </tr>
  95.                               </table>
  96.                                 </center>
  97.                             </div>
  98.                               <table width="95%" border="0" cellspacing="0" cellpadding="0">
  99.                                 <tr> 
  100.                                   <td height="30" valign="bottom"><%=hw_content%></td>
  101.                                 </tr>
  102.                               </table>
  103.                               <table width="95%" border="0" cellspacing="0" cellpadding="0">
  104.                                 <tr> 
  105.                                   <td>&nbsp; 
  106.                                     <% if(tuijian)
  107.                               {%>
  108.                                     <img src="img/ttt.gif" width="40" height="20"> 
  109.                                     <% }%>
  110.                                   </td>
  111.                                 </tr>
  112.                               </table>
  113.                               <table width="95%" border="0" cellspacing="0" cellpadding="0">
  114.                                 <tr> 
  115.                                   <td height="5"> <img src="img/pics/seperator.gif" width="359" height="1"></td>
  116.                                 </tr>
  117.                               </table>
  118.                             </td>
  119.                           </tr>
  120.                         </table>
  121.                       </td>
  122.                     </tr>
  123.                     <tr> 
  124.                       <td width="100%" bgcolor="#FFFFFF" valign="top" align="center"> 
  125.                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
  126.                           <tr> 
  127.                             <td bgcolor="f7f7f7" style="border-bottom:#cccccc 1px solid">&nbsp;商 品 详 细 说 明</td>
  128.                           </tr>
  129.                           <tr> 
  130.                             <td style="line-height:20px"><%=hw_content2%></td>
  131.                           </tr>
  132.                         </table>
  133.                         
  134.                       </td>
  135.                     </tr>
  136.                     <%
  137.  
  138.       }
  139.     
  140.       %>
  141.                   </table>
  142.                 </td>
  143.               </tr>
  144.               <tr> 
  145.                 <td width="100%"></td>
  146.               </tr>
  147.             </table>
  148.             <table width="95%" border="0" cellspacing="0" cellpadding="0">
  149.               <tr> 
  150.                 <td> </td>
  151.               </tr>
  152.             </table>
  153.             <table width="95%" border="0" cellspacing="0" cellpadding="0">
  154.               <tr> 
  155.                 <td bgcolor="f7f7f7" style="border-bottom:#cccccc 1px solid">&nbsp;商 品 售 后 服 务 </td>
  156.               </tr>
  157.               <tr> 
  158.                 <td style="line-height:20px">售后服务:<br>
  159.                   本公司暂不支持货到付款业务,所有商品一律款到发货!EMS发货! <br>
  160.                   一、本公司售出的商品,自客户收到机器当日起(以发货单为准)7日内出现非人为损坏的质量问题,本公司负责免费更换同型号、同颜色机器; 
  161.                   <br>
  162.                   二、本公司售出商品,自客户收到机器当日起(以发货单为准)一个月之内出现非人为损坏的质量问题,本公司承诺免费保修; <br>
  163.                   三、本站售出的商品配件,半年之内出现非人为损坏的质量问题,免费更换; <br>
  164.                   四、所有换机或保修的邮寄机器费用由双方各负一半。<br>
  165.                   五、注: 客户指定西门子6688由标准版升级到6688i后如出现偶尔死机或自动关机现像属正常现像,不在保修范围内!6688机壳后部易裂,属于西门子设计缺陷,也不属于保修范围,请客户注意!<br>
  166.                   六、本站对以上条款拥有最终解释权。<%=hw_id%>
  167.   <%
  168.   sql="select * from system";
  169.   rs=mdb.executeQuery(sql);
  170.    if(rs.next()){
  171.   %><br>
  172.                     联系地址:<%=rs.getString("ymaddr")%><br>
  173.                     邮 编:<%=rs.getString("code")%><br>
  174.                     咨询电话:<%=rs.getString("tel")%><br>
  175.                     联系人:<%=rs.getString("name")%> 
  176. <%}
  177.   %>
  178.   </td>
  179.               </tr>
  180.             </table>
  181.             <br>
  182.             <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
  183.               <tr> 
  184.                 <td valign="middle"> 
  185.                   <div align="center"><img src="img/pics/seperator.gif" width="359" height="1"></div>
  186.                 </td>
  187.               </tr>
  188.             </table>
  189.           </td>
  190.         </tr>
  191.       </table>