<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <asp:ContentPlaceHolder ID="MetaContent" runat="server" />
</head>

<body>
    <div class="page">
    <div style="text-align:right">
    <span style="background-color:White"><%: Html.ActionLink("Rus", "Index", "Lang")%></span> &nbsp;
    <span style="background-color:White"><%: Html.ActionLink("Eng", "Eng", "Lang")%></span>
    </div>
        <div id="header">
            <div id="title1">
                <h1><%=CLASS.Controllers.HomeController.Title%> <%= CLASS.MvcApplication.Version.ToString()%></h1>
            </div>
            
            <!--
            <div id="logindisplay">
                <% Html.RenderPartial("LogOnUserControl"); %>
            </div> 
            -->
            
            <div id="menucontainer1">
            
                <ul id="menu">        
                <% if (CLASS.MvcApplication.Eng)
                   { %>      
                    <li><%: Html.ActionLink("Test one text", "Index", "Home")%></li>
                    <li><%: Html.ActionLink("Test 'on-fly'", "IndexDy", "Home")%></li>
                    <li><%: Html.ActionLink("Check quality", "Index", "Test")%></li>
                    <li><%: Html.ActionLink("Training", "Index", "Load")%></li>
                    <li><%: Html.ActionLink("Categories", "Index", "Rubrics")%></li>
                    <% }
                   else
                   { %>
                    <li><%: Html.ActionLink("Тест текста", "Index", "Home")%></li>
                    <li><%: Html.ActionLink("Динамич. тест текста", "IndexDy", "Home")%></li>
                    <li><%: Html.ActionLink("Тест классификации", "Index", "Test")%></li>
                    <li><%: Html.ActionLink("Обучение", "Index", "Load")%></li>
                    <li><%: Html.ActionLink("Рубрики", "Index", "Rubrics")%></li>
                    <% } %>
                </ul>
            
            </div>
        </div>

        <div id="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />

            <div id="footer">
            </div>
        </div>
    </div>
</body>
</html>
