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

<%@ Register Assembly="AjaxControls" Namespace="AjaxControls" TagPrefix="EM" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

   <!-- Google Fonts -->
    <%--<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">--%>
   
     <link href="/css/google/material-icons.css" rel="stylesheet" type="text/css" />

    <%--<link rel="stylesheet" type='text/css' href="~/JS/jquery-ui-1.11.2/jquery-ui.min.css" />--%>
    <!-- Bootstrap Core Css -->
    <link href="~/plugins/bootstrap/css/bootstrap.css" rel="stylesheet">

    <!-- Waves Effect Css -->
    <link href="~/plugins/node-waves/waves.css" rel="stylesheet" />

    <!-- Animation Css -->
    <link href="~/plugins/animate-css/animate.css" rel="stylesheet" />

    <!-- Morris Chart Css-->
    <link href="~/plugins/morrisjs/morris.css" rel="stylesheet" />

    <link href="~/plugins/nestable/jquery-nestable.css" rel="stylesheet">

    <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
    <link href="~/css/themes/all-themes.css" rel="stylesheet" />

    <!-- Bootstrap Select Css -->
    <link href="~/plugins/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />

    <%--   <!-- JQuery DataTable Css -->
    <link href="~/plugins/jquery-datatable/skin/bootstrap/css/dataTables.bootstrap.css" rel="stylesheet">--%>

    <!-- Custom Css -->
    <link href="~/css/style.css" rel="stylesheet">
    
    <%--menu css--%>
    <link href="~/css/menu.css" rel="stylesheet">

    <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
    <link href="~/css/themes/all-themes.css" rel="stylesheet" />

    <link href="~/css/Calendar.css" rel="stylesheet">
    <link href="~/JS/cal/cal.css" rel="stylesheet" type="text/css" />

    <%--searchable option list library--%>
    <link rel="stylesheet" type='text/css' href="/JS/searchablelist/sol-2.0.2.css" />

    <%--<script type="text/javascript" language="javascript" src="<%# Helper.GetAppUrl(Request.Url.AbsoluteUri, Request.Url.AbsolutePath)%>/JS/Utility.js"></script>--%>

    <%--JQuery Framework References--%>
    <script language="javascript" type="text/javascript" src="/plugins/jquery/jquery.min.js?<%# Helper.GetProductVersion() %>"></script>
    <%--<script language="javascript" type="text/javascript" src="/JS/jquery-ui-1.11.2/jquery-ui.min.js?<%# Helper.GetProductVersion() %>"></script>--%>
    <script language="javascript" type="text/javascript" src="/JS/Utility.js?<%# Helper.GetProductVersion() %>"></script>

    <script language="javascript" type="text/javascript">
        function hideProgressBar() {  //hide onload
            var dialog = document.getElementById("WaitDialog");
            dialog.style.display = 'none';
        }
        function showProgressBar() { //show on submit
            var dialog = document.getElementById("WaitDialog");
            dialog.style.display = 'block';
        }
    </script>

