📄 9011ecbf1b94001d18d1e07a18d4c5da
字号:
<%@ page language="java" import="java.util.*" pageEncoding="Gbk"%>
<jsp:directive.page import="bbs.dao.messageDao"/>
<jsp:directive.page import="bbs.bean.messageBean"/>
<jsp:directive.page import="bbs.dao.userDao"/>
<jsp:directive.page import="bbs.bean.threadBean;"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>IT大杂烩 海南IT论坛</TITLE>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<LINK rel="StyleSheet" href="StyleSheet.css">
<script type="text/javascript">
function tiaoz(){
var a=document.getElementById("t1").value;
alert(a);
}
</script>
</HEAD>
<BODY>
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=950 border=0>
<TBODY>
<TR>
<TD class=lin4 vAlign=top align=left width=190><A
href="http://www.hinews.cn/" target=_blank><IMG height=28
src="img/it0325_26.jpg" width=187 border=0></A></TD>
<TD ><a align=left>新闻中心</A> | <A class=black href="http://house.hinews.cn/"
target=_blank>房产</A> | <A class=black href="http://blog.hinews.cn/"
target=_blank>博客</A> | <A class=black href="http://info.hinews.cn/"
target=_blank>商情</A> | <A class=black href="http://120.hinews.cn/"
target=_blank>健康</A> | <A class=black href="http://love.hinews.cn/"
target=_blank>情感</A> | <A class=black href="http://88.hinews.cn/"
target=_blank>彩票</A> | <A class=black href="http://auto.hinews.cn/"
target=_blank>汽车</A> | <A class=black href="http://job.hinews.cn/"
target=_blank>招聘</A> |<A class=black href="http://money.hinews.cn/"
target=_blank> 理财 </A>| <A class=black href="http://food.hinews.cn/"
target=_blank>美食</A> | <A class=black
href="http://it.hinews.cn/ocean/index.shtml" target=_blank>海洋</A> | <A
href="http://love.hinews.cn/" target=_blank></A><A class=black
href="http://club.hinews.cn/" target=_blank>阳光岛社区</A> | <A class=black
href="http://edu.hinews.cn/" target=_blank>海南教育</A> | <A class=black
href="http://www.hnphoto.com.cn/" target=_blank>图片网
</A></TD></TR></TBODY></TABLE>
<TABLE style="MARGIN: 0px 0px 6px" cellSpacing=0 cellPadding=0 width=950
border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width=200><A href="http://it.hinews.cn/"
target=_blank><IMG height=81 src="img/it0325_2.jpg"
width=200 border=0></A></TD>
<TD class=header_bg vAlign=top align=left>
<TABLE style="MARGIN-TOP: 50px" cellSpacing=0 cellPadding=0 width=725
border=0>
<TBODY>
<TR align=middle>
<TD width=60><A class=black14
href="http://it.hinews.cn/bao_jzx5.php">报价中心</A></TD>
<TD width=66><A class=black14
href="http://it.hinews.cn/tuan_glb.php">团购</A></TD>
<TD width=77><A class=black14
href="http://it.hinews.cn/shu_myj5.php">数码硬件</A></TD>
<TD width=77><A class=black14
href="http://it.hinews.cn/bi_jb5.php">笔记本</A></TD>
<TD width=66><A class=black14
href="http://it.hinews.cn/pin_pj5.php">品牌机</A></TD>
<TD width=62><A class=black14
href="http://it.hinews.cn/shou_j5.php">手 机</A></TD>
<TD width=70><A class=black14
href="http://it.hinews.cn/bbs/thread-htm-fid-49.html"
target=_blank>二手市场</A></TD>
<TD width=62><A class=black14
href="http://it.hinews.cn/bbs/thread-htm-fid-23.html"
target=_blank>小游戏</A></TD>
<TD width=77><A class=black14
href="http://it.hinews.cn/bbs/thread-htm-fid-25.html"
target=_blank>软件下载</A></TD>
<TD width=78><A class=black14 href="http://it.hinews.cn/bbs/"
target=_blank>论 坛</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<OBJECT id=1111
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
height=60 width=950 classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000><PARAM NAME="_cx" VALUE="25135"><PARAM NAME="_cy" VALUE="1588"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="http://it.hinews.cn/img/20080827/3.swf"><PARAM NAME="Src" VALUE="http://it.hinews.cn/img/20080827/3.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
<embed src="http://it.hinews.cn/img/20080827/3.swf" quality=high width="950"
height="60" name="" align=""type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></OBJECT></CENTER>
<DIV class="h guide" colspan="2">» 您尚未 <A
href="http://it.hinews.cn/bbs/login.php">登录</A> <A
href="http://it.hinews.cn/bbs/register.php"><B>注册</B></A> | <A
href="http://it.hinews.cn/bbs/search.php">搜索</A> | <A id=td_hack
onmouseover="mouseover_open('menu_hack','td_hack');" style="CURSOR: pointer"
onclick="click_open('menu_hack','td_hack');">社区服务</A> | <A
href="http://it.hinews.cn/bbs/faq.php">帮助</A> | <A
href="http://club.hinews.cn/">阳光岛社区</A> | <A
href="http://blog.hinews.cn/">博客岛</A> </DIV>
<DIV id=showmenu style="DISPLAY: none; Z-INDEX: 100"></DIV>
<DIV class=menu id=menu_hack style="DISPLAY: none">
<TABLE cellSpacing=1 cellPadding=5 width=120>
<TBODY>
<TR>
<TH class=h>社区服务</TH></TR>
<TR>
<TD class=f_one><A
href="http://it.hinews.cn/bbs/hack-htm-H_name-bank.html">银行</A></TD></TR>
<TR>
<TD class=f_one><A
href="http://it.hinews.cn/bbs/hack-htm-H_name-colony.html">朋友圈</A></TD></TR></TBODY></TABLE></DIV>
<DIV class=menu id=menu_msg style="DISPLAY: none">
<TABLE cellSpacing=1 cellPadding=5 width=120>
<TBODY>
<TR>
<TH class=h>短消息</TH></TR>
<TR>
<TD class=f_one><A
href="http://it.hinews.cn/bbs/message.php">收件箱</A></TD></TR>
<TR>
<TD class=f_one><A
href="http://it.hinews.cn/bbs/message-htm-action-sendbox.html">发件箱</A></TD></TR>
<TR>
<TD class=f_one><A
href="http://it.hinews.cn/bbs/message-htm-action-scout.html">消息跟踪</A></TD></TR>
<TR>
<TD class=f_one><A
href="http://it.hinews.cn/bbs/message-htm-action-write.html">写新消息</A></TD></TR></TBODY></TABLE></DIV>
<DIV id=blank style="CLEAR: both; HEIGHT: 10px"></DIV>
<DIV></DIV>
<DIV id=main>
<DIV class=t3 style="MARGIN: 8px auto">
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
<TBODY>
<TR>
<TD><IMG id=td_cate onmouseover="mouseover_open('menu_cate','td_cate');"
style="CURSOR: pointer" onclick="click_open('menu_cate','td_cate');"
src="img/home_menu.gif" align=absMiddle> <B>
<A href="index.jsp">IT大杂烩</A> »
<A href="threadServlet2?threadID=<%=request.getAttribute("forumID").toString()%>"><%=request.getAttribute("title")%></A></B>
<IMG src="img/rss.png"
align=absMiddle></A>
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<DIV class=t3>
<%
int AllPages=0;//总的页数
int AllRows=0;//总的行数
int RowPage=10;//每页的行数
int PageFlag=1;//当前页的标记
int forumID=0;
ArrayList<messageBean> al=new ArrayList<messageBean>();
al=(ArrayList)request.getAttribute("al");
ArrayList alt=new ArrayList();
if(request.getAttribute("allrows")!=null)
AllRows=(new Integer(request.getAttribute("allrows").toString())).intValue();
if(request.getAttribute("PageFlag")!=null)
PageFlag=(new Integer(request.getAttribute("PageFlag").toString())).intValue();
if(request.getAttribute("forumID")!=null)
forumID=(new Integer(request.getAttribute("forumID").toString())).intValue();
if((AllRows%RowPage)==0)
{
AllPages=AllRows/RowPage;
}
else
{
AllPages=(AllRows/RowPage)+1;
}
%>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
<TBODY>
<TR>
<DIV class=pages>
页次:
<%=PageFlag%>/<%=AllPages%>页
共<%=AllRows%>篇
每页<%=RowPage%>篇
<a href="threadServlet2?PageFlag=1&threadID=<%=forumID%>">首页</a>
<%
if(PageFlag==1&&AllPages>1)
{
out.println("上一页");
out.println("<a href=threadServlet2?PageFlag="+(PageFlag+1)+"&threadID="+forumID+">下一页</a>");
}else if(AllPages==1||AllPages==0){
out.println("上一页");
out.println("下一页");
}
else if(PageFlag==AllPages)
{
out.println("<a href=threadServlet2?PageFlag="+(PageFlag-1)+" &threadID="+forumID+">上一页</a>");
out.println("下一页");
}
else
{
out.println("<a href=threadServlet2?PageFlag="+(PageFlag-1)+"&threadID="+forumID+">上一页</a>");
out.println("<a href=threadServlet2?PageFlag="+(PageFlag+1)+"&threadID="+forumID+">下一页</a>");
}
%>
<a href="threadServlet2?PageFlag=<%=AllPages%>&threadID=<%=forumID%>">末页</a>
</DIV>
</TR></TBODY></TABLE></DIV>
<DIV class="menu tac f14" id=menu_post style="DISPLAY: none">
<UL style="WIDTH: 100px">
<LI><A href="http://it.hinews.cn/bbs/post-htm-fid-23-special-4.html">交 易</A>
<LI><A href="http://it.hinews.cn/bbs/post-htm-fid-23-special-1.html">投 票</A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -