?? displayresult.asp
字號:
<!--#include file="db.asp"-->
<%
sql="select * from score where userid=" & request("userid") & " and testid=" & request("testid")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
rs.movelast
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>在線考試系統</title>
<script language="javascript">
</script>
<link href="../Style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="98%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>當前位置:在線考試系統 -> 考試結果
<hr></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#5A8BCE" id="AutoNumber1" style="border-collapse: collapse">
<tr>
<td width="100%" height="30" bgcolor="#E6F7FF" style="border-left-style: solid; border-left-width: 0; border-right-style: solid; border-right-width: 0; border-top-style: solid; border-top-width: 0; border-bottom: 1px solid #000000"> </td>
</tr>
<tr>
<td width="100%" height="30" bgcolor="#FFFFFF">祝賀您,您已經成功完成考試</td>
</tr>
<tr>
<td width="100%" height="30" bgcolor="#FFFFFF">開始答題的時間是:<%=rs("starttime")%></td>
</tr>
<tr>
<td width="100%" height="30" bgcolor="#FFFFFF">結束答題的時間是:<%=rs("endtime")%></td>
</tr>
<tr>
<td width="100%" height="30" bgcolor="#FFFFFF">本次考試的分為:<b><font color="#FF0000" size="3"><%=rs("score")%></font></b>分</td>
</tr>
<tr>
<td width="100%" height="60" bgcolor="#E6F7FF" style="border-left-style: solid; border-left-width: 0; border-right-style: solid; border-right-width: 0; border-top: 1px solid #000000; border-bottom-style: solid; border-bottom-width: 0">
<p align="center"><a href="subject.asp">參加其他科目的考試</a></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -