You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 lines
4.5 KiB

<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
<%@ page import="com.bean.*" %>
<jsp:useBean id="lb" scope="page" class="com.bean.AdminBean" />
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String dir=sn.getDir();
%>
<HTML><HEAD><TITLE><3E><>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
<STYLE type=text/css>
BODY {
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
}
.STYLE1 {color: #ECE9D8}
</STYLE>
</HEAD>
<%
String message = (String)request.getAttribute("message");
if(message == null){
message = "";
}
if (!message.trim().equals("")){
out.println("<script language='javascript'>");
out.println("alert('"+message+"');");
out.println("</script>");
}
request.removeAttribute("message");
%>
<%
String username=(String)session.getAttribute("user");
if(username==null){
response.sendRedirect(path+"/error.jsp");
}
else{
List list=(List)session.getAttribute("list");
List list2=lb.getAllManager();
%>
<script type="text/javascript">
function checkUser33()
{
if(document.form1.username.value=="")
{
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD> ");
document.form1.username.focus();
return false;
}
if(document.form1.password.value=="")
{
alert(" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>½<EFBFBD><C2BD><EFBFBD>룡");
document.form1.password.focus();
return false;
}
}
</script>
<BODY oncontextmenu="return false;" onselectstart="return false;" leftMargin=0 background=<%=basePath %><%=dir %>/images/MainBg.gif topMargin=0 scroll=no marginheight="0" marginwidth="0">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align="left" vAlign=top >
<form action="<%=basePath %>/Admin.do?method=manager" method="post" name="form1" onSubmit="return checkUser33()">
<TABLE width="100%" border=0 align="center" cellPadding=3 cellSpacing=1 class=tablewidth>
<TBODY>
<TR align="center" class=head>
<TD height=23><3E><><EFBFBD><EFBFBD></TD>
<TD><3E><><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1></TD>
<TD><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1></TD>
<TD><3E><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD></TD>
<TD>ɾ<><C9BE></TD>
</TR>
<%
if(list2.size()!=0){
for(int i = 0; i<list2.size(); i++){
List list3 = (List)list2.get(i);
%>
<TR onClick=OnclikeTable(this) align="center" bgColor=#ffffff>
<TD width="30" id=map><%=i+1 %></TD>
<TD id=map><%=list3.get(1).toString() %></TD>
<TD id=map><%=list3.get(2).toString() %></TD>
<TD id=map><%=list3.get(5).toString() %></TD>
<TD id=map><%if(Integer.parseInt(list3.get(0).toString())==1){out.print("ɾ<><C9BE>");}else{%><a href="<%=basePath %>Admin.do?method=delm&id=<%=list3.get(0).toString()%>">ɾ<><C9BE></a><%} %></TD>
</TR>
<%}}else{%>
<TR align="center" bgColor=#ffffff>
<TD colspan=8 align=center id=map><3E><>ǰ<EFBFBD><C7B0>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>ӹ<EFBFBD><D3B9><EFBFBD>Ա</TD>
</TR>
<%} %>
</TBODY>
</TABLE><br>
<TABLE width="40%" border=0 align="center" cellPadding=3 cellSpacing=1>
<TR><TD>
<TABLE width="100%" border=0 align="center" cellPadding=3 cellSpacing=1 class=tablewidth>
<TBODY>
<TR align="center" class=head>
<TD height=23 colspan="2"><3E><><EFBFBD><EFBFBD>/<2F>޸Ĺ<DEB8><C4B9><EFBFBD>Ա</TD>
</TR>
<TR align="center" bgColor=#ffffff>
<TD width="40%" align="right" id=map><3E><><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD></TD>
<TD width="60%" align="left" id=map><input type="text" name="username" value="<%=request.getAttribute("username")==null?"":request.getAttribute("username")%>" maxlength="10" size="18" class=input onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
onkeyup="value=value.replace(/[\W]/g,'')"/>&nbsp;<3B><>ĸ<EFBFBD><C4B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>6-10λ</TD>
</TR>
<TR align="center" bgColor=#ffffff>
<TD align="right" id=map><3E><>¼<EFBFBD><C2BC><EFBFBD>룺</TD>
<TD align="left" id=map><input type="password" name="password" maxlength="16" size="18" class=input onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
onkeyup="value=value.replace(/[\W]/g,'')"/>&nbsp;<3B><>ĸ<EFBFBD><C4B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>6-16λ</TD>
</TR>
<TR align="center" bgColor=#ffffff>
<TD colspan="2" align="center" id=map><input type="submit" value="ȷ<><C8B7>">&nbsp;&nbsp;<input type="reset" value="<22><><EFBFBD><EFBFBD>"></TD>
</TR>
</TBODY>
</TABLE>
</TD></TR></table><br>
</form>
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
<%} %>
</HTML>