52 lines
1.7 KiB
C#
52 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using System.IO;
|
|
namespace Mtxfw.VipSite
|
|
{
|
|
public partial class Admin_Member_chat_view : Mtxfw.Utility.MemberBase
|
|
{
|
|
public Mtxfw.Utility.emojiconsConfig econfig = new Mtxfw.Utility.emojiconsConfig();
|
|
public Mtxfw.DAL.Article daoArt = new Mtxfw.DAL.Article();
|
|
DAL.user_info daoUser = new DAL.user_info();
|
|
public string strTitle = "";
|
|
public int senderid = 0, receiverid = 0;
|
|
public int t = 0;
|
|
public int gtype = 0;
|
|
protected override void OnLoad(EventArgs e)
|
|
{
|
|
base.OnLoad(e);
|
|
string hostname = Request.Url.Host;
|
|
|
|
if (!String.IsNullOrEmpty(Request.QueryString["senderid"]))
|
|
{
|
|
senderid = Convert.ToInt32(Request.QueryString["senderid"].ToString());
|
|
}
|
|
if (!String.IsNullOrEmpty(Request.QueryString["receiverid"]))
|
|
{
|
|
receiverid = Convert.ToInt32(Request.QueryString["receiverid"].ToString());
|
|
}
|
|
if (!String.IsNullOrEmpty(Request.QueryString["t"]))
|
|
{
|
|
t = Convert.ToInt32(Request.QueryString["t"].ToString());
|
|
}
|
|
if (!IsPostBack)
|
|
{
|
|
if (Session["IFPassword"] == null)
|
|
{
|
|
Response.Redirect("/Member_IFPassword.aspx?Url=/Admin_Member_chat.aspx" + HttpUtility.UrlEncode("?t=" + t));
|
|
}
|
|
|
|
Page.Title = strTitle + " - " + GetWebName;
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |