protected void Page_Load(object sender, EventArgs e)
    {
        this.progCode = IMBC.FW.Util.WebUtil.GetRequestQueryString("progCode", "");

        this.uInfo = new UserInfo();

        if (this.uInfo.IsLogin == false)
        {
            this.uInfo.RedirectLoginPage();
            Response.End();
        }

        if (!IsPostBack)
        {
            NoteData data = new NoteData();

            if (data.IsAdminUser(this.progCode, uInfo.UserID) == false)
            {
                Response.Write("관리자가 아닙니다.");
                Response.End();
            }

            listRepeater.DataSource = data.RetrieveAdminBadUserList(this.progCode);
            listRepeater.DataBind();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        this.progCode = IMBC.FW.Util.WebUtil.GetRequestQueryString("progCode", "");

        if (!IsPostBack)
        {
            NoteData data = new NoteData();

            if (data.IsAdminUser(this.progCode, new UserInfo().UserID) == false)
            {
                Response.Write("관리자가 아닙니다.");
                Response.End();
            }

            MemoMstInfo mstInfo = data.RetrieveMemoMstInfo(this.progCode);

            memoUrl.Text = "http://mini.imbc.com/UserNote/RetrieveMemoList.aspx?progCode=" + this.progCode;

            if (mstInfo.memoType == "1")
            {
                memoType1.Checked = true;
            }
            else
            {
                memoType2.Checked = true;
            }

            pageRow.Text = mstInfo.pageRow.ToString();
            tblColor.Style.Add("background-color", mstInfo.tblColor);
            hdnFontColor.Value = mstInfo.tblColor;

            if (mstInfo.showType == "1")
            {
                showType1.Checked = true;
            }
            else
            {
                showType2.Checked = true;
            }

            txtMiniBoardURL.Text = mstInfo.topHtml;
        }
    }