📄 admin_index.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GBK"
pageEncoding="GBK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>Insert title here</title>
</head>
<body>
<!-- 载入页头 -->
<jsp:include page="admin_include.jsp"></jsp:include>
<%
String username = "";
int permission = 0;
if ((null != session.getAttribute("adminlogin"))
&& (null != session.getAttribute("permission"))) {
username = session.getAttribute("adminlogin").toString();
permission = Integer.parseInt(session
.getAttribute("permission").toString());
%>
<a href="admin_all_uinfo.jsp">管理用户信息</a>
<a href="admin_all_bbs.jsp">管理帖子信息</a>
<%
} else {
response.sendRedirect("../error.jsp");
}
%>
<!-- 载入页尾 -->
<jsp:include page="../include/foot.jsp"></jsp:include>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -