center.jsp
来自「学生学籍管理系统sql 学生学籍管理系统sql」· JSP 代码 · 共 42 行
JSP
42 行
<%@ 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>
<title>Welcome</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<script>
<!--
var pic=new Array("images/toleft.gif","images/toleft2.gif","images//toright.gif","images/toright2.gif")
var leftorright='left';
function changeSize(){
top.fstMain.cols=(top.fstMain.cols=="200,10,*")?"0,10,*":"200,10,*";
if (leftorright=='left'){
document.all.a1.innerHTML="<img src=\"images/toright.gif\" onmouseover=\"this.src=pic[3]\" onmouseout=\"this.src=pic[2]\" onclick=\"changeSize()\"style=\"cursor:hand\" alt=\"显示列表\">";
leftorright='right';
}
else
{
document.all.a1.innerHTML="<img src=\"images/toleft.gif\" onmouseover=\"this.src=pic[1]\" onmouseout=\"this.src=pic[0]\" onclick=\"changeSize()\"style=\"cursor:hand\" alt=\"隐藏列表\">";
leftorright='left';
}
}
document.oncontextmenu="return false";
document.onselectstart="return false";
if (self == top)
location="index.php";
//-->
</script></head>
<body leftmargin=0 topmargin=0 scroll=no bgcolor=#fbfbfb style="border-right:1 solid #dddddd">
<table cellpadding=0 cellspacing=0 width=9 height=100%>
<tr><td id=a1>
<img src="images/toleft.gif" onmouseover="this.src='images/toleft2.gif'" onmouseout="this.src='images/toleft.gif'" onclick="changeSize()" style="cursor:hand" alt="隐藏列表" width="10" height="50">
</td></tr></table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?