<%@ control language="VB" autoeventwireup="false" inherits="PCC_Exchange_CC_SPLA, MachSol.MachPanel.Web" %>

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

<div class="row">
    <div class="col-xs-12">
        <div class="products-step">
            <span id="div_SPLAReport" runat="server" nowrap="true" class="label label-success">
                <asp:LinkButton ID="lb_SPLAReport" runat="server"
                    Text='<%$ Resources:Content, MD200 %>' />
            </span>
            <span id="div_SPLAByCustomer" runat="server" nowrap="true" class="label label-default">
                <asp:LinkButton ID="lb_SPLAByCustomer" runat="server"
                    Text='<%$ Resources:Content, Rpt002 %>' />
            </span>
            <span id="div_SPLAByDomain" runat="server" nowrap="true" class="label label-default">
                <asp:LinkButton ID="lb_SPLAByDomain" runat="server"
                    Text='<%$ Resources:Content, StrSPLAByDomain %>' />
            </span>
        </div>
    </div>
</div>
<asp:Panel ID="Pnl_SPLAReport" runat="server">
    <div class="row">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <%= Resources.Content.GN00001320%>      <%--Operations--%>
                    </h3>
                </div>
                <div class="body">
                    <asp:Button ID="Btn_ExportExcel" runat="server" Text="<%$ Resources:Content,Ex001%>" class="btn btn-primary waves-effect" />
                    <asp:Button ID="BtnExportToPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                </div>
            </div>
        </div>
        <div class="col-xs-12 row-label">
            <asp:Literal ID="Ltl_SPLANote" runat="server"></asp:Literal>
        </div>
        <div class="col-xs-12">
            <table class="table table-bordered table-striped table-hover">
                <tr>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,SPLA01%>" />
                    </th>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,SPLA02%>" />
                    </th>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,strDisabledMailboxes%>" />
                    </th>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN000114%>" />
                    </th>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,SPLA04%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_Basic" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_BasicDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalBasic" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,SPLA05%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_Standard" runat="server" Text="<%$ Resources:Content,SPLA04%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_StandardDisabled" runat="server" Text="<%$ Resources:Content,SPLA04%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalStandard" runat="server" Text="<%$ Resources:Content,SPLA04%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,SPLA06%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_StandardPlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_StandardPlusDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalStandardPlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,Exch00909%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_Enterprise" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EnterpriseDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalEnterprise" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,String407%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EnterprisePlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EnterprisePlusDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalEnterprisePlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN000114%>" />:
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalActive" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                    <td>
                        <asp:Label ID="Lbl_TotalDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                    <td>
                        <asp:Label ID="Lbl_Total" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="col-xs-12">
            <table class="table table-bordered table-striped table-hover">
                <tr>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,SPLA07%>" />
                    </th>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,SPLA02%>" />
                    </th>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,strDisabledMailboxes%>" />
                    </th>
                    <th class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN000114%>" />
                    </th>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,SPLA04%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduBasic" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduBasicDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalBasic" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,SPLA05%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduStandard" runat="server" Text="<%$ Resources:Content,SPLA04%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduStandardDisabled" runat="server" Text="<%$ Resources:Content,SPLA04%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalStandard" runat="server" Text="<%$ Resources:Content,SPLA04%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,SPLA06%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduStandardPlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduStandardPlusDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalStandardPlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,Exch00909%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduEnterprise" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduEnterpriseDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalEnterprise" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,String407%>" />:
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduEnterprisePlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:HyperLink ID="Hl_EduEnterprisePlusDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalEnterprisePlus" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,GN000114%>" />:
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalActive" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotalDisabled" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                    <td>
                        <asp:Label ID="Lbl_EduTotal" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Panel>

