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

📄 addnew.asp

📁 在线考试系统
💻 ASP
字号:
<%@ Language=VBScript%> 
<%option explicit

dim totalrec 
totalrec=Session.contents("totalrec")
%>
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Add New Record...</title>
</head>

<body>
<div align="left">
<table width="80%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
<tr><td style="WIDTH: 500px" width=500 bgColor=gold 
      ><P align=right><strong style="font-weight: 400"><span lang="zh-cn">
	<font size="4">添加新的试题</font></span></strong> </P>
</td>     
</tr>
</table>
</div>
<form method="POST" name="form_addnew" action="addnew_code.asp">
  <div align="left">

    <table border="1" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="80%">
      <tr>
        <td width="50%"><span lang="zh-cn">序号</span></td>
        <td width="50%">
        <input type="text" name="q_id" size="20" value="<%=totalrec+1%>"></td>
      </tr>
      <tr>
        <td width="50%">编号 </td>
        <td width="50%">
        <input type="text" name="code" size="20"></td>
      </tr>
      <tr>
        <td width="50%">问题</td>
        <td width="50%"><textarea rows="6" name="question" cols="30"></textarea></td>
      </tr>
      <tr>
        <td width="50%"> </td>
        <td width="50%"> </td>
      </tr>
      <tr>
        <td width="50%">选项 A</td>
        <td width="50%"><textarea rows="4" name="optA" cols="30"></textarea></td>
      </tr>
      <tr>
        <td width="50%">选项 B</td>
        <td width="50%"><textarea rows="4" name="optB" cols="30"></textarea></td>
      </tr>
      <tr>
        <td width="50%">选项 C</td>
        <td width="50%"><textarea rows="4" name="optC" cols="30"></textarea></td>
      </tr>
      <tr>
        <td width="50%"> </td>
        <td width="50%"> </td>
      </tr>
      <tr>
        <td width="50%" height="25">答案</td>
        <td width="50%" height="25"><select size="1" name="answer">
        <option selected value="A">A</option>

        <option value="B">B</option>
        <option value="C">C</option>
        </select></td>
      </tr>
      <tr>
        <td width="50%">图像</td>
        <td width="50%">
        <input type="text" name="image" size="20" value ="none"></td>
      </tr>
      <tr>
        <td width="50%"> </td>
        <td width="50%"> </td>
      </tr>
      <tr>
        <td width="50%"> </td>
        <td width="50%" bgcolor="#FFD700">
        <p align="center">
        <input type="reset" value="清空" name="B2">
        <input type="submit" value="添加记录" name="addnew"> </td>
      </tr>
    </table>
  </div>
</form>

</body>

</html>

⌨️ 快捷键说明

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