top.jsp

来自「学生学籍管理系统sql 学生学籍管理系统sql」· JSP 代码 · 共 65 行

JSP
65
字号
<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="UTF-8"%>
<%
	String isLogin=(String)session.getAttribute("admin");
	if(isLogin==null || !isLogin.equals("ok")){
		out.println("你没有权限访问此页面!");
		return;
	}
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>top</title>
<script language="javascript">
<!--
	function OverMouse(img,id)
	{
		if(img.src!="images/an"+id+".gif")
		img.src="images/an"+id+".gif";
		else
		img.src="images/an"+id+".gif";
	}
	function OutMouse(img,id)
	{
		if(img.src="images/an"+id+".gif")
			img.src="images/an"+id+".gif";	
	}
//-->
</script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" style="border-collapse:collapse ">
  <tr>
    <td width="331" height="33" valign="top"><img src="images/log.gif" width="355" height="102"></td>
    <td height="33" valign="bottom" ><div align="right"><img src="images/right.gif" width="445" height="102"></div></td>
  </tr>
  <tr>
    <td width="331" height="33" valign="top" background="images/bg.gif">&nbsp;</td>
    <td height="33" valign="top" background="images/bg.gif" align="right" >
	<table width="63%" height="75%"  border="0" align="right" cellpadding="0" cellspacing="0" style=" border-collapse:collapse">
      <tr>
        <td >&nbsp;</td>
        <td width="88"  height="33"><a href="javascript:history.go(-1);"><img src="images/an1.gif" name="button3" border="0" id="button3" onMouseOver="OverMouse(this,2);" onMouseOut="OutMouse(this,1);"  height="33"></a></td>
        <td width="62" ><a href="javascript:history.back(1);"><img src="images/an3.gif" name="button5"  border="0" id="button5" onMouseOver="OverMouse(this,4);" onMouseOut="OutMouse(this,3);"  height="33"></a></td>
        <td width="62" ><a href="#" onClick="parent.frames.location.reload();"><img src="images/an5.gif" name="button7" border="0" id="button7" onMouseOver="OverMouse(this,6);" onMouseOut="OutMouse(this,5);"  height="33"></a></td>
        <td width="63" ><a href="#"><img src="images/an7.gif" name="button9" border="0" id="button9" onMouseOver="OverMouse(this,8);" onMouseOut="OutMouse(this,7);"  height="33"></a></td>
        <td width="93" ><a  href="#" onClick="parent.frames.location.href='login.html'"><img src="images/an9.gif" name="button11" border="0" id="button11" onMouseOver="OverMouse(this,10);" onMouseOut="OutMouse(this,9);"  height="33"></a></td>
		<td width="30"></td>
        </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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