<asp:Panel ID="Pnl_SPLAByCustomer" runat="server" Visible="false">
    <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Filter">
        <div class="row">
            <div class="panel-group search-panel" id="AS_ClientSPLA" role="tablist" aria-multiselectable="true">
                <div class="col-xs-12" role="tab" id="SH_ClientSPLA">
                    <div class="card">
                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientSPLA" href="#<%= CSB_ClientSPLA.ClientID%>" aria-expanded="true" aria-controls="SH_ClientSPLA">
                            <h3>
                                <%= Resources.Content.GN0000395%>
                            </h3>
                        </div>
                        <div id="CSB_ClientSPLA" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientSPLA" aria-expanded="false">
                            <div class="row">
                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Td_OwnerDDL">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="DDL_Owner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                    </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_Customer" runat="server"></asp:TextBox>
                                            <asp:Label ID="Label1" 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_CustCompanyName" runat="server" MaxLength="200"></asp:TextBox>
                                            <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:Button ID="Btn_Filter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                        <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>
    <div class="row">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <%= Resources.Content.GN00001320%>      <%--Operations--%>
                    </h3>
                </div>
                <div class="body">
                    <asp:Button ID="Btn_ExportSPLACustomer" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                    <asp:Button ID="Btn_ExportSPLACustomerToPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                </div>
            </div>
        </div>
        <div class="col-xs-12 row-label">
            <asp:Literal ID="Ltl_Note" runat="server"></asp:Literal>
        </div>
        <div class="col-xs-12">
            <div class="row">
                <div class="col-xs-12">
                    <div class="clearfix">
                        <div class="double-scroll-wrapper1">
                            <div>
                            </div>
                        </div>
                        <div class="double-scroll-wrapper2">
                            <asp:GridView ID="GV_SPLACustomerReport" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                                AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" Style="width: 4000px"
                                AutoGenerateColumns="False">

                                <Columns>
                                    <asp:TemplateField SortExpression="CustCompanyName" HeaderText='<%$ Resources:Content,GN00001077%>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.CustCompanyName")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Customer")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.CustomerNumber")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content, SPT002811 %>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Owner")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Basic" HeaderText='<%$ Resources:Content, SPLA04 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Basic")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Standard" HeaderText='<%$ Resources:Content, SPLA05 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Standard")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="StandardPlus" HeaderText='<%$ Resources:Content, SPLA06 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.StandardPlus")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Enterprise" HeaderText='<%$ Resources:Content, Exch00909 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Enterprise")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="EnterprisePlus" HeaderText='<%$ Resources:Content, String407 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EnterprisePlus")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduBasic")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduBasic" runat="server" CommandName="Sort" CommandArgument="EduBasic" Text='<%# Resources.Content.SPLA04 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandard")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandard" runat="server" CommandName="Sort" CommandArgument="EduStandard" Text='<%# Resources.Content.SPLA05 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandardPlus")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandardPlus" runat="server" CommandName="Sort" CommandArgument="EduStandardPlus" Text='<%# Resources.Content.SPLA06 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterprise")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterprise" runat="server" CommandName="Sort" CommandArgument="EduEnterprise" Text='<%# Resources.Content.Exch00909 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterprisePlus")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterprisePlus" runat="server" CommandName="Sort" CommandArgument="EduEnterprisePlus" Text='<%# Resources.Content.String407 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>

                                    </asp:TemplateField>




                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.BasicDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortBasicDisabled" runat="server" CommandName="Sort" CommandArgument="BasicDisabled" Text='<%# Resources.Content.SPLA04 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.StandardDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSorStandardDisabled" runat="server" CommandName="Sort" CommandArgument="StandardDisabled" Text='<%# Resources.Content.SPLA05 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.StandardPlusDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortStandardPlusDisabled" runat="server" CommandName="Sort" CommandArgument="StandardPlusDisabled" Text='<%# Resources.Content.SPLA06 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EnterpriseDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEnterpriseDisabled" runat="server" CommandName="Sort" CommandArgument="EnterpriseDisabled" Text='<%# Resources.Content.Exch00909 & " " & Resources.Content.GN0000860%>' />

                                        </HeaderTemplate>


                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EnterprisePlusDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEnterprisePlusDisabled" runat="server" CommandName="Sort" CommandArgument="EnterprisePlusDisabled" Text='<%# Resources.Content.String407 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduBasicDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduBasicDisabled" runat="server" CommandName="Sort" CommandArgument="EduBasicDisabled" Text='<%# Resources.Content.SPLA04 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandardDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandardDisabled" runat="server" CommandName="Sort" CommandArgument="EduStandardDisabled" Text='<%# Resources.Content.SPLA05 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandardPlusDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandardPlusDisabled" runat="server" CommandName="Sort" CommandArgument="EduEduStandardPlusDisabled" Text='<%# Resources.Content.SPLA06 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterpriseDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterpriseDisabled" runat="server" CommandName="Sort" CommandArgument="EduEnterpriseDisabled" Text='<%# Resources.Content.Exch00909 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterprisePlusDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterprisePlusDisabled" runat="server" CommandName="Sort" CommandArgument="EduEnterprisePlusDisabled" Text='<%# Resources.Content.String407 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                     <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.TotalActive")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortTotalActive" runat="server" CommandName="Sort" CommandArgument="TotalActive" Text='<%# Resources.Content.GN0000222 & " " & Resources.Content.GN000114%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.TotalDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortTotalDisabled" runat="server" CommandName="Sort" CommandArgument="TotalDisabled" Text='<%# Resources.Content.GN0000860 & " " & Resources.Content.GN000114%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerTemplate>
                                    <EM:Pager ID="Pager1" runat="server" />
                                </PagerTemplate>
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>

