📄 index1.asp
字号:
<!--#include file="conn.asp"-->
<%flag=0
set rs=conn.execute("select top 1 * from test order by id desc ")
if rs.eof then
flag=1
message="<p align=center><font color=red>======= 暂无考试 =======</font></p>"
else
tid=rs("id")
pd=rs("判断题数")
pds=rs("判断题每题分数")
xz=rs("选择题数")
xzs=rs("选择题每题分数")
tk=rs("填空题数")
tks=rs("填空题每题分数")
zfen=pd*pds+xz*xzs+tk*tks
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>学生党校网上测试系统</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<body topmargin="0" leftmargin="0">
<!--#include file="top.htm"-->
<div align="center">
<center>
<table border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="760" height="100">
<tr>
<td align="center">
<div align="center">
<center>
<table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="400">
<tr>
<td><%=session("student")%>,你好!以下你将要参加的第 <font color=red><%=tid%></font> 期考试情况:</td>
</tr>
<tr>
<td> 本期考试 <font color=red><%=pd%></font> 道判断题,<font color=red><%=xz%></font> 道选择题,<font color=red><%=tk%></font> 道填空题,总分 <font color=red><%=zfen%></font> 分</td>
</tr>
<tr>
<td align="right"><a href="test.asp">进入考试===></a></td>
</tr>
<tr>
<td>查询你以往考试成绩:</td>
</tr>
<tr>
<td align="center">
<select name="cate" size="1" style="background-color: rgb(224,252,255)">
<option selected value="0">第一期</option>
<option value="1">第二期</option></select></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</center>
</div>
<!--#include file="adv.htm"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -