<%@ Register TagPrefix="dcwc" Namespace="Dundas.Charting.WebControl" Assembly="DundasWebChart" %>
<%@ Page language="c#" Codebehind="SaleState.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.SaleState" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
	    <!--#include file="inc/head.inc"-->
		<title>SaleState</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<BODY bottomMargin="0" bgProperties="fixed" bgColor="#ddeeff" leftMargin="0" topMargin="0"
		rightMargin="0" marginwidth="0" marginheight="0">
	    <div class="container">
		<div class="sub_container">
		<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />销售统计</div>
		<div class="sub_container_content">
		<form id="Form1" method="post" runat="server">
		    <div class="frame">
		        <div class="frame_title">今日销量统计</div>
		        <div class="frame_content">
		            <table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
				        <tr>
					        <td class="forumRowHighlight" colSpan="2" height="23">今日订单总数：
						        <asp:label id="lblOrderCount" runat="server"></asp:label><BR>
						        今日销售总额：
						        <asp:label id="lblSellTotal" runat="server"></asp:label></td>
				        </tr>
			        </table>
		        </div>
	        </div>
			<p></p>
			
		    <div class="frame">
		        <div class="frame_title">按条件生成图表</div>
		        <div class="frame_content">
		            <table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
				        <tr>
					        <td class="forumRowHighlight" colSpan="2" height="23"><asp:radiobuttonlist id="rblMode" runat="server" Width="230" RepeatDirection="Horizontal" AutoPostBack="True">
							        <asp:ListItem Value="0" Selected="True">订单数</asp:ListItem>
							        <asp:ListItem Value="1">销售总额</asp:ListItem>
							        <asp:ListItem Value="2">时间段总额</asp:ListItem>
						        </asp:radiobuttonlist><br>
						        <asp:panel id="pnlSearch" Runat="server">从 
        <asp:dropdownlist id="ddlStartTimeYear" runat="server"></asp:dropdownlist>
        <asp:dropdownlist id="ddlStartTimeMonth" runat="server"></asp:dropdownlist>到 
        <asp:dropdownlist id="ddlEndTimeYear" runat="server"></asp:dropdownlist>
        <asp:dropdownlist id="ddlEndTimeMonth" runat="server"></asp:dropdownlist>
        <asp:RadioButton id="rb1" runat="server" GroupName="time" Text="以年为单位"></asp:RadioButton>
        <asp:RadioButton id="rb2" runat="server" GroupName="time" Text="以月为单位" Checked="True"></asp:RadioButton></asp:panel><br>
						        <asp:button id="btnCreat" runat="server" Text="生成图表"></asp:button></td>
				        </tr>
			        </table>
		        </div>
	        </div>
			
			<p></p>
			
			<div class="frame">
		        <div class="frame_title">统计图表</div>
		        <div class="frame_content">
		            <table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
				        <tr>
					        <td class="forumRowHighlight" align="center" colSpan="2" height="23">
						        <DCWC:CHART id="Chart1" title="销售统计图" runat="server" Width="800px" ImageType="Png" Palette="Pastel"
							        Color="DarkCyan" BackHatchStyle="WideDownwardDiagonal" BackColor="AliceBlue" TitleFont="SimSun, 18px, style=Bold"
							        Height="494px">
							        <Series>
								        <dcwc:Series BackGradientEndColor="0, 192, 192" BackGradientType="VerticalCenter" ShowInLegend="False"
									        Name="OrderAnalysis" Color="DarkCyan" ShadowOffset="2"></dcwc:Series>
								        <dcwc:Series BackGradientEndColor="LightSalmon" BackGradientType="VerticalCenter" ShowInLegend="False"
									        Name="SellAnalysis" Color="Crimson" ShadowOffset="2"></dcwc:Series>
								        <dcwc:Series BackGradientEndColor="LightSalmon" BackGradientType="VerticalCenter" ShowInLegend="False"
									        Name="TimeAnalysis" Color="Crimson" ShadowOffset="1"></dcwc:Series>
							        </Series>
							        <Legend BorderWidth="0" BackGradientEndColor="DarkCyan" LegendStyle="Table" BackGradientType="LeftRight"
								        InsideChartArea="Default">
							        </Legend>
							        <BorderSkin FrameBackGradientType="LeftRight" FrameBackColor="Turquoise" FrameBackGradientEndColor="DarkTurquoise"
								        SkinStyle="FrameTitle5"></BorderSkin>
							        <ChartAreas>
								        <dcwc:ChartArea BorderColor="Transparent" BackGradientEndColor="LightBlue" ShadowOffset="2" Name="Default"
									        BackColor="LightBlue" ShadowColor="DarkGray" BorderWidth="0"></dcwc:ChartArea>
							        </ChartAreas>
						        </DCWC:CHART></td>
				        </tr>
			        </table>
		        </div>
	        </div>
			
			<p></p>
		</form>
		</div>
		</div>
		</div>
	</BODY>
</HTML>
