⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin.jsp

📁 用户登陆的jsp 区分两种用户 用户登陆的jsp 区分两种用户
💻 JSP
字号:
<%@ page contentType="text/html; charset=gbk" language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<script src="/m/js/tree.js"></script>

<!-- TemplateBeginEditable name="doctitle" -->
<title>安全监察系统-系统管理职能</title>
<!-- TemplateEndEditable --> 

<link rel="stylesheet" rev="stylesheet" href="../css/main.css" type="text/css" media="all" />
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<jsp:useBean id="jdbcbean" class="manage.JdbcBean" />


<body bgcolor="#FFFFFF">
<%!String check="";%>
<%
  check=(String)session.getAttribute("login");
  if(check==null)
    response.sendRedirect("/m/check.jsp");
%>
<table width="770" height="423" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
	<tr>
		<td height="421" bgcolor="#FFFFFF"><table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					
          <td width="359" height="39"><img src="../images/logo.GIF" width="322" height="69"></td>
					<td width="411" align="right" bgcolor="#FFFFFF">&nbsp;</td>
				</tr>
				<tr>
					
          <td colspan="2"><img src="../images/TOPBAR.GIF" width="770" height="69"></td>
				</tr>
				<tr>
					
          <td colspan="2">&nbsp; </td>
				</tr>
			</table>
				<table width="770" height="290" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						
          <td width="167" height="290" align="left" valign="top" bgcolor="#FF9900"> 
            <div align="center">
								<br>
								<p><a href="/bishe/index.jsp">返回登录</a></p>
		      <p> 
                <script >

var tree=new Tree("tree","系统管理职能","");
tree.root.addChild(
(a1=new TreeItem("系统管理","document.getElementById('img' + a1.id).click();")),
(a2=new TreeItem("安全域管理","document.getElementById('img' + a2.id).click();")),
(a3=new TreeItem("事件管理","document.getElementById('img' + a3.id).click();")),
(a4=new TreeItem("策略管理","document.getElementById('img' + a4.id).click();")),
(a5=new TreeItem("应急管理","document.getElementById('img' + a5.id).click();")),
(a6=new TreeItem("值班管理","document.getElementById('img' + a6.id).click();")),
(a7=new TreeItem("风险管理","document.getElementById('img' + a7.id).click();")),
(a8=new TreeItem("安全态势","document.getElementById('img' + a8.id).click();"))
);

a1.addChild(
 (a11=new TreeItem("数据库维护","useApp('')")),
  (a12=new TreeItem("用户维护","useApp('')"))
);


tree.show();

document.getElementById('img' + a1.id).click();

</script>
              </p>
              <p>&nbsp; </p>
              <p>&nbsp;</p>
								
              <p>&nbsp;</p>
								<br>
			</div></td>
						<td width="603" align="center" valign="top">
							<table width="100%" height="148%" border="0" cellpadding="3" cellspacing="1" bgcolor="#666666">
								<tr>
								<td width="488" height="288" align="center" valign="top" bgcolor="#FFCC33"><br>
           </td>
								</tr>
						  </table>
						</td>
					</tr>
			</table></td>
	</tr>
</table>
</body>
</html>

<script>
function useApp(headUrl) {
  location.href=headUrl;
 }
</script>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -