在线考试系统的设计与实现 第18页
rs.close %></select></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="30">
<tr>
<td width="50%">
<input type="checkbox" name="checkall" value="ON" checked onclick="CheckAll(this.form)">全部选择/取消</td>
<td width="50%">
<p align="right">
<input type="submit" value="下一步>>" name="B1" class="s02"></td>
</tr>
</table>
</form>
4、组卷页面的成功组卷提示页面admincreatepaper3.asp
<%
sql="select * from exam_test"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
rs.addnew
randomize
testid=100000000+fix(100000000*Rnd)
rs("testid")=testid
rs("subject")=request("subject")
rs("totalper")=request("totalper")
rs("singlecount")=request("singlecount")
rs("multicount")=request("multicount")
rs("judgecount")=request("judgecount")
rs("singleper")=request("singleper")
rs("multiper")=request("multiper")
rs("judgeper")=request("judgeper")
rs("testtime")=request("testtime")
rs("starttime")=request("starttime")
rs("endtime")=request("endtime")
rs("settime")=date()
rs("setuserid")=request.cookies("userid")
rs.update
rs.close
userid=split(request("userid"),",")
i=ubound(userid)
for j=0 to i
sql="select * from exam_testuser"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
rs.addnew
rs("testid")=testid
rs("userid")=userid(j)
rs.update
rs.close
next
sql="select * from waitforpass"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
rs.addnew
rs("objid")=testid
rs("objname")="考试计划"
rs("passuserid")=request("shenhr")
rs.update
rs.close
%>
<div align="center">
<center>
<table cellspacing="0" style="border-collapse: collapse" bordercolor="#336699" width="480" id="AutoNumber2" cellpadding="0" border="1">
<tr>
<td width="100%" height="25" bgcolor="#6699CC"><b> <font color="#FFFFFF">操作成功</font></b></td>
</tr>
<tr>
<td width="100%" height="160" bgcolor="#EFEFEF">
<p align="center"><font size="2">祝贺您,已经成功生成试卷!按下返回按钮返回系统首页!</font></p>
<p align="center"><font size="2">(<font color="#ff0000">注意:生成的试卷需要审批后才能生效</font>)</font></td>
</tr>
<tr>
<td width="100%" height="25" bgcolor="#6699CC">
<p align="center">
<input type="button" value=" 返 回 " name="B3" class="s02" onclick="window.location='news.asp'"></td>
</tr>
</table>
</center>
</div>
<< 上一页 [11] [12] [13] [14] [15] [16] [17] [18]
在线考试系统的设计与实现 第18页下载如图片无法显示或论文不完整,请联系qq752018766