<%@ page language="C#" autoeventwireup="true" inherits="Admin_CommondRcordCount_List, GroupTGWeb_deploy" %>

<%@ Register Assembly="ShopNum1.Control" Namespace="ShopNum1.Control" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ShopNum1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>推荐会员统计</title>
    <link type="text/css" rel="Stylesheet" href="css/index.css" />

    <script type="text/javascript" language="javascript" src="../js/CommonJS.js"></script>

    <style type="text/css">
        .style1
        {
            width: 508px;
        }
        .style2
        {
            height: 24px;
        }
    </style>
</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;">
    <div class="navigator">
        【 推荐会员统计 】</div>
    <form id="form1" runat="server">
    <ShopNum1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="True"
        EnableScriptLocalization="True" />
    <table style="width: 100%">
        <tr>
            <td style="width: 100%" align="left">
                <div class="query">
                    <table cellpadding="0" cellspacing="0" width="100%" border="0">
                        <tr>
                            <td align="center" colspan="2" class="style2">
                                推荐人：<asp:TextBox ID="TextBoxCommondID" runat="server" CssClass="input1"></asp:TextBox>
                            </td>
                            <td class="style1">
                                推荐时间：<asp:TextBox ID="TextBoxCreateTime1" runat="server" CssClass="input1"></asp:TextBox><asp:RegularExpressionValidator
                                    ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxCreateTime1"
                                    Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                                <img id="imgCreateTime1" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                                    align="absmiddle" />
                                <ShopNum1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="TextBoxCreateTime1"
                                    PopupButtonID="imgCreateTime1" CssClass="ajax__calendar">
                                </ShopNum1:CalendarExtender>
                                -<asp:TextBox ID="TextBoxCreateTime2" runat="server" CssClass="input1"></asp:TextBox><asp:RegularExpressionValidator
                                    ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxCreateTime2"
                                    Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                                <img id="imgCreateTime2" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                                    align="absmiddle" />
                                <ShopNum1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBoxCreateTime2"
                                    PopupButtonID="imgCreateTime2" CssClass="ajax__calendar">
                                </ShopNum1:CalendarExtender>
                            </td>
                            <td align="left">
                                <asp:Button ID="ButtonSearch" runat="server" OnClick="ButtonSearch_Click" Text="查询"
                                    CssClass="bt2" />
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
        <tr>
            <td style="width: 100%" align="left">
                <cc1:Num1GridView ID="num1GridiewShow" runat="server" AllowPaging="True" AllowSorting="True"
                    DataSourceID="ObjectDataSourceData" Width="100%" AscendingImageUrl="~/images/SortAsc.gif"
                    DescendingImageUrl="~/images/SortDesc.gif" Font-Size="Small" Font-Bold="False"
                    AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                    BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                    Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                    Style="margin-left: 2px;" TableName="" AutoGenerateColumns="False">
                    <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                    </HeaderStyle>
                    <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <Columns>
                        <asp:BoundField DataField="CommondID" HeaderText="推荐人" SortExpression="CommondID">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CommondCount" HeaderText="推荐数" SortExpression="CommondCount">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                    </Columns>
                </cc1:Num1GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 100%" align="left">
                <div class="vote">
                    <asp:ObjectDataSource ID="ObjectDataSourceData" runat="server" SelectMethod="SearchCommondRcordCount"
                        TypeName="GroupFlyTG.BusinessLogic.GroupFlyTG_CommondRcord_Action" OldValuesParameterFormatString="original_{0}">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="TextBoxCommondID" Name="CommondID" PropertyName="Text"
                                Type="String" />
                            <asp:ControlParameter ControlID="TextBoxCreateTime1" Name="CreateTime1" PropertyName="Text"
                                Type="String" />
                            <asp:ControlParameter ControlID="TextBoxCreateTime2" Name="CreateTime2" PropertyName="Text"
                                Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
