product_greatpoint.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:11k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <jsp:useBean id="light_productBeans" class="MyFly.Bean.light_productBeans" scope="request"/>
- <HTML><HEAD><TITLE>咨讯中心—产品靓点</TITLE>
- <%@ include file ="top.jsp"%>
- <STYLE type=text/css>
- A {
- TEXT-DECORATION: none
- }
- A:link {
- COLOR: #000000
- }
- A:visited {
- COLOR: #000000
- }
- A:active {
- COLOR: #000000
- }
- A:hover {
- COLOR: #ff6600; POSITION: relative; RIGHT: 0px; TOP: 1px
- }
- BODY {
- FONT-SIZE: 9pt
- }
- TD {
- COLOR: #000000; FONT-FAMILY: 宋体; FONT-SIZE: 9pt; LINE-HEIGHT: 150%
- }
- INPUT {
- BACKGROUND-COLOR: #fffdfb; BORDER-BOTTOM: #b2c2d7 1px solid; BORDER-LEFT: #b2c2d7 1px solid; BORDER-RIGHT: #b2c2d7 1px solid; BORDER-TOP: #b2c2d7 1px solid; COLOR: #205064; FONT-SIZE: 9pt
- }
- BUTTON {
- FONT-SIZE: 9pt; HEIGHT: 20px
- }
- SELECT {
- FONT-SIZE: 9pt; HEIGHT: 20px
- }
- .border {
- BORDER-BOTTOM: #fb9f47 1px solid; BORDER-LEFT: #fb9f47 1px solid; BORDER-RIGHT: #fb9f47 1px solid; BORDER-TOP: #fb9f47 1px solid
- }
- .border2 {
- BACKGROUND: #dfe6ee; BORDER-BOTTOM: #b2c2d7 1px solid
- }
- .FootBg {
- BACKGROUND: #eaeaea
- }
- .tdbg {
- BACKGROUND: #eaeaea
- }
- .txt_css {
- }
- .title_lefttxt {
- }
- .title_left2 {
- }
- .tdbg_left2 {
- }
- .tdbg_leftall {
- BACKGROUND: #dfe6ee; BORDER-RIGHT: #b2c2d7 1px solid
- }
- .title_righttxt {
- }
- .tdbg_right {
- }
- .title_right2 {
- }
- .tdbg_right2 {
- }
- .tdbg_rightall {
- }
- .style6 {font-size: 14pt}
- .style9 {font-size: 12pt}
- </STYLE>
- <META content="text/html; charset=gb2312" http-equiv=Content-Type>
- <META content="MSHTML 5.00.3700.6699" name=GENERATOR></HEAD>
- <BODY background="image/bk.jpg" leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
- <TABLE width=768 border=0 align=center cellPadding=0 cellSpacing=0 bgcolor="#d9eada">
- <TBODY>
- <TR>
- <TD width="264" height="619" vAlign=top bgColor=#d5e7d7><BR> <TABLE cellSpacing=0 cellPadding=0 width=262 border=0>
- <TBODY>
- <TR>
- <TD><IMG height=1 alt="" src="image/spacer.gif"
- width=10 border=0></TD>
- <TD><IMG height=1 alt="" src="image/spacer.gif"
- width=20 border=0></TD>
- <TD><IMG height=1 alt="" src="image/spacer.gif"
- width=204 border=0></TD>
- <TD><IMG height=1 alt="" src="image/spacer.gif"
- width=28 border=0></TD>
- <TD><IMG height=1 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- </TR>
- <TR>
- <TD><IMG id=zsktleft_r1_c1 height=65 alt=""
- src="image/zsktleft_r1_c1.jpg" width=10 border=0
- name=zsktleft_r1_c1></TD>
- <TD colSpan=3><img id=zsktleft_r1_c2 height=65 alt=""
- src="image/jkzxtop10.jpg" width=252 border=0
- name=zsktleft_r1_c2></TD>
- <TD><IMG height=65 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- </TR>
- <TR>
- <TD bgColor=#d5e7d7 rowSpan=11> </TD>
- <TD background=image/zsktleft_r3_c2.jpg
- rowSpan=3> </TD>
- <TD vAlign=top bgColor=#e0f2f2 rowSpan=3> <TABLE
- style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid"
- cellSpacing=0 cellPadding=1 width="100%" border=0>
- <TBODY>
- <TR>
- <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%"
- border=0>
- <TBODY>
- <%
- int num=1;
- light_productBeans.getQuery("10");
- for(int i=0; i<light_productBeans.getItems(); i++)
- {
- %>
- <TR>
- <TD width=22 height=25> <DIV align=center><IMG height=11
- src="image/3.gif" width=10
- align=absMiddle></DIV></TD>
- <TD width=178><a href="product_greatpoint_new.jsp?index=<%=light_productBeans.getLightID(i)%>" target="_blank"><%=light_productBeans.getTitle(i)%></a></TD>
- </TR>
- <%
- }
- %>
- </TBODY>
- </TABLE>
- </TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- <TD background=image/zsktleft_r4_c4.jpg
- rowSpan=3> </TD>
- <TD><IMG height=320 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- </TR>
- <TR>
- <TD><IMG height=19 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- </TR>
- <TR>
- <TD><IMG height=14 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- </TR>
- <TR>
- <TD colSpan=3><IMG id=zsktleft_r5_c2 height=17 alt=""
- src="image/zsktleft_r5_c2.jpg" width=252 border=0
- name=zsktleft_r5_c2></TD>
- <TD><IMG height=17 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- </TR>
- <TR> </TR>
- </TBODY>
- </TABLE></TD>
- <TD width="504" rowspan="2" vAlign=top> <TABLE width=504 border=0 cellPadding=0 cellSpacing=0 bgcolor="#d5e7d7">
- <!--DWLayoutTable-->
- <!-- fwtable fwsrc="招商动态(2)右.png" fwbase="zsktrig.jpg" fwstyle="Dreamweaver" fwdocid = "1739784415" fwnested="0" -->
- <TBODY>
- <TR>
- <TD width="8" height="1"><IMG height=1 alt="" src="image/spacer.gif"
- width=8 border=0></TD>
- <TD width="483"><IMG height=1 alt="" src="image/spacer.gif"
- width=469 border=0></TD>
- <TD width="11"><IMG height=1 alt="" src="image/spacer.gif"
- width=11 border=0></TD>
- <TD width="1"><IMG height=1 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- <td width="1"></td>
- </TR>
- <TR>
- <TD height="81" colSpan=2><IMG id=zsktrig_r1_c1 height=81 alt=""
- src="image/zsktrig_r1_c1.jpg" width=491 border=0
- name=zsktrig_r1_c1></TD>
- <TD vAlign=bottom bgColor=#d9eada rowSpan=3></TD>
- <TD><IMG height=81 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- <td></td>
- </TR>
- <TR>
- <TD rowSpan=4 bgcolor="#d9eada"> </TD>
- <TD vAlign=top bgColor=#ffffff> <DIV align=center>
- <TABLE cellSpacing=0 cellPadding=6 width="100%" align=center
- border=0>
- <TBODY>
- <TR>
- <TD bgColor=#e3cfae> <img src="image/xz07.gif" width="16" height="16">
- <strong>当前位置: </strong><a href="index.jsp">首页</a><strong>
- --> </strong>产品靓点 <DIV align=center></DIV></TD>
- </TR>
- </TBODY>
- </TABLE>
- </DIV>
- <TABLE cellSpacing=0 cellPadding=0 width=456 align=center
- border=0>
- <TBODY>
- <TR>
- <TD height="355" vAlign=top background="image/bk1.jpg" style="LINE-HEIGHT: 200%">
- <DIV> <br>
- <%
- int size=15;
- String strNum=request.getParameter("pageNum");
- int cur;
- light_productBeans.init(size);
- int pageNum=light_productBeans.get_pageCount(); //取得总页数
- if(strNum == null || strNum.equals(""))
- {
- cur=1;
- }
- else
- {
- cur=Integer.parseInt(strNum);//取得要显示的页
- }
- if(cur < 1)
- {
- cur = 1;
- }
- if(cur > pageNum)
- {
- cur = pageNum;
- }
- light_productBeans.get_pageRow(cur);
- for(int i=0; i<light_productBeans.getItems(); i++)
- {
- %>
- <a href="product_greatpoint_new.jsp?index=<%=light_productBeans.getLightID(i)%>"><%=light_productBeans.getTitle(i)%></a><br>
-
- <%
- }
- %>
- <br>
- </p>
- </DIV></TD>
- </TR>
- </TBODY>
- </TABLE>
- <table width="100%" border="0">
- <tr>
- <td height="56"><div align="center"><a href="product_greatpoint.jsp?pageNum=<%=1%>">首页
- </a><a href="product_greatpoint.jsp?pageNum=<%=cur-1 %>">上一页</a>
-
- <a href="product_greatpoint.jsp?pageNum=<%=cur+1 %>">下一页</a>
- <a href="product_greatpoint.jsp?pageNum=<%=pageNum%>">尾页</a> 页次:
- <STRONG><FONT
- color=red><%=cur%></FONT>/<%=pageNum%></STRONG>页 <B><%=size%></B>条/页 转到:
- <script language="javascript">
- function fun(str)
- {
- window.location.href="product_greatpoint.jsp?pageNum=" +str;
- }
- </script>
- <SELECT name=sel
- onchange="fun(sel.options[sel.options.selectedIndex].value)" size=cur>
- <%
- for(int i=pageNum; i>=1; i--)
- {
- %>
- <OPTION selected value=<%=i%>>第<%=i%>页</OPTION>
- <%
- }
- %>
- </SELECT>
- </div></td>
- </tr>
- </table>
- </TD>
- <TD height="468"><IMG height=39 alt="" src="image/spacer.gif"
- width=1 border=0></TD>
- <td></td>
- </TR>
- <TR>
- <TD height="68" vAlign=top bgColor=#ffffff><img src="image/tfy.jpg" width="483" height="69"></TD>
- <TD rowspan="4"><IMG height=50 alt="" src="image/spacer.gif"
- width=1 border=0> </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE>
- <%@ include file ="foot.jsp"%>
- </BODY></HTML>