<%@ page language="C#" autoeventwireup="true" inherits="admin_Countlog, xnzy-radius-web_deploy" %>
<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>


<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 1000px; height: 220px; font-size: 9pt; " 
            cellpadding="0" cellspacing="0" align="center" border="1" 
            bordercolor="#cccc66">
            <tr>
                <td style="vertical-align: top; text-align: center;" colspan="4">
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="16pt" 
                            ForeColor="#CC3300" Text="管理者充值记录管理" Font-Underline="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: left;">
                        充值者：<asp:DropDownList ID="DropDownList1" runat="server">
                        </asp:DropDownList>
                </td>
                <td style="vertical-align: top; text-align: left;">
                        开始日期：<ew:CalendarPopup ID="txtDate1" runat="server">
<SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></SelectedDateStyle>

<HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></HolidayStyle>

<OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Gray"></OffMonthStyle>

<MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></MonthHeaderStyle>

<WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></WeekdayStyle>

<GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></GoToTodayStyle>

<ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></ClearDateStyle>

<WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></WeekendStyle>

<DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></DayHeaderStyle>

<TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></TodayDayStyle>
					    </ew:CalendarPopup></td>
                <td style="vertical-align: top; text-align: left;">
                                                结束日期：<ew:CalendarPopup ID="txtDate2" runat="server">
<SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></SelectedDateStyle>

<HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></HolidayStyle>

<OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Gray"></OffMonthStyle>

<MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></MonthHeaderStyle>

<WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></WeekdayStyle>

<GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></GoToTodayStyle>

<ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></ClearDateStyle>

<WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></WeekendStyle>

<DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></DayHeaderStyle>

<TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" ForeColor="Black"></TodayDayStyle>
					    </ew:CalendarPopup>
                </td>
                <td style="vertical-align: top; text-align: left;">
                        <asp:Button ID="Button3" runat="server" Text="查 询" 
                            Width="80px" onclick="Button3_Click" />
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;" colspan="4">
                        &nbsp;</td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;" colspan="4">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" 
                            Height="28px" onrowcommand="GridView1_RowCommand" PageSize="25" 
                            onpageindexchanging="GridView1_PageIndexChanging" AllowPaging="True">
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                            <Columns>
                                <asp:BoundField >
                                    <ItemStyle Width="10px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="username" HeaderText="宽带帐户" />
                                <asp:BoundField DataField="indate" HeaderText="充值日期" />
                                <asp:BoundField DataField="manager" HeaderText="充值管理者" />
                                <asp:BoundField HeaderText="充值金额" DataField="count" />
                                <asp:TemplateField HeaderText="操作">
                                       <itemtemplate>
                                               <asp:LinkButton ID="LinkButton1" runat="server" 
                                                   CommandArgument='<%# Eval("id") %>' CommandName="DelCmd" 
                                                   onclientclick="return confirm('您确定要删除该定单吗？');">删除</asp:LinkButton>
                                               &nbsp;
                                        </itemtemplate>
                                </asp:TemplateField>
                                        
                            </Columns>
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;" colspan="4">
                    <asp:Button ID="Button2" runat="server" Height="37px" onclick="Button2_Click" 
                        Text="返回主管理" Width="100px" />
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;" colspan="4">
                    <asp:Label ID="Label2" runat="server" Font-Bold="True" 
                        Text="管理者充值记录情况，只能由admin用户删除"></asp:Label>
                </td>
            </tr>
            </table>
    </div>
    </form>
</body>
</html>

