using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace Mtxfw.VipSite { public partial class Admin_Member_renwu_gl_cx : Mtxfw.Utility.MemberBase { public Mtxfw.DAL.Article daoArt = new Mtxfw.DAL.Article(); Mtxfw.DAL.user_Results daoResults = new Mtxfw.DAL.user_Results(); public Mtxfw.Utility.Config config = new Mtxfw.Utility.Config(""); public String strTitle = "", guige = ""; public int gtype = 0; protected override void OnLoad(EventArgs e) { base.OnLoad(e); string hostname = Request.Url.Host; if (IFStores != 1) { Mtxfw.Utility.Tools.Message("您没有权限!", "/gl.aspx"); } Data_Bind(); } protected void Data_Bind() { if (!IsPostBack) { Page.Title = strTitle + " - " + GetWebName; } if (!String.IsNullOrEmpty(Request.QueryString["aid"]) && !String.IsNullOrEmpty(Request.QueryString["zrwid"]) && !String.IsNullOrEmpty(Request.QueryString["uid"])) { int aid = Convert.ToInt32(Request.QueryString["rwid"]); Int64 zrwid = Convert.ToInt64(Request.QueryString["zrwid"]); int uid = Convert.ToInt32(Request.QueryString["uid"]); if (!IsPostBack) { Mtxfw.Model.user_info umodel = new Mtxfw.DAL.user_info().GetModel(uid); if (umodel != null) { Text_User.Text = umodel.UserName + "(" + umodel.RealName + ")"; } } DataSet ds = daoArt.GetList1("id,conent", "gtype=" + gtype + " and parentid=16 And categoryid='" + aid + "' Order By addtime asc"); if (ds.Tables[0].Rows.Count > 0) { foreach (System.Data.DataRow Dr in ds.Tables[0].Rows) { int G_ID = int.Parse(Dr["id"].ToString()); string content = Dr["content"].ToString(); string LDR = Dr["LDR"].ToString(); string seef = Dr["seef"].ToString(); string rwidto = Dr["rwid"].ToString(); string strseef = ""; if (seef == "") { strseef = "上传截图"; } else if (seef == "0") { strseef = "未审核"; } else if (seef == "1") { strseef = "不合格"; } else if (seef == "2") { strseef = "已审核"; } guige += ""; } } ds.Clear(); Mtxfw.Model.user_Results rmodel = daoResults.GetModel(Int64.Parse(Request.QueryString["ID"])); if (rmodel != null) { } } } } }