using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace KstCMS.KstCMS_Manager
{
    public partial class bottomPage : KstCmsBase.WebPage.CopyRight
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            KstCmsBase.Entities.UsersEntity TTUser = KstCmsBase.DAL.Users.Get_UserInfo(User.Identity.Name);
            string str = "系统管理员";
            if (TTUser.isAdmin != 1)
            {
                str = TTUser.RoleNameList;
            }
            Literal1.Text = "当前用户：<span style=\"color:red\">" + User.Identity.Name + "</span>&nbsp;&nbsp;所属角色：<span style=\"color:red\">" + str + "</span>";
        }
    }
}