<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<!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">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="page">

        <div id="header">
            <div id="headerA">
            <div id="title">
                <h1><%: mymvc.Models.Check.StieName %></h1>联系QQ:37504858 主页:<a href="http://www.yzanl.com" target=_blank>http://www.yzanl.com</a>
            </div>
              
            <div id="logindisplay">
                <% Html.RenderPartial("LogOnUserControl"); %>
            </div> 
            
            <div id="menucontainer">
            
                <ul id="menu">              
                    <li><%: Html.ActionLink("主页", "Index", "Home")%></li>
                    <li><%: Html.ActionLink("我要留言", "Create", "Home")%></li>
                    <%if (Session["User_qx"] != null)
                      {
                          if (int.Parse(Session["User_qx"].ToString()) == 1)
                          { %>
                      <li><%: Html.ActionLink("留言管理", "Admin_GBook", "Admin", new { id = 1},null)%></li>
                      <li><%: Html.ActionLink("栏目管理", "Columns", "Admin")%></li>
                      <li><%: Html.ActionLink("会员管理", "Users", "Admin")%></li>
                      <li><%: Html.ActionLink("回收站", "Recycle", "Admin")%></li>
                     <% }
                      }%>
                      <li><a href="http://www.yzanl.com" target="_blank" title="一站路文学网">我的主页</a></li>
                </ul>
            
            </div>
            </div>
        </div>

        <div id="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />
        </div>
        <div id="footer">
        <%: mymvc.Models.Check.StieName %> 我的主页：<a href="http://www.yzanl.com" title="一站路文学网" target="_blank">一站路文学网</a> QQ:37504858
        </div>
    </div>
</body>
</html>
