📄 suppose.jsp
字号:
<%@ page language="java"
import="java.util.*,edu.yinhe.system.vo.*,edu.yinhe.system.common.GlobalNames"
pageEncoding="utf-8"%>
<%@ page buffer="16kb"%>
<jsp:directive.page import="edu.yinhe.mis.vo.CheckInfoVO" />
<jsp:directive.page import="edu.yinhe.mis.vo.*" />
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<title>考场设置</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/general.css" type=text/css rel=stylesheet>
<LINK href="../css/main.css" type=text/css rel=stylesheet>
<script src="<%=basePath%>admins/js/js.js" charset="gbk" ></script>
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script type="text/javascript">
function compare(){
var count=document.getElementById("count").value;
var starttime=document.getElementById("starttime").value;
var endtime=document.getElementById("endtime").value;
if(count==""){
alert("人数不能为空!");
return false;
}
if(count==0){
alert("人数不能为零!");
return false;
}
if(endtime<starttime){
alert("结束日期不能小于开始日期");
return false;
}
if(endtime==starttime){
alert("结束日期不能等于开始日期");
return false;
}
return true;
}
</script>
</head>
<body>
<div id="closeshow" style="display: none;">
<div id="closewindow">
<div class="msg_block">
<iframe id="login_frame" name="login_frame" src="" frameborder="0"
marginheight="0" marginwidth="0" scrolling="no"
allowTransparency="true"></iframe>
</div>
</div>
<div id="graydiv"></div>
</div>
<H1 align="center">
<SPAN>银河管理中心 - 考场设置 </SPAN>
</H1>
<DIV class=list-div id=listDiv>
<TABLE cellSpacing=1 cellPadding=3>
<TBODY>
<form name=fff action="setcheck.html?method=getupdate1" method="post" align="center" onsubmit="return compare()">
<table align="center">
<%
List arrayList = (List) request.getAttribute("inftvo");
CheckInfoVO checkInfoVO = new CheckInfoVO();
if (arrayList != null) {
for (int i = 0; i < arrayList.size(); i++) {
checkInfoVO = (CheckInfoVO) arrayList.get(i);
%>
<tr>
<td align=center colSpan=2>
人数:<input type="text" maxlength="8" name="count" id="count" value=<%=checkInfoVO.getCount() %> >
请输入整数 如:1
</td>
</tr>
<tr>
<td align="right">
开始时间:<input type="text" name="starttime" id="starttime" onfocus="calendar()" value="<%=checkInfoVO.getCheck_begintime() %>" >
</td>
<td align="left">
结束时间:<input type="text" name="endtime" id="endtime" onfocus="calendar()" value="<%=checkInfoVO.getCheck_finishtime()%>">
</td>
</tr>
<tr>
<td align="right">
科目:<%=checkInfoVO.getObject_name()%>
</td>
<td align="left">
试卷:<%=checkInfoVO.getTestPaper_no() %>
</td>
<td align=left>
<input name="check_id" value=<%=checkInfoVO.getCheck_id() %> type="hidden">
</td>
</tr>
<tr>
<TD align=center colSpan=2><input type=submit name="submit" class=button value=" 确定 "><input type=reset name="reset" class=button value=" 重置 "></td>
</tr>
<%
}
}
%>
</table>
</form>
</TBODY>
</TABLE>
<!-- end goods list -->
</DIV>
<DIV id=footer>
<!-- end goods type list -->
<BR>
版权所有 @2005-2007 湖北银河软件开发有限公司,并保留所有权利。
</DIV>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -