<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %> <%= Page.Title %> <asp:Literal runat="server" Text=" - " /><%= YavscHelpers.SiteName %>
<% if (Membership.GetUser()==null) { %> <%= Html.ActionLink("Login", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery }, null ) %> <% } else { %> <%= HttpContext.Current.User.Identity.Name %> <%= Html.ActionLink( "Logout", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, null) %> <%= Html.ActionLink( "Poster", "Post", "Blogs" ) %> <%= Html.ActionLink( "Profile", "Profile", "Account" ) %> <% } %> <%= Html.ActionLink( "Accueil", "Index", "Home" ) %>

<%= Page.Title %> <%= YavscHelpers.SiteName %>

<% if (ViewData["Error"]!=null) { %>
<%= Html.Encode(ViewData["Error"]) %>
<% } %> <% if (ViewData["Message"]!=null) { %>
<%= Html.Encode(ViewData["Message"]) %>
<% } %>