Control/Skin3Head.ascx.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Stat.web.Control
{
public partial class Skin3Head : System.Web.UI.UserControl
{
protected string uName, uSiteList, uData, uExit;
protected string WebLogo;
protected void Page_Load(object sender, EventArgs e)
{
WebLogo = Stat.BLL.BCache.GetConfig()[0].WebLogo;
/*--------------------------------------------*/
if (HttpContext.Current.Session["UserName"] != null)
{
if (HttpContext.Current.Session["UserName"].ToString().ToLower() != "admin")
{
uName = HttpContext.Current.Session["UserName"].ToString();
uData = " | <a href=\"/v/MemberCenter.aspx\">我的账号</a> ";
uSiteList = " | <a href=\"/v/WebsiteList.aspx\">站点列表</a> | ";
uExit = " | <a href=\"/v/logout.aspx\">退出</a>";
}
else
{
uName = "欢迎:<a href=\"/Manerger/Main.Aspx\">" + HttpContext.Current.Session["UserName"].ToString() + "</a> ";
uExit = " | <a href=\"/Manerger/logout.aspx\">退出</a>";
}
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
