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

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

<asp:Content ID="Content5" 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">
                <EM:TabContainer ID="TbCntr_ServerGroups" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_ServerGroups" runat="server" HeaderText="<%$ Resources:Content,MD200%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" 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>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Servers" runat="server" HeaderText="<%$ Resources:Content,Rpt002%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" Visible="false" runat="server">
                                <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: 2250px"
                                                            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 SortExpression="EduBasic" HeaderStyle-Width="150px">
                                                                    <ItemTemplate>
                                                                        <%#DataBinder.Eval(Container, "DataItem.EduBasic")%>
                                                                    </ItemTemplate>
                                                                    <HeaderTemplate>
                                                                        <%# Resources.Content.SPLA04 & " (" & Resources.Content.SPLA07 & ")"%>
                                                                    </HeaderTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField SortExpression="EduStandard" HeaderStyle-Width="150px">
                                                                    <ItemTemplate>
                                                                        <%#DataBinder.Eval(Container, "DataItem.EduStandard")%>
                                                                    </ItemTemplate>
                                                                    <HeaderTemplate>
                                                                        <%# Resources.Content.SPLA05 & " (" & Resources.Content.SPLA07 & ")"%>
                                                                    </HeaderTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField SortExpression="EduStandardPlus" HeaderStyle-Width="150px">
                                                                    <ItemTemplate>
                                                                        <%#DataBinder.Eval(Container, "DataItem.EduStandardPlus")%>
                                                                    </ItemTemplate>
                                                                    <HeaderTemplate>
                                                                        <%# Resources.Content.SPLA06 & " (" & Resources.Content.SPLA07 & ")"%>
                                                                    </HeaderTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField SortExpression="EduEnterprise" HeaderStyle-Width="150px">
                                                                    <ItemTemplate>
                                                                        <%#DataBinder.Eval(Container, "DataItem.EduEnterprise")%>
                                                                    </ItemTemplate>
                                                                    <HeaderTemplate>
                                                                        <%# Resources.Content.Exch00909 & " (" & Resources.Content.SPLA07 & ")"%>
                                                                    </HeaderTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField SortExpression="EduEnterprisePlus" HeaderStyle-Width="150px">
                                                                    <ItemTemplate>
                                                                        <%#DataBinder.Eval(Container, "DataItem.EduEnterprisePlus")%>
                                                                    </ItemTemplate>
                                                                    <HeaderTemplate>
                                                                        <%# Resources.Content.String407 & " (" & Resources.Content.SPLA07 & ")"%>
                                                                    </HeaderTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start--%>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager1" runat="server" />
                                                            </PagerTemplate>
                                                            <%--PagerTemplate End--%>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>
</asp:Content>
