<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Step3.ascx.cs" Inherits="bitrix_install_Step3" %>
<%@ Import Namespace="Bitrix.Installer" %>
<font class="title"><%= BXInstaller.GetMessage(this, "Head") %></font>
<p>
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tbody>
            <tr>
                <td width="100%" bgcolor="#d5e7f3">
                    <img width="1" height="1" border="0" src="images/1.gif" /></td>
            </tr>
        </tbody>
    </table>
</p>
<p>
<%@ Register Src="Summary.ascx" TagName="Summary" TagPrefix="bx" %>
<bx:Summary runat="Server" ID="Errors" />
</p>	
<table width="100%" cellspacing="1" cellpadding="2" border="0">
    <tbody>
        <tr>
            <td valign="center" nowrap="" align="center" class="tablehead5" colspan="2">
                <font class="tableheadtext"><b><%= BXInstaller.GetMessage(this, "TableHead") %></b></font>
            </td>
        </tr>
        <tr>
            <td width="40%" valign="top" nowrap="" align="right" class="tablebody1">
				<font class="tablefieldtext"><font color="#ff0000">
				<% valLicenseKey.ErrorMessage = BXInstaller.GetMessage(this, "Error.LicenseKeyNotSet"); %>
                    <asp:RequiredFieldValidator ID="valLicenseKey" runat="server" ErrorMessage="<%= %>" ControlToValidate="LicenseKey">*</asp:RequiredFieldValidator></font> <%= BXInstaller.GetMessage(this, "Label.LicenseKey") %>:</font>
            </td>
            <td width="60%" valign="top" class="tablebody3">
                <asp:TextBox runat="server" ID="LicenseKey" CssClass="typeinput" Columns="30"></asp:TextBox><br />
                <font class="tablebodytext"><small><% 
					if (Bitrix.Installer.BXInstaller.CheckKey("DEMO"))  
					{ 
						%><%= BXInstaller.GetMessage(this, "Hint.LicenseKeyDemo") %><% 
					} 
					else 
					{ 
						%><%= BXInstaller.GetMessage(this, "Hint.LicenseKey") %><% 
					} 
				    	%><br />
                </small></font>
            </td>
        </tr>
	</tbody>
</table>
<br />
<div align="right">
	<% btnNext.Text = BXInstaller.GetMessage(this, "ButtonText.Next"); %>
    <asp:Button runat="server" ID="btnNext" CssClass="button"
        OnClick="OnNext" />
</div>
