📄 showclientdetail.cs
字号:
namespace PowerEasy.WebSite.Admin.Analytics
{
using PowerEasy.Analytics;
using PowerEasy.Common;
using PowerEasy.Controls;
using PowerEasy.Model.Analytics;
using PowerEasy.Web.UI;
using System;
using System.Web.UI.WebControls;
public class ShowClientDetail : AdminPage
{
protected Label LblAddress;
protected Label LblBrowser;
protected Label LblClientTime;
protected Label LblColor;
protected Label LblIP;
protected Label LblReferer;
protected Label LblScreen;
protected Label LblSystem;
protected Label LblTimezone;
protected Label LblVTime;
protected ExtendedSiteMapPath SmpNavigator;
protected void Page_Load(object sender, EventArgs e)
{
if ((!base.IsPostBack && (base.PreviousPage != null)) && (base.PreviousPage.Items["StatVisitorId"] != null))
{
StatVisitorInfo statVisitorById = OtherReport.GetStatVisitorById(DataConverter.CLng(base.PreviousPage.Items["StatVisitorId"]));
if (!statVisitorById.IsNull)
{
int masterTimeZone = OtherReport.GetStatInfoListInfo().MasterTimeZone;
DateTime time = statVisitorById.VTime.AddHours((double) (statVisitorById.Timezone - (masterTimeZone / 60)));
this.LblVTime.Text = statVisitorById.VTime.ToString();
this.LblIP.Text = statVisitorById.IP;
this.LblTimezone.Text = "GMT" + statVisitorById.Timezone.ToString();
this.LblAddress.Text = statVisitorById.Address;
this.LblClientTime.Text = time.ToString();
this.LblReferer.Text = statVisitorById.Referer;
this.LblSystem.Text = statVisitorById.System;
this.LblBrowser.Text = statVisitorById.Browser;
this.LblScreen.Text = statVisitorById.Screen;
this.LblColor.Text = statVisitorById.Color;
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -