top.jsp

来自「本代码是一个权限管理系统源代码」· JSP 代码 · 共 67 行

JSP
67
字号
<%@ page contentType="text/html; charset=gb2312" language="java"%>
<%@ page import="com.seavision.PermissionManage.vo.UserLoginVO"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>top</title>
<link href="../../resources/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
#Layer1 {
	position:absolute;
	left:0px;
	top:0px;
	width:400px;
	height:78px;
	z-index:1;
	background-image: url(../../resources/images/logo_1.jpg);
	background-repeat: no-repeat;
}
.logo2{
	background-image: url(../../resources/images/logo_2.jpg);
	background-repeat: no-repeat;
	background-position: right -1px;
}
.toplogo{
	text-align: right;
	font-size: 13px;
	font-weight: bold;
	color: #FFFFFF;
	padding-right: 10px;
	margin-bottom: 5px;
}
-->
</style>
</head>

<body>
<%
	UserLoginVO userLoginVO = (UserLoginVO)session.getAttribute("userLoginVO");
	String state = "";
	if(userLoginVO.getMk()==2)state="单位管理员";
%>
<table width="100%" height="75" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="79" align="right" valign="top" background="../../resources/images/bodybg.gif">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="31%"><img src="../../resources/images/logo_1.jpg" width="311" height="80" /></td>
              <td width="69%" valign="bottom" class="logo2"><div class="toplogo">用户:<%=userLoginVO.getUserName()%>&nbsp;级别:<%=state%></div></td>
            </tr>
          </table>
          </td>
      </tr>
      <tr>
        <td height="1" background="../../resources/images/bian.jpg">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>


⌨️ 快捷键说明

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