Backup/Web/Admin/Accounts/userinfo.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using LTP.Accounts.Bus;
namespace Maticsoft.Web.Accounts
{
/// <summary>
/// userinfo 的摘要说明。
/// </summary>
public partial class userinfo : System.Web.UI.Page
{
protected void Page_Load(object sender, System.EventArgs e)
{
if (!Page.IsPostBack)
{
if (Context.User.Identity.IsAuthenticated)
{
AccountsPrincipal user=new AccountsPrincipal(Context.User.Identity.Name);
User currentUser=new LTP.Accounts.Bus.User(user);
this.lblName.Text=currentUser.UserName;
this.lblTruename.Text=currentUser.TrueName;
this.lblSex.Text=currentUser.Sex;
this.lblPhone.Text=currentUser.Phone;
this.lblEmail.Text=currentUser.Email;
lblUserIP.Text = Request.UserHostAddress;
//if(currentUser.DepartmentID=="-1")
//{
// string herosoftmana=Maticsoft.Common.ConfigHelper.GetConfigString("AdManager");
// this.lblDepart.Text=herosoftmana;
//}
//else
//{
// if(Maticsoft.Common.PageValidate.IsNumber(currentUser.DepartmentID))
// {
// Maticsoft.BLL.ADManage.AdSupplier supp=new Maticsoft.BLL.ADManage.AdSupplier();
// Maticsoft.Model.ADManage.AdSupplier suppmodel=supp.GetModel(int.Parse(currentUser.DepartmentID));
// this.lblDepart.Text=suppmodel.SupplierName;
// this.lblModeys.Text=suppmodel.Moneys.ToString();
// }
//}
switch(currentUser.Style)
{
case 1:
this.lblStyle.Text="默认蓝";
后面还有 73 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
