admin_manager.jsp
上传用户:yunfeng252
上传日期:2022-07-23
资源大小:12403k
文件大小:5k
- <%@ page contentType="text/html;charset=UTF-8"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
- <html>
- <head>
- <title>网站用户设置</title>
- <meta http-equiv="Content-Type" content="text/html;charset=gb2312">
- <meta http-equiv="Content-Language" Content="zh-CN">
- <meta name="Keywords" Content="">
- <meta name="Description" Content="">
- <link type="text/css" rel="stylesheet" href="/yf_article/Style/Style.css">
- <Script Language="JavaScript" src="Include/Function.js"></Script>
- <Script Language="JavaScript" src="Include/PopText.js"></Script>
- <script type="text/javascript">
- function validate(){
- if(document.Admin_Manager.Username.value==""){
- alert("账号不能空!");
- return false;
- }if(document.Admin_Manager.Password.value==""){
- alert("密码不能空!");
- return false;
- }
- }
- </script>
- </head>
- <body leftmargin="10" topmargin="10" bgcolor="#FFFFFF">
- <form name="Admin_Manager" method="post" action="admin.do?method=admin_manage" onsubmit="return validate();">
- <table align="center" border="0" cellpadding="0" cellspacing="1" width="600" height="142" bgcolor="#CEEFE7">
- <tr>
- <td width="600" height="30" background="Images/Admin_T_Bg1.gif" align="center" colspan="4"><font class="BlackS12"><b>网 站 用 户 管 理</b></font></td>
- </tr>
- <tr>
- <td width="600" height="10" bgcolor="#FFFFFF" colspan="4"></td>
- </tr>
- <tr>
- <td width="80" height="28" bgcolor="#FFFFFF" align="center"><font class="BlackS12">用户账号</font></td>
- <td width="218" height="28" bgcolor="#FFFFFF"> <input type="text" name="Username" Maxlength="20" value="" class="Admin_InputText" style="width:170;background-color:#EAFBF5;"></td>
- <td width="218" height="28" bgcolor="#FFFFFF"> <font class="BlackS12"><input type="radio" name="operate" value="add" id="LabelMa_OptionA" checked="true"><label for="LabelMa_OptionA">创建账号</label> </font></td>
- </tr>
- <tr>
- <td width="80" height="28" bgcolor="#FFFFFF" align="center"><font class="BlackS12">登录密码</font></td>
- <td width="218" height="28" bgcolor="#FFFFFF"> <input type="password" name="Password" Maxlength="20" size="20" value class="Admin_InputText" style="width:170;background-color:#EAFBF5;"></td>
- <td width="218" height="28" bgcolor="#FFFFFF"> <font class="BlackS12"><input type="radio" name="operate" value="update" id="LabelMa_Purview1"><label for="LabelMa_OptionE">修改密码</label> </font></td>
- </tr>
- <tr>
- <td width="80" height="38" bgcolor="#FFFFFF"></td>
- <td width="518" height="38" bgcolor="#FFFFFF" colspan="3"> <input type="hidden" name="GuComm" value="AdMo"><input type="submit" name="Submit" value="" class="Admin_Button_ok"> <input type="Reset" value="" name="Admin_Button_Reset" class="Admin_Button_Reset"> </td>
- </tr>
- </table>
- </form>
- <br>
- <form name="" method="post" action="admin.do?method=delete">
- <table align="center" border="0" cellpadding="0" cellspacing="1" width="600" height="10" bgcolor="#CEEFE7">
- <tr>
- <td width="41" height="26" bgcolor="#EAFBF5" align="center"><font class="BlackS12">编号</font></td>
- <td width="38" height="26" bgcolor="#EAFBF5" align="center"><font class="BlackS12">选择</font></td>
- <td width="140" height="26" bgcolor="#EAFBF5" align="center"><font class="BlackS12">用户账号</font></td>
- <td width="76" height="26" bgcolor="#EAFBF5" align="center"><font class="BlackS12">创建日期</font></td>
- <td width="76" height="26" bgcolor="#EAFBF5" align="center"><font class="BlackS12">最后登录</font></td>
- <td width="108" height="26" bgcolor="#EAFBF5" align="center"><font class="BlackS12">最后登录IP地址</font></td>
- </tr>
- <c:forEach items="${admin_list}" var="admin">
- <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#EAFBF5'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
- <td width="41" height="26" align="center"><font class="BlackS12">${admin.id }</font></td>
- <td width="38" height="26" align="center"><input type="checkbox" name="ManagerID" value="${admin.id }"></td>
- <td width="140" height="26"> <font class="BlackV12">${admin.username }</font></td>
- <td width="76" height="26" align="center"><font class="BlackS12">${admin.add_date }</font></td>
- <td width="68" height="26" align="center"><font class="BlackS12">${admin.last_login_date }</font></td>
- <td width="76" height="26" align="center"><font class="BlackS12">${admin.last_login_ip }</font></td>
- </tr>
- </c:forEach>
- <tr>
- <td width="600" height="38" bgcolor="#FFFFFF" colspan="8" align="right"><input type="hidden" name="GuComm" value="De"><input type="submit" name="Submit" value="" class="Admin_Button_Delete"> </td>
- </tr>
- </table>
- </form>
- <br>
- </body>
- </html>