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

📄 titleselect.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>
<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-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.titleSystem.confirm.yesornodel" />')) {
            document.forms[0].action = "titleSystem.do?method=delete&sequenceID="+obj;
            document.forms[0].submit();

        }
    }

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

    function searchSelect() {
        var formObj = document.getElementById("titleSystemForm");
        formObj.action = "titleDisplay.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"><bean:write name="kemuName" scope="session"/>题库系统</span></span></div></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" style="text-align:center"><span class="style14">按此键添加题目:</span>     
     <span class="style15">

        <label>
        <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="5%"><span class="style27">科目ID</span></td>
      <td width="5%"><div align="center"><span class="style22">题库号</span></div></td>
      <td width="9%"><div align="center" class="style22">序号</div></td>
      <td width="26%"><div align="center" class="style22">题目</div></td>
      <td width="6%"><div align="center" class="style22">正确答案</div></td>
      <td width="20%"><div align="center" class="style16">修改题目</div></td>
    </tr>
      <logic:iterate id="select" name="CLINFOS">
    <tr>
      <td><div align="center" class="style15"><bean:write name="select" property="kemuID" /></div></td>
      <td><div align="center" class="style18">
          <div align="center"><bean:write name="select" property="tikuNO" /></div>
      </div></td>
      <td><div align="center" class="style18">
        <div align="center"><bean:write name="select" property="questionNo" /></div>
      </div></td>
      <td><div align="left" class="style18"><bean:write name="select" property="question" /></div></td>
      <td><div align="center" class="style18"><bean:write name="select" property="answer" /></div></td>
       <td align="center"><span class="style11" >
    <html:link action="/titleModify?method=modifyDisplay" paramName="select" paramId="sequenceID" paramProperty="sequenceID">
         <img src="images/modify.png" alt="修改" border="0">
         </html:link>&nbsp;&nbsp;
         <a href="javascript:confirmDelete('<bean:write name="select" property="sequenceID" />')">
         <img src="images/del.png" alt="删除" border="0"></a>
         </span></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;                 
    <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 + -