📄 left.jsp
字号:
<%@ page language="java" 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>
<head>
<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>
</head>
<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<left>
<!--上传栏目 -->
<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 background=../images/admin_left_4.gif >
<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>
<li><a href="uploadpic.jsp" target=main>上传风采图片</a><br><br></li>
<li><a href="uploadfile.jsp" target=main>上传下载文件</a><br><br></li>
</td></tr>
</table>
</div>
</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>
<li><a href="resetpass.jsp" target=main>修改密码</a><br></li>
</td></tr>
<tr><td height=20><br>
<li><a href="index.jsp" target=all>重新登陆</a><br><br></li>
</td></tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr><td height=20></td></tr>
</table>
<!--/用户信息 -->
</left>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -