<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Session["username"]!=null)
    {
%>
        欢迎您，<b><%: Session["username"] %></b>!
        [ <%: Html.ActionLink("个性设置", "SetAtt", "Member") %> ]
        [ <%: Html.ActionLink("修改密码", "ChangePassWord", "Member")%> ]
        [ <%: Html.ActionLink("注销", "LogOff", "Home") %> ]
<%
    }
    else {
%> 
        [ <%: Html.ActionLink("登录", "Login", "Member")%> ]
        [ <%: Html.ActionLink("注册", "Register", "Member") %> ]
<%
    }
%>
