manageView.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:4k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=GB2312"%>
- <%@ page import="java.sql.*,java.lang.*"%>
- <jsp:useBean id="managerBean" class="MyFly.Bean.managerBean" scope="request"/>
- <jsp:useBean id="managerBeans" class="MyFly.Bean.managerBeans" scope="request"/>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
- }
- TD {
- FONT: 12px 宋体
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .style1 {color: #FF0000}
- </STYLE>
- <html>
- <head>
- <title>网站管理员管理</title>
- <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
- </head>
- <body>
- <p> </p>
- <table width="595" height="2%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="33" align="center"><span class="style1">网站管理员管理</span></td>
- </tr>
- </table>
- <table width="595" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <tr valign="middle" bgcolor="#799ae1">
- <td width="220" height="29" align="center"><font color="#FFFFFF">管理员登陆名</font></td>
- <td width="221" align="center"><font color="#FFFFFF">密码</font></td>
- <td align="center"><font color="#FFFFFF">编辑</font></td>
- <td align="center"><font color="#FFFFFF">删除</font></td>
- </tr>
- <%
- managerBeans.getQuery("-1");
- for(int i=0; i<managerBeans.getItems(); i++)
- {
- %>
- <tr>
- <td height="20" align="center"> <%=managerBeans.getName(i)%></td>
- <td align="center"> <%=managerBeans.getPassword(i)%></a></td>
- <td width="60" align="center"><a href="manageEdit.jsp?index=<%=managerBeans.getManagerID(i)%>"><img src="../images/admin/edit.gif" alt="编辑" width="19" height="18" border="0"></a></td>
- <td width="60" align="center"><a href="manageDel.jsp?index=<%=managerBeans.getManagerID(i)%>"><img src="../images/admin/del.gif" alt="删除" width="16" height="16" border="0"></a></td>
- </tr>
- <%
- }
- %>
- </table>
- <table width="595" height="7%" border="3" align="center" cellpadding="0" cellspacing="0" bordercolor="#ffffff">
- <form action="manageAdd.jsp" method=post name="column" onSubmit = "">
- <tr >
- <td width="899" height="196" align="center"><p> </p>
- <table width="100%" height="163" border="1" cellspacing="0">
- <tr valign="middle">
- <td width="435" height="33" align="center"> 添加新管理员</td>
- </tr>
- <tr valign="middle">
- <td height="39" align="center"><font color="#000000">管理员名称</font>:
- <input name="name" type="text" size="20" height="16"></td>
- </tr>
- <tr>
- <td height="27"><div align="center"><font color="#000000">
- 管理员密码:
- <input name="password" type="password" value="" size="20" height="16">
- </font></div></td>
- </tr>
- <tr align="center">
- <td><font color="#000000">
- <input type="submit" name="Submit" value="添加">
- </font></td>
- </tr>
- </table>
- </td>
- </tr>
- </form>
- </table>
- <p> </p>
- </body>
- </html>