📄 dah.asp
字号:
<% language=VBscript%>
<html><head>
<style>
.bodyStyle {font-family: "Verdana", "Arial";
font-size: 10pt;
color: #00309c}
.bodyStyle2 {margin-left:12pt;
background-image: url('../djst/share/blue_gradient.jpg');
background-attachment: fixed;
color: #00309c;
width:532px; font-style:normal; font-variant:normal; font-weight:normal; font-size:10pt; font-family:Verdana, Arial}
A:HOVER {
text-decoration: none }
A:LINK { text-decoration: none }
A:ACTIVE {
text-decoration: none }
A:VISITED { text-decoration: none }
TABLE {margin-right: 20pt;
font-size: 10pt;
font-family: "Verdana", "Arial"}
.active {font-weight: bold;
color: #00309c}
.active2 {font-weight: bold;
color: #405040}
.visited {font-weight: normal;
color: #405040 }
.1 {margin-left: 0pt}
.2 {margin-left: 16pt;
width: 100pt}
.3 {margin-left: 32pt;
width: 90pt}
.4 {margin-left: 45pt;
width: 50pt}
</style>
<script language="JavaScript">
function checkform()
{
if ((document.all.form1.KID.value=="")||(document.all.form1.jyfsh.value=="")||((document.form1.zwnr .value =="")&&(document.form1.zwwj .value ==""))||((document.form1.stwjA .value =="")&&(document.form1.stwmA.value=="")))
alert("请检查分数、知识点、试题正文是否填好")
else document.form1.submit()
}
function dxonmouseover()
{
dx.style.color="#00FFFF";
}
function dxonmouseout()
{
dx.style.color="#CCCCFF"
}
function tkonmouseover()
{
tk.style.color="#00FFFF";
}
function tkonmouseout()
{
tk.style.color="#CCCCFF"
}
function pdonmouseover()
{
pd.style.color="#00FFFF";
}
function pdonmouseout()
{
pd.style.color="#CCCCFF"
}
function fxonmouseover()
{
fx.style.color="#00FFFF";
}
function fxonmouseout()
{
fx.style.color="#CCCCFF"
}
</script>
<title>增加单项选择题</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class=bodyStyle2 bgcolor=#FFFFCC>
<% if request.QueryString("Added")="" then%>
<form method="post"name=form1 action="./dxcl.asp" ENCTYPE="multipart/form-data" >
<table width="48%" border="0" bgcolor="#FF6666" bordercolor="#FFFFFF">
<tr bgcolor="#FF3333">
<td width="15%" nowrap bgcolor="#FF9999"> <a href="./da.asp"><font color="#00FFFF">单项选择题</font></a></td>
<td width="18%" nowrap bgcolor="#FF9999">
<div onmouseover="dxonmouseover() " onmouseout="dxonmouseout()"><a href="../tjst/dux.asp"><font id=dx color="#CCCCFF">多项选择题</font></a></div>
</td>
<td width="11%" nowrap bgcolor="#FF9999">
<div onmouseover="tkonmouseover() " onmouseout="tkonmouseout()"><a href="../tjst/tiankong.asp"><font id=tk color="#CCCCFF">填空题</font></a></div>
</td>
<td width="9%" nowrap bgcolor="#FF9999">
<div onmouseover="pdonmouseover() " onmouseout="pdonmouseout()"><a href="../tjst/pd.asp"><font id=pd color="#CCCCFF">判断题</font></a></div>
</td>
<td width="11%" nowrap bgcolor="#FF9999">
<div onmouseover="fxonmouseover() " onmouseout="fxonmouseout()"><a href="../tjst/fx.asp"><font id=fx color="#CCCCFF">分析题
</font></a></div>
</td>
</tr>
</table>
<%else%>
<form method="post"name=form1 action="./dxcl.asp?Added=<%= request.QueryString("Added")%>&BackTo=<%= request.QueryString("BackTo")%>" ENCTYPE="multipart/form-data" >
<%end if%>
<table width="100%" border="0" bgcolor="#FF9999">
<tr bgcolor="#FF9999">
<td nowrap height="25">
<h1> <font size="2" color="#3333FF">单项选择:(注意:黑体字项必须填写)</font></h1>
</td>
</tr>
</table>
<table border=1 align="center" bordercolor=#ffffff bordercolorlight=#000000 cellspacing=0 width="766">
<tr>
<td width="136" align="right" nowrap height="34"><font color="#FF3333">知
识 点:</font></td>
<td width="161" nowrap height="34">
<%
Set objConn = Server.CreateObject ("ADODB.Connection")
strConnection = "Data Source = ks;"
strConnection = strConnection & "User ID =lili;Password=;"
objConn.Open strConnection
Set Know = Server.CreateObject ("ADODB.Recordset")
Set Know.ActiveConnection = objConn
sql="SELECT distinct KnowledgeID,KnowledgeObject FROM knowledge where not KnowledgeObject is null"
Know.Open sql
if not Know.BOF then
Know.MoveFirst
end if
KID=""
KIDname=""
Response.Write "<select name='menu1' size='1' style='width: 180; height: 23; position: relative'>"
do while not Know.EOF
if Request(Know("KnowledgeID"))<>"" then
KID=KID &trim( Know("KnowledgeID"))&";"
KIDname=KIDname &trim(Know("KnowledgeObject"))&" "
Response.Write "<option value=''>" & Know("KnowledgeObject") & "</option>"
end if
Know.MoveNext
loop
Response.Write "</select>"%>
<input type="hidden" name="KID" size="4" Value=<%=KID%> >
<input type="hidden" name="KIDname" value="<%=KIDname%>">
</td>
<td width="108" nowrap height="34">
<% if request.QueryString("Added")="" then%>
<p align="right"><font color="#FF0000"><a href="../Selknowledge.asp?tx=1"><font color="#0000FF">多知识点选择</font></a></font>
<%else %>
<p align="right"><font color="#FF0000"><a href="../Selknowledge.asp?tx=1&Added=<%=request.QueryString("Added")%>"><font color="#0000FF">多知识点选择</font></a></font>
<% end if%>
</td>
<td width="63" align="right" height="34" nowrap>
<div align="center">用途: </div>
</td>
<td width="92" align="right" nowrap height="34">
<select name="WorkType" size='1' style='width: 80; height: 23; position: relative'>
"
<option value="Test" selected>用于考试</option>
<option value="Work">用于作业</option>
<option value="All">作业和考试</option>
</select>
</td>
<td width="180" height="34">
</tr>
<tr>
<td width="136" align="right" nowrap>
<div align="right"><b>难 度:</b></div>
</td>
<td colspan="5">
<input type="radio" value="0.9" name="nd"
id=nd>
难:1-0.8;
<input type="radio" value="0.7" name="nd"
id=nd>
较难:0.8-0.6;
<input type="radio" value="0.5" name="nd" checked>
中:0.6-0.4;
<input type="radio" value="0.3" name="nd">
较易:0.4-0.2;
<input type="radio" value="0.1" name="nd" >
易:0.2-0</td>
</tr>
<tr>
<td width="136" align="right" nowrap><b>区 分 度:</b></td>
<td colspan="5">
<input type="radio" value="0.9" name="qfd"
id=qfd>
优:1-0.8;
<input type="radio" value="0.7" name="qfd"
id=qfd>
良:0.8-0.6;
<input type="radio" value="0.5" checked name="qfd"
id=qfd>
中:0.6-0.4;
<input type="radio" value="0.3" name="qfd"
id=qfd>
较差:0.4-0.2;
<input type="radio" value="0.1" name="qfd" id=qfd
>
差:0.2-0</td>
</tr>
<tr>
<td width="136" align="right" nowrap><b>认知分类:</b></td>
<td colspan="5">
<input type="radio" name="rzhfl" value="1" id=rzhfl checked>
<span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman; mso-bidi-font-family: Times New Roman; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><font size="3">知道,</font></span>
<input type="radio" name="rzhfl" value="2" id=rzhfl>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -