www.pudn.com > chat.rar > Site.master, change:2011-10-11,size:2259b


<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="SiteMaster" %> 
 
<!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" xml:lang="en"> 
<head runat="server"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
    <title></title> 
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" /> 
    <asp:ContentPlaceHolder ID="HeadContent" runat="server"> 
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form runat="server"> 
    <div class="page"> 
        <div class="header"> 
            <div class="title"> 
                <h1> 
                    我的 ASP.NET 应用程序 
                </h1> 
            </div> 
            <div class="loginDisplay"> 
                <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false"> 
                    <AnonymousTemplate> 
                        [ <a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server">登录</a> ] 
                    </AnonymousTemplate> 
                    <LoggedInTemplate> 
                        欢迎您,<span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>! 
                        [ <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="注销" LogoutPageUrl="~/"/> ] 
                    </LoggedInTemplate> 
                </asp:LoginView> 
            </div> 
            <div class="clear hideSkiplink"> 
                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal"> 
                    <Items> 
                        <asp:MenuItem NavigateUrl="~/Default.aspx" Text="主页"/> 
                        <asp:MenuItem NavigateUrl="~/About.aspx" Text="关于"/> 
                    </Items> 
                </asp:Menu> 
            </div> 
        </div> 
        <div class="main"> 
            <asp:ContentPlaceHolder ID="MainContent" runat="server"/> 
        </div> 
        <div class="clear"> 
        </div> 
    </div> 
    <div class="footer"> 
         
    </div> 
    </form> 
</body> 
</html>