📄 hyxw_3.jsp~31~
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>
<%@ page import="com.j2ee.func.news.*" %>
<% Vector vct=(Vector)request.getAttribute("vct");
String type=(String)request.getAttribute("type");
Vector vctzxxw=(Vector)request.getAttribute("vctzxxw");
Vector vcttjxw=(Vector)request.getAttribute("vcttjxw");
String counts=(String )request.getAttribute("count");
int count=Integer.parseInt(counts);
String pagenos=(String)request.getAttribute("pageno");
int pagesize=Integer.parseInt(pagenos);
String pagesizes=(String)request.getAttribute("pagesize");
int pagesize=Integer.parseInt(pagesizes);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
hyxw_1
</title>
<link href="css/type.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table cellspacing=0 cellpadding=0 width=760 align=center bgcolor=#f7f7ff
border=0>
<tbody>
<tr>
<td> <table cellspacing=0 cellpadding=0 width="100%" align=center border=0>
<tbody>
<tr>
<td width=200 height=19> </td>
<td width=558 rowspan="2" align=center valign=middle> <table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td align=right height=20><font
color=#000000>首页</font> <font color=#000000>| 注册</font> <font
color=#000000>|</font> <font
color=#000000>我的主页| 搜索</font> <font color=#000000>|</font> <font
color=#000000>帮助</font> <font color=#000000>|</font> <font
color=#000000>站点地图</font> <font
color=#000000>|</font> <font color=#000000>关于本站</font> <font color=#000000>|</font>
<font
color=#000000>离开</font> <font color=#000000>|</font> </td>
</tr>
</tbody>
</table>
<div align=center><img src="image/top.jpg" alt="" width="461" height="60" align="left">
<table width="88" height="57" border="0" cellpadding="00" cellspacing="00">
<tr>
<td><img src="image/jt1.gif" width="11" height="11" ><a onClick="this.style.behavior='url(#default#homepage)';this.sethomepage('http://com.com.com');return false;" href="" title="将本站设为你的首页">
设为首页</a><br > <img src="image/jt2.gif" width="11" height="11">
<a href="javascript:window.external.AddFavorite(location.href,document.title)" title="将本站加入到你的收藏夹">
加入收藏</a><br> <img src="image/jt3.gif" width="11" height="11">
<a href="list.list@eyou.com"> 联系我们</a></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width=200 height=35> <div align=center><img src="image/log.jpg" width="200" height="60"></div></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
<table class=table2 height=22 cellspacing=0 bordercolordark=#ffffff
cellpadding=0 width=762 align=center bordercolorlight=#00000 border=0>
<tbody>
<tr>
<td bgcolor=#4a70ac colspan=2 height=1></td>
</tr>
<tr>
<td width=256 background=image/tabs_m_tile.gif
height=22> <div align=center></div></td>
<td width=506 background=image/tabs_m_tile.gif
height=22> <div align=right><font color=#000000> <font
color=#000020><a href="newsservlet">新闻资讯</a></font><a href="newsservlet">
</a>| <font
color=#000020><a href="jswz1servlet">技术文章</a></font> | 最新下载 | </font></div></td>
</tr>
</tbody>
</table>
<table height=278 cellspacing=0 bordercolordark=#e2dffd cellpadding=0 width=758
align=center bgcolor=#ffffff border=0 borderlightcolor="#EBF1F1"
witdth="100%">
<tbody>
<tr>
<td valign=top width=197 bgcolor=#f7f7ff> <table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td width="25%" background=image/line4.gif><img
height=31 src="image/searchicon.gif" width=50></td>
<td valign=bottom width="75%"
background=image/line4.gif> <div align=center><strong>== 站内搜索 ==</strong></div></td>
</tr>
<tr bgcolor=#f7f7ff>
<td colspan=2> <div align=center><br>
<form name=form2 action=searchresult.php?s= method=post>
<table cellspacing=0 cellpadding=0 width="95%" border=0>
<tbody>
<tr>
<td width="38%" height=30> <div align=right>关键字:</div></td>
<td width="62%" height=30> <input class=stedit id=KeyWords
maxlength=30 size=13 name=KeyWords> </td>
</tr>
<tr>
<td height=30> <div align=right>类 别:</div></td>
<td height=30> <select id=Block name=Block>
<option
value=news>新闻资讯</option>
<option value=articles
selected>技术文章</option>
<option value=download>下载</option>
<option value=website>网站</option>
</select> </td>
</tr>
<tr>
<td colspan=2 height=30> <div align=center>
<input type=image height=20 width=80
src="image/search.gif" border=0
name=imageField2>
</div></td>
</tr>
</tbody>
</table>
</form>
</div></td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width="95%" align=center border=0>
<tbody>
<tr>
<td>◆ <strong>文章分类:</strong></td>
</tr>
<tr>
<td bgcolor=#440000 height=1></td>
</tr>
</tbody>
</table>
<br>
<table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
<tbody>
<tr valign=center>
<td width="17%" height=20> <div align=center><strong> -></strong></div></td>
<td width="83%"><font
color=#440000><a href="hyxwservlet?id=gnxw">全部文章</a></font> </td>
<tr valign=center>
<td width="17%" height=20> <div align=center><strong><font
color=#660000>-></font></strong></div></td>
<td width="83%"><a href="hyxwservlet?id=hyfx&pageno=1">行业分析</a></td>
</tr>
<tr valign=center>
<td width="17%" height=20> <div align=center><strong><font
color=#660000>-></font></strong></div></td>
<td width="83%"><a href="hyxwservlet?id=gnxw&pageno=1">国内新闻</a></td>
</tr>
<tr valign=center>
<td width="17%" height=20> <div align=center><strong><font
color=#660000>-></font></strong></div></td>
<td width="83%"><font color="#440000"><a href="hyxwservlet?id=gjxw&pageno=1">国际新闻</a></font></td>
</tr>
<tr valign=center>
<td width="17%" height=20> <div align=center><strong><font
color=#660000>-></font></strong></div></td>
<td width="83%"><font color="#440000"><a href="hyxwservlet?id=qydt&pageno=1">企业动态</a></font></td>
</tr>
<tr valign=center>
<td width="17%" height=20> <div align=center><strong><font
color=#660000>-></font></strong></div></td>
<td width="83%"><font color="#440000"><a href="hyxwservlet?id=zhxx&pageno=1">展会信息</a></font></td>
</tr>
</tbody>
</table>
<br> <table cellspacing=0 cellpadding=0 width="95%" align=center border=0>
<tbody>
<tr>
<td>◆ <strong>最新新闻<font color=#ff0000> TOP10</font>: </strong></td>
</tr>
<tr>
<td bgcolor=#440000 height=1></td>
</tr>
</tbody>
</table>
<br> <table cellspacing=0 cellpadding=0 width="95%" align=center border=0>
<tbody>
<% int lastnewsi=0;
while(lastnewsi<vctzxxw.size()){
NewsInfo ni=(NewsInfo)vctzxxw.elementAt(lastnewsi);%>
<tr>
<td valign=top width="9%" height=20> <div align=right><strong>.</strong></div></td>
<td valign=top width="90%"><a target="_blank" href="newsdetailservlet?id=<%=ni.getId()%>"><%=(ni.getTitle().length()>10?ni.getTitle().substring(0,8)+"...":ni.getTitle())%></a>[<%=ni.getNewsdate().substring(5,7)%>,<%=ni.getNewsdate().substring(8,10)%>]</td>
</tr>
<%lastnewsi++;} %>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width="95%" align=center border=0>
<tbody>
<tr>
<td> </td>
</tr>
<tr>
<td bgcolor=#440000 height=1></td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width="95%" align=center border=0>
<tbody>
<tr>
<td>◆ <strong>最新新闻<font color=#ff0000> TOP10</font>: </strong></td>
</tr>
<tr>
<td bgcolor=#440000 height=1></td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width="95%" align=center border=0>
<tbody>
<%int tjnewssi=0;
while(tjnewssi<vcttjxw.size()){
TjnewsInfo tjni=(TjnewsInfo)vcttjxw.elementAt(tjnewssi);%>
<tr>
<td valign=top width="9%" height=20> <div align=right><strong>.</strong></div></td>
<td valign=top width="90%"> <a target="_blank" href="newsdetailservlet?id=<%=tjni.getNewsid()%>"><%=(tjni.getNewstitle().length()>12?tjni.getNewstitle().substring(0,10)+"...":tjni.getNewstitle())%></a>[<%=tjni.getNewsdate().substring(5,7)%>,<%=tjni.getNewsdate().substring(8,10)%>]
</td>
</tr>
<%tjnewssi++;} %>
</tbody>
</table>
<p> </p>
<br> </td>
<td width=1 bgcolor=#440000 height=271 rowspan=0></td>
<td width="560" valign=top><br>
<br> <table cellspacing=2 cellpadding=2 width="98%" align=center border=0>
<tbody>
<%int newsi=0;
while(newsi<vct.size()){
NewsInfo ni=new NewsInfo(); ni=(NewsInfo)vct.elementAt(newsi);%>
<tr>
<td>[<%=ni.getComefrom()%>] <font
color=#440000>><a href="newsdetailservlet?id=<%=ni.getId()%>" target="_blank"><%=ni.getTitle()%></a></font>
<font color=#999999>-</font> <font color=#917402>提交人:<%=ni.getAuthor()%>
<%=ni.getNewsdate() %><span class=style9>人气:<%=ni.getSeecount()%></span></font></td>
</tr>
<%newsi++;} %>
</tbody>
</table>
<form action="hyxwservlet?type=<%=type%>" name="myform" method="Post">
<table width="584" border="0">
<tr>
<td width="578"> <%if (pageno==1){%> <font color="#999999">首页 上一页</font>
<%}else{%> <a href="hyxwservlet?type=<%=type%>&pageno=1">
首页</a> <a href="hyxwservlet?type=<%=type%>&pageno=<%=pageno-1%>">
上一页</a> <%}
if(pageno==(count%pagesize==0?count/pagesize:count/pagesize+1)){%> <font color="#999999">下一页 末页</font>
<%}else{ %> <a href="hyxwservlet?type=<%=type%>&pageno=<%=pageno+1%>&">
下一页</a> <a href="hyxwservlet?type=<%=type%>&pageno=<%=(count%pagesize==0?count/pagesize:count/pagesize+1)%>">
末页</a> <%} %>
当前页
<input name="pageno" type="text" size="4" value="<%=pageno%>">
<input name="button" type="button" onclick="window.location='hyxwservlet?type=<%=type%>&pageno='+myform.pageno.value" value="go"/>
页数 <%=pageno%>/<%=count%pagesize==0?count/pagesize:count/pagesize+1%> 每页:<%=pagesize%> 总数:<%=count%></td>
</tr>
</table>
</form>
<br>
</td>
</tr>
</tbody>
</table>
<div align=center>
<table cellspacing=0 cellpadding=0 width=760 align=center border=0>
<tbody>
<tr>
<td> <div align=center><img height=30 src="image/di.gif"
width=760></div></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -