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

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

开发平台:

DOS

  1. <!--#include file="conn.asp"-->
  2. <%if session("admin")="" then
  3. response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
  4. response.End
  5. end if
  6. %>
  7. <html><head><title>Untitled Document</title>
  8. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  9. <link href="../images/css.css" rel="stylesheet" type="text/css">
  10. </head>
  11. <body>
  12. <table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
  13. <tr> 
  14. <td colspan="4" align="center" bgcolor="#cccccc"><b><font color="#ffffff">统计报表</font></b></td>
  15. </tr>
  16. <tr> 
  17. <td > 
  18. <table width="400" border="0" align="center" cellpadding="2" cellspacing="1">
  19. <form name="form1" method="post" action="statforms.asp">
  20. <tr> 
  21. <td>开始日期:</td>
  22. <td>
  23. <select name="year1">
  24. <%for i=2006 to 2100%>
  25. <option value="<%=i%>"  <%if year(now())=i then%>selected<%end if%>><%=i%></option>
  26. <%next%>
  27. </select>
  28. 年 
  29. <select name="month1">
  30. <%for i=1 to 12%>
  31. <option value="<%=i%>"  <%if year(date())=i then %>selected<% end if %>><%=i%></option>
  32. <%next%>
  33. </select>
  34. 月 
  35. <select name="day1">
  36. <%for i=1 to 31%>
  37. <option value="<%=i%>"  ><%=i%></option>
  38. <%next%>
  39. </select>
  40. 日 </td>
  41. </tr>
  42. <tr> 
  43. <td width="70">结束日期:</td>
  44. <td width="278">
  45. <select name="year2">
  46. <%for i=2006 to 2100%>
  47. <option value="<%=i%>" ><%=i%> </option>
  48. <%next%>
  49. </select>
  50. 年 
  51. <select name="month2">
  52. <%for i=1 to 12%>
  53. <option value=<%=i%>  ><%=i%> </option>
  54. <%next%>
  55. </select>
  56. 月 
  57. <select name="day2">
  58. <%for i=1 to 31%>
  59. <option value=<%=i%>  <%if year(date())=i then%>selected<%end if%>><%=i%> </option>
  60. <%next%>
  61. </select>
  62. 日 </td>
  63. </tr>
  64. <tr> 
  65. <td colspan="2" align="center"> 
  66. <input type="submit" name="Submit" value="统 计">
  67. </td>
  68. </tr>
  69. </form>
  70. </table>
  71. </td>
  72. </tr>
  73. </table>
  74. <!--#include file="foot.asp"-->
  75. </body>
  76. </html>