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