<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="Admin_Network_ServiceDirector_RHosting, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>
            <div class="body">
                <ajax:UpdatePanel ID="UP_Search" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_Search">
                            <div class="row">
                                <div class="panel-group search-panel" id="AS_SubsList" role="tablist" aria-multiselectable="true">
                                    <div class="col-xs-12" role="tab" id="SH_SubsList">
                                        <div class="card">
                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_SubsList" href="#<%= CSB_SubsList.ClientID%>" aria-expanded="true" aria-controls="SH_SubsList">
                                                <h3>
                                                    <%= Resources.Content.GN0000395%>
                                                </h3>
                                            </div>
                                            <div id="CSB_SubsList" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_SubsList" aria-expanded="false">
                                                <div class="row">
                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                        <div class="form-group form-float">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_Id" runat="server"></asp:TextBox>
                                                                <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SPT002807%>" class="form-label"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                        <div class="form-group form-float">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ClientId" runat="server"></asp:TextBox>
                                                                <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000678%>" class="form-label"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                        <div class="form-group form-float">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ClientName" runat="server"></asp:TextBox>
                                                                <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                        <div class="form-group form-float">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_UserName" runat="server"></asp:TextBox>
                                                                <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000567%>" class="form-label"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                        <div class="form-group form-float">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="263"></asp:TextBox>
                                                                <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" class="form-label"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                        <div class="form-group form-float">
                                                            <asp:DropDownList ID="DDL_Status" runat="server">
                                                                <asp:ListItem Text="<%$ Resources:Content, SelectStatus %>" Value="0" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,GN0000222%>" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,GN0000302%>" Value="2"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,GN00001545%>" Value="3"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,GN0000348%>" Value="4"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,GN00001546%>" Value="5"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,GN0000861%>" Value="6"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <div class="form-group form-float">
                                                            <asp:Button ID="Btn_Search" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                            <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                Text="<%$ Resources:Content,String289 %>" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </ContentTemplate>
                </ajax:UpdatePanel>

                <ajax:UpdatePanel ID="UP_Payment" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:GridView ID="GV_Accounts" runat="server" AllowSorting="true" CssClass="table table-bordered table-striped table-hover"
                                    AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>">
                                    
                                    <Columns>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content, String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                            <ItemTemplate>
                                                <asp:Label ID="img_Status" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField SortExpression="Id" HeaderText='<%$ Resources:Content,GN0000678%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LB_Id" runat="server" CommandName="Id" Text='<%#DataBinder.Eval(Container, "DataItem.Id")%>'></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField SortExpression="UserName" HeaderText='<%$ Resources:Content,GN0000567%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LB_UserName" runat="server" CommandName="Id" Text='<%#DataBinder.Eval(Container, "DataItem.UserName")%>'></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField SortExpression="DomainName" HeaderText='<%$ Resources:Content,GN000125%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                            <ItemTemplate>
                                                <div id="Div_DomainName" runat="server" innertext='<%#DataBinder.Eval(Container, "DataItem.DomainName").ToString().ToLower()%>'>
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField SortExpression="CustomerId" HeaderText='<%$ Resources:Content,GN0000850%>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LB_Client" runat="server" CommandName="Client" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CustomerId")%>'></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content,String352%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                            <ItemTemplate>
                                                <div id="Div_Service" runat="server">
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                            <ItemTemplate>
                                                <asp:LinkButton class="btn btn-primary waves-effect" ID="LB_Manage" runat="server" Text="<%$ Resources:Content,L0086%>"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>   
                                    <PagerTemplate>
                                        <EM:Pager ID="Pager1" runat="server" />
                                    </PagerTemplate>
                                </asp:GridView>
                            </div>
                        </div>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>
