<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Step7.ascx.cs" Inherits="bitrix_install_Step7" %>
<%@ Import Namespace="Bitrix.Installer" %>
<font class="title"><%= BXInstaller.GetMessage(this, "Head") %></font>
<p style="width:100%">
    <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>
<h3><%= BXInstaller.GetMessage(this, "Head2") %></h3>
<font class="text"><%= string.Format(
                   	BXInstaller.GetMessage(this, "Message"),
                   	@"<a id=""demoSite"" href=""" + VirtualPathUtility.ToAbsolute("~/bitrix/install/Default.aspx") + "?mode=" + HttpUtility.UrlEncode(Request["mode"] ?? "") + "&step=" + HttpUtility.UrlEncode(Request["step"] ?? "") + "&redirect=" + @""" >",
                   	@"</a>")
                 %>
</font>
<script>
window.setTimeout(function() {
	document.getElementById("demoSite").href = "<%= Bitrix.Services.Js.BXJSUtility.Encode(VirtualPathUtility.ToAbsolute("~/Default.aspx")) %>";
}, 2*60*1000);
</script>