⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 query_stu_mn.jsp

📁 在线考试软件。 在线考试软件详细设计说明书:说明在线测试这一模块各部分的功能和结构
💻 JSP
📖 第 1 页 / 共 2 页
字号:
        	}
        	else
        	{
                document.errorpad.method = "GET";
                document.errorpad.action = "";
		}
         }
         return false;
}
function decrate_check()
{
	var count = errorpad.elements.length;
	var noSelect = true;
 	for(var i=0;i<count;i++)
 	{
    	if(errorpad.elements[i].checked)
    		{
      		      noSelect = false;
		      break;
		}
  	}
	if(noSelect == true)
	{
	    alert("您还没有选择要降低错误级别的错题!");
	    return(false);
	 }
  	else
  	{
        	if(confirm("降低所有选择的错题的错误级别吗?"))
        	{
                document.errorpad.method = "POST";
                document.errorpad.action = "errorpad_decrate.jsp";
                document.errorpad.target="_self";
                document.errorpad.submit();
        	}
        	else
        	{
                document.errorpad.method = "GET";
                document.errorpad.action = "";
		}
         }
         return false;
}
function subform(stract)
{
	switch (stract){
		case "del":
            del_check();
			break;
		case "addrate":
            addrate_check();
			break;
		case "decrate":
			decrate_check();
			break;
        case "test":
            selectid();
            break;
		case "print":
			printerror();
            break;

	}

}
function selectid(){
    var winpoint=window.open('','err_test_type','height=240,width=470,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no,depended=yes,alwaysRaised =yes,z-look=yes');
    var toppos=(window.screen.height-240)/2;
    var leftpos=(window.screen.width-470)/2;
    winpoint.moveTo(toppos,leftpos);
    winpoint.focus();
    document.errorpad.method="POST";
    document.errorpad.action="err_test_type.jsp";
    document.errorpad.target="err_test_type";
    document.errorpad.submit();

}
function printerror(){

    var winpoint=window.open('','err_print_type','height=240,width=520,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no,depended=yes,alwaysRaised =yes,z-look=yes');
    var toppos=(window.screen.height-240)/2;
    var leftpos=(window.screen.width-470)/2;
    winpoint.moveTo(toppos,leftpos);
    winpoint.focus();
    document.errorpad.method="POST";
    document.errorpad.action="err_print_type.jsp";
    document.errorpad.target="err_print_type";
    document.errorpad.submit();
}
function openDetail(var1){
    var winpoint=window.open('err_query_detail.jsp?id='+var1,'newwindow','height=400,width=300,top=0,left=0,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no,depended=yes,alwaysRaised =yes,z-look=yes');
    winpoint.focus();
}
function InitMyform(){
    document.myform.Grade.value='<%=errorpad_grade%>';
    changegs(document.myform.Grade.options[document.myform.Grade.selectedIndex].value);
    document.myform.Subject.value='<%=errorpad_sub%>';
    changesk(document.myform.Subject.options[document.myform.Subject.selectedIndex].value);
    document.myform.KnowPoint.value='<%=errorpad_knowpoint%>';
    document.myform.testtype.value='<%=errorpad_testtype%>';
    document.myform.errorcount.value='<%=errorpad_errorcount%>';

}

</script>
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<TITLE>共创学堂-错题本</TITLE>
<SCRIPT language=JavaScript>
<!--

function SymError()
{
  return true;
}

window.onerror = SymError;


//-->
</SCRIPT>


<!-- saved from url=(0041)http://jsptestonline.cosoft.org.cn/senior/none_xt.jsp -->
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="../errorpad/style/style.css" type=text/css rel=stylesheet>
<SCRIPT src=""></SCRIPT>

<SCRIPT src=""></SCRIPT>

<SCRIPT src=""></SCRIPT>

<SCRIPT src=""></SCRIPT>

<SCRIPT src=""></SCRIPT>

<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<link rel="stylesheet" type="text/css" href="../css.css">
</HEAD>
<BODY bgColor=#ffffff text=#000000 onLoad="InitMyform()">

<CENTER>

<TABLE cellSpacing=0 cellPadding=0 width=650 border=0>
  <TBODY>
  <TR>
          <TD><IMG height=27 src="../errorpad/images/test_pop_01.gif" width=102></TD>
          <TD align=right><IMG height=27 src="../errorpad/images/test_pop_02.gif"
      width=134></TD>
        </TR></TBODY></TABLE>
  <strong><font color="#3366FF" size="+2" face="黑体">共创学堂成绩查询</font></strong> 
  <!--begin test -->
  <FORM action=../errorpad/errorpad.jsp method=post name=myform target="_self" id="myform">
    <TABLE width=100% height="145" border=0 cellPadding=0 cellSpacing=0>
      <TBODY>
        <TR>
          <TD height="75"  align=middle valign="bottom">
            <table width="84%" height="56" border="1" align="center" cellspacing="1" bordercolor="#799AE1" id="AutoNumber3" style="border-collapse: collapse">
              <tr> 
                <td width="87" height="52" align="center" valign="baseline" nowrap background="../errorpad/images/admin_bg_1.gif" bgcolor="#FFFDE8"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td>年&nbsp;级:</td>
                    </tr>
                    <tr> 
                      <td height="24" nowrap> <select id=select30 name=Grade onclick="changegs(document.myform.Grade.options[document.myform.Grade.selectedIndex].value)" size="1">
                          <option value="all" selected>-全 部-</option>
                          <%Tools.showGradeOption(con,out);%>
                        </select> </td>
                    </tr>
                  </table>
                  &nbsp; </td>
                <td width="70" align="center" valign="baseline" nowrap background="../errorpad/images/admin_bg_1.gif" bgcolor="#FFFDE8"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td nowrap>科&nbsp;目:</td>
                    </tr>
                    <tr> 
                      <td nowrap> <select id=select29 name=Subject onclick="changesk(document.myform.Subject.options[document.myform.Subject.selectedIndex].value)"
