<%
FType=Request("Type")
Fyear=Request("QYear")
FMonth=Request("QMonth")
FDay=Request("QDay")
Select Case FType
Case 1:
     Response.Redirect "StatDay.asp?QDay="&FYear&"-"&FMonth&"-"&FDay
Case 2:
     Response.Redirect "StatMonth.asp?QMonth="&FYear&"-"&FMonth
Case 3:
     Response.Redirect "StatYear.asp?QYear="&FYear
End Select
%>
<HTML>
<HEAD>
<TITLE>宏亮软件园网站统计分析系统</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<style type="text/css">
<!--
.style1 {color: #333333}
-->
</style>
<BODY onselectstart=window.event.returnValue=null style="background-color: #ffffff">
<link rel="stylesheet" type="text/css" href="image/style.css">
<BODY oncontextmenu="return false">
<LINK href="image/jx_style.css" type=text/css rel=stylesheet>
<!-- #Include File=Header.asp-->
  <p style="margin-top: 0; margin-bottom: 0">　</p>
<div align="center">
  <center>
  <table width="560" border=1 bordercolor=#CDCDCD cellpadding=0 cellspacing=0 style="border-collapse: collapse" >
    <tbody> 
    <tr> 
      <td height="228"> 
        <div align="center">
          <center> 
        <table border=0 cellpadding=3 cellspacing=0 width="560" bgcolor="#557EC2" style="border-collapse: collapse" bordercolor="#111111">
          <tbody> 
          <tr> 
            <td colspan=4 align="center" bgcolor="#DFF4FF" width="100%"> <span class="style1">历 
              史 报 表 查 询</span> </td>
          </tr>
          <tr bgcolor="#CCCCCC"> 
            <td width="378" colspan="4" align=left bgcolor="#EEEEEE" class=newfont1>
            <font color="#000000">请选择你要查询的报表类型及日期：</font></td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td align=left colspan="4" width="378">　</td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td align=left colspan="4" width="378">　</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td align=center colspan="4" height="112" width="378" > 
              <form name="form1" action="History.asp" >
                <table width="343" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
                  <tr> 
                    <td width="106"><font color="#000000">报表类型：</font></td>
                    <td width="237"> 
                      <select name="Type" size="1">
                        <option value="1" selected>日报表</option>
                        <option value="2">月报表</option>
                        <option value="3">年报表</option>
                      </select><font color="#000000"> </font>
                    </td>
                  </tr>
                  <tr> 
                    <td width="106">　</td>
                    <td width="237">　</td>
                  </tr>
                  <tr> 
                    <td width="106"><font color="#000000">报表日期：</font></td>
                    <td width="237"> 
                      <select name="QYear" size="1" class="Select">
                        <option value="2002" selected>2002</option>
                        <option value="2003">2003</option>
                        <option value="2004">2004</option>
                        <option value="2005">2005</option>
                      </select><font color="#000000">
                      年 </font> 
                      <select name="QMonth" size="1">
                        <option value="1" selected>1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                      </select><font color="#000000">
                      月 </font> 
                      <select name="QDay" size="1">
                        <option value="1" selected>1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                        <option value="13">13</option>
                        <option value="14">14</option>
                        <option value="15">15</option>
                        <option value="16">16</option>
                        <option value="17">17</option>
                        <option value="18">18</option>
                        <option value="19">19</option>
                        <option value="20">20</option>
                        <option value="21">21</option>
                        <option value="22">22</option>
                        <option value="23">23</option>
                        <option value="24">24</option>
                        <option value="25">25</option>
                        <option value="26">26</option>
                        <option value="27">27</option>
                        <option value="28">28</option>
                        <option value="29">29</option>
                        <option value="30">30</option>
                        <option value="31">31</option>
                      </select><font color="#000000">
                      日</font></td>
                  </tr>
                  <tr> 
                    <td width="106">　</td>
                    <td align="center" width="237">　</td>
                  </tr>
                  <tr> 
                    <td width="106"><font color="#000000">查&nbsp;&nbsp;&nbsp;&nbsp;询：</font></td>
                    <td width="237"> 
                      <font color="#000000"> 
                      <input type="submit" name="Query" value="开始查询" class="Button">
                      &nbsp;&nbsp; 
                      <input type="reset" name="Clear" value="清除重写" class="Button">
                      </font>
                    </td>
                  </tr>
                </table>
                </form>
            </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td align=left colspan="4" width="378">　</td>
          </tr>
          <tr align="right"> 
            <td colspan=4 bgcolor="#DFF4FF" width="378"> 
              <p>　</p>            </td>
          </tr>
          </tbody> 
        </table>
          </center>
        </div>
      </td>
    </tr>
    </tbody> 
  </table>
  </center>
</div>
</CENTER>
</BODY>
</HTML>

