using System.Web.UI;
using TopWinCMS.BLL;
namespace TopWinCMS.WebUI.Admin
{
    /// <summary>
    /// Admin_Index 的摘要说明。
    /// </summary>
    public partial class Admin_Index : System.Web.UI.Page// PageBase
    {
        protected void Page_Load(object sender, System.EventArgs e)
        {
            Page.Title = Config.SiteName + "--后台管理　　　PowerBy  TopWinCMS  " + SystemInfo.AssemblyVersion;

            this.HyperLink2.NavigateUrl = "Admin/Admin.aspx?Action=ModifyPwd&UserName=" + AdminLoginInfo.UserName;


            navlist.InnerHtml = new AdminMenuHeadManage().GetMenu();
         
            this.ClientScript.RegisterClientScriptBlock(this.GetType(), "menu",  new AdminMenuDefaultManage().GetMenuDefaultList(),true);

            if (Licenses.License.CurrentEdition == TopWinCMS.Licenses.Edition.免费开源版)
            {
                Literal1.Text = "授权联系：QQ 53854651 ；eMail ：winner2050@126.com";
            }
        }
    }
}