📄 left.jsp
字号:
<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="GBK"%>
<%
String isLogin=(String)session.getAttribute("admin");
if(isLogin==null || !isLogin.equals("ok")){
out.println("你没有权限访问此页面!");
return;
}
String type=request.getParameter("type");
String user=request.getParameter("user");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<title>Menu</title>
<head>
<base target="fraMain">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css.css" type="text/css" media="all" />
<style type="text/css">
<!--
-->
</style>
<script language="javascript">
function showhide_detail(objname)
{
var obj_content =eval(objname);
if(obj_content.style.display=="none")
obj_content.style.display="block";
else
obj_content.style.display="none";
}
function show_allmenu(obj)
{
var obj_content1 =eval(obj);
if(obj_content1.style.display=="none")
obj_content1.style.display="block";
else
obj_content1.style.display="none";
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="90%" border="1" cellpadding="0" cellspacing="0" bordercolor="#4881B7">
<tr><td>
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="maintitle" colspan="2" align="left">菜单控制</td>
</tr>
<tr onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'" >
<td width="6%" bgcolor="#FFFFFF"><li></td>
<td width="94%" bgcolor="#FFFFFF" align="left"><a href="main.jsp" target="fraMain">返回管理首页</a></td>
</tr>
<tr onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td bgcolor="#FFFFFF" class="TD_LEFT_Item1"><li></td>
<td bgcolor="#FFFFFF" align="left">
<span onClick="show_allmenu('allmenu')" style="cursor:hand">展开/关闭菜单项</span> </td>
</tr>
</table>
<br>
<span id="allmenu" style="display:block; ">
<%
if(type.equals("ismanage"))
{
%>
<table width="100%" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF" class="borderwrap">
<tr>
<td colspan="2" align="left" class="maintitle" style="cursor:hand" onClick="javascript:showhide_detail('detailss0');"> 档案管理</td>
</tr>
<tr><td>
<table id="detailss0">
<tr bgcolor="#FFFFFF" style="" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td width="5%"><li></td>
<td width="95%" align="left">
<a href="ArticleList.jsp">档案列表</a></td>
</tr>
<tr bgcolor="#FFFFFF" style="" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td width="5%"><li></td>
<td width="95%" align="left">
<a href="ArticleEdit.jsp?action=add&id=0">添加档案</a></td>
</tr>
</table>
</td></tr>
</table>
<br>
<%} %>
<table width="100%" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF" class="borderwrap">
<tr>
<td colspan="2" align="left" class="maintitle" style="cursor:hand" onClick="javascript:showhide_detail('detailss1');"> 档案查询</td>
</tr>
<tr><td>
<table id="detailss1">
<tr bgcolor="#FFFFFF" style="" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td width="5%"><li></td>
<td width="95%" align="left">
<a href="Search.jsp">查询档案</a></td>
</tr>
</table>
</td></tr>
</table>
<br>
<%
if(type.equals("ismanage"))
{
%>
<table width="100%" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF" class="borderwrap">
<tr>
<td colspan="2" align="left" class="maintitle" style="cursor:hand" onClick="javascript:showhide_detail('detailss2');"> 用户管理</td>
</tr>
<tr><td>
<table id="detailss2">
<tr bgcolor="#FFFFFF" style="" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td width="5%"><li></td>
<td width="95%" align="left">
<a href="UserList.jsp?page=1">用户列表</a></td>
</tr>
<tr bgcolor="#FFFFFF" style="" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td width="5%"><li></td>
<td width="95%" align="left">
<a href="UserEdit.jsp?action=add&id=a">添加用户</a></td>
</tr>
</table>
</td></tr>
</table>
<br>
<%} %>
</span>
<table cellspacing="0" class="borderwrap" width="100%" cellpadding="0">
<tr>
<td class="maintitle" colspan="2" align="left">系统功能面板</td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td width="6%" class="TD_LEFT_Item1"><li></td>
<td width="94%" align="left">
<a href="changePsd.jsp?user=<%=user%>">修改密码</a> </td>
<tr bgcolor="#FFFFFF" onMouseOver="this.bgColor='#D3E5EE'" onMouseOut="this.bgColor='#F8FCFB'">
<td class="TD_LEFT_Item1"><li></td>
<td align="left">
<a href="logout.jsp" target="_top">退出</a></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -