<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SideBar.ascx.cs" Inherits="bitrix_install_SideBar" %>
<%@ Import Namespace="Bitrix.Installer" %>
<% if (!SimpleMode)
   {%>
<table width="193" cellspacing="0" cellpadding="0" border="0">
    <tbody>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/1_activ.gif" /></td>
            <td width="100%" class="menuact">
                <%= BXInstaller.GetMessage(this, "Step.Start") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/2_<%= CurrentIndex > 0 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex >0 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.License") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/3_<%= CurrentIndex > 1 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex > 1 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.Parameters") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/4_<%= CurrentIndex > 2 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex > 2 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.ValidateRequirements") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/5_<%= CurrentIndex > 3 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex > 3 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.Database") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/6_<%= CurrentIndex > 4 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex > 4 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.Configuration") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/7_<%= CurrentIndex > 5 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex > 5 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.Finish") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
    </tbody>
</table>
<%} else {%>
<table width="193" cellspacing="0" cellpadding="0" border="0">
    <tbody>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/1_<%= CurrentIndex > 1 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menuact">
                <%= BXInstaller.GetMessage(this, "Step.Configuration") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
        <tr>
            <td>
                <img width="21" height="43" border="0" src="images/2_<%= CurrentIndex > 3 ? "activ" : "inactiv"%>.gif" /></td>
            <td width="100%" class="menu<%= CurrentIndex > 0 ? "act" : ""%>">
                <%= BXInstaller.GetMessage(this, "Step.Finish") %></td>
        </tr>
        <tr>
            <td>
                <img width="1" height="8" border="0" src="images/1.gif" /></td>
        </tr>
    </tbody>
</table>    
<%} %>