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

📄 admindatasearch2.asp

📁 网络考试系统最终备份
💻 ASP
字号:
<!--#include file="conn.inc"-->

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>试题查询</title>
<style type="text/css">
<!--
.STYLE1 {
	font-size: x-large;
	font-weight: bold;
}
.STYLE3 {font-size: 9pt}
.STYLE4 {
	font-family: "宋体";
	font-size: 12pt;
}
.STYLE5 {
	font-family: "宋体";
	font-size: 9pt;
}
.STYLE6 {font-size: 9px}
-->
</style>
<script language="javascript">
function submitit(myform)
{myform.action="admindatasearch2.asp?Subject=<%=request("v_suvID")%>&search=<%=request("search")%>";
 myform.submit();
}

</script>
</head>

<body>
<table width="100%" height="25" border="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#ecf4ff" id="AutoNumber2" style="border-collapse: collapse">
  <tr bgcolor="#0099FF">
    <td width="100%" bgcolor="#ecf4ff"><span class="STYLE3">当前位置:<a href="news.asp">系统管理</a> &gt; <a href="admindatabaseselect.asp">题库管理</a> &gt; <a href="admindatabase.asp">试题管理</a> &gt; 试题查询</span></td>
  </tr>
</table>


<%
v_subject=request("subject")
v_diffrate=request("diffrate")
v_questype=request("questype")

userid=request.Cookies("userid")
if v_subject=999 then
  sql="select * from knowledge_info where Sub_ID in (select Sub_ID from teacher_subject where Teacher_ID="&userid&")"
  set rs=server.createobject("adodb.recordset")
  rs.open sql,conn,3,2
else
  sql="select * from knowledge_info where Sub_ID="&v_subject&""
  set rs=server.createobject("adodb.recordset")
  rs.open sql,conn,3,2
end if
		
%>

<table width="100%" border="0">
  <tr>
    <td width="15%" height="52"><img src="images/2.jpg" width="86" height="32"></td>
    <td width="85%">&nbsp;</td>
  </tr>
</table>

<form name="form1" method="post" action="admindatasearch3.asp">
  <table width="100%" border="1" cellspacing="1" bordercolor="#C9DEF3">
    <tr bordercolor="#C9DEF3" bgcolor="#ECF4FF">
      <td height="24" align="center"><div align="center" class="STYLE1 STYLE4">请选择具体的知识点</div></td>
    </tr>
    
    
    <tr>
      <td height="34" align="center"><span class="STYLE5">科目ID:
          <label>
        <input name="Subject" type="text" id="Subject" value="<%=request("subject")%>" readonly>
        <br>
        <br>
      难度ID:
      <input name="Diffrate" type="text" id="Diffrate" value="<%=request("diffrate")%>" readonly>
	  <br>
	  <br>
	  类型ID:
	  <input name="Questype" type="text" id="Questype" value="<%=request("questype")%>" readonly>
	      </label>
      </span>
        <span class="STYLE3">
        <label></label>
        </span><span class="STYLE6"><label></label>
        </span>
        <label><br>
      </label></td>
    </tr>
    <tr>
      <td height="26" align="center">&nbsp;&nbsp;&nbsp;<span class="STYLE5">&nbsp;

	      <select name="Knowledge">
	        <option value="999" selected>所有知识点</option>
	        <%while not rs.eof%>
	        <option value="<%=rs("KnowID")%>"><%=rs("KnowName")%></option>
	        <%
	      rs.movenext
		  wend
		  rs.close
	    %>
            </select>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
    </tr>
    <tr>
      <td height="38"><label>
        <div align="center">
          <input type="submit" name="Submit" value="查询">
        </div>
      </label></td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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