<asp:Panel ID="Pnl_SPLAByDomain" runat="server" Visible="false">
    <asp:Panel ID="Panel1" runat="server" DefaultButton="Btn_Filter">
        <div class="row">
            <div class="panel-group search-panel" id="AS_DomainSPLA" role="tablist" aria-multiselectable="true">
                <div class="col-xs-12" role="tab" id="SH_DomainSPLA">
                    <div class="card">
                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_DomainSPLA" href="#<%= CSB_DomainSPLA.ClientID%>" aria-expanded="true" aria-controls="SH_DomainSPLA">
                            <h3>
                                <%= Resources.Content.GN0000395%>
                            </h3>
                        </div>
                        <div id="CSB_DomainSPLA" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_DomainSPLA" aria-expanded="false">
                            <div class="row">
                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div1">
                                    <div class="form-group form-float">
                                        <asp:DropDownList ID="Ddl_DomainCustomerOwner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                    </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"></asp:TextBox>
                                            <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000653%>" 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_DomainCustomer" runat="server"></asp:TextBox>
                                            <asp:Label ID="Label4" 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_DomainCustCompanyName" runat="server" MaxLength="200"></asp:TextBox>
                                            <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xs-12">
                                    <div class="form-group form-float">
                                        <asp:Button ID="Btn_DomainSPLAFilter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                        <asp:Button ID="Btn_DomainSPLAClear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                            Text="<%$ Resources:Content,String289 %>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <div class="row">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <%= Resources.Content.GN00001320%>      <%--Operations--%>
                    </h3>
                </div>
                <div class="body">
                    <asp:Button ID="Btn_ExportDomainSPLA" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                    <asp:Button ID="Btn_ExportDomainSPLAToPDF" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                </div>
            </div>
        </div>
        <div class="col-xs-12 row-label">
            <asp:Literal ID="Literal8" runat="server"></asp:Literal>
        </div>
        <div class="col-xs-12">
            <div class="row">
                <div class="col-xs-12">
                    <div class="clearfix">
                        <div class="double-scroll-wrapper1">
                            <div>
                            </div>
                        </div>
                        <div class="double-scroll-wrapper2">
                            <asp:GridView ID="GV_SPLADomainReport" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                                AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" Style="width: 4300px"
                                AutoGenerateColumns="False">

                                <Columns>
                                    <asp:TemplateField SortExpression="DomainName" HeaderText='<%$ Resources:Content,GN0000653%>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.DomainName")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="HostingId" HeaderText='<%$ Resources:Content,HostingId%>' HeaderStyle-Width="100px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.HostingId")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="CustCompanyName" HeaderText='<%$ Resources:Content,GN00001077%>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.CustCompanyName")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Customer" HeaderText='<%$ Resources:Content,GN0000268%>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Customer")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="CustomerNumber" HeaderText='<%$ Resources:Content,GN000924%>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.CustomerNumber")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content, SPT002811 %>' HeaderStyle-Width="200px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Owner")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Basic" HeaderText='<%$ Resources:Content, SPLA04 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Basic")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Standard" HeaderText='<%$ Resources:Content, SPLA05 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Standard")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="StandardPlus" HeaderText='<%$ Resources:Content, SPLA06 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.StandardPlus")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Enterprise" HeaderText='<%$ Resources:Content, Exch00909 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.Enterprise")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="EnterprisePlus" HeaderText='<%$ Resources:Content, String407 %>' HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EnterprisePlus")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduBasic")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduBasic" runat="server" CommandName="Sort" CommandArgument="EduBasic" Text='<%# Resources.Content.SPLA04 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandard")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandard" runat="server" CommandName="Sort" CommandArgument="EduStandard" Text='<%# Resources.Content.SPLA05 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandardPlus")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandardPlus" runat="server" CommandName="Sort" CommandArgument="EduStandardPlus" Text='<%# Resources.Content.SPLA06 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterprise")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterprise" runat="server" CommandName="Sort" CommandArgument="EduEnterprise" Text='<%# Resources.Content.Exch00909 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterprisePlus")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterprisePlus" runat="server" CommandName="Sort" CommandArgument="EduEnterprisePlus" Text='<%# Resources.Content.String407 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>

                                    </asp:TemplateField>




                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.BasicDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortBasicDisabled" runat="server" CommandName="Sort" CommandArgument="BasicDisabled" Text='<%# Resources.Content.SPLA04 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.StandardDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSorStandardDisabled" runat="server" CommandName="Sort" CommandArgument="StandardDisabled" Text='<%# Resources.Content.SPLA05 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.StandardPlusDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortStandardPlusDisabled" runat="server" CommandName="Sort" CommandArgument="StandardPlusDisabled" Text='<%# Resources.Content.SPLA06 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EnterpriseDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEnterpriseDisabled" runat="server" CommandName="Sort" CommandArgument="EnterpriseDisabled" Text='<%# Resources.Content.Exch00909 & " " & Resources.Content.GN0000860%>' />

                                        </HeaderTemplate>


                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EnterprisePlusDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEnterprisePlusDisabled" runat="server" CommandName="Sort" CommandArgument="EnterprisePlusDisabled" Text='<%# Resources.Content.String407 & " " & Resources.Content.GN0000860%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduBasicDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduBasicDisabled" runat="server" CommandName="Sort" CommandArgument="EduBasicDisabled" Text='<%# Resources.Content.SPLA04 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandardDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandardDisabled" runat="server" CommandName="Sort" CommandArgument="EduStandardDisabled" Text='<%# Resources.Content.SPLA05 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduStandardPlusDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduStandardPlusDisabled" runat="server" CommandName="Sort" CommandArgument="EduEduStandardPlusDisabled" Text='<%# Resources.Content.SPLA06 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterpriseDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterpriseDisabled" runat="server" CommandName="Sort" CommandArgument="EduEnterpriseDisabled" Text='<%# Resources.Content.Exch00909 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.EduEnterprisePlusDisabled")%>
                                        </ItemTemplate>

                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortEduEnterprisePlusDisabled" runat="server" CommandName="Sort" CommandArgument="EduEnterprisePlusDisabled" Text='<%# Resources.Content.String407 & " " & Resources.Content.GN0000860 & " (" & Resources.Content.SPLA07 & ")"%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                     <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.TotalActive")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortTotalActive" runat="server" CommandName="Sort" CommandArgument="TotalActive" Text='<%# Resources.Content.GN0000222 & " " & Resources.Content.GN000114%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderStyle-Width="150px">
                                        <ItemTemplate>
                                            <%#DataBinder.Eval(Container, "DataItem.TotalDisabled")%>
                                        </ItemTemplate>
                                        <HeaderTemplate>
                                            <asp:LinkButton ID="LbSortTotalDisabled" runat="server" CommandName="Sort" CommandArgument="TotalDisabled" Text='<%# Resources.Content.GN0000860 & " " & Resources.Content.GN000114%>' />
                                        </HeaderTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerTemplate>
                                    <EM:Pager ID="Pager1" runat="server" />
                                </PagerTemplate>
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>
