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

📄 admindatabaseedit.asp

📁 网络考试系统最终备份
💻 ASP
📖 第 1 页 / 共 2 页
字号:
    <tr>
      <td width="80" align="center" bgcolor="#E1E1E1">当前题库</td>
      <td>
      <input type="text" name="subjectview" size="40" value="<%=subjectview%>" readonly class="inputnormal">
      </td>
    </tr>
    <tr>
      <td align="center" bgcolor="#E1E1E1">选择类型</td>
      <td>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber4">
        <tr>
          <td><input type="radio" name="typeadd" disabled value="v1"> </td>
          <td width="80">单选题</td>
          <td>
          <input type="radio" value="<%=request("typeadd")%>" name="typeadd" checked>
          </td>
          <td width="80">多选题</td>
          <td><input type="radio" name="type" disabled value="v1"> </td>
          <td width="80">判断题</td>
        </tr>
      </table>
      </td>
    </tr>
	<tr>
		<td align="center" bgcolor="#E1E1E1">知 识 点</td>
      <td><select name="sknow">
        <option value="<%=v_kid%>" selected><%=v_kName%></option>
        <%
		sql = "select * from knowledge_info where KnowID<>"&v_kid&" and Sub_ID = "&sid
		set rs = server.CreateObject("adodb.recordset")
		rs.open sql,conn,3,2
		do while not rs.eof
		%>
        <option value="<%=rs("KnowID")%>" ><%=rs("KnowName")%></option>
        <%
	   rs.movenext
	   loop
	   %>
      </select></td>
    </tr>
	<tr>
      <td align="center" bgcolor="#E1E1E1">难度系数</td>
      <td>
        <table width="100%"  border="0">
          <tr>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="1"    <% IF v_sdiff = "1" then
			%>
               checked 
			   <%end if%>>
                <span class="style1">简单</span></div></td>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="2"    <% IF v_sdiff = "2" then
			%> checked  <%end if%>>
                <span class="style1">较易</span></div></td>
            <td><div align="center">
                <input name="fdif_button" type="radio" value="3"     <% IF v_sdiff = "3" then
			%> checked <%end if%>>
                <span class="style1">中等</span></div></td>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="4"     <% IF v_sdiff = "4" then
			%>
               checked <%end if%>>
                <span class="style1"> 较难</span></div></td>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="5"     <% IF v_sdiff = "5" then
			%> checked   <%end if%> >
                <span class="style1">困难</span></div></td>
          </tr>
        </table></td>
		
	</tr>
    <tr>
      <td align="center" bgcolor="#E1E1E1">标&nbsp;&nbsp;&nbsp; 题</td>
      <td>
      <textarea rows="3" name="question" cols="60" onBlur="this.className='inputnormal'" onFocus="this.className='inputedit';this.select()" class="inputnormal"><%=question%></textarea>
      </td>
    </tr>
    <tr>
      <td align="center" bgcolor="#E1E1E1">内&nbsp;&nbsp;&nbsp; 容</td>
      <td>A.
        <input name="Option1" type="text" class="inputnormal" id="Option1" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" value="<%=Option1%>" size="60">
        <br>
B.
<input name="Option2" type="text" class="inputnormal" id="Option2" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" value="<%=Option2%>" size="60">
<br>
C.
<input name="Option3" type="text" class="inputnormal" id="Option3" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" value="<%=Option3%>" size="60">
<br>
D.
<input name="Option4" type="text" class="inputnormal" id="Option4" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" value="<%=Option4%>" size="60">
<br>
E.
<input name="Option5" type="text" class="inputnormal" id="Option5" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" value="<%=Option5%>" size="60">
<br>
F.
<input name="Option6" type="text" class="inputnormal" id="Option6" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" value="<%=Option6%>" size="60">
 </td>
    </tr>
    <tr>
      <td align="center" height="20" bgcolor="#E1E1E1">答&nbsp;&nbsp;&nbsp; 案</td>
      <td height="20">
      <input type="text" name="answer" size="20" value="<%=answer%>" onKeyUp="this.value.toUpperCase();" onBlur="this.className='inputnormal'" onFocus="this.className='inputedit';this.select()" class="inputnormal"></td>
    </tr>
    <tr>
      <td align="center" height="20" colspan="2">
      <div align="right">
        <input type="hidden" value="<%=id%>" name="id">
        <input type="submit" value="保存" name="B1" class="s02">
        <input type="button" value="关闭窗口" name="B2" onClick="self.close()" class="s02">
      </div>
      </td>
    </tr>
  </table>
