【JSP开源代码栏目提醒】:网学会员,鉴于大家对JSP开源代码十分关注,论文会员在此为大家搜集整理了“adminSelect.jsp”一文,供大家参考学习!
<%@ page contentType="text/html; charset=gb2312"%>
<%@ page import="com.domain.UserForm"%>
<%@ page import="com.tool.Chinese"%>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查询管理员</title>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {font-size: 11pt}
-->
</style>
</head>
<script Language="JavaScript">
function projectDelete(date){
if(confirm("是否删除编号为["+date+"]这一组数据吗?"))
window.location="userDelete.do?id="+date;
}
</script>
<body>
<table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td> </td>
</tr>
</table>
<table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2%" height="28"> </td>
<td width="9%" background="images/circle.jpg"> </td>
<td width="89%" bgcolor="#FFFFFF"><span class="style1">查询管理员</span></td>
</tr>
<tr style="line-height:2px">
<td width="2%" height="5"> </td>
<td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
</tr>
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="454" colspan="3"><p> </p>
<table width="66%" height="54" border="1" align="center" cellpadding="0" cellspacing="0">
<tr align="center" bgcolor="#FFCC00">
<td width="13%" height="25">管理员编号</td>
<td width="14%">管理员账号</td>
<td width="10%">操作</td>
</tr>
<%List list =(List)request.getAttribute("list");
for(int i=0;i<list.size();i++){
UserForm form=(UserForm)list.get(i);
%>
<tr align="center">
<td height="27"><%=form.getUser_id()%></td>
<td><%=form.getUser_name()%></td>
<td><a href="javascript:projectDelete('<%=form.getUser_id()%>')">删除管理员</a></td></tr>
<%}%>
</table>
<p> </p>
<table width="65%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="71%"> </td>
<td width="29%"><p align="center"><a href="adminCountID.do">添加管理员</p> </td>
</tr>
</table>
<p></p>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
上一篇:
adminsearchteacher.jsp
下一篇:
经济酒店发展:China''s economy hotel market development strategies