tchoice.asp
来自「《动态网页设计基础教程》,胡杰,科学出版社」· ASP 代码 · 共 121 行
ASP
121 行
<html>
<head>
<link rel="stylesheet" href="comCSS.css">
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>查询教师信息</title>
<meta name="Microsoft Border" content="t, default">
</head>
<body "><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
<p align="left"> </p>
</td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top">
<!-- #include file="adoconn.asp" -->
<%
Certificate()
call GenerateTerm()
listItem("select department from Departments")
%>
<p align="center"><font face="华文新魏" size="4" color="#000080">选择评分教师和评分学期</font></p>
<form method="POST" action="Tinfo.asp" align="center">
<div align="left">
<table border="1" width="75%" height="45" align="center">
<tr>
<td width="37%" height="8">
<p align="left">姓名:</p>
</td>
<td width="29%" height="8" align="center">
<p align="left">
<input type="text" name="T2" size="12" style="border-style: solid; border-color: #FFFFFF"></p>
</td>
<td width="44%" height="8" align="center">
<p align="left">
<input type="radio" name="R2" value=" AND " checked>与 <input type="radio" name="R2" value=" OR ">或</p>
</td>
</tr>
<tr>
<td width="37%" height="1">
<p align="left">部门:</p>
</td>
<td width="73%" height="1" align="center" colspan="2">
<p align="left">
<select size="1" name="D1" style="background-color: #C0C0C0; border-style: inset">
<option selected>所有部门</option>
<% for recordi=0 to Itemcount-1%>
<option><%=ItemArray(0,recordi)%></option>
<%next%>
</select>
</p>
</td>
</tr>
<tr>
<td width="37%" height="1">
学年:
</td>
<td width="73%" height="1" align="center" colspan="2">
<p align="left"><select size="1" name="D2">
<% if session("month")<9 then %>
<option selected><%=session("year") - 1 %></option>
<%else%>
<option selected><%=session("year") %></option>
<%end if %>
<%for y=2003 to 2020 %>
<option><%=(y)%></option>
<%next%>
</select>年 至 <select size="1" name="D3">
<% if session("month")<9 then %>
<option selected><%=session("year") %></option>
<%else%>
<option selected><%=session("year") + 1 %></option>
<%end if %>
<%for y=2004 to 2021 %>
<option><%=(y)%></option>
<%next%>
</select>年
</td>
</tr>
<tr>
<td width="37%" height="1">
学期:
</td>
<td width="73%" height="1" align="center" colspan="2">
<p align="left"><select size="1" name="D4">
<option selected><%=session("term") %></option>
<option>一</option>
<option>二</option>
<option>三</option>
<option>四</option>
</select>学期
</td>
</tr>
</table>
</div>
<p align="center"><input type="submit" value="打分" name="B1"><input type="reset" value="全部重选" name="B2"></p>
</form>
<!--msnavigation--></td></tr><!--msnavigation--></table></body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?