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

📄 volumelist.jsp

📁 考试系统 软件功能涉及网上考试、作业、练习、在线监考、在线批卷、成绩排行、调查问卷、发布公告等管理的各方面。
💻 JSP
字号:
<%@ page  contentType="text/html;charset=GB2312" import="net.xerllent.campus.database.*,net.xerllent.campus.exam.*,net.xerllent.campus.sysadmin.*" %>
<%
//静态权限认证
security.checkAuth(session,"",response,request);
%>
<%
String MsgUrl="VolumeList.jsp";
Volume myVolume=new Volume();
DbQuery myQuery=myVolume.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="VolumeDelete.jsp";
      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 ExportQuestion(){
  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=ExportQuestion&ExportType=0";
      deleteform.target="_blank";
      deleteform.submit();
    }
  }else{
    alert("请选择项目再执行此项操作!");
  }
}

function importiteams(){
  if(formimp.file.value==""){
    alert("请选择您要导入的本地数据文件!");
    return;
  }
  formimp.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="ImpQt" value="导入题库" class="button1" onClick="window.location='#import';">
        <input type="button" name="ExpQt" value="导出题库" class="button1" onClick="ExportQuestion()" >&nbsp;&nbsp;&nbsp;
        <input type="button" name="addbtn2" value="添 加" class="button1" onClick="window.location='VolumeCreate.jsp';">
        <input type="button" name="deletebtn" value="删 除" class="button1" onclick="return deleteitems();">
        <input type="button" name="addbtn" value="返 回" class="button1" onclick="window.history.go(-1);">
      </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>题库集</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="VolumeDelete.jsp" >
<%
myVolume.printPageList(myQuery,out);
%>
</form>
<%if(myQuery._totalPages>1){myQuery.printPageFooter(out);}%>
<form name="formimp" method="post" action="PaperIOServlet?action=ImportQuestion" enctype="multipart/form-data" class="form">
  <div align="center"><b><a name="import"></a>题库XML格式导入</b>
    <input type="file" name="file" class="input1">
    <input type="button" name="addbtn22" value="导 入" class="button1" onClick="importiteams();">
  </div>
</form>

</body>
</html>

⌨️ 快捷键说明

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