scoreinfo.asp

来自「《动态网页设计基础教程》,胡杰,科学出版社」· ASP 代码 · 共 108 行

ASP
108
字号
<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">
<Script Language="vbscript" for="B2" event="Onclick" %>
        History.Back
</Script>

<!-- #include file="adoconn.asp" -->  
<%
 Certificate()
 call GenerateTerm
 listItem("select college from colleges")  
%>  
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td valign="top">
<p align="center"><font face="华文新魏" size="4" color="#000080">输入查询关键信息</font></p>
<form method="POST" action="ScoreList.asp" align="center">

<div align="left">
  <table border="1" width="64%" height="83" align="center">
    <tr>
      <td width="20%" height="23">
        <p align="left">学年:</p>
      </td>
      <td width="54%" height="23" align="center">
        <p align="left"><select size="1" name="D1">
           <% 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>年&nbsp; 至&nbsp;&nbsp; <select size="1" name="D2">   
           <% 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>年</p>    
      </td>    
    </tr>      
    <tr>      
      <td width="20%" height="24">      
        <p align="left">学期:</p>              
      </td>                   
      <td width="54%" height="24" align="center">              
        <p align="left">            
      <select size="1" name="D3">   
        <option selected><%=session("term") %></option>     
        <option>一</option> 
        <option>二</option> 
        <option>三</option> 
        <option>四</option> 
      </select></p>         
      </td>         
    </tr>         
    <tr>         
      <td width="20%" height="18">         
        <p align="left">部门:</p>        
      </td>            
      <td width="90%" height="18" align="center">        
        <p align="left">      
      <select size="1" name="D4" style="background-color: #C0C0C0; border-style: inset">          
      <option selected value="所有部门">所有部门</option>
      <% for recordi=0 to Itemcount-1%>          
      <option><%=ItemArray(0,recordi)%></option>          
      <%next%>          
    </select>                   
     
        </p>        
      </td>        
    </tr>        
  </table>        
</div>        
<p align="center"><input type="submit" value="查询" name="B1">&nbsp;&nbsp; <input type="submit" value="返回" name="B2"></p>       
</form>       
</table>    

 <!--msnavigation--></td></tr><!--msnavigation--></table></body>              
</html>         
        
      
    
    
    
    

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?