gdsj.asp
来自「这是用asp做的一个网上考试题库系统」· ASP 代码 · 共 117 行
ASP
117 行
<%Session("csjr")=Session("Username")%>
<script language="JavaScript">
function sjonmouseover()
{
sj.style.color="#00FFFF";
}
function gdonmouseout()
{
sj.style.color="#CCCCFF"
}
function zsyonmouseover()
{
zsy.style.color="#00FFFF";
}
function zsyonmouseout()
{
zsy.style.color="#CCCCFF"
}
</script>
<html>
<table width="48%" border="0" bgcolor="#FF6666" bordercolor="#FFFFFF" align="center">
<tr bgcolor="#FF3333">
<td width="15%" nowrap bgcolor="#FF9999">
<div align="center"><a href="./gdsj.asp"><font color="#00FFFF">固定试卷</font></a></div>
</td>
<td width="18%" nowrap bgcolor="#FF9999">
<div onmouseover="sjonmouseover() " onmouseout="sjonmouseout()"></div>
<div align="center"><a href="./randomsj.asp?time=3"><font id=sj color="#CCCCFF">随机试卷</font></a></div>
</td>
</tr>
</table>
<p> </p>
<p> </p>
<form method=post action="gdsjstep2.asp?time=1" name="form1">
<table width="75%" align="center">
<tr>
<td>
<div align="center"><b><font color="#FF0000">请输入试卷参数</font></b></div>
</td>
</tr>
</table>
<table width="75%" border="1" align="center" bordercolor="#3366FF">
<tr>
<td width="111" nowrap>
<div align="right"><font color="#0000FF">试卷标题:</font></div>
</td>
<td align="left" valign="center" colspan="5" nowrap>
<div align="left">
<input name="Title" size="59" value="<%if Session("Title")<>"" then Response.Write Session("Title") else Response.Write "请输入标题..." end if%>">
</div>
</td>
</tr>
<tr>
<td width="111">
<div align="right"><font color="#0000FF">试卷描述:</font></div>
</td>
<td align="left" valign="center" colspan="5">
<p>
<input name="Depiction" size="59" value="<%if Session("Depiction")<>"" then Response.Write Session("Depiction") else Response.Write "请输入简单描述..." end if%>">
</p>
</td>
</tr>
<tr>
<td width="111" align="right" valign="center">
<p align="right"><font color="#0000FF">总分数:</font><font face="宋体" color="#0000FF">
</font></p>
</td>
<td width="109" align="right" valign="center">
<p align="left">
<input name="TotalScore" size="10" value="<%if Session("TotalScore")<>"" then Response.Write Session("TotalScore") else Response.Write "100" end if%>">
<font color="#0000FF">分</font> </p>
</td>
<td width="150" align="right" valign="center">
<p align="right"><font face="宋体" color="#0000FF">考试时间:</font></p>
</td>
<td width="186" align="right" valign="center">
<p align="left"><input name="TotalTime" size="10" value="<%if Session("TotalTime")<>"" then Response.Write Session("TotalTime") else Response.Write "100" end if%>">
<font color="#0000FF">分钟</font></p>
</td>
</tr>
<tr>
<td width="111">
<div align="right"><font color="#0000FF">出试卷人:</font></div>
</td>
<td width="109">
<input type="text" name="csjr" size="20" value="<%=Session("csjr")%>">
</td>
<td width="150">
<div align="right"><font color="#0000FF">出试卷时间:</font></div>
</td>
<td>
<input type="text" name="csjtime" size="20" value="<%=date()%>">
</td>
</tr>
</table>
<table width="75%" align="center">
<tr>
<td height="74" width="49%" nowrap>
<div align="right">
<input type="submit" name="Submit" value=" 设置完毕 ">
</div>
</td>
<td height="74" width="4%" nowrap> </td>
<td height="74" width="47%">
<input type="reset" name="Submit2" value=" 重新设置 ">
</td>
</tr>
</table>
<p> </p>
</form>
<p> </p>
<p> </p>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?