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

📄 paperuserlist.jsp

📁 考试系统 软件功能涉及网上考试、作业、练习、在线监考、在线批卷、成绩排行、调查问卷、发布公告等管理的各方面。
💻 JSP
字号:
<%@ page  contentType="text/html;charset=GB2312" import="net.xerllent.campus.database.*,net.xerllent.campus.util.*,net.xerllent.campus.exam.*,net.xerllent.campus.sysadmin.*" %>
<%
//静态权限认证
security.checkAuth(session,"",response,request);
%>
<%
int PaperID = ParamUtils.getIntParameter(request,"PaperID",0);
if(PaperID==0){
  response.sendRedirect("/prog/nopermission.jsp");
}

String MsgUrl="PaperUserList.jsp?PaperID="+PaperID;
Score myScore=new Score(PaperID);
DbQuery myQuery=myScore.getQuery(request);
%>
<html>
<head>
<title>考试管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/prog/images/campus.css" type="text/css">
<script src="/prog/jscript/floatPanel.js"></script>
<script src="/prog/jscript/DoneMSG.js"></script>
<script src="/prog/jscript/string.js"></script>
<script language="javascript">
<!--
function deleteitems(){
  var flag;
  var coll = document.all.tags("input");
  if (coll!=null) {
    for (i=0; i<coll.length; i++) {
      if(coll[i].type=="checkbox"&&coll[i].name=="chk"){
        if(coll[i].checked){
           flag=true;
           break;
        }
      }
    }
  }
  if(flag){
    if(window.confirm("删除用户成绩将会删除用户该试卷考试的所有内容,请先转移内容再执行删除。\n你真的要删除吗?这项操作将不可恢复!")){
      deleteform.action="PaperUserClear.jsp";
      deleteform.target="";
      deleteform.submit();
    }
  }else{
    alert("请选择项目再执行删除操作!");
  }
}

function selectall(){
  var coll = document.all.tags("input");
  if (coll!=null) {
    for (i=0; i<coll.length; i++) {
      if(coll[i].type=="checkbox"&&coll[i].name=="chk"){
        if(document.all.selhandle.checked){
          coll[i].checked=true;
        }else{
          coll[i].checked=false;
        }
      }
    }
  }
}

function ExportUserPaper(){
  var flag;
  var coll = document.all.tags("input");
  if (coll!=null) {
    for (i=0; i<coll.length; i++) {
      if(coll[i].type=="checkbox"&&coll[i].name=="chk"){
        if(coll[i].checked){
           flag=true;
           break;
        }
      }
    }
  }
  if(flag){
    if(window.confirm("选择的答卷信息将以XML格式输出,请保存到本地硬盘。\n你真的要输出吗?按确认开始!")){
      deleteform.action="/prog/Exam/admin/PaperIOServlet?action=ExportUserPaper";
      deleteform.target="_blank";
      deleteform.submit();
    }
  }else{
    alert("请选择项目再执行此项操作!");
  }
}

function ExportScore(){
  if(window.confirm("试卷成绩将以XML格式输出,请保存到本地硬盘。\n你真的要输出吗?按确认开始!")){
    deleteform.action="/prog/Exam/admin/PaperIOServlet?action=ExportScore";
    deleteform.target="_blank";
    deleteform.submit();
  }
}

-->
</script>

</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" onload="popDlg();">
<%net.xerllent.campus.util.dialogMsg.getDlgValue(request,MsgUrl,out);%>
<table width="100%" height="22" border="0"  cellspacing="0" cellpadding="0">
    <tr>
      <td ></td>
    </tr>
</table>
<DIV id=floater style="LEFT: 0px; TOP: 0px">
  <table width="100%" class="gl_mainBar" height="22" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td nowrap>【在线考试系统-试卷-考试监控】</td>
      <td align="right" nowrap> &nbsp;&nbsp;
        <input type="button" name="SchAbsent " value="缺考查询" class="button1" onClick="window.location='PaperUserAbsent.jsp?PaperID=<%=PaperID%>';" >&nbsp;&nbsp;&nbsp;
        <input type="button" name="ExpPaper" value="导出答卷" class="button1" onClick="ExportUserPaper();">
        <input type="button" name="ExpScore" value="导出成绩" class="button1" onClick="ExportScore()">
        <input type="button" name="delscore" value="删除成绩" class="button1" onClick="deleteitems()" >
        <input type="button" name="cancel" value="返 回" class="button1" onClick="window.location='PaperList.jsp?ExamType=<%=new Paper(PaperID)._ExamType%>';">
      </td>
      <td width="10">&nbsp;</td>
    </tr>
  </table>
</DIV>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="40">
  <tr>
    <td background="/prog/images/ModIco_Document.gif" nowrap valign="bottom" style="background-repeat:no-repeat;padding-left:40"><font size="3"><b>[<%=new Paper(PaperID)._Title%>]试卷考试情况</b></font></td>
    <td align="right" nowrap>&nbsp; </td>
    <td width="10">&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="f90">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<form name="deleteform" method="post" class="form" action="PaperUserClear.jsp" >
<%
myScore.printPageList(myQuery,out);
%>
</form>
<%if(myQuery._totalPages>1){myQuery.printPageFooter(out);}%>
</body>
</html>

⌨️ 快捷键说明

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