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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>


<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">

    <script type="text/javascript">

        function SearchOptionGS() {
            var HF_SearchOption = document.getElementById("<%= HF_SearchOptionGS.ClientID %>");
            var selectBox = document.getElementById("selectBoxGS");
            HF_SearchOption.value = selectBox.options[selectBox.selectedIndex].value;
        }

    </script>
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <div id="Div_Clients" runat="server">
                            <div class="panel-group" id="AS_Customers" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_Customers">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_Customers" data-toggle="collapse" data-parent="#AS_Customers" href="#CSB_Customers" aria-expanded="false" aria-controls="CSB_Customers" class="collapsed">
                                                <%= Resources.Content.SM200001%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_Customers" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_Customers" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Clients" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Img_Status" runat="server" />
                                                            </div>
                                                            <a id="A_List" runat="server" href="#">
                                                                <div class="col-sm-9 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_ClientList" runat="server" />
                                                                </div>
                                                            </a>
                                                            <div class="col-sm-1 col-xs-12 srch-btn">
                                                                <a id="A_Link" class="pull-right btn btn-primary waves-effect" runat="server"></a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="Div_Contacts" runat="server">
                            <div class="panel-group" id="AS_ContactPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_ContactPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_ContactPanel" data-toggle="collapse" data-parent="#AS_ContactPanel" href="#CSB_ContactPanel" aria-expanded="false" aria-controls="CSB_ContactPanel" class="collapsed">
                                                <%= Resources.Content.DGN1110415%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_ContactPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_ContactPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Contacts" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Img_Status" runat="server" />
                                                            </div>
                                                            <a id="A_List" runat="server" href="#">
                                                                <div class="col-sm-9 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_ClientList" runat="server" />
                                                                </div>
                                                            </a>
                                                            <div class="col-sm-1 col-xs-12 srch-btn">
                                                                <a id="A_Link" class="pull-right btn btn-primary waves-effect" runat="server"></a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Reseller" runat="server">
                            <div class="panel-group" id="AS_ResellerPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_ResellerPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_ResellerPanel" data-toggle="collapse" data-parent="#AS_ResellerPanel" href="#CSB_ResellerPanel" aria-expanded="false" aria-controls="CSB_ResellerPanel" class="collapsed">
                                                <%= Resources.Content.SMI759%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_ResellerPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_ResellerPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Reseller" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Img_Status" runat="server" />
                                                            </div>
                                                            <a id="A_ResellerList" runat="server" href="#">
                                                                <div class="col-sm-9 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_ResellerList" runat="server" />
                                                                </div>
                                                            </a>
                                                            <div class="col-sm-1 col-xs-12 srch-btn">
                                                                <a id="Lbtn_LoginToCP" class="pull-right btn btn-primary waves-effect btnAction" runat="server"></a>
                                                            </div>

                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Employee" runat="server">
                            <div class="panel-group" id="AS_EmployeePanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_EmployeePanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_EmployeePanel" data-toggle="collapse" data-parent="#AS_EmployeePanel" href="#CSB_EmployeePanel" aria-expanded="false" aria-controls="CSB_EmployeePanel" class="collapsed">
                                                <%= Resources.Content.M0079%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_EmployeePanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_EmployeePanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Employee" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Img_Status" runat="server" />
                                                            </div>
                                                            <a id="A_EmployeeList" runat="server" href="#">
                                                                <div class="col-sm-10 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_EmployeeList" runat="server" />
                                                                </div>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Subscription" runat="server">
                            <div class="panel-group" id="AS_SubsPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_SubsPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_SubsPanel" data-toggle="collapse" data-parent="#AS_SubsPanel" href="#CSB_SubsPanel" aria-expanded="false" aria-controls="CSB_SubsPanel" class="collapsed">
                                                <%= Resources.Content.M0091%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_SubsPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_SubsPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Subscription" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Lbl_Status" runat="server" />
                                                            </div>
                                                            <a id="A_SubList" runat="server" href="#">
                                                                <div class="col-sm-9 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_SubList" runat="server" /><br />
                                                                    &nbsp;&nbsp;<asp:Label ID="Lbl_SubClient" runat="server" Font-Bold="false" />
                                                                </div>
                                                            </a>
                                                            <div class="col-sm-1 col-xs-12 srch-btn">
                                                                <asp:HyperLink ID="LB_Manage" class="pull-right btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,L0086%>' CausesValidation="false"></asp:HyperLink>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Alias" runat="server">
                            <div class="panel-group" id="AS_AliasPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_AliasPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_AliasPanel" data-toggle="collapse" data-parent="#AS_AliasPanel" href="#CSB_AliasPanel" aria-expanded="false" aria-controls="CSB_AliasPanel" class="collapsed">
                                                <%= Resources.Content.SPT001009%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_AliasPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_AliasPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Alias" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                            </div>
                                                            <a id="A_AliasList" runat="server" href="#">
                                                                <div class="col-sm-10 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_AliasList" runat="server" />
                                                                    <br />
                                                                    &nbsp;&nbsp;<asp:Label ID="Lbl_Status" Font-Bold="false" runat="server" />
                                                                </div>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Tickets" runat="server">
                            <div class="panel-group" id="AS_HelpDeskPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_HelpDeskPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_HelpDeskPanel" data-toggle="collapse" data-parent="#AS_HelpDeskPanel" href="#CSB_HelpDeskPanel" aria-expanded="false" aria-controls="CSB_HelpDeskPanel" class="collapsed">
                                                <%= Resources.Content.SM400000%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_HelpDeskPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_HelpDeskPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Tickets" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Lbl_Status" runat="server" />
                                                            </div>
                                                            <a id="A_TicketList" runat="server" href="#">
                                                                <div class="col-sm-10 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_TicketList" runat="server" /><br />
                                                                    &nbsp;&nbsp;<asp:Label ID="Lbl_TicketClient" runat="server" Font-Bold="false" />
                                                                </div>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Billing" runat="server">
                            <div class="panel-group" id="AS_BillingPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_BillingPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_BillingPanel" data-toggle="collapse" data-parent="#AS_BillingPanel" href="#CSB_BillingPanel" aria-expanded="false" aria-controls="CSB_BillingPanel" class="collapsed">
                                                <%= Resources.Content.GN00001490%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_BillingPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_BillingPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Billing" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Lbl_Status" runat="server" />
                                                            </div>
                                                            <a id="A_BillingList" runat="server" href="#">
                                                                <div class="col-sm-10 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_Billing" runat="server" /><br />
                                                                    &nbsp;&nbsp;<asp:Label ID="Lbl_BillingClient" runat="server" Font-Bold="false" />
                                                                </div>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="div_Domains" runat="server">
                            <div class="panel-group" id="AS_DomainPanel" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading" role="tab" id="heading_DomainPanel">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_DomainPanel" data-toggle="collapse" data-parent="#AS_DomainPanel" href="#CSB_DomainPanel" aria-expanded="false" aria-controls="CSB_DomainPanel" class="collapsed">
                                                <%= Resources.Content.String288%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_DomainPanel" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_DomainPanel" aria-expanded="false" style="height: 0px;">
                                        <div class="panel-body">
                                            <asp:Repeater ID="Rep_Domains" runat="server">
                                                <ItemTemplate>
                                                    <div class="dd-handle">
                                                        <div class="SearchResultRecord">
                                                            <div class="col-sm-2 col-xs-12 srch-text">
                                                                <asp:Label ID="Lbl_Status" runat="server" />
                                                            </div>
                                                            <a id="A_SubList" runat="server" href="#">
                                                                <div class="col-sm-10 col-xs-12 srch-text">
                                                                    <asp:Literal ID="Ltl_SubList" runat="server" /><br />
                                                                    &nbsp;&nbsp;<asp:Label ID="Lbl_SubClient" runat="server" Font-Bold="false" />
                                                                </div>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <div class="form-inline">
                                                        <%= Resources.Content.String458%>
                                                    </div>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!--universal search on page top start-->
                <div class="row">
                    <div class="col-sm-2 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,DGN1110279 %>' />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <select id="selectBoxGS" onchange="SearchOptionGS();" name="selectBoxGS">
                                <optgroup id="CustomerGroupGS" runat="server" label="<%$ Resources:Content,SM200001 %>">
                                    <option value="C5">Customer ID</option>
                                    <option value="C1">Customer Name</option>
                                    <option value="C13">Customer Number</option>
                                    <option value="C4">Company</option>
                                    <option value="C6">Address1</option>
                                    <option value="C7">Address2</option>
                                    <option value="C2">E-mail</option>
                                    <option value="C3">Domain Name</option>
                                    <option value="C8">Phone#</option>
                                    <option value="C9">CC Last Four</option>
                                    <option value="C10">Notes</option>
                                    <option value="C11">City</option>
                                    <option value="C12">Zip/Postal Code</option>
                                    <%--<option value="C11">Alternate E-mail</option>--%>
                                </optgroup>
                                <optgroup id="ContactGroupGS" runat="server" label="<%$ Resources:Content,DGN1110415 %>" visible="false">
                                    <option value="CN1">Contact ID</option>
                                    <option value="CN2">Contact Name</option>
                                    <option value="CN3">E-mail</option>
                                    <option value="CN4">Company</option>
                                    <option value="CN5">Address1</option>
                                    <option value="CN6">Address2</option>
                                    <option value="CN7">Phone#</option>
                                </optgroup>
                                <optgroup id="ResellerGroupGS" runat="server" label="<%$ Resources:Content,SMI759 %>">
                                    <option value="R1">Reseller ID</option>
                                    <option value="R2">Reseller Name</option>
                                    <option value="R3">E-mail</option>
                                    <option value="R4">Company</option>
                                    <option value="R5">Address1</option>
                                    <option value="R6">Address2</option>
                                    <option value="R7">Phone#</option>
                                    <option value="R8">CC Last Four</option>
                                    <option value="R9">Notes</option>                                    
                                    <option value="R10">City</option>
                                    <option value="R11">Zip/Postal Code</option>
                                    <%--<option value="R10">Alternate E-mail</option>--%>
                                </optgroup>
                                <optgroup id="EmployeeGroup" runat="server" label="<%$ Resources:Content,M0079 %>" visible="false">
                                    <option value="E1">Employee ID</option>
                                    <option value="E2">Employee Name</option>
                                    <option value="E3">E-mail</option>
                                    <option value="E4">Nick Name</option>
                                    <option value="E5">Designation</option>
                                    <option value="E6">Address1</option>
                                    <option value="E7">Address2</option>
                                    <option value="E8">Phone#</option>
                                    <option value="E9">Signature</option>
                                    <option value="E10">Last Login IP</option>
                                </optgroup>
                                <optgroup id="BillingGroup" runat="server" label="<%$ Resources:Content,GN00001490 %>">
                                    <option value="B1">Invoice Id</option>
                                    <option value="B2">Payment Id</option>
                                    <option value="B3">Credit Id</option>
                                    <option value="B4">Refund Id</option>
                                    <option value="B5" runat="server" id="BCID">Customer Id</option>
                                    <option value="B6" runat="server" id="BCName">Customer Name</option>
                                </optgroup>
                                <optgroup id="SubscriptionGroup" runat="server" label="<%$ Resources:Content,M0091 %>">
                                    <option value="S1">Subscription Id</option>
                                    <option value="S2" runat="server" id="SProductName">Sold Product Name</option>
                                    <option value="S3">Domain Name</option>
                                    <option value="S4" runat="server" id="SCID">Customer Id</option>
                                    <option value="S5" runat="server" id="SNotes">Notes</option>
                                </optgroup>
                                <optgroup id="DomainsGS" runat="server" label="<%$ Resources:Content,String288 %>">
                                    <option value="D1">Domain Id</option>
                                    <option value="D2">Domain Name</option>
                                    <option value="D3">Registrar</option>
                                    <option value="D4">Customer Id</option>
                                    <option value="D5">Customer Name</option>
                                    <option value="D6">Notes</option>
                                </optgroup>
                                <optgroup label="Help Desk" id="HelpDeskGroup" runat="server">
                                    <option value="H1">Ticket Id</option>
                                    <option value="H2" id="TEmail" runat="server">Sender E-mail</option>
                                    <option value="H3">Subject</option>
                                    <option value="H4" id="TCName" runat="server">Customer Name</option>
                                </optgroup>
                            </select>
                        </div>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <input name="searchStringGS" type="text" id="searchStringGS" size="15" runat="server" />
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2 col-xs-12">
                        <asp:HiddenField ID="HF_SearchOptionGS" Value="B1" runat="server" />
                        <asp:Button ID="submit" ValidationGroup="CGlobal_Search" Text='<%$ Resources:Content,GN0000391 %>'
                            class="btn btn-primary waves-effect btnAction" runat="server" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--//end universal search on page top-->
</asp:Content>

