logquery.asp

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

ASP
110
字号
<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>
<!-- #include file="adoconn.asp" -->

<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"><p align="center"><font face="华文新魏" size="4" color="#000080">输入查询条件</font></p>

<form method="POST" action="Loglist.asp" align="center">

<div align="left">
  <table border="1" width="85%" height="55" align="center">
    <tr>
      <td width="17%" height="1">
        <p align="left">操作员编码</p>
      </td>
      <td width="61%" height="1" align="center">
        <p align="left">&nbsp;<input type="text" name="T1" size="10" style="border-style: solid; border-color: #FFFFFF" maxlength="18"></p>
      </td>
      <td width="22%" height="1" align="center">
        <input type="radio" name="R1" value=" AND ">与&nbsp; <input type="radio" value=" OR " name="R1" checked>或       
      </td> 
    </tr> 
    <tr> 
      <td width="17%" height="24"> 
        <p align="left">起止时间段</p>        
      </td>             
      <td width="83%" height="24" align="center" colspan="2">        
        <p align="left">      
      <font color="#FF0000">      
      从</font><select size="1" name="D1">  
        <option selected><%=Session("Year")%></option> 
        <%for y=session("Year") to 2000 step -1 %>      
        <option><%=(y)%></option>                                      
        <%next%>     
        </select>年     
        
        <select size="1" name="D2">   
        <option selected><%=session("Month")%></option>      
        <%for m=1 to 12 
          if m<10 then %>    
           <option><%=("0"&m)%></option>   
            <%else %>       
           <option><%=(m) %></option>  
           <%end if %>    
        <%next%> 
        </select>月   
        
        <select size="1" name="D3">         
        <option selected><%=("0" & 1)%></option>   
        <%for d=1 to 31 
         if d<10 then %>   
          <option><%=("0"&d)%></option>     
          <%else%>        
          <option><%=(d) %></option>    
          <%end if %>    
        <%next%>  
         </select>日 <font color="#FF0000">至</font>   
       
       <select size="1" name="D4">
        <option selected><%=Session("Year")%></option> 
        <%for y=session("Year") to 2000 step -1 %>      
        <option><%=(y)%></option>                                      
        <%next%>     
        </select>年     
        
        <select size="1" name="D5">   
        <option selected><%=session("Month")%></option>      
        <%for m=1 to 12 
          if m<10 then %>    
           <option><%=("0"&m)%></option>   
            <%else %>       
           <option><%=(m) %></option>  
           <%end if %>    
        <%next%> 
        </select>月   
        
        <select size="1" name="D6">         
        <option selected><%=session("Day")%></option>   
        <%for d=1 to 31 
         if d<10 then %>   
          <option><%=("0"&d)%></option>     
          <%else%>        
          <option><%=(d) %></option>    
          <%end if %>    
        <%next%>  
         </select>日      
      </td>     
    </tr>     
  </table>   
</div>   
<p align="center"><input type="submit" value="全部浏览" name="B1"><input type="submit" value="条件查询" name="B2"><input type="reset" value="全部重写" name="B3"></p>  
</form>  
  
 <!--msnavigation--></td></tr><!--msnavigation--></table></body>  
  
</html>  
 

⌨️ 快捷键说明

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