📄 admindatabaseadd1.asp
字号:
<!--#include file="conn.inc"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加试题</title>
<style type="text/css">
<!--
.STYLE2 {
font-size: 9pt;
font-family: "宋体";
}
.STYLE3 {
font-family: "宋体";
font-size: 10pt;
font-weight: bold;
}
.STYLE4 {font-size: 9pt; font-family: "宋体"; font-weight: bold; }
.STYLE6 {
font-size: 9pt;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="100%" height="25" border="0" cellspacing="0" bordercolor="#111111" bgcolor="#66CCFF" id="AutoNumber2" style="border-collapse: collapse">
<tr>
<td width="100%"><span class="STYLE2">当前位置:<a href="news.asp">系统管理</a> > <a href="admindatabaseselect.asp">题库管理</a> > <a href="admindatabase.asp">试题管理</a> > 增加试题 </span></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td width="11%"><img src="images/1.jpg" width="80" height="30"></td>
<td width="89%"><span class="STYLE3">选择试题基本信息</span></td>
</tr>
</table>
<%
userid=request.Cookies("userid")
sql1="select * from subject_info where SubID in (select Sub_ID from teacher_subject where Teacher_ID="&userid&")"
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,3,2
sql2="select * from question_type"
set rs2=server.createobject("adodb.recordset")
rs2.open sql2,conn,3,2
%>
<form name="form1" method="post" action="admindatabaseadd2.asp">
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#c9def3">
<tr>
<td width="28%"><div align="center" class="STYLE4">选择科目</div></td>
<td width="72%"><label>
<select name="subject" id="subject">
<option selected>--选择科目--</option>
<%while not rs1.eof%>
<option value="<%=rs1("SubID")%>"><%=rs1("SubName")%></option>
<%
rs1.movenext
wend
rs1.close
%>
</select>
</label></td>
</tr>
<tr>
<td><div align="center"><span class="STYLE6">选择题型</span></div></td>
<td><label>
<select name="questype" id="questype">
<option selected>--选择题型--</option>
<%while not rs2.eof%>
<option value="<%=rs2("QueType")%>"><%=rs2("QueTypeName")%></option>
<%
rs2.movenext
wend
rs2.close
%>
</select>
</label></td>
</tr>
</table>
<br>
<label>
<input type="submit" name="Submit" value="提交">
</label>
</form>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -