<%@ page language="C#" autoeventwireup="true" inherits="admin_Servicedaoqi, 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;">
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="16pt" 
                            ForeColor="#FF0066" Text="订单到期查询" Font-Overline="False" 
                            Font-Underline="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <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>
                                                <asp:Button ID="Button3" runat="server" onclick="Button3_Click1" Text="查询" 
                                                    Width="94px" />
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" 
    GridLines="None" Width="100%" 
                            Height="36px" PageSize="25" 
                            onpageindexchanging="GridView1_PageIndexChanging" AllowPaging="True" 
                                onrowcommand="GridView1_RowCommand">
                                <PagerSettings NextPageImageUrl="~/images/next.gif" 
                                    PreviousPageImageUrl="~/images/preview.gif" />
                                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                <Columns>
                                    <asp:BoundField DataField="user_name" HeaderText="用户姓名" />
                                    <asp:BoundField DataField="user_address" HeaderText="用户地址" />
                                    <asp:BoundField DataField="user_telephone" HeaderText="用户电话" />
                                    <asp:BoundField DataField="user_pppoed" HeaderText="宽带帐户" >
                                        <HeaderStyle HorizontalAlign="Center" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="user_password" HeaderText="宽带密码" >
                                        <HeaderStyle HorizontalAlign="Center" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="user_begindate" HeaderText="开始日期" />
                                    <asp:BoundField DataField="user_enddate" HeaderText="到期日期" />
                                    <asp:BoundField DataField="Rate" HeaderText="用户带宽" />
                                </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" />
                                
                              <PagerTemplate><div style="text-align:center; color:blue">
      <asp:LinkButton ID="cmdFirstPage" runat="server" CommandName="Page" CommandArgument="First"
       Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>">首页</asp:LinkButton>
      <asp:LinkButton ID="cmdPreview" runat="server" CommandArgument="Prev" CommandName="Page"
       Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>">前页</asp:LinkButton>
      第<asp:Label ID="lblcurPage" ForeColor="Blue" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageIndex+1 %>'></asp:Label>页/共<asp:Label
       ID="lblPageCount" ForeColor="blue" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageCount %>'></asp:Label>页
      <asp:LinkButton ID="cmdNext" runat="server" CommandName="Page" CommandArgument="Next"
       Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>">后页</asp:LinkButton>
      <asp:LinkButton ID="cmdLastPage" runat="server" CommandArgument="Last" CommandName="Page"
       Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>">尾页</asp:LinkButton>
       &nbsp;<asp:TextBox ID="txtGoPage" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageIndex+1 %>'
       Width="32px" CssClass="inputmini"></asp:TextBox>页<asp:Button ID="Button3" runat="server"
           OnClick="Turn_Click" Text="转到" /></div>
</PagerTemplate>

                              
                            </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    <asp:Button ID="Button2" runat="server" Height="39px" onclick="Button2_Click" 
                        Text="返回主管理" Width="100px" />
                </td>
            </tr>
            </table>
    </div>
    </form>
</body>
</html>
