📄 left.jsp
字号:
<%@page contentType="text/html;charset=GBK"%>
<%@page import="net.ijsp.news.news.*,
java.util.*"%>
<%
Factory factory = Factory.getInstance();
BoardFactory boardFactory = factory.getBoardFactory();
Iterator iterator = boardFactory.list();
%>
<html>
<style type=text/css>
body { background:#799AE1; margin:0px; font:9pt 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<table width=100% cellpadding=0 cellspacing=0 border=0 align=left>
<tr><td valign=top>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=../images/title_bg_quit.gif >
<span>新闻发布</span>
</td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="../images/admin_left_1.gif" id=menuTitle1>
<span>新闻栏目</span>
</td>
</tr>
<tr>
<td style="display:" id='submenu0'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<%
while(iterator.hasNext()) {
Board board = (Board)iterator.next();
out.println("<tr><td height=20>");
if(board.getOrders()==0) {
out.println("<img src='../images/plus.gif'>");
out.println(board.getBoardname());
}else{
out.println(" <img src='../images/nofollow.gif'>");
out.println("<a href=list.jsp?id="+ board.getID() +" target=main>");
out.println(board.getBoardname());
out.println("</a>");
}
out.println("</td></tr>");
}
%>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr><td height=20></td></tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="../images/admin_left_3.gif" id=menuTitle1>
<span>用户信息</span>
</td>
</tr>
<tr>
<td style="display:" id='submenu0'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr><td height=20><br>
<a href="resetpass.jsp" target=main>修改密码</a><br><br>
<a href="logout.jsp" target=main>退出</a><br><br>
</td></tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr><td height=20></td></tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="../images/admin_left_9.gif" id=menuTitle1>
<span>其他信息</span>
</td>
</tr>
<tr>
<td style="display:" id='submenu0'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr><td height=20>
<br>
<a href="http://www.ijsp.net/" target=_blank>版权所有:<BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -