foot.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:8k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <jsp:useBean id="friendlinkBeans" class="MyFly.Bean.friendlinkBeans" scope="request"/>
- <jsp:useBean id="jsqBean" class="MyFly.Bean.jsqBeant" scope="request"/>
- <jsp:useBean id="symbolBean" class="MyFly.Bean.symbolBean" scope="request"/>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <html>
- <body topmargin="0">
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD>
- <TABLE height=84 cellSpacing=0 cellPadding=0 width=750 align=center
- border=0>
- <TBODY>
- <TR>
- <TD vAlign=top width=100><IMG height=84
- src="../image/help_center1.gif" width=100></TD>
- <TD vAlign=center align=middle
- background=../image/help_lin.jpg height=84>
- <TABLE height=65 cellSpacing=5 cellPadding=0 width="95%"
- align=center border=0>
- <TBODY>
- <TR>
- <TD vAlign=center align=middle bgColor=#ebebeb>
- <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%"
- align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <DIV align=center><A
- href="../purchase_know.jsp">购书须知</A></DIV></TD>
- </TR>
- <TR>
- <TD>
- <DIV align=center><A
- href="../contactus.jsp">联系我们</A></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- <TD vAlign=center align=middle bgColor=#ebebeb>
- <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%"
- align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <DIV align=center><A
- href="../guidebook.jsp">新手指南</A></DIV></TD>
- </TR>
- <TR>
- <TD>
- <DIV align=center><A
- href="../dil_way.jsp">配送方式</A></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- <TD vAlign=center align=middle bgColor=#ebebeb>
- <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%"
- align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <DIV align=center><a
- href="../paybook.jsp">如何付款</a></DIV></TD>
- </TR>
- <TR>
- <TD>
- <DIV align=center><a
- href="../comm_pro.jsp">常见问题</a></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- <TD vAlign=center align=middle bgColor=#ebebeb>
- <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%"
- align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <DIV align=center><A
- href="../big_pur.jsp">大宗团购</A></DIV></TD>
- </TR>
- <TR>
- <TD>
- <DIV align=center><A
- href="#">星海动态</A></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- <TD vAlign=top width=8><IMG height=84
- src="../image/help_right.jpg"
- width=8></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE class=grayline height=128 cellSpacing=0 cellPadding=0 width=760
- align=center background=../image/buton_bg.jpg border=0>
- <TBODY>
- <TR>
- <TD width=152 height="128"> </TD>
- <TD width=512>
- <TABLE height=128 cellSpacing=2 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD vAlign=center align=middle height=30>
- <TABLE height=30 cellSpacing=0 cellPadding=0 width=372 align=center
- border=0 background="../image/buton_line.gif">
- <TBODY>
- <tr>
- <%
- friendlinkBeans.getQuery("-1");
- int total=friendlinkBeans.getItems();
- if(total != -1) //当友情连接记录为空时返回-1
- {
- int x_f = (total%4 == 0)? total/4 : total/4+1; //计算友情连接显示的行数
- for(int i=0; i<x_f; i++)
- {
- %>
- <tr>
- <%
- for(int j=0; j<4; j++) //没一行显示4条友情连接
- {
- if(4*i+j == total)
- {
- break;
- }
- String url="http://"+friendlinkBeans.getOriginURL(4*i+j);
- %>
- <td width="10" align="right"></td>
- <td width="300" align="center"><span class="left"><a href=<%=url%>><%=friendlinkBeans.getTopic(4*i+j)%></a></span></td>
- <%
- }
- %>
- </tr>
- <%
- }
- }
- %>
- </TBODY>
- </TABLE></TD>
- </TR>
- <TR>
- <TD height=92> <div align="center">
- <table width="100%" border="0" align="center">
- <%
- String count=(String)session.getAttribute("count");
- if(count == null)
- {
- jsqBean.update();
- session.setAttribute("count", "count");
- }
- jsqBean.getNew();
- %>
- <tr>
- <td align="center">您是第<font color="#FF0033"><%=jsqBean.getCount()%></font>位访问者</td>
- </tr>
- <%
- if(symbolBean.getNew())
- {
- %>
- <tr>
- <td align="center">站点说明:<%=symbolBean.getExplain()%></td>
- </tr>
- <tr>
- <td align="center">客服信箱:<%=symbolBean.getEmail()%> 热线:<%=symbolBean.getPhone()%></td>
- </tr>
- <tr>
- <td align="center">
- <SCRIPT>
- 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>");
- </SCRIPT>
- </td>
- </tr>
- <tr>
- <td height="20" align="center" valign="middle">Copyright© <span class="style3"><%=symbolBean.getCopyright()%></span></td>
- </tr>
- <%
- }
- %>
- </table>
- </div></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- <TD vAlign=top align=left width=94>
- <TABLE height=120 cellSpacing=0 cellPadding=0 width="100%" align=center
- border=0>
- <TBODY>
- <TR>
- <TD vAlign=bottom align=middle height=37> </TD>
- </TR>
- <TR>
- <TD vAlign=top align=middle height=51> </TD>
- </TR>
- <TR>
- <TD vAlign=bottom align=middle height=16> </TD>
- </TR>
- <TR>
- <TD vAlign=top align=middle height=13> </TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE>
- </body>
- </html>