reportforms.asp
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:3k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

DOS

  1. <!--#include file="conn.asp"-->
  2. <%
  3. dim cls
  4. if session("admin")="" then
  5. Response.Redirect("admin.asp")
  6. else
  7. if session("flag")<>"0" then
  8. cls = Instr(session("flag"), "xiaoshoufig")
  9. if cls <= 0 then
  10. %>
  11. <script language="javascript">
  12. if (confirm("您的操作权限不够,系统拒绝你的访问,请点确定返回,或者点取消退出重新登录"))
  13.   location.href="login.asp";
  14. else
  15.   location.href="index.asp";
  16. </script>
  17. <%
  18. end if
  19. end if
  20. end if
  21. %>
  22. <html><head><title>Untitled Document</title>
  23. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  24. <link href="../images/css.css" rel="stylesheet" type="text/css">
  25. </head>
  26. <body>
  27. <table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
  28. <tr> 
  29. <td colspan="4" align="center" background="../images/admin_bg_1.gif"><b><font color="#ffffff">统计报表</font></b></td>
  30. </tr>
  31. <tr> 
  32. <td bgcolor="fbf4f4" > 
  33. <table width="400" border="0" align="center" cellpadding="2" cellspacing="1">
  34. <form name="form1" method="post" action="reportform.asp">
  35.       <tr> 
  36.          
  37.       <td width="40%" align="right" class="forumRowHighlight">开始日期:</td>
  38.          
  39.       <td width="60%" class="forumRowHighlight">
  40. <select name="year1"><%for i=2004 to 2100%><option value="<%=year(now())%>"  <%if year(now())=i then%>selected<%end if%>><%=i%></option>
  41. <%next%></select>
  42. 年<select name="month1"><%for i=1 to 12%><option value="<%=i%>"  <%if month(date())=i then %>selected<% end if %>><%=i%></option>
  43. <%next%></select>
  44. 月<select name="day1"><%for i=1 to 31%><option value="<%=i%>"  ><%=i%></option>
  45. <%next%></select>
  46.         日 </td>
  47. </tr>
  48.     <tr> 
  49.        
  50.       <td align="right" class="forumRowHighlight">结束日期:</td>
  51.        
  52.       <td width="60%" class="forumRowHighlight">
  53. <select name="year2"><%for i=2004 to 2100%><option value="<%=year(now())%>"  <%if year(now())=i then%>selected<%end if%>><%=i%></option>
  54. <%next%></select>
  55. 年<select name="month2"><%for i=1 to 12%><option value="<%=i%>"  <%if month(date())=i then %>selected<% end if %>><%=i%></option>
  56. <%next%></select>
  57. 月<select name="day2"><%for i=1 to 31%><option value="<%=i%>"  <%if day(date())=i then %>selected<% end if %>><%=i%></option>
  58. <%next%></select>
  59.         日 </td>
  60.   </tr>
  61.   <tr> 
  62.    <td height="22" colspan="2" align="center" class="forumRowHighlight"><input  type="submit" name="Submit" value=" 统  计 "></td>
  63.   </tr>
  64.  </form>
  65. </table>
  66. </td>
  67. </tr>
  68. </table>
  69. <!--#include file="foot.asp"-->
  70. </body>
  71. </html>