size="1">
                          <option value="all" selected>全 部</option>
                        </select> </td>
                    </tr>
                  </table>
                  <strong> </strong> </td>
                <td width="126" align="center" valign="baseline" nowrap background="../images/admin_bg_1.gif" bgcolor="#FFFDE8"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td nowrap>知识点:</td>
                    </tr>
                    <tr> 
                      <td nowrap> <select name=KnowPoint id="select31">
                          <option value="all" selected>----全 部----</option>
                        </select> </td>
                    </tr>
                  </table></td>
                <td width="105" align="center" valign="baseline" nowrap background="../errorpad/images/admin_bg_1.gif" bgcolor="#FFFDE8"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td nowrap>考试类型:</td>
                    </tr>
                    <tr> 
                      <td nowrap> <select name="testtype" id="select8">
                          <option value="all" selected>全部</option>
                          <option value="2">单元测试</option>
                          <option value="3">模拟测试 </option>
                        </select> </td>
                    </tr>
                  </table></td>
                <td width="121" align="center" valign="baseline" nowrap background="../images/admin_bg_1.gif" bgcolor="#FFFDE8"> 
                  <table width="94%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td nowrap>分数段</td>
                    </tr>
                    <tr> 
                      <td nowrap>从 <input name="mark1" type="text" id="mark1" value="0" size="5" maxlength="5">
                        <input name="mark2" type="text" id="mark2" size="5" maxlength="5"></td>
                    </tr>
                  </table></td>
                <td width="47" nowrap background="../images/admin_bg_1.gif" bgcolor="#FFFDE8"> 
                  <p align="center"> 
                    <input type="submit"  class="s03" name="Submit" value="查询">
                </td>
                <td width="53" nowrap background="../images/admin_bg_1.gif" bgcolor="#FFFDE8"><div align="center"><b> 
                    <input name="errPrint" type="button"  class="s03" id="errPrint2" value="打印" onClick=subform("print")>
                    </b></div></td>
              </tr>
            </table>
            </TD>
        </TR>
        <TR>
          <TD  align=middle valign="top">&nbsp; </TD>
        </TR>
      </TBODY>
    </TABLE>
		</FORM>
  <FORM method="post" name="errorpad" id="errorpad">
    <%
      testNumber=1;
      while(rs.next()){

	  %>
    <TABLE width=80% border=1 align=center cellSpacing=1 bordercolor="#799AE1" style="border-collapse: collapse">
      <TBODY>
      <TR>
          <td width="650" height=22 bgColor=#E3E3E3 class=l>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="81" height="20" nowrap>姓名 </td>
                <td width="60" nowrap><div align="right">注册号</div></td>
                <td width="43" nowrap><div align="left">年级:</div></td>
                <td width="100" nowrap>考试名称</td>
                <td width="100" nowrap><div align="right">考试时间:</div></td>
                <td width="174" nowrap>分数</td>
                <td width="155" nowrap>考试类型</td>
                <td nowrap> <div align="right"> </div></td>
              </tr>
            </table></td>
      </TR>
	  <TR>
          <td width="650" height=22 class=l>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="81" height="20" nowrap>姓名 </td>
                <td width="60" nowrap><div align="right">注册号</div></td>
                <td width="43" nowrap><div align="left">年级:</div></td>
                <td width="100" nowrap>考试名称</td>
                <td width="100" nowrap><div align="right">考试时间:</div></td>
                <td width="173" nowrap>分数</td>
                <td width="154" nowrap>考试类型</td>
                <td width="12" nowrap>&nbsp; </td>
                <td width="45" nowrap> <div align="right"> <img src="../errorpad/images/1026.gif" width="27" height="24" onClick="openDetail(<%=rs.getInt("question_id")%>)"></div></td>
              </tr>
            </table></td>
      </TR>

    </TBODY>
  </TABLE>
  <%
testNumber++;
}
%>
<input name="stu_id" type="hidden" id="studentid2" value="<%=studentID %>">
<input name="selectids" type="hidden" id="studentid2" value="">
<input name="selectcount" type="hidden" id="studentid2" value="">
</FORM>
<p>&nbsp;</p>
 <!--end test --><!--begin bottom -->
<TABLE
style="BORDER-TOP: #dbdbdb 1px solid; MARGIN-TOP: 10px; MARGIN-BOTTOM: 10px; BACKGROUND-COLOR: #f6f6f6"
cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD align=middle colSpan=2 height=30>
      <TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
        <TBODY>
        <TR>
          <TD><A href="http://jsptestonline.cosoft.org.cn/index.html"
            target=_blank>关于我们</A> | <A
            href="http://jsptestonline.cosoft.org.cn/contact/3_ywhz.html"
            target=_blank>联系方式</A> | 网站地图 | <A
            href="http://jsptestonline.cosoft.org.cn/about/service.html"
            target=_blank>服务条款</A> | <A
            href="http://jsptestonline.cosoft.org.cn/about/privacy.html"
            target=_blank>隐私权保护</A> | <A
            href="http://jsptestonline.cosoft.org.cn/about/copyright.html"
            target=_blank>版权声明</A></TD>
          <TD align=middle width=220>版权所有:<A href="http://jsptestonline.cosoft.org.cn/"
            target=_blank>共创教育机构</A></TD></TR></TBODY>
</TABLE></TD></TR></TBODY>
</TABLE><!--end bottom --></CENTER>
</BODY>
</HTML>

<%}
catch(Exception e){
    out.print(e.toString());
}
finally{
    DBCon.dropConnection();
}
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -