This commit is contained in:
FJY
2017-10-29 23:10:14 +08:00
parent 56ae828c97
commit 01602e09d9
30 changed files with 8564 additions and 511 deletions

View File

@@ -55,13 +55,10 @@
<!-- 判断是否是管理员 -->
<%
if (flag == true) {
%>
<jsp:forward page="../manage_user.jsp" />
<%
response.setHeader("refresh","0;url=../manage_user.jsp");
} else if (flag == false) {
out.println(
"<script language=javascript>alert('你不是管理员,不能访问此版块');window.location.href='../mainframe.jsp'</script>");
return;
out.println("<script language=javascript>alert('你不是管理员,不能访问此版块')</script>");
response.setHeader("refresh","1;url=../mainframe.jsp");
}
%>
</body>