foot.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:8k
源码类别:

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  3. <jsp:useBean id="symbolBean" class="MyFly.Bean.symbolBean" scope="request"/>
  4. <jsp:useBean id="jsqBean" class="MyFly.Bean.jsqBeant" scope="request"/>
  5. <jsp:useBean id="friendlinkBeans" class="MyFly.Bean.friendlinkBeans" scope="request"/>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <html>
  8. <body topmargin="0">
  9. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  10. bgColor=#ffffff border=0>
  11.   <TBODY>
  12.     <TR>
  13.       <TD>
  14.         <TABLE height=84 cellSpacing=0 cellPadding=0 width=750 align=center 
  15.       border=0>
  16.           <TBODY>
  17.             <TR>
  18.               <TD vAlign=top width=100><IMG height=84 
  19.             src="../image/help_center1.gif" width=100></TD>
  20.               <TD vAlign=center align=middle 
  21.           background=../image/help_lin.jpg height=84>
  22.                 <TABLE height=65 cellSpacing=5 cellPadding=0 width="95%" 
  23.             align=center border=0>
  24.                   <TBODY>
  25.                     <TR>
  26.                       <TD vAlign=center align=middle bgColor=#ebebeb>
  27.                         <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  28.                   align=center border=0>
  29.                           <TBODY>
  30.                             <TR>
  31.                               <TD>
  32.                                 <DIV align=center><A 
  33.                         href="../purchase_know.jsp">购书须知</A></DIV></TD>
  34.                             </TR>
  35.                             <TR>
  36.                               <TD>
  37.                                 <DIV align=center><A 
  38.                         href="../contactus.jsp">联系我们</A></DIV></TD>
  39.                             </TR>
  40.                             
  41.                           </TBODY>
  42.                       </TABLE></TD>
  43.                       <TD vAlign=center align=middle bgColor=#ebebeb>
  44.                         <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  45.                   align=center border=0>
  46.                           <TBODY>
  47.                             <TR>
  48.                               <TD>
  49.                                 <DIV align=center><A 
  50.                         href="guidebook.jsp">新手指南</A></DIV></TD>
  51.                             </TR>
  52.                             <TR>
  53.                               <TD>
  54.                                 <DIV align=center><A 
  55.                         href="../dil_way.jsp">配送方式</A></DIV></TD>
  56.                             </TR>
  57.                            
  58.                           </TBODY>
  59.                       </TABLE></TD>
  60.                       <TD vAlign=center align=middle bgColor=#ebebeb>
  61.                         <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  62.                   align=center border=0>
  63.                           <TBODY>
  64.                             <TR>
  65.                               <TD>
  66.                                 <DIV align=center><a 
  67.                         href="paybook.jsp">如何付款</a></DIV></TD>
  68.                             </TR>
  69.                             <TR>
  70.                               <TD>
  71.                                 <DIV align=center><a 
  72.                         href="../comm_pro.jsp">常见问题</a></DIV></TD>
  73.                             </TR>
  74.                           
  75.                           </TBODY>
  76.                       </TABLE></TD>
  77.                       <TD vAlign=center align=middle bgColor=#ebebeb>
  78.                         <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  79.                   align=center border=0>
  80.                           <TBODY>
  81.                             <TR>
  82.                               <TD>
  83.                                 <DIV align=center><A 
  84.                         href="../big_pur.jsp">大宗团购</A></DIV></TD>
  85.                             </TR>
  86.                             <TR>
  87.                               <TD>
  88.                                 <DIV align=center><A 
  89.                         href="#">星海动态</A></DIV></TD>
  90.                             </TR>
  91.                          
  92.                           </TBODY>
  93.                       </TABLE></TD>
  94.                     </TR>
  95.                   </TBODY>
  96.               </TABLE></TD>
  97.               <TD vAlign=top width=8><IMG height=84 
  98.             src="../image/help_right.jpg" 
  99.       width=8></TD>
  100.             </TR>
  101.           </TBODY>
  102.       </TABLE></TD>
  103.     </TR>
  104.   </TBODY>
  105. </TABLE>
  106. <TABLE class=grayline height=129 cellSpacing=0 cellPadding=0 width=760 
  107. align=center background=../image/buton_bg.jpg border=0>
  108.   <TBODY>
  109.     <TR>
  110.       <TD width=152 height="129">&nbsp;</TD>
  111.       <TD width=512>
  112.         <TABLE height=128 cellSpacing=2 cellPadding=0 width="100%" border=0>
  113.           <TBODY>
  114.             <TR>
  115.               <TD vAlign=center align=middle height=30>
  116.                 <TABLE height=30 cellSpacing=0 cellPadding=0 width=372 align=center 
  117.             border=0 background="../image/buton_line.gif">
  118.                   <TBODY>
  119.   
  120.                           <tr>
  121.   
  122. <%
  123.          friendlinkBeans.getQuery("-1");
  124.      int total=friendlinkBeans.getItems();
  125.  if(total != -1) //当友情连接记录为空时返回-1
  126.  {
  127.         int x_f = (total%4 == 0)? total/4 : total/4+1; //计算友情连接显示的行数
  128.         for(int i=0; i<x_f; i++)
  129.        {
  130.    %>
  131.         <tr>
  132.      
  133.    <%
  134.            for(int j=0; j<4; j++)  //没一行显示4条友情连接
  135.        {
  136.           if(4*i+j == total)
  137.      {
  138.           break;
  139.      }
  140.              String url="http://"+friendlinkBeans.getOriginURL(4*i+j);
  141.    %>
  142.              <td width="10" align="right"></td>
  143.              <td width="300" align="center"><span class="left"><a href=<%=url%>><%=friendlinkBeans.getTopic(4*i+j)%></a></span></td>
  144.   <%
  145.   }
  146.   %>
  147.     </tr>
  148.   <%
  149.   }
  150.   }
  151.   %>
  152.        
  153.                   </TBODY>
  154.               </TABLE></TD>
  155.             </TR>
  156.             <TR>
  157.               <TD height=92><div align="center">
  158.                 <table width="100%"  border="0" align="center">
  159.                   <%
  160.         String count=(String)session.getAttribute("count");
  161. if(count == null)
  162. {
  163.      jsqBean.update();
  164.  session.setAttribute("count", "count");
  165. }
  166. jsqBean.getNew();
  167. %>
  168.                   <tr>
  169.                     <td align="center">您是第<font color="#FF0033"><%=jsqBean.getCount()%></font>位访问者</td>
  170.                   </tr>
  171.                   <%
  172.     if(symbolBean.getNew())
  173. {
  174.  %>
  175.                   <tr>
  176.                     <td align="center">站点说明:<%=symbolBean.getExplain()%></td>
  177.                   </tr>
  178.                   <tr>
  179.                     <td align="center">客服信箱:<%=symbolBean.getEmail()%>&nbsp;&nbsp; 热线:<%=symbolBean.getPhone()%></td>
  180.                   </tr>
  181.                   <tr>
  182.                     <td align="center">
  183.                       <SCRIPT>
  184. document.write("<img src=../img/qq.gif border=0 align=middle><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=178807165&Site=星海购书网&Menu=yes' title='业务咨询(QQ:178807165)'>产品客服</a>");
  185.     </SCRIPT>
  186.                     </td>
  187.                   </tr>
  188.                   <tr>
  189.                     <td height="20" align="center" valign="middle">Copyright&copy;&nbsp;&nbsp;<span class="style3"><%=symbolBean.getCopyright()%></span></td>
  190.                   </tr>
  191.                   <%
  192. }
  193. %>
  194.                 </table>
  195.               </div></TD>
  196.             </TR>
  197.           </TBODY>
  198.       </TABLE></TD>
  199.       <TD vAlign=top align=left width=94>
  200.         <TABLE height=129 cellSpacing=0 cellPadding=0 width="100%" align=center 
  201.       border=0>
  202.           <TBODY>
  203.             <TR>
  204.               <TD vAlign=bottom align=middle height=37>&nbsp;</TD>
  205.             </TR>
  206.             <TR>
  207.               <TD vAlign=top align=middle height=51>&nbsp;</TD>
  208.             </TR>
  209.             <TR>
  210.               <TD vAlign=bottom align=middle height=16>&nbsp;</TD>
  211.             </TR>
  212.             <TR>
  213.               <TD vAlign=top align=middle height=17>&nbsp;</TD>
  214.             </TR>
  215.           </TBODY>
  216.       </TABLE></TD>
  217.     </TR>
  218.   </TBODY>
  219. </TABLE>
  220. </body>
  221. </html>