%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
if (Request.IsAuthenticated) {
%>
<%string wylogujsie = lab2.Text; %>
[ <%= Html.ActionLink(wylogujsie, "LogOff", "Account") %> ]
<%
}
else {
%>
<%string loginek = lab3.Text; %>
[ <%= Html.ActionLink(loginek, "LogOn", "Account") %> ]
<%
}
%>