📄 pc_noview.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="const.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="img/Style.css" rel="stylesheet" type="text/css" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<%
Dim rs1
Set rs1 = Server.CreateObject("ADODB.Recordset")
rs1.ActiveConnection = dbconn
rs1.Source = "SELECT month,month_name FROM set_month where isok=1"
rs1.CursorType = 0
rs1.CursorLocation = 2
rs1.LockType = 1
rs1.Open()
if rs1.eof or rs1.bof then
response.Write("系统错误")
response.End()
end if
dim ismonth
ismonth=month(date)
%>
<p> </p>
<p> </p>
<form name="form" action="pc_noview_list.asp" method="post" >
<table width="80%" border="0" align="center" cellpadding="1" cellspacing="0" class="atable1">
<tr>
<td colspan="6" bgcolor="#333"><span class="STYLE1"> 学号定位查询</span></td>
</tr>
<tr>
<td height="29" colspan="6" class="tdmenu"><br /> <span class="jushe"> 请输入查询条件,查询结果是起始学号和终止学号之间用户的指定月份的纪录,起始学号和终止学号填ALL的则代表全部</span></td>
</tr>
<tr>
<td height="30" class="tdmenu"><div align="center"> 起始学号:</div></td>
<td width="16%" height="30" class="tdmenu">
<div align="left">
<input name="start_userno" type="text" class="tdmenu" id="start_userno" value="ALL" size="20" maxlength="20" />
</div></td>
<td height="30" class="tdmenu"><div align="center"> 终止学号:</div></td>
<td height="30" class="tdmenu">
<div align="left">
<input name="end_userno" type="text" class="tdmenu" id="end_userno" value="ALL" size="20" maxlength="20" />
</div></td><td height="30" class="tdmenu"><div align="center"> 选择月份:</div></td>
<td height="30" class="tdmenu">
<div align="left">
<select name="t_month" class="tdmenu" id="t_month" onchange="javascript:t_month1.value=t_month.value;tj.value='查看[ '+t_month.value+' ]月份综合分'">
<%do while not rs1.eof%>
<option value="<%=rs1(0)%>" <%if ismonth=rs1(0) then response.Write("selected='selected'") end if%>><%=rs1(1)%></option>
<%rs1.movenext()
loop%>
<option value="fir">第一学期</option>
<option value="sed">第二学期</option>
</select>
<=>
<input name="t_month1" type="text" value="<%=ismonth%>" class="tdmenu" id="t_month1" size="1" maxlength="1" disabled="disabled" />
</div></td></tr>
<tr>
<td height="30" class="tdmenu"><div align="center"> 排 序:</div></td>
<td height="30" class="tdmenu">
<select name="orderby" class="tdmenu" id="orderby" >
<option value="1" selected="selected">学号升序</option>
<option value="2">评分升序</option>
<option value="3">评分降序</option>
</select></td>
<td height="30" class="tdmenu"> </td>
<td height="30" class="tdmenu"> </td>
<td height="30" class="tdmenu"> </td>
<td height="30" class="tdmenu"> </td></tr>
<tr>
<td class="tdmenu" colspan="6"><div align="center"> <br />
<input name="提交" type="submit" class="tdmenu" id="tj" value="查询[ <%=ismonth%> ]月份综合分" />
<input name="重填" type="reset" class="tdmenu" id="重填" value="重填" />
<br />
<br />
</div></td>
</tr>
</table>
</form>
<%rs1.close
set rs1=nothing%>
</body>
</html>
<%dbconn.close%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -