📄 jinghuatie.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.*"%>
<%@ page import="zd.bbs.*"%>
<jsp:useBean id="dao" scope="page" class="zd.bbs.NoteDAOImpl" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>正大软件学院论坛</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<%
String m_name2=new String(request.getParameter("m_name2").getBytes("iso-8859-1"));//接收模块2的名称
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr style="background-image:url(images/bg_top.jpg)">
<td align="left"><img src="images/top_01.jpg" width="347" height="101" /><img src="images/top_02.jpg" width="330" height="101" /><img src="images/top_03.jpg" width="323" height="101" /></td>
<td align="right"> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#BED6F9" id="login">
<tr>
<td width="50%" height="25">
<%
if(session.getAttribute("username")==null||session.getAttribute("username")==""){
%>
<jsp:forward page="errg.jsp"></jsp:forward>
<%
}else{
out.print(" <font color='red'><b>"+session.getAttribute("username")+"</b></font>欢迎光临正大软件学院论坛");
out.print("<a href='update.jsp'>修改个人信息</a>||");
out.print("<a href='invalidate.jsp'>用户注销</a>||");
out.print("<a href='adminuser/bbsUserAdmin.jsp'>会员管理</a>||");
out.print("<a href='bankuai/model_index.jsp'>版块管理");
%>
</td>
<td width="50%"><marquee direction="left" scrollamount="2">论坛公告 修改乱码帖的简单方法,并招募志愿者(2007-4-9)</marquee></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td colspan="2" id="nav"> <img src="images/icon_nav.jpg" width="9" height="9" /> <a href="index.jsp">正大软件职业技术学院论坛</a> <img src="images/icon_barrow.jpg" width="12" height="6" /> 精华 </td>
</tr>
<tr>
<td height="25" colspan="2" id="online"> 总在线1人,其中技术支持上共有 0 位会员与 1 位客人.今日贴子 <span class="today">0</span> [<a href="#">显示详细列表</a>] </td>
</tr>
<tr>
<td height="25">
<img src="images/btn_fbht.jpg" alt="发表一个新主题" width="72" height="21" border="0" /></a></td>
<td align="right"><img src="images/icon_bz.jpg" width="15" height="16" align="absmiddle" /> 无版主</td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#F4F9FD">
<tr>
<td><strong>广播:</strong></td>
<td width="300" align="right"><span class="today"><strong><a href="index.jsp">首页</a></strong></span><strong> | 在线 | 事件 | 权限 | 管理</strong></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#B2D3FE" bgcolor="#B2D3FE">
<tr>
<td width="40" height="25" align="center" background="images/bg_tt.gif" bgcolor="#E4F1FA"><span class="menu_tt">状态</span></td>
<td align="center" background="images/bg_tt.gif" bgcolor="#F4F9FD"><span class="menu_tt">主题</span></td>
<td width="80" align="center" background="images/bg_tt.gif" bgcolor="#E4F1FA" class="menu_tt">作 者</td>
<td width="70" align="center" background="images/bg_tt.gif" bgcolor="#F4F9FD" class="menu_tt">回复</td>
<td width="200" align="center" background="images/bg_tt.gif" bgcolor="#E4F1FA" class="menu_tt">发表时间</td>
<td width="70" align="center" background="images/bg_tt.gif" bgcolor="#F4F9FD" class="menu_tt">修改</td>
<td width="70" align="center" background="images/bg_tt.gif" bgcolor="#F4F9FD" class="menu_tt">删除</td>
</tr>
<% //String list_sql="select * from talk where model_id2='"+lid+"'";%>
<%
List view_all1=null;
try{
view_all1=DAOFactory.getNoteDAOInstance().jinghuaAll();
}catch(Exception e){}
Iterator iter = view_all1.iterator() ;
while(iter.hasNext())
{
Note note = (Note)iter.next() ;
int talk_id=note.getTalk_id();
String title = note.getTitle();
String username = note.getUsername();
String data_time = note.getData_time();
int model_id2= note.getModel_id2();
//new String(keyword.getBytes("iso-8859-1"));
//ResultSet rs=list.eQ("select * from answer=");
%>
<tr>
<td height="25" align="center" bgcolor="#E4F1FA">
<%
String ss=null;
String make=note.getMake();
if(make.equals("j"))
ss="<img src='images/tl_jh.jpg' width='17' height='16' />";
%>
<%=ss %>
</td>
<td bgcolor="#E4F1FA" id="list_zt"><font color="#ff0000"> </font><a href="content.jsp?cid=<%=talk_id%>&l_m_name2=<%=m_name2%>&m_id=<%=model_id2%>"> <%=title%></a> </td>
<td align="center" bgcolor="#E4F1FA"><%=username%></td>
<td align="center" bgcolor="#F4F9FD"><%=DAOFactory.getNoteDAOInstance().query_count(talk_id)%></td>
<td align="center" bgcolor="#E4F1FA"><%=data_time %> </td>
<td align="center" bgcolor="#E4F1FA"><a href="Talk_ed.jsp?talk_id=<%=talk_id %>">修改</a> </td>
<td align="center" bgcolor="#E4F1FA"><a href="list_del.jsp?talk_id=<%=talk_id %>">删除</a> </td>
</tr>
<%}%>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="40"><form id="form2" name="form2" method="post" action="#">
快速搜索:
<label>
<input name="keyword" type="text" size="20" />
</label>
<input type=submit value="查询">
</form>
</td>
<td align="right"><br></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="24" background="images/bg_tt.gif"> <span class="menu_tt">-=> 论坛图例 </span></td>
</tr>
<tr>
<td height="40" bgcolor="#F4F9FD"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/tl_kf.jpg" width="16" height="11" /> 开放的主题</td>
<td><img src="images/tl_rt.jpg" width="16" height="17" /> 回复超过10帖</td>
<td><img src="images/tl_sd.jpg" width="16" height="14" /> 锁定的主题</td>
<td><img src="images/tl_gd.jpg" width="15" height="17" /> 固顶的主题</td>
<td><img src="images/tl_zgd.gif" width="17" height="17" /> 总固顶的主题</td>
<td><img src="images/tl_jh.jpg" width="17" height="16" /> 精华帖子</td>
<td><img src="images/tl_tp.gif" width="13" height="15" /> 投票帖子</td>
</tr>
</table></td>
</tr>
<tr>
<td height="20"> </td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="bottom">
<tr>
<td><p>版权所有©重庆正大软件职业技术学院<br />
<br />
技术支持:重庆正大软件职业技术学院网络技术系 渝ICP备07001号 </p></td>
<td width="80"><img src="images/bg_logo.gif" width="58" height="58" /></td>
</tr>
</table>
<%} %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -