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

电子政务应用

开发平台:

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"> <div align="center">  
  40.     <%@include file="include/board1.jsp"%> 
  41.     </div></td>
  42.   </tr>
  43.   <tr> 
  44.     <td height="17" bgcolor="#FC9803">&nbsp;</td>
  45.   </tr>
  46.   <tr> 
  47.     <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
  48.   </tr>
  49. </table>
  50. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  51.   <tr> 
  52.     <td width="150" valign="top"> <table width="150" border="0" cellpadding="0" cellspacing="0">
  53.  <%@include file="include/board3.jsp"%>
  54.         <tr> 
  55.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  56.         </tr>
  57.         <tr> 
  58.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  59.         </tr>
  60.         <tr> 
  61.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">联系方式</font></div></td>
  62.         </tr>
  63.         <tr> 
  64.           <td height="20" valign="bottom" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;电话:64704946</font></td>
  65.         </tr>
  66.         <tr> 
  67.           <td height="18" background="images/hydl.jpg"> <p><font size="2">&nbsp;&nbsp;E-mail:</font></p></td>
  68.         </tr>
  69.         <tr> 
  70.           <td height="18" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;MSN:</font></td>
  71.         </tr>
  72.         <tr> 
  73.           <td height="18" valign="top" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;QQ:</font></td>
  74.         </tr>
  75.         <tr> 
  76.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  77.         </tr>
  78.         <tr> 
  79.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  80.         </tr>
  81. <%@include file="include/board2.jsp"%>
  82.         <tr> 
  83.           <td height="5" background="images/hydl.jpg"><img src="images/tmtp.gif" width="2" height="2"></td>
  84.         </tr>
  85.         <tr> 
  86.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  87.         </tr>
  88.         <tr> 
  89.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  90.         </tr>
  91.         <tr> 
  92.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">友情链接</font></div></td>
  93.         </tr>
  94.         <tr> 
  95.           <td height="150" background="images/hydl.jpg">&nbsp;</td>
  96.         </tr>
  97.         <tr> 
  98.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  99.         </tr>
  100.       </table></td>
  101.     <td width="920" valign="top"><table width="610" border="0" cellspacing="0" cellpadding="0">
  102.   
  103.         <tr> 
  104.           <td valign="top"> 
  105.           <table width="600" border="0" align="right" cellpadding="0" cellspacing="0">
  106.               <tr> 
  107.                 <td height="20" bgcolor="#FFCC00"><font size="2">&nbsp;&gt;&gt; 
  108.                   精品展示</font> </td>
  109.               </tr>   
  110.               
  111.               
  112.                       
  113.                       
  114. <%
  115.  
  116.      boardParentID = request.getParameter("boardParentID");
  117.      m_vct = shop.getRecommandGoodsList1(boardParentID,"03");
  118.     
  119.      if(m_vct!=null&&m_vct.size()>0)
  120.       {
  121.          int br_judge=0;
  122.          for(int i=0;i<m_vct.size();i++)
  123.           {
  124.               
  125.               Vector t_vct = (Vector)m_vct.get(i);    
  126.               
  127.               
  128.                        
  129.               Vector img_vct = shop.getGoodsImage(t_vct.get(0).toString(),"01");
  130.               String img_url = "image/upload/shop/1.jpg";
  131.               if(img_vct!=null&&img_vct.size()>0)
  132.                {
  133.                    img_url = (String)(((Vector)img_vct.get(0)).get(1));
  134.                }
  135.               
  136.               
  137.               
  138.                if(i%2==0)
  139.                 {
  140.                     br_judge=1;
  141.                                  %>
  142.               <tr> 
  143.                 <td><table width="600" border="0" cellspacing="0" cellpadding="0">
  144.                     <tr> 
  145.                       <td height="140"> 
  146.                       <table width="300" border="0" cellspacing="0" cellpadding="0">
  147.                           <tr> 
  148.                             <td width="100"> <div align="center"> 
  149.                               <table width="66" border="0" cellpadding="0" cellspacing="0" bordercolor="#C99803" bordercolordark="#FFFBEC">
  150.                                   <tr> 
  151.                                     <td width="150" height="153"> 
  152.                                     <div align="center">
  153.                                              &nbsp;&nbsp;&nbsp;&nbsp;<a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><img src="../../<%=img_url%>" width="108" height="133" border="0"></a>
  154.                                      </div>
  155.                                    </td>
  156.                                             
  157.                                   </tr>
  158.                                 </table>
  159.                               </div></td>
  160.                             <td width="200"><font size="2">
  161. <table width="150" border="0" cellspacing="0" cellpadding="0">
  162.                                                  <tr> 
  163.                                                    <td height="25"><font color="#0386B8" size="2"><strong><%=t_vct.get(1)%></strong></font></td>
  164.                                                  </tr>
  165.                                                  <tr> 
  166.                                                    <td>
  167.                                                    <font size="2">
  168.                                                    <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><%=t_vct.get(2)%> </a>
  169.                                                    </font></td>
  170.                                                  </tr>
  171.                                                  <tr> 
  172.                                                    <td height="20"><font size="2">市场价:¥<%=t_vct.get(3)%> </font></td>
  173.                                                  </tr>
  174.                                                  <tr> 
  175.                                                    <td height="20"><font size="2">乐趣价:¥<%=t_vct.get(4)%> </font></td>
  176.                                                  </tr>                                                 
  177.                                                  <tr> 
  178.                                                    <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  179.                                                  </tr>
  180.                                                </table>                              
  181.                             </font></td>
  182.                           </tr>
  183.                         </table> 
  184.                         </td>
  185.                                  <%
  186.                 }  
  187.                else
  188.                 {
  189.                               br_judge=0;
  190.                                  %>
  191.                          <td>
  192.                          <table width="300" border="0" cellspacing="0" cellpadding="0">
  193.                           <tr> 
  194.                             <td width="100"> <div align="center"> 
  195.                               <table width="66" border="0" cellpadding="0" cellspacing="0" bordercolor="#C99803" bordercolordark="#FFFBEC">
  196.                                   <tr> 
  197.                                     <td width="150" height="153"> 
  198.                                     <div align="center">
  199.                                              &nbsp;&nbsp;&nbsp;&nbsp;<a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><img src="../../<%=img_url%>" width="108" height="133" border="0"></a>
  200.                                      </div>
  201.                                    </td>
  202.                                             
  203.                                   </tr>
  204.                                 </table>
  205.                               </div></td>
  206.                             <td width="200"><font size="2">
  207. <table width="150" border="0" cellspacing="0" cellpadding="0">
  208.                                                  <tr> 
  209.                                                    <td height="25"><font color="#0386B8" size="2"><strong><%=t_vct.get(1)%></strong></font></td>
  210.                                                  </tr>
  211.                                                  <tr> 
  212.                                                    <td>
  213.                                                    <font size="2">
  214.                                                    <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><%=t_vct.get(2)%> </a>
  215.                                                    </font></td>
  216.                                                  </tr>
  217.                                                  <tr> 
  218.                                                    <td height="20"><font size="2">市场价:¥<%=t_vct.get(3)%> </font></td>
  219.                                                  </tr>
  220.                                                  <tr> 
  221.                                                    <td height="20"><font size="2">乐趣价:¥<%=t_vct.get(4)%> </font></td>
  222.                                                  </tr>                                                 
  223.                                                  <tr> 
  224.                                                    <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  225.                                                  </tr>
  226.                                                </table>                              
  227.                              </font></td>
  228.                           </tr>
  229.                         </table></td>
  230.                     </tr>
  231.                   </table></td>
  232.               </tr>
  233.                                  <%                
  234.                 
  235.                 } 
  236.    
  237.           }
  238.         if(br_judge==1)
  239.          {
  240.             %>
  241.                   </table></td>
  242.               </tr>
  243.             <%         
  244.          }  
  245.          
  246.       }
  247. %>                 
  248.             </table>
  249.             </td>
  250.         </tr>
  251.         <tr> 
  252.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  253.         </tr>
  254.         <tr> 
  255.           <td height="142" valign="top"> <div align="right"> 
  256.               <table width="600" border="0" align="right" cellpadding="0" cellspacing="0">
  257.                 <tr> 
  258.                   <td height="18" colspan="2" bgcolor="#FFCC00"><font size="2"> 
  259.                     &nbsp;&gt;&gt; 产品展示</font></td>
  260.                 </tr>
  261.                 
  262. <%
  263.  
  264.      boardParentID = request.getParameter("boardParentID");
  265.      m_vct = shop.getCatlogGoodsList(boardParentID);
  266.      if(m_vct!=null&&m_vct.size()>0)
  267.       {
  268.          int br_judge=0;
  269.          for(int i=0;i<m_vct.size();i++)
  270.           {
  271.               Vector t_vct = (Vector)m_vct.get(i);             
  272.               Vector img_vct = shop.getGoodsImage(t_vct.get(0).toString(),"01");
  273.               
  274.                if(i%2==0)
  275.                 {
  276.                     br_judge=1;
  277.                                  %>
  278.                                      <tr> 
  279.                                        <td width="300"> <table width="300" border="0" cellspacing="0" cellpadding="0">
  280.                                            <tr> 
  281.                                              <td width="150" height="153"> <div align="center"><a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><img src="../../<%=((Vector)img_vct.get(0)).get(1)==null?"image/shop/1.jpg":((Vector)img_vct.get(0)).get(1)%>" width="108" height="133" border="0"></a></div></td>
  282.                                              <td width="150" height="153" valign="top">
  283.                                              <table width="150" border="0" cellspacing="0" cellpadding="0">
  284.                                                  <tr> 
  285.                                                    <td height="25"><font color="#0386B8" size="2"><strong><%=t_vct.get(1)%></strong></font></td>
  286.                                                  </tr>
  287.                                                  <tr> 
  288.                                                    <td>
  289.                                                    <font size="2">
  290.                                                    <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><%=t_vct.get(2)%> </a>
  291.                                                    </font></td>
  292.                                                  </tr>
  293.                                                  <tr> 
  294.                                                    <td height="20"><font size="2">市场价:¥<%=t_vct.get(3)%> </font></td>
  295.                                                  </tr>
  296.                                                  <tr> 
  297.                                                    <td height="20"><font size="2">乐趣价:¥<%=t_vct.get(4)%> </font></td>
  298.                                                  </tr>                                                 
  299.                                                  <tr> 
  300.                                                    <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  301.                                                  </tr>
  302.                                                </table></td>
  303.                                            </tr>
  304.                                          </table></td>          
  305.           
  306.                                  <%
  307.                 }  
  308.                else
  309.                 {
  310.                               br_judge=0;
  311.                                  %>
  312.                                         <td width="305"  valign="top"><table width="300" border="0" cellspacing="0" cellpadding="0">
  313.                                           <tr> 
  314.                                             <td width="150" height="153"> <div align="center"><a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><img src="../../<%=((Vector)img_vct.get(0)).get(1)==null?"image/shop/1.jpg":((Vector)img_vct.get(0)).get(1)%>" width="108" height="133" border=0></a></div></td>
  315.                                             <td width="150" height="153"  valign="top">
  316.                                             
  317.                                             <table width="150" border="0" cellspacing="0" cellpadding="0">
  318.                                                 <tr> 
  319.                                                   <td height="25"><font color="#0386B8" size="2">
  320.                                                   <strong>
  321.                                                   <%=t_vct.get(1)%>
  322.                                                     </strong></font></td>
  323.                                                 </tr>
  324.                                                 <tr> 
  325.                                                   <td><font size="2">
  326.                                                  <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>"><%=t_vct.get(2)%></a>
  327.                                                   </font></td>
  328.                                                 </tr>
  329.                                                 <tr> 
  330.                                                   <td height="20"><font size="2">市场价: ¥<%=t_vct.get(3)%> </font></td>
  331.                                                 </tr>                                                 
  332.                                                 <tr> 
  333.                                                   <td height="20"><font size="2">乐趣价: ¥<%=t_vct.get(4)%></font></td>
  334.                                                 </tr>
  335.                                                 <tr> 
  336.                                                   <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  337.                                                 </tr>
  338.                                               </table>
  339.                                              
  340.                                               </td>
  341.                                           </tr>
  342.                                         </table></td>
  343.                                        </tr> 
  344.                                  <%                
  345.                 
  346.                 } 
  347.    
  348.           }
  349.         if(br_judge==1)
  350.          {
  351.             %>
  352.                                         <td width="305">&nbsp;
  353.                                           </td>
  354.                                       </tr>                
  355.             
  356.             <%         
  357.          }  
  358.          
  359.       }
  360. %>                 
  361.               </table>
  362.               <br>
  363.             </div></td>
  364.         </tr>
  365.         <tr>
  366.           <td valign="top">&nbsp;</td>
  367.         </tr>
  368.       </table></td>
  369.   </tr>
  370.   <tr bgcolor="#FFCC00"> 
  371.     <td height="20" colspan="2"><font size="2">&nbsp;&gt;&gt; 合作伙伴</font></td>
  372.   </tr>
  373.   <tr bgcolor="#FFFBEC"> 
  374.     <td height="60" colspan="2"><table width="750" border="0" cellspacing="0" cellpadding="0">
  375.         <tr> 
  376.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  377.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  378.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  379.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  380.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  381.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  382.         </tr>
  383.         <tr> 
  384.           <td><div align="center"></div></td>
  385.           <td><div align="center"></div></td>
  386.           <td><div align="center"></div></td>
  387.           <td><div align="center"></div></td>
  388.           <td><div align="center"></div></td>
  389.           <td><div align="center"></div></td>
  390.         </tr>
  391.       </table></td>
  392.   </tr>
  393. <%@include file="include/foot.jsp"%>  
  394. </table>
  395. </body>
  396. </html>