在线考试系统的设计与实现 第17页
return true; }
else
return false; }
}
function CheckAll(form)
{for (var i=0;i<form.elements.length;i++)
{ var e = form.elements[i];
if (e.name != 'chkall')
e.checked = form.checkall.checked; }}
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="25">
<tr>
<td width="100%">当前位置:<a href="news.asp">系统管理</a> > 生成试卷</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
<tr>
<td width="80"><img border="0" src="images/2.jpg"></td>
<td> </td>
</tr>
</table>
<form method="POST" name="secondform" action="admincreatepaper2.asp" onsubmit="return submitit(secondform);">
<table border="1" cellpadding="0" cellspacing="1" style="border-collapse: collapse" id="AutoNumber1" width="100%" bordercolor="#C0C0C0">
<tr height="20">
<td colspan="4" bgcolor="#E1E1E1">
<p align="center"><b>试卷基本信息</b></td>
</tr>
<tr height="20">
<td bgcolor="#EFEFEF" width="120">
<p align="center"><b>选择科目</b></td>
<td colspan="3">
<input type="text" name="subject" size="20" value="<%=request("subject")%>" class="inputnormal" readonly></td>
</tr>
<tr height="20">
<td colspan="4" bgcolor="#e1e1e1">
<p align="center"><b>试卷信息</b></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#EFEFEF"><b>卷面总分(<font color="#FF0000">分</font>)</b></td>
<td colspan="3">
<p align="left">
<input type="text" name="totalper" size="20" value="<%=request("totalper")%>" class="inputnormal" readonly></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#e1e1e1"> </td>
<td bgcolor="#e1e1e1">
<p align="center"><b>单选题</b></td>
<td bgcolor="#e1e1e1">
<p align="center"><b>多选题</b></td>
<td bgcolor="#e1e1e1">
<p align="center"><b>判断题</b></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#EFEFEF"><b>题型分布(<font color="#FF0000">个</font>)</b></td>
<td>
<p align="center">
<input type="text" name="singlecount" size="12" value="<%=request("singlecount")%>" class="inputnormal" readonly></td>
<td>
<p align="center">
<input type="text" name="multicount" size="12" value="<%=request("multicount")%>" class="inputnormal" readonly></td>
<td>
<p align="center">
<input type="text" name="judgecount" size="12" value="<%=request("judgecount")%>" class="inputnormal" readonly></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#EFEFEF"><b>分值分布(<font color="#FF0000">分</font>)</b></td>
<td>
<p align="center">
<input type="text" name="singleper" size="12" value="<%=request("singleper")%>" class="inputnormal" readonly></td>
<td>
<p align="center">
<input type="text" name="multiper" size="12" value="<%=request("multiper")%>" class="inputnormal" readonly></td>
<td>
<p align="center">
<input type="text" name="judgeper" size="12" value="<%=request("judgeper")%>" class="inputnormal" readonly></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#e1e1e1" colspan="4"><b>考试时间设定</b></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#EFEFEF"><b>考试时间(<font color="#FF0000">小时</font>)</b></td>
<td colspan="3">
<p align="center">
<input type="text" name="testtime" size="12" value="<%=request("testtime")%>" class="inputnormal" readonly></td>
</tr>
<tr height="20">
<td align="center" bgcolor="#EFEFEF"><b>有效期</b></td>
<td colspan="3">
<p align="center">
<input type="text" name="starttime" size="20" value="<%=request("starttime")%>" class="inputnormal" readonly>—<input type="text" name="endtime" size="20" value="<%=request("endtime")%>" class="inputnormal" readonly></td>
</tr>
<tr height="20">
<td colspan="4" bordercolor="#E1E1E1">
<p align="left"> 以上数据将赋予如下人员,请确定参加考试人员</td>
</tr>
</table>
<p><br>
</p>
<table border="1" cellpadding="0" cellspacing="1" style="border-collapse: collapse" width="100%" id="AutoNumber1" bordercolor="#C0C0C0">
<tr height="20">
<td colspan="7" bgcolor="#E1E1E1" align="center">
<p align="center"><b><font size="2">确定参加考试人员</font></b></td>
</tr>
<tr height="20">
<td width="80" bgcolor="#EFEFEF">
<p align="center">
<select size="1" name="sdepartment" onchange="this.form.submit();">
<option selected>所有部门</option>
<% sql="select * from department"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
do while not rs.eof %>
<option value="<%=rs("department")%>"><%=rs("department")%></option>
<% rs.movenext
loop
rs.close %></select></td>
<td width="20" bgcolor="#E1E1E1">
<p align="center"> </td>
<td bgcolor="#EFEFEF"><b> 姓名</b></td>
<td bgcolor="#EFEFEF"><b> 职务</b></td>
<td bgcolor="#EFEFEF"><b> 岗位</b></td>
<td bgcolor="#EFEFEF"><b> 部门</b></td>
<td bgcolor="#EFEFEF"><b> 单位</b></td>
</tr>
<% sdepartment=request("sdepartment")
response.write department
if sdepartment="所有部门" or sdepartment="" then
sql="select * from cadre_info"
else
sql="select * from cadre_info where department='" & sdepartment & "'"
end if
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
do while not rs.eof %>
<tr height="20">
<td>
<input type="text" name="chkall" size="10" value="<%=rs("userid")%>" class="inputnormal" readonly></td>
<td bgcolor="#E1E1E1">
<input type="checkbox" name="userid" value="<%=rs("userid")%>" checked></td>
<td> <%=rs("username")%></td>
<td> <%=rs("duties")%></td>
<td> <%=rs("post")%></td>
<td> <%=rs("department")%></td>
<td> <%=rs("office")%></td>
</tr>
<% rs.movenext
loop
rs.close %>
<tr>
<td colspan="7" bgcolor="#E1E1E1"><select size="1" name="shenhr">
<option value="选择审核人">选择审核人</option>
<%
sql="select * from cadre_info where rank='支队领导' or rank='部门领导'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
do while not rs.eof %>
<option value="<%=rs("userid")%>"><%=rs("username")%></option>
<% rs.movenext
loop
<< 上一页 [11] [12] [13] [14] [15] [16] [17] [18] 下一页
在线考试系统的设计与实现 第17页下载如图片无法显示或论文不完整,请联系qq752018766