📄 top.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="css/css.css">
<script language="javascript1.2" src="js/time.js"></script>
<script language="javascript1.2" src="js/openwin.js"></script>
<title>人事管理系统</title>
</head>
<body bgcolor="#eeeeee" topmargin="0" leftmargin="5" onLoad="go()">
<%
String oabusyname,oabusyusername,oabusyuserdept,oabusyuserlevel;
oabusyname= (String) session.getValue("oabusyname");
oabusyusername= (String) session.getValue("oabusyusername");
oabusyuserdept= (String) session.getValue("oabusyuserdept");
oabusyuserlevel= (String) session.getValue("oabusyuserlevel");
if(oabusyusername==""){
response.sendRedirect("login.jsp");
}
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width=155 height=60><img src="IMAGES/system.gif" width=155 height=60 border=0 alt="本系统图标"></td>
<td width="100%" align=top>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height=20> </td><td width=20 height=20><img src="IMAGES/CORN.GIF" width=20 height=20 border=0></td><td width="80%" bgcolor="#89adef">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<center>
<td height=20 width=50 align=center> <img src="IMAGES/menu_home.gif" width=16 height=16 border=0><a href="left.jsp" target="contents">管理</a>
</td>
<td height=20 width=100 align=center> <img src="IMAGES/menu_admin.gif" width=16 height=16 border=0><a href="userinf.jsp" target="contents">用户维护</a>
</td>
<td height=20 width=50 align=center> <img src="IMAGES/menu_logout.gif" width=16 height=16 border=0><a href="logout.jsp" target="_top">退出</a>
</td>
</tr>
</center>
</table>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height=5></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" align=center>部门:<%=oabusyuserdept%></td>
<td width="20%" align=center>姓名:<%=oabusyname%></td>
<td width="20%" align=center>职位:<%=oabusyuserlevel%></td>
<td width="20%" align=center>
<script language="JavaScript">
<!---
today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray("<font color=RED>星期日","<font color=black>星期一","<font color=black>星期二","<font color=black>星期三","<font color=black>星期四","<font color=black>星期五","<font color=GREEN>星期六");
document.write(today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日",d[today.getDay()+1]);
//-->
</script>
</td>
<td width="20%" align=center>
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height=5></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height=1 bgcolor=red width=100%></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -