📄 admindatabaseadd.asp
字号:
<b><font color="#FFFFFF">答 案</font></b></td>
<td height="54" width="445" colspan="3" bgcolor="#FFFDE8" bordercolor="#799AE1">
<textarea rows="4" name="answer" cols="60" onblur="this.className='inputnormalleft'" onfocus="this.className='inputedit';this.select()" class="inputnormalleft"></textarea></td>
</tr>
<tr>
<td align="center" height="19" bgcolor="#799AE1" width="195" bordercolor="#799AE1">
<b><font color="#FFFFFF">章 <span lang="en-us"> </span> 节</font></b></td>
<td height="19" width="237" bgcolor="#FFFDE8" bordercolor="#799AE1">
<select size="1" name="chapter"><%
sqlch="select * from tbchapter where kcid="&subjectview&" order by chapter"
set rsch=server.createobject("adodb.recordset")
rsch.open sqlch,conn,3,2
do while not rsch.eof %>
<option value="<%=rsch("chapter")%>" <%if rsch("chapter")=int(chapter) then %>selected <%end if %>>第<%=rsch("chapter")%>章</option>
<% rsch.movenext
loop
%></select></td>
<td height="19" width="49" bgcolor="#799AE1" bordercolor="#799AE1">
<p align="center"><b><font color="#FFFFFF">难 度</font></b></td>
<td height="19" width="105" bgcolor="#FFFDE8" bordercolor="#799AE1">
<select size="1" name="level">
<option selected value="1">容易</option>
<option value="2">中等</option>
<option value="3">较难</option>
<option value="4">最难</option>
</select></td>
</tr>
<tr>
<td align="center" height="32" colspan="4" width="575">
<div align="right">
<input type="submit" value="保存" name="B1" class="s02">
<span lang="en-us"> </span>
<input type="reset" value="重置" name="B2" class="s02"><span lang="en-us">
</span> <INPUT class="s02" onclick="window.location='admindatabase.asp?subjectview=<%=subjectview%>&typeadd=<%=typeadd%>';" type=button value=返回 name=close>
</div>
</td>
</tr>
</table>
</center>
<%
end if
if request("typeadd")="4" then
%><p></p><center>
<%=request("str")%><table border="1" cellspacing="1" style="border-collapse: collapse" bordercolor="#799AE1" width="525" id="AutoNumber3" height="401">
<tr>
<td width="159" align="center" bgcolor="#799AE1" height="20" bordercolor="#799AE1">
<b><font color="#FFFFFF">当前题库</font></b></td>
<td width="247" height="20" bgcolor="#FFFDE8">
<input type="text" name="subjectview1" size="40" value="<%=rs("kcm")%>" readonly class="inputnormal">
</td>
<td width="184" colspan="2" height="20" bgcolor="#FFFDE8">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="20%" height="2">
<input type="radio" name="kao" value="1" <%if kao="1" then %> checked <%end if %>></td>
<td width="34%" height="2">考 试</td>
<td width="13%" height="2">
<input type="radio" name="kao" value="0" <%if kao="0" then %> checked <%end if %>></td>
<td width="33%" height="2">练 习</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="159" height="27" bordercolor="#799AE1">
<b><font color="#FFFFFF">类<span lang="en-us">
</span>型</font></b></td>
<td width="444" colspan="3" height="27" bgcolor="#FFFDE8">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber4">
<tr>
<td width="20"> </td>
<td width="86">单选题</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="195" height="54" bordercolor="#799AE1">
<b><font color="#FFFFFF">图
片</font></b></td>
<td width="449" colspan="3" height="54" bgcolor="#FFFDE8">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="425">
<tr>
<td align="center" id="upid" height="47" width="418">
<input type="file" name="file1" size="30" class="inputnormalleft" ><span lang="en-us">
</span><input type="submit" name="Submit" value="提 交" class="s02" onclick="savephoto1(addform)" ></td>
</tr>
<%if filename<>"" then %>
<tr>
<td align="center" id="upid" height="69" width="418">
<img border="0" src="examimage/<%=filename%>"><br><%=filename%></td>
</tr><%end if %>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="159" height="54" bordercolor="#799AE1">
<b><font color="#FFFFFF">试 题</font></b></td>
<td width="444" colspan="3" height="54" bgcolor="#FFFDE8">
<textarea rows="4" name="question" cols="60" onblur="this.className='inputnormalleft'" onfocus="this.className='inputedit';this.select()" class="inputnormalleft"></textarea>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="159" height="96" bordercolor="#799AE1">
<b><font color="#FFFFFF">内 容</font></b></td>
<td width="444" colspan="3" height="96" bgcolor="#FFFDE8">A.<input type="text" name="text1" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
B.<input type="text" name="text2" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
C.<input type="text" name="text3" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
D.<input type="text" name="text4" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
E.<input type="text" name="text5" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
F.<input type="text" name="text6" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal">
</td>
</tr>
<tr>
<td align="center" height="20" bgcolor="#799AE1" width="159" bordercolor="#799AE1">
<b><font color="#FFFFFF">答 案</font></b></td>
<td height="20" width="444" colspan="3" bgcolor="#FFFDE8">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber5" width="247">
<tr>
<td width="20"><span lang="en-us"> </span>A</td>
<td width="20"><input type="radio" name="answer" value="A"></td>
<td width="20"><span lang="en-us"> </span>B</td>
<td width="20"><input type="radio" name="answer" value="B"></td>
<td width="20"><span lang="en-us"> </span>C</td>
<td width="21"><input type="radio" name="answer" value="C"></td>
<td width="21"><span lang="en-us"> </span>D</td>
<td width="21"><input type="radio" name="answer" value="D"></td>
<td width="21"><span lang="en-us"> </span>E</td>
<td width="21"><input type="radio" name="answer" value="E"></td>
<td width="21"><span lang="en-us"> </span>F</td>
<td width="21"><input type="radio" name="answer" value="F"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" height="19" bgcolor="#799AE1" width="205" bordercolor="#799AE1">
<b><font color="#FFFFFF">章 <span lang="en-us"> </span> 节</font></b></td>
<td height="19" width="235" bgcolor="#FFFDE8">
<select size="1" name="chapter"><%
sqlch="select * from tbchapter where kcid="&subjectview&" order by chapter"
set rsch=server.createobject("adodb.recordset")
rsch.open sqlch,conn,3,2
do while not rsch.eof %>
<option value="<%=rsch("chapter")%>" <%if rsch("chapter")=int(chapter) then %>selected <%end if %>>第<%=rsch("chapter")%>章</option>
<% rsch.movenext
loop
%></select></td>
<td height="19" width="53" bgcolor="#799AE1">
<p align="center"><b><font color="#FFFFFF">难 度</font></b></td>
<td height="19" width="101" bgcolor="#FFFDE8">
<select size="1" name="level">
<option selected value="1">容易</option>
<option value="2">中等</option>
<option value="3">较难</option>
<option value="4">最难</option>
</select></td>
</tr>
<tr>
<td align="center" height="35" colspan="4" width="547">
<div align="right">
<input type="submit" value="保存" name="B1" class="s02"><span lang="en-us">
</span>
<input type="reset" value="重置" name="B2" class="s02"><span lang="en-us">
</span> <INPUT class="s02" onclick="window.location='admindatabase.asp?subjectview=<%=subjectview%>&typeadd=<%=typeadd%>';" type=button value=返回 name=close>
</div>
</td>
</tr>
</table>
</center>
<%
end if
if request("typeadd")="5" then
%><center>
<%=request("str")%><table border="1" cellspacing="1" style="border-collapse: collapse" bordercolor="#799AE1" width="522" id="AutoNumber3" height="406">
<tr>
<td width="152" align="center" bgcolor="#799AE1" height="20" bordercolor="#799AE1">
<b><font color="#FFFFFF">当前题库</font></b></td>
<td width="247" height="20" bgcolor="#FFFDE8" bordercolor="#799AE1">
<input type="text" name="subjectview1" size="40" value="<%=rs("kcm")%>" readonly class="inputnormal">
</td>
<td width="188" colspan="2" height="20" bgcolor="#FFFDE8" bordercolor="#799AE1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="20%" height="2">
<input type="radio" name="kao" value="1" <%if kao="1" then %> checked <%end if %>></td>
<td width="34%" height="2">考 试</td>
<td width="13%" height="2">
<input type="radio" name="kao" value="0" <%if kao="0" then %> checked <%end if %>></td>
<td width="33%" height="2">练 习</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="152" height="32" bordercolor="#799AE1">
<b><font color="#FFFFFF">类<span lang="en-us">
</span>型</font></b></td>
<td width="446" colspan="3" height="32" bgcolor="#FFFDE8" bordercolor="#799AE1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber4">
<tr>
<td width="20"> </td>
<td width="90">多选题</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="195" height="54" bordercolor="#799AE1">
<b><font color="#FFFFFF">图
片</font></b></td>
<td width="449" colspan="3" height="54" bgcolor="#FFFDE8" bordercolor="#799AE1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="425">
<tr>
<td align="center" id="upid" height="47" width="418">
<input type="file" name="file1" size="30" class="inputnormalleft" ><span lang="en-us">
</span><input type="submit" name="Submit" value="提 交" class="s02" onclick="savephoto1(addform)" ></td>
</tr>
<%if filename<>"" then %>
<tr>
<td align="center" id="upid" height="69" width="418">
<img border="0" src="examimage/<%=filename%>"><br><%=filename%></td>
</tr><%end if %>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="152" height="54" bordercolor="#799AE1">
<b><font color="#FFFFFF">试 题</font></b></td>
<td width="446" colspan="3" height="54" bgcolor="#FFFDE8" bordercolor="#799AE1">
<textarea rows="4" name="question" cols="60" onblur="this.className='inputnormalleft'" onfocus="this.className='inputedit';this.select()" class="inputnormalleft"></textarea>
</td>
</tr>
<tr>
<td align="center" bgcolor="#799AE1" width="152" height="96" bordercolor="#799AE1">
<b><font color="#FFFFFF">内 容</font></b></td>
<td width="446" colspan="3" height="96" bgcolor="#FFFDE8" bordercolor="#799AE1">A.<input type="text" name="text1" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
B.<input type="text" name="text2" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
C.<input type="text" name="text3" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
D.<input type="text" name="text4" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
E.<input type="text" name="text5" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><br>
F.<input type="text" name="text6" size="60" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal">
</td>
</tr>
<tr>
<td align="center" height="20" bgcolor="#799AE1" width="152" bordercolor="#799AE1">
<b><font color="#FFFFFF">答 案</font></b></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -