37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using System.Web.UI.HtmlControls;
|
|
|
|
public partial class BackEnd_MasterPage : baseMasterPage
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
HtmlLink iconLink = new HtmlLink();
|
|
iconLink.Href = "assets/favicon_2.ico";
|
|
iconLink.Attributes.Add("rel", "shortcut icon");
|
|
|
|
|
|
Page.Header.Controls.Add(iconLink);
|
|
|
|
profilePic1.Attributes["src"] = objLoginUser.user_picurl;
|
|
profilePic2.Attributes["src"] = objLoginUser.user_picurl;
|
|
accountName1.InnerText = objLoginUser.user_name;
|
|
accountName2.InnerText = objLoginUser.user_name;
|
|
accountName3.InnerText = objLoginUser.user_name;
|
|
|
|
if (objAuth.user_perm == "N")
|
|
{
|
|
permission.Visible = false;
|
|
permission_child.Visible = false;
|
|
}
|
|
else {
|
|
permission.Visible = true;
|
|
permission_child.Visible = true;
|
|
}
|
|
}
|
|
}
|