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

电子政务应用

开发平台:

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>
  43.         </td>
  44.   </tr>
  45.   <tr> 
  46.     <td height="17" bgcolor="#FC9803" align="right">&nbsp;<a href="orderlist.jsp">订单管理</a>
  47.     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  48.     </td>
  49.   </tr>
  50.   <tr> 
  51.     <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
  52.   </tr>
  53. </table>
  54. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  55.   <tr> 
  56.     <td width="150" valign="top"> <table width="150" border="0" cellpadding="0" cellspacing="0">
  57.             <%@include file="include/board3.jsp"%> 
  58.         <tr> 
  59.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  60.         </tr>
  61.         <tr> 
  62.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  63.         </tr>
  64.         <tr> 
  65.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">联系方式</font></div></td>
  66.         </tr>
  67.         <tr> 
  68.           <td height="20" valign="bottom" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;电话:64704946</font></td>
  69.         </tr>
  70.         <tr> 
  71.           <td height="18" background="images/hydl.jpg"> <p><font size="2">&nbsp;&nbsp;E-mail:</font></p></td>
  72.         </tr>
  73.         <tr> 
  74.           <td height="18" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;MSN:</font></td>
  75.         </tr>
  76.         <tr> 
  77.           <td height="18" valign="top" background="images/hydl.jpg"><font size="2">&nbsp;&nbsp;QQ:</font></td>
  78.         </tr>
  79.         <tr> 
  80.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  81.         </tr>
  82.         <tr> 
  83.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  84.         </tr>
  85.         <%@include file="include/board2.jsp"%>
  86.         <tr> 
  87.           <td height="5" background="images/hydl.jpg"><img src="images/tmtp.gif" width="2" height="2"></td>
  88.         </tr>
  89.         <tr> 
  90.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  91.         </tr>
  92.         <tr> 
  93.           <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  94.         </tr>
  95.         <tr> 
  96.           <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">友情链接</font></div></td>
  97.         </tr>
  98.         <tr> 
  99.           <td height="150" background="images/hydl.jpg">&nbsp;</td>
  100.         </tr>
  101.         <tr> 
  102.           <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
  103.         </tr>
  104.       </table></td>
  105.     <td width="610" colspan="2" valign="top"><table width="610" border="0" cellspacing="0" cellpadding="0">
  106.         <tr> 
  107.           <td height="167"> <table width="610" height="167" border="0" cellpadding="0" cellspacing="0">
  108.               <tr> 
  109.                 <td width="430" height="167" valign="top"><div align="center"> 
  110.                     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="420" height="164">
  111.                       <param name="movie" value="images/asus.swf">
  112.                       <param name="quality" value="high">
  113.                       <embed src="images/asus.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="420" height="164"></embed></object>
  114.                   </div></td>
  115.                 <td width="180" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0">
  116.                     <tr> 
  117.                       <td height="22" bgcolor="#FCCB05"><div align="center"><font size="2">:: 
  118.                           新品上市 ::</font></div></td>
  119.                     </tr>
  120.                     <tr> 
  121.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  122.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  123.                         MP... </font></td>
  124.                     </tr>
  125.                     <tr> 
  126.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  127.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  128.                         MP... </font></td>
  129.                     </tr>
  130.                     <tr> 
  131.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  132.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  133.                         MP... </font></td>
  134.                     </tr>
  135.                     <tr> 
  136.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  137.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  138.                         MP... </font></td>
  139.                     </tr>
  140.                     <tr> 
  141.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  142.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  143.                         MP... </font></td>
  144.                     </tr>
  145.                     <tr> 
  146.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  147.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  148.                         MP... </font></td>
  149.                     </tr>
  150.                     <tr> 
  151.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  152.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  153.                         MP... </font></td>
  154.                     </tr>
  155.                     <tr> 
  156.                       <td height="18" background="images/bg2.jpg"><font color="#FCCB05" size="2">&nbsp; 
  157.                         <font color="#D2A902">* </font></font><font size="2">三星YEPP-90S 
  158.                         MP... </font></td>
  159.                     </tr>
  160.                     <tr> 
  161.                       <td><img src="images/hydl2.jpg" width="180" height="1"></td>
  162.                     </tr>
  163.                   </table></td>
  164.               </tr>
  165.             </table></td>
  166.         </tr>
  167.         <tr> 
  168.           <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  169.         </tr>
  170.         <tr> 
  171.           <td height="142" valign="top"> <div align="right"> 
  172.               <table width="600" border="0" align="right" cellpadding="0" cellspacing="0">
  173.                 <tr> 
  174.                   <td height="18" colspan="2" bgcolor="#FFCC00"><font size="2"> 
  175.                     &nbsp;&gt;&gt; 产品展示</font></td>
  176.                 </tr>
  177. <%
  178.  
  179.      m_vct = shop.getFirstGoodsList();
  180.      if(m_vct!=null&&m_vct.size()>0)
  181.       {
  182.          int br_judge=0;
  183.          for(int i=0;i<m_vct.size();i++)
  184.           {
  185.               Vector t_vct = (Vector)m_vct.get(i);
  186.                if(i%2==0)
  187.                 {
  188.                     br_judge=1;
  189.                                  %>
  190.                                      <tr> 
  191.                                        <td width="300"> <table width="300" border="0" cellspacing="0" cellpadding="0">
  192.                                            <tr> 
  193.                                              <td width="150" height="153"> 
  194.                                              <div align="center">
  195.                                              <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><img src="../../<%=t_vct.get(6)%>" width="108" height="133" border="0"></a>
  196.                                              </div></td>
  197.                                              <td width="150" height="153">
  198.                                              <table width="150" border="0" cellspacing="0" cellpadding="0">
  199.                                                  <tr> 
  200.                                                    <td height="25"><font color="#0386B8" size="2"><strong><%=t_vct.get(1)%></strong></font></td>
  201.                                                  </tr>
  202.                                                  <tr> 
  203.                                                    <td>
  204.                                                    <font size="2">
  205.                                                    <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><%=t_vct.get(2)%> </a>
  206.                                                    </font></td>
  207.                                                  </tr>
  208.                                                  <tr> 
  209.                                                    <td height="20"><font size="2">市场价:¥<%=t_vct.get(3)%> </font></td>
  210.                                                  </tr>
  211.                                                  <tr> 
  212.                                                    <td height="20"><font size="2">乐趣价:¥<%=t_vct.get(4)%> </font></td>
  213.                                                  </tr>                                                 
  214.                                                  <tr> 
  215.                                                    <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  216.                                                  </tr>
  217.                                                </table></td>
  218.                                            </tr>
  219.                                          </table></td>          
  220.           
  221.                                  <%
  222.                 }  
  223.                else
  224.                 {
  225.                 
  226.                               br_judge=0;
  227.                                  %>
  228.                                         <td width="305"><table width="300" border="0" cellspacing="0" cellpadding="0">
  229.                                           <tr> 
  230.                                             <td width="150" height="153"> <div align="center">
  231.                                             <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><img src="../../<%=t_vct.get(6)%>" width="108" height="133" border=0></a>
  232.                                             </div></td>
  233.                                             <td width="150" height="153">
  234.                                             
  235.                                             <table width="150" border="0" cellspacing="0" cellpadding="0">
  236.                                                 <tr> 
  237.                                                   <td height="25"><font color="#0386B8" size="2">
  238.                                                   <strong>
  239.                                                   <%=t_vct.get(1)%>
  240.                                                     </strong></font></td>
  241.                                                 </tr>
  242.                                                 <tr> 
  243.                                                   <td><font size="2">
  244.                                                  <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><%=t_vct.get(2)%></a>
  245.                                                   </font></td>
  246.                                                 </tr>
  247.                                                 <tr> 
  248.                                                   <td height="20"><font size="2">市场价: ¥<%=t_vct.get(3)%> </font></td>
  249.                                                 </tr>                                                 
  250.                                                 <tr> 
  251.                                                   <td height="20"><font size="2">乐趣价: ¥<%=t_vct.get(4)%></font></td>
  252.                                                 </tr>
  253.                                                 <tr> 
  254.                                                   <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  255.                                                 </tr>
  256.                                               </table>
  257.                                              
  258.                                               </td>
  259.                                           </tr>
  260.                                         </table></td>
  261.                                        </tr> 
  262.                                  <%                
  263.                 
  264.                 } 
  265.    
  266.           }
  267.           
  268.         if(br_judge==1)
  269.          {
  270.             %>
  271.                                         <td width="305">&nbsp;
  272.                                           </td>
  273.                                       </tr>                
  274.             
  275.             <%         
  276.          }  
  277.          
  278.       }
  279. %>                
  280.                 <tr> 
  281.                   <td width="300" height="50"><img src="images/tmtp.gif" width="2" height="2"></td>
  282.                   <td width="305" height="20">&nbsp;</td>
  283.                 </tr>
  284.               </table>
  285.               <br>
  286.             </div></td>
  287.         </tr>
  288.       </table></td>
  289.   </tr>
  290.   <tr bgcolor="#FFCC00"> 
  291.     <td height="20" colspan="3"><font size="2"> &nbsp;&gt;&gt; 特价产品</font></td>
  292.   </tr>
  293. <%  
  294.      m_vct = shop.getRecommandGoodsList1("1000","04");
  295.      if(m_vct!=null&&m_vct.size()>0)
  296.       {
  297.          int br_judge=0;
  298.          for(int i=0;i<m_vct.size();i++)
  299.           {
  300.               Vector t_vct = (Vector)m_vct.get(i);
  301.                if(i%2==0)
  302.                 {
  303.                     br_judge=1;
  304.                                  %>
  305.        
  306. <tr bgcolor="#FFFBEC"> 
  307.     <td height="140" bgcolor="#FFFBEC"><font size="2">&nbsp;
  308.       </td>
  309.     <td width="300" height="140" bgcolor="#FFFBEC"> 
  310.     <table width="300" border="0" cellspacing="0" cellpadding="0">
  311.         <tr> 
  312.           <td width="100"> <div align="center"> 
  313.               <table width="66" border="1" cellpadding="0" cellspacing="0" bordercolor="#C99803" bordercolordark="#FFFBEC">
  314.                 <tr> 
  315.                   <td>
  316.                   <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><img src="../../<%=t_vct.get(6)%>" width="108" height="133" border="0"></a>
  317.                   </td>
  318.                 </tr>
  319.               </table>
  320.             </div></td>
  321.           <td width="200" valign="top"><font size="2" >
  322.  <table width="150" border="0" cellspacing="0" cellpadding="0">
  323.                                                 <tr> 
  324.                                                   <td height="25"><font color="#0386B8" size="2">
  325.                                                   <strong>
  326.                                                   <%=t_vct.get(1)%>
  327.                                                     </strong></font></td>
  328.                                                 </tr>
  329.                                                 <tr> 
  330.                                                   <td><font size="2">
  331.                                                  <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><%=t_vct.get(2)%></a>
  332.                                                   </font></td>
  333.                                                 </tr>
  334.                                                 <tr> 
  335.                                                   <td height="20"><font size="2">市场价: ¥<%=t_vct.get(3)%> </font></td>
  336.                                                 </tr>                                                 
  337.                                                 <tr> 
  338.                                                   <td height="20"><font size="2">乐趣价: ¥<%=t_vct.get(4)%></font></td>
  339.                                                 </tr>
  340.                                                 <tr> 
  341.                                                   <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  342.                                                 </tr>
  343.                                               </table>          
  344.           </td>
  345.         </tr>
  346.       </table> 
  347.       
  348.       </td>          
  349.                                  <%
  350.                 }  
  351.                else
  352.                 {
  353.                 
  354.                               br_judge=0;
  355.                                  %>
  356. <td width="310" height="95" bgcolor="#FFFBEC">
  357.           <table width="300" border="0" cellspacing="0" cellpadding="0">
  358.         <tr> 
  359.           <td width="100"> <div align="center"> 
  360.               <table width="66" border="1" cellpadding="0" cellspacing="0" bordercolor="#C99803" bordercolordark="#FFFBEC">
  361.                 <tr> 
  362.                   <td>
  363.                  <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><img src="../../<%=t_vct.get(6)%>" width="108" height="133" border="0"></a>
  364.                   </td>
  365.                 </tr>
  366.               </table>
  367.             </div></td>
  368.           <td width="200" valign="top"><font size="2">
  369.  <table width="150" border="0" cellspacing="0" cellpadding="0">
  370.                                                 <tr> 
  371.                                                   <td height="25"><font color="#0386B8" size="2">
  372.                                                   <strong>
  373.                                                   <%=t_vct.get(1)%>
  374.                                                     </strong></font></td>
  375.                                                 </tr>
  376.                                                 <tr> 
  377.                                                   <td><font size="2">
  378.                                                  <a href="shopdetail.jsp?id=<%=t_vct.get(0)%>" target="_blank"><%=t_vct.get(2)%></a>
  379.                                                   </font></td>
  380.                                                 </tr>
  381.                                                 <tr> 
  382.                                                   <td height="20"><font size="2">市场价: ¥<%=t_vct.get(3)%> </font></td>
  383.                                                 </tr>                                                 
  384.                                                 <tr> 
  385.                                                   <td height="20"><font size="2">乐趣价: ¥<%=t_vct.get(4)%></font></td>
  386.                                                 </tr>
  387.                                                 <tr> 
  388.                                                   <td height="20"><font size="2">乐趣会员价: ¥<%=t_vct.get(5)%></font></td>
  389.                                                 </tr>
  390.                                               </table>          
  391.           </td>
  392.         </tr>       
  393.       </table></td>
  394.   </tr>                                       
  395.                                  <%                
  396.                 
  397.                 } 
  398.    
  399.           }
  400.           
  401.         if(br_judge==1)
  402.          {
  403.             %>
  404.                                         <td width="305">&nbsp;
  405.                                           </td>
  406.                                       </tr>                
  407.             
  408.             <%         
  409.          }  
  410.          
  411.       }
  412. %>                
  413.   
  414.   
  415.   
  416.     
  417.   <tr bgcolor="#FFCC00"> 
  418.     <td height="20" colspan="3"><font size="2">&nbsp;&gt;&gt; 合作伙伴</font></td>
  419.   </tr>
  420.   <tr bgcolor="#FFFBEC"> 
  421.     <td height="60" colspan="3"><table width="750" border="0" cellspacing="0" cellpadding="0">
  422.         <tr> 
  423.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  424.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  425.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  426.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  427.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  428.           <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
  429.         </tr>
  430.         <tr> 
  431.           <td><div align="center"></div></td>
  432.           <td><div align="center"></div></td>
  433.           <td><div align="center"></div></td>
  434.           <td><div align="center"></div></td>
  435.           <td><div align="center"></div></td>
  436.           <td><div align="center"></div></td>
  437.         </tr>
  438.       </table></td>
  439.   </tr>
  440. <%@include file="include/foot.jsp"%>    
  441. </table>
  442. </body>
  443. </html>