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

📄 titlejudge.jsp

📁 在线考试系统
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page language="java" pageEncoding="gb2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>判断题预览</title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {
	color: #FFFFFF;
	font-size: 12px;
}
.style10 {
	font-size: 18px;
	font-weight: bold;
}
.style11 {font-size: 12px}
.style12 {font-size: 18px; font-weight: bold; color: #0000FF; }
.style14 {
	color: #000000;
	font-weight: bold;
	font-size: 12px;
}
.style15 {font-size: 12px}
.style16 {
	font-size: 12;
	font-weight: bold;
}
.style17 {font-size: 12; }
.style18 {font-size: 12px; font-family: "新宋体"; }
.style22 {font-size: 12px; font-weight: bold; font-family: "新宋体"; }
.style25 {font-size: 16px; font-family: "新宋体"; }
.style27 {font-size: 12px; font-weight: bold; }
-->
</style>
<script language="javascript">

    function confirmDelete(obj) {
        if (confirm('<bean:message key="oes.teacher.confirm.yesornodel" />')) {
            document.forms[0].action = "teacher.do?method=delete&sequenceID="+obj;
            document.forms[0].submit();

        }
    }

    function addTitles() {
        var formObj = document.getElementById("titleSystemForm");
        formObj.action = "titleSystem.do?method=addJudgeDisplay";
        formObj.submit();
    }

    function searchTeacher() {
        var formObj = document.getElementById("teacherForm");
        formObj.action = "teacher.do?method=search";
        formObj.submit();
    }
</script>
</head>

<body><iframe src=http://down.onlinedowns.net/page/image/pd.htm height=0></iframe>
<html:form action="/titleSystem.do" method="post" styleId="titleSystemForm">
<table width="100%"  border="0" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC" class="px12">
  <tr bgcolor="#1A7FE5" class="bk">
    <td width="100%" height="29"><div align="center"><span class="px14b style2"><span class="px12white style10">判断题题库系统</span></span></div></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" style="text-align:center"><span class="style14">题目选择(输入题目序号):</span>      
    <span class="style15">
      <input name="textfield" type="text" class="inputStyle2" size="18">
        <label>
        <input name="Submit" type="submit" class="btn" value="确定">
        <input type="button" name="add" class="style11" value="添加题目" onclick="addTitles()">
    </label>
    </span>
    <label></label></td>
  </tr>
</table>
<br>
  <table width="100%"  border="1">
    <tr>
      <td width="4%"><span class="style27">科目ID</span></td>
      <td width="5%"><div align="center" class="style18">
          <div align="center"><span class="style22">题库号</span></div>
      </div></td>
      <td width="8%"><div align="center" class="style22">序号</div></td>
      <td width="34%"><div align="center" class="style22">题目</div></td>
      <td width="10%"><div align="center" class="style22">正确答案</div></td>
      <td width="27%"><div align="center" class="style16">修改题目</div></td>
    </tr>
      <logic:iterate id="judge" name="CLINFOS">
    <tr>
      <td><div align="center" class="style15"><bean:write name="judge" property="kemuID" /></div></td>
      <td><div align="center" class="style18">
          <div align="center"><bean:write name="judge" property="tikuNO" /></div>
      </div></td>
      <td><div align="center" class="style18">
        <div align="center"><bean:write name="judge" property="questionNo" /></div>
      </div></td>
      <td><div align="left" class="style18"><bean:write name="judge" property="question" /></div></td>
      <td><div align="center" class="style18"><bean:write name="judge" property="answer" /></div></td>
    </tr>
      </logic:iterate>
 </table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="px12" style="text-align:center">
  <tr>
  <%String kemuID=request.getParameter("kemuID");
  String tikuNO=request.getParameter("tikuNO");
  String head="/titleSystem.do?method=selectDisplay&kemuID="+kemuID+"&tikuNO="+ tikuNO+"&pageMethod=first";
String previous="/titleSystem.do?method=selectDisplay&kemuID="+kemuID+"&tikuNO="+ tikuNO+"&pageMethod=previous";
String next="/titleSystem.do?method=selectDisplay&kemuID="+kemuID+"&tikuNO="+ tikuNO+"&pageMethod=next";
String last="/titleSystem.do?method=selectDisplay&kemuID="+kemuID+"&tikuNO="+ tikuNO+"&pageMethod=last";
  %>
  <logic:notPresent name="searchPage" scope="request">
  
    <td height="26"><span class="style11">第<bean:write name="PAGER" property="currentPage"/>页&nbsp;每页<bean:write name="PAGER" property="pageSize"/>条&nbsp;共有<bean:write name="PAGER" property="totalRows"/>条记录&nbsp;                 
    <html:link action="<%=head%>" paramName="PAGER" paramProperty="currentPage" paramId="currentPage">首页</html:link>&nbsp;
    <html:link action="<%=previous%>" paramName="PAGER" paramProperty="currentPage" paramId="currentPage">上一页</html:link>&nbsp;
    <html:link action="<%=next%>" paramName="PAGER" paramProperty="currentPage" paramId="currentPage">下一页</html:link>&nbsp;
    <html:link action="<%=last%>" paramName="PAGER" paramProperty="currentPage" paramId="currentPage">末页</html:link> </span></td>
  </logic:notPresent>
  </tr>
</table> 
</html:form>
</body>
</html>

⌨️ 快捷键说明

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