</head>
<body>
    <%If MachSol.MachPanel.DBCore.SystemSettings.IsDMP() Then %>
        <link href="/css/sar-customizations.css" rel="stylesheet" />
    <%End If%>
    <form id="form1" runat="server" autocomplete="off">
        <br />
        <br />
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h2>MachPanel License Activation Form</h2>
                </div>
                <div class="body">
                    <div class="row">
                        <div id="Div_Message" runat="server" visible="false" class="col-xs-12 row-label col-red"></div>
                    </div>
                    <div class="row">
                        <div id="Div_InstallationId" runat="server" class="col-xs-12 row-label" />
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            Following information is compulsory and used to maintain your account relation with
                            MachSol. Provide correct e-mail address to receive the license key. Please
                            refer to <a href="http://www.machsol.com/" target="_blank">Privacy Policy</a> for
                            more information.
                        </div>
                    </div>
                    <div class="row">
                        <div id="Div1" class="col-xs-12">
                            Ensure same email address is entered which was used to register at www.machsol.com.
                            This will correctly bind license to your online account from where you can manage
                            your licenses.
                        </div>
                    </div>
                    <%--<div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <label>* Full Name:</label>
                        </div>
                        <div class="col-sm-5 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_FullName" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>--%>
                    <div class="row">
                        <div class="col-sm-1 col-xs-12 row-label">
                            <label>* Email:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_Email" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>
                    <%--<div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <label>* Phone Country Code:</label>
                        </div>
                        <div class="col-sm-1 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_CC" runat="server" MaxLength="4" CssClass="form-control" placeholder="+1"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-1 col-xs-12 row-label">
                            <label>* Phone:</label>
                        </div>
                        <div class="col-sm-3 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_Phone" runat="server" MaxLength="20" CssClass="form-control" placeholder="xxx-xxx-xxxx"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>--%>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:RequiredFieldValidator ID="RFV_Email" ValidationGroup="Trial" ControlToValidate="TxBx_Email"
                                Display="None" SetFocusOnError="true" runat="server" ErrorMessage="<%$ Resources:Content,L00167 %>"></asp:RequiredFieldValidator>
                            <%--<asp:RequiredFieldValidator ID="RFV_FullName" ValidationGroup="Trial" ControlToValidate="TxBx_FullName"
                                Display="None" SetFocusOnError="true" runat="server" ErrorMessage="<%$ Resources:Content,L00166 %>"></asp:RequiredFieldValidator>
                            <asp:RequiredFieldValidator ID="RFV_PhoneCC" ValidationGroup="Trial" ControlToValidate="TxBx_CC"
                                Display="None" SetFocusOnError="true" runat="server" ErrorMessage="<%$ Resources:Content,GN00008059 %>"></asp:RequiredFieldValidator>
                            <asp:RequiredFieldValidator ID="RFV_Phone" ValidationGroup="Trial" ControlToValidate="TxBx_Phone"
                                Display="None" SetFocusOnError="true" runat="server" ErrorMessage="<%$ Resources:Content,GN00008058 %>"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ControlToValidate="TxBx_CC" ValidationExpression="^([+]?([0-9]{1,3}))$"
                                ID="RegularExpressionValidator3" runat="server" ErrorMessage="<%$ Resources:Content,DGN1110069%>"
                                Display="none" ValidationGroup="EditClientDetail"></asp:RegularExpressionValidator>
                            <asp:RegularExpressionValidator ControlToValidate="TxBx_Phone" ValidationExpression="^[\s0-9()-]{5,20}$"
                                ID="RegularExpressionValidator5" runat="server" ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                Display="none" ValidationGroup="EditClientDetail"></asp:RegularExpressionValidator>--%>
                            <asp:RegularExpressionValidator ID="RE_Email" runat="server" ErrorMessage="<%$ Resources:Content,GN00001259 %>"
                                ControlToValidate="TxBx_Email" SetFocusOnError="true" Display="None" ValidationGroup="Trial"
                                ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>"></asp:RegularExpressionValidator>
                            <asp:ValidationSummary ID="VS_Trial" ShowMessageBox="true" ShowSummary="false" runat="server"
                                ValidationGroup="Trial" />
                            <asp:Button ID="LB_Trial" class="btn btn-primary waves-effect" ValidationGroup="Trial" runat="server" Text="<%$ Resources:Content,L00168 %>"></asp:Button><br />
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </form>

    <!-- Jquery Core Js -->
    <script src="/plugins/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core Js -->
    <script src="/plugins/bootstrap/js/bootstrap.js"></script>

    <script src="/plugins/node-waves/waves.js"></script>

    <!-- Jquery CountTo Plugin Js -->
    <script src="/plugins/jquery-countto/jquery.countTo.js"></script>

    <!-- Select Plugin Js -->
    <script src="/plugins/bootstrap-select/js/bootstrap-select.js"></script>

</body>
</html>
