<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="WebForms.master.cs" Inherits="Microsoft.Samples.PlanMyNight.Web.WebForms" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta http-equiv="content-language" content="en-US" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta name="description" content="Plan My Night: Select an activity type and enter a location to constrain your search by..." />
    <link href="/Content/Styles/Site.css" rel="stylesheet" type="text/css" media="screen" />
    
     <%this.Page.ClientScript.RegisterClientScriptInclude("jquery", "/Content/Scripts/jquery-1.3.2.min.js"); %>
    <asp:ContentPlaceHolder ID="HtmlHeadContent" runat="server" />
</head>
<body>
    <div id="container">
        <div id="header">
            <div id="logo">
                <h1><a href=" %>">Plan My Night</a></h1>
            </div>
            <hr />
            <div id="navigation">
                <ul>
                    <li><a href="/">Search</a></li>
                    <% if(Request.IsAuthenticated) { %>
                        <li><a href="/Account/Index">My Profile</a></li>
                        <li id="liMyItineraries"><a href="/Itineraries/Index">My Itineraries</a></li>
                    <% } %>
                    <li><a href="#">About</a></li>
                </ul>
            </div>
            <div id="toolbar">
            </div>
        </div>
        <div id="pageWrapper">
            <div id="page">
                <hr />
                <div id="main">
                    <% if(!String.IsNullOrEmpty(Request.QueryString["msg"])) { %>
                        <div class="statusMessage" id="statusMessage">
                            <%:Request.QueryString["msg"]%>
                        </div>
                        <script type="text/javascript">
                            setTimeout(function () { document.getElementById("statusMessage").style.display = 'none'; }, 3500);
                        </script>
                    <% } %>
                    <asp:ContentPlaceHolder ID="MainContent" runat="server" />
                </div>
            </div>
        </div>
        <br />
        <div id="footer">
            <hr />
            <p class="dpe"><img src="/Content/Images/dpe_logo.png" width="197" height="56" alt="Developer &amp; Platform Evangelism" /></p>
            <p class="copyright">
                All rights reserved. | <a href="#">Terms of Use</a> | <a href="#">Privacy Statement</a><br />
                &copy; 2009 Microsoft Corporation.
            </p>
        </div>
        <script type="text/javascript">
            var baseUrl = '/';
        </script>
        <% this.Page.ClientScript.RegisterClientScriptInclude("itin", "/Content/Scripts/ajax.myitineraries.js"); %>
    </div>
</body>
</html>
