<%@ LANGUAGE = VBScript.Encode %>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312" />
<TITLE>销售统计</TITLE>
<link rel="stylesheet" href="Images/Admin.css">
<script language="javascript" src="../Script/Admin.js"></script>
</HEAD>
<!--#include file="../Include/conn.asp" -->
<!--#include file="../Include/ConnDatabase.asp" -->
<!--#include file="CheckAdmin.asp"-->
<%
'=====================================
'天天企业网站管理系统  TianTianCMS
'天天网络科技工作室版权所有
'官方客服中心 http://www.ip126.com
'微信公众号 ip126com
'QQ:530051328 mail:bbfhq@163.com
'=====================================
%>
<BODY>
<%
if Instr(session("AdminPurview"),"|18,")=0 then
  response.write ("<br><br><div align=""center""><font style=""color:red; font-size:9pt; "")>您没有管理该模块的权限！</font></div>")
  response.end
end if
%>

<body>
<table class="tableBorder" width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#E8F1FF">
<tr class=backs><td align="center" class=td height=18><font color="#FFFFFF">统计报表</font></b></td>
</tr>
<tr> 
<td bgcolor="#E8F1FF"> 
<table width="400" border="0" align="center" cellpadding="2" cellspacing="1">
<form name="form1" method="post" action="sales_b.asp">
<tr> 
<td>开始日期：</td>
<td>

<select name="year1">
<%for i=2010 to 2035%>
<option value="<%=i%>"  <%if year(now())=i then%>selected<%end if%>><%=i%></option>
<%next%>
</select>
年 
<select name="month1">
<%for i=1 to 12%>
<option value="<%=i%>"  <%if year(date())=i then %>selected<% end if %>><%=i%></option>
<%next%>
</select>
月 
<select name="day1">
<%for i=1 to 31%>
<option value="<%=i%>"  ><%=i%></option>
<%next%>
</select>
日 </td>
</tr>
<tr> 
<td width="70">结束日期：</td>
<td width="278">
<select name="year2">
<%for i=2010 to 2035%>
<option value="<%=i%>" <%if year(date())=i then %>selected<% end if %>><%=i%> </option>
<%next%>
</select>
年 
<select name="month2">
<%for i=1 to 12%>
<option value=<%=i%>  ><%=i%> </option>
<%next%>
</select>
月 
<select name="day2">
<%for i=1 to 31%>
<option value=<%=i%>  <%if year(date())=i then%>selected<%end if%>><%=i%> </option>
<%next%>
</select>
日 </td>
</tr>
<tr> 
<td colspan="2" align="center"> 
<input type="submit" name="Submit" value="统 计">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>