news2.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:10k
源码类别:
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="newBean" class="MyFly.Bean.newBean" scope="request"/>
- <jsp:useBean id="newBeans" class="MyFly.Bean.newBeans" scope="request"/>
- <%@ include file ="top.jsp" %>
- <%
- String index=request.getParameter("index");
- %>
- <style type="text/css">
- <!--
- p{text-indent:2em}
- -->
- </style>
- <%!
- StringBuffer convert(StringBuffer sour){
- for(int i=0;i<sour.length();i++){
- if(sour.substring(i,i+1).equals("n")){
- sour.delete(i,i+1);
- sour.insert(i,"</p><p>");
- }
- }
- return sour;
- }
- %>
- <HTML>
- <HEAD>
- <TITLE>新闻详情</TITLE>
- <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
- }
- .title {
- HEIGHT: 28px
- }
- .tdbg {
- BACKGROUND: #eaeaea
- }
- .txt_css {
- }
- .title_lefttxt {
- }
- .title_left {
- HEIGHT: 34px
- }
- .tdbg_left {
- BACKGROUND: #f3f1f1; BORDER-BOTTOM: #fb9f47 1px solid; BORDER-LEFT: #fb9f47 1px solid; BORDER-RIGHT: #fb9f47 1px solid; BORDER-TOP: #fb9f47 1px solid
- }
- .title_left2 {
- }
- .tdbg_left2 {
- }
- .tdbg_leftall {
- BACKGROUND: #dfe6ee; BORDER-RIGHT: #b2c2d7 1px solid
- }
- .title_righttxt {
- }
- .title_right {
- HEIGHT: 32px
- }
- .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>
- <BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" background="image/bk.jpg">
- <TABLE width=768 border=0 align=center cellPadding=0 cellSpacing=0 bgcolor="#d9eada">
- <!--DWLayoutTable-->
- <TBODY>
- <TR>
- <TD width="264" height="619" vAlign=top bgColor=#d5e7d7><BR> <TABLE cellSpacing=0 cellPadding=0 width=262 border=0>
- <!-- fwtable fwsrc="招商动态(2)左.png" fwbase="zsktleft.jpg" fwstyle="Dreamweaver" fwdocid = "1739784415" fwnested="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/xwdttop10.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;
- newBeans.getQuery("10");
- for(int i=0; i<newBeans.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="news.jsp?index=<%=newBeans.getNewID(i)%>"><%=newBeans.getTopic(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 height=20>
- <%
- if(newBean.getNew(Integer.parseInt(index)))
- {
- %>
- <DIV align=center><SPAN
- style="FONT-SIZE: 16px; COLOR: #050099"><B><%=newBean.getTopic()%></B></SPAN></DIV></TD>
- </TR>
- </TBODY>
- </TABLE>
- <SPAN
- class=S><BR>
- 发布者:<%=newBean.getOrigin()%> 发布时间:【<%=newBean.getAppendTime()%>】
- <BR>
- </SPAN></DIV>
- <TABLE cellSpacing=0 cellPadding=0 width=456 align=center
- border=0>
- <TBODY>
- <TR>
- <TD height="416" vAlign=top background="image/bk1.jpg" style="LINE-HEIGHT: 200%">
- <DIV><%=convert(new StringBuffer(newBean.getContent()))%>
- <%
- }
- %>
- <br>
- </DIV>
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- <p align="right"><A
- href="javascript:window.print()">打印本页</A> || <A
- href="javascript:window.close()">关闭窗口</A></p></TD>
- <TD height="39"><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>