</form>
<%
end if
if typeedit="2" then
%>
<form name="adminsubjectjudge" method="post" action="admindatabasesaveedit.asp" onSubmit="return submitit();">
 <input type="hidden" name="sub_id" value=<%=sid%>>
 <input name="qtype" type="hidden" value="<%=typeedit%>">  
  <input type="hidden" name="setUserID" value="<%=v_setUserID%>"> 
   <input type="hidden" name="currUserID" value="<%=request.Cookies("userid")%>">
 <table border="1" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber3">
    <tr>
      <td width="80" align="center" bgcolor="#E1E1E1">当前题库</td>
      <td>
      <input type="text" name="subjectview" size="40" value="<%=subjectview%>" readonly class="inputnormal">
      </td>
    </tr>
    <tr>
      <td align="center" bgcolor="#E1E1E1">选择类型</td>
      <td>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber4">
        <tr>
          <td><input type="radio" name="type" disabled> </td>
          <td width="80">单选题</td>
          <td><input type="radio" name="type" disabled> </td>
          <td width="80">多选题</td>
          <td>
          <input type="radio" value="<%=request("typeadd")%>" name="typeadd" checked>
          </td>
          <td width="80">判断题</td>
        </tr>
      </table>
      </td>
    </tr>
	<tr>
		<td align="center" bgcolor="#E1E1E1">知 识 点</td>
      <td><select name="sknow">
        <option value="<%=v_kid%>" selected><%=v_kName%></option>
        <%
		sql = "select * from knowledge_info where KnowID<>"&v_kid&" and Sub_ID = "&sid
		set rs = server.CreateObject("adodb.recordset")
		rs.open sql,conn,3,2
		do while not rs.eof
		%>
        <option value="<%=rs("KnowID")%>" ><%=rs("KnowName")%></option>
        <%
	   rs.movenext
	   loop
	   %>
      </select></td>
    </tr>
	<tr>
      <td align="center" bgcolor="#E1E1E1">难度系数</td>
      <td>
        <table width="100%"  border="0">
          <tr>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="1"    <% IF v_sdiff = "1" then
			%>
               checked 
			   <%end if%>>
                <span class="style1">简单</span></div></td>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="2"    <% IF v_sdiff = "2" then
			%> checked  <%end if%>>
                <span class="style1">较易</span></div></td>
            <td><div align="center">
                <input name="fdif_button" type="radio" value="3"     <% IF v_sdiff = "3" then
			%> checked <%end if%>>
                <span class="style1">中等</span></div></td>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="4"     <% IF v_sdiff = "4" then
			%>
               checked <%end if%>>
                <span class="style1"> 较难</span></div></td>
            <td><div align="center">
                <input type="radio" name="fdif_button" value="5"     <% IF v_sdiff = "5" then
			%> checked   <%end if%> >
                <span class="style1">困难</span></div></td>
          </tr>
        </table></td>
	</tr>
    <tr>
      <td align="center" bgcolor="#E1E1E1">标&nbsp;&nbsp;&nbsp; 题</td>
      <td>
      <textarea rows="3" name="question" cols="60" onBlur="this.className='inputnormal'" onFocus="this.className='inputedit';this.select()" class="inputnormal"><%=question%></textarea>
      </td>
    </tr>
    <tr>
      <td align="center" bgcolor="#E1E1E1" height="20">答&nbsp;&nbsp;&nbsp; 案</td>
      <td height="20">
      <input type="text" name="answer" size="20" value="<%=answer%>" onKeyUp="this.value.toUpperCase();" onBlur="this.className='inputnormal'" onFocus="this.className='inputedit';this.select()" class="inputnormal"></td>
    </tr>
    <tr>
      <td align="center" height="20" colspan="2">
      <div align="right">
        <input type="hidden" value="<%=id%>" name="id">
        <input type="submit" value="保存" name="B1" class="s02">
        <input type="button" value="关闭窗口" name="B2" onClick="self.close()" class="s02">
      </div>
      </td>
    </tr>
  </table>
</form>
<%
end if
%>

</body>

</html>

⌨️ 快捷键说明

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