<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link type="text/css" rel="Stylesheet" href="<%=Url.Content("~/Content/M/WM/Site.css")%>" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="MobileOptimized" content="240" />
    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
    <asp:ContentPlaceHolder ID="HtmlHeadContent" runat="server"></asp:ContentPlaceHolder>
</head>
<body>
    <div id="container">
        <div id="header">
            <table width="100%">
                <tr>
                    <td><h1><a href="<%=Url.Content("~/")%>"><img src="<%=Url.Content("~/Content/M/WM/Img/header_logo.png")%>" alt="Plan My Night" width="66" height="37" /></a></h1></td>
                    <td style="text-align: right"><% Html.RenderAction<SiteMasterController>(c => c.LoginStatus()); %></td>
                </tr>
            </table>                
            <div id="navigation" class="center">
                <%=Html.ActionLink<SearchController>(c => c.Index(), "Search")%> |
                <% if(Request.IsAuthenticated) { %>
                    <%=Html.ActionLink<AccountController>(c => c.Index(null), "My Profile")%></li> |
                    <%=Html.ActionLink<ItinerariesController>(c => c.Index(), "My Itineraries")%></li> |
                <% } %>
                <a href="#">About</a>
            </div>
        </div>
        <hr />
        <div id="page">
            <div id="main">
                <asp:ContentPlaceHolder ID="MainContent" runat="server" />
            </div>
        </div>
        
        <div id="footer">
            <hr />
            <p>
                <img src="<%=Url.Content("~/Content/M/WM/Img/dpe_logo.gif")%>" width="95" height="20" alt="" /><br />
                Developer &amp; Platform <strong>Evangelism</strong><br />
                All rights reserved.
            </p>
        </div>
        <asp:ContentPlaceHolder ID="ScriptsContent" runat="server" />
    </div>
</body>
</html>
