in-product.jsp
上传用户:szlmxq
上传日期:2014-01-31
资源大小:740k
文件大小:9k
源码类别:

Applet

开发平台:

Java

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