<%@ page contentType="text/html; charset=gb2312" language="java"
	import="java.sql.*" errorPage=""%>
<html>
	<head>
		<title>网络在线考试——后台管理</title>
		<link href="../CSS/style.css" rel="stylesheet">
		<script language="javascript">
function CheckAll(elementsA, elementsB) {
	for (i = 0; i < elementsA.length; i++) {
		elementsA[i].checked = true;
	}
	if (elementsB.checked == false) {
		for (j = 0; j < elementsA.length; j++) {
			elementsA[j].checked = false;
		}
	}
}
//判断用户是否选择了要删除的记录，如果是，则提示“是否删除”；否则提示“请选择要删除的记录”
function checkdel(delid, formname) {
	var flag = false;
	for (i = 0; i < delid.length; i++) {
		if (delid[i].checked) {
			flag = true;
			break;
		}
	}
	if (!flag) {
		alert("请选择要删除的记录！");
		return false;
	} else {
		if (confirm("确定要删除吗？")) {
			formname.submit();
		}
	}
}
</script>

	</head>
	<body>
		<%@ include file="top.jsp"%>
		<table width="778" border="0" align="center" cellspacing="0"
			cellpadding="0">
			<tr>
				<td width="176" align="center" valign="top" bgcolor="#FFFFFF"><%@ include
						file="left.jsp"%></td>
				<td width="602" valign="top" bgcolor="#FFFFFF">
					<table width="99%" height="487" border="0" cellpadding="0"
						cellspacing="0" align="right">
						<tr>
							<td height="30" bgcolor="#EEEEEE" class="tableBorder_thin">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="78%" class="word_grey">
											&nbsp;当前位置：
											<span class="word_darkGrey">考生信息管理 &gt;&gt;&gt;</span>
										</td>
										<td align="right">
											<img src="../Images/m_ico1.gif" width="5" height="9">
											&nbsp;当前管理员：<%=session.getAttribute("manager")%>&nbsp;
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td align="center" valign="top">
								<html:form action="/manage/student.do?action=studentDel"
									method="post">
&nbsp;
<table width="98%"  border="0" cellpadding="0" cellspacing="0" class="table">
										<tr align="center" bgcolor="#A8D8FC">
											<td width="19%" height="26" bgcolor="#B2D6F1">
												准考证号
											</td>
											<td width="10%" bgcolor="#B2D6F1">
												考生姓名
											</td>
											<td width="7%" bgcolor="#B2D6F1">
												性别
											</td>
											<td width="26%" bgcolor="#B2D6F1">
												加入时间
											</td>
											<td width="13%" bgcolor="#B2D6F1">
												密码问题
											</td>
											<td width="18%" bgcolor="#B2D6F1">
												身份证号
											</td>
											
										</tr>
										<logic:iterate id="student" name="studentQuery"
											type="com.mingrisoft.actionForm.StudentForm" scope="request">
											<tr>
												<td align="center">
													<bean:write name="student" property="ID" filter="true" />
												</td>
												<td style="padding: 5px;">
													<bean:write name="student" property="name" filter="true" />
												</td>
												<td align="center">
													<bean:write name="student" property="sex" filter="true" />
												</td>
												<td align="center">
													<bean:write name="student" property="joinTime"
														format="yyyy-MM-dd HH:mm:ss" filter="true" />
												</td>
												<td align="center">
													<bean:write name="student" property="question"
														filter="true" />
												</td>
												<td align="center">
													<bean:write name="student" property="cardNo" filter="true" />
												</td>
												
											</tr>
										</logic:iterate>
									</table>
									
								</html:form>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<%@ include file="copyright.jsp"%>
	</body>
</html>
