コード例 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.progCode = IMBC.FW.Util.WebUtil.GetRequestQueryString("progCode", "");
        this.receiver = IMBC.FW.Util.WebUtil.GetRequestQueryString("receiver", "");

        ArrayList al = this.getUser();

        for (int i = 0; i < al.Count; i++)
        {
            if (receiverNm.Text != "")
            {
                receiverNm.Text += ", ";
            }
            receiverNm.Text += ((NoteUser)al[i]).userNm;
        }

        if (!IsPostBack)
        {
            NoteData         data = new NoteData();
            RadioProgramInfo prog = data.RetrieveProgramInfo(this.progCode);
            ViewState["subClassCode"] = prog.subClassCode;
            this.progTitle.Text       = prog.progTitle;
            this.progImg.ImageUrl     = NoteUtil.GetProgImg(this.progCode, prog.progImage);
        }
    }
コード例 #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.nCurPage = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage", "1"));

        this.uInfo = new UserInfo();

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

        if (!IsPostBack)
        {
            NoteData     data = new NoteData();
            ListDataView ldv  = data.RetrieveUserReplyNoteList(this.uInfo.Uno, this.nCurPage, this.nPageRow);

            this.nTotalRecord            = ldv.TotalCount;
            this.listRepeater.DataSource = ldv.DV;
            this.listRepeater.DataBind();

            string pagingURL = "RetrieveUserReplyNoteList.aspx?curPage={0}";

            this.pageNavigator.Text = NoteUtil.SetNavigator(this.nCurPage, this.nTotalRecord, this.nPageRow, pagingURL);
        }
    }
コード例 #3
0
    protected void listRepeater_ItemDataBound(object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e)
    {
        HtmlInputCheckBox chkbox   = (HtmlInputCheckBox)e.Item.FindControl("chkbox");
        HtmlInputHidden   hdnSeqID = (HtmlInputHidden)e.Item.FindControl("hdnSeqID");

        Label seqID = (Label)e.Item.FindControl("seqID");

        System.Web.UI.WebControls.Image imgType = (System.Web.UI.WebControls.Image)e.Item.FindControl("imgType");
        Label userNm  = (Label)e.Item.FindControl("userNm");
        Label comment = (Label)e.Item.FindControl("comment");
        Label rgDt    = (Label)e.Item.FindControl("rgDt");


        string rank = DataBinder.Eval(e.Item.DataItem, "rank").ToString();

        seqID.Text  = DataBinder.Eval(e.Item.DataItem, "SeqID").ToString();
        userNm.Text = DataBinder.Eval(e.Item.DataItem, "UserNm").ToString();
        userNm.Text = "<a href=\"javascript:fNewWin('" + DataBinder.Eval(e.Item.DataItem, "Uno").ToString() + "', '" + DataBinder.Eval(e.Item.DataItem, "UserID").ToString() + "');\">" + userNm.Text + "</a>";

        comment.Text = NoteUtil.BoldSearchWord(DataBinder.Eval(e.Item.DataItem, "Comment").ToString(), this.searchWord);
        comment.Style.Add("color", DataBinder.Eval(e.Item.DataItem, "FontColor").ToString());
        rgDt.Text = ((DateTime)DataBinder.Eval(e.Item.DataItem, "rgDt")).ToString("yyyy-MM-dd HH:mm:ss");

        string type = DataBinder.Eval(e.Item.DataItem, "MemoType").ToString();

        if (type == "1")
        {
            imgType.ImageUrl = "http://img.imbc.com/mini/UserNote/images/mini_memo_icon_web.gif";
        }
        else if (type == "2")
        {
            imgType.ImageUrl = "http://img.imbc.com/mini/UserNote/images/mini_memo_icon_memo.gif";
        }
        else if (type == "4")
        {
            imgType.ImageUrl = "http://img.imbc.com/mini/UserNote/images/mini_memo_icon_phone.gif";
        }
        else
        {
            imgType.ImageUrl = "http://img.imbc.com/mini/UserNote/images/mini_memo_icon_mini.gif";
        }

        int    uno    = (int)DataBinder.Eval(e.Item.DataItem, "Uno");
        string userID = DataBinder.Eval(e.Item.DataItem, "UserID").ToString();

        chkbox.Value   = uno.ToString() + "│" + userID + "│" + DataBinder.Eval(e.Item.DataItem, "UserNm").ToString();
        hdnSeqID.Value = DataBinder.Eval(e.Item.DataItem, "SeqID").ToString();

        if (rank != "0")
        {
            seqID.Text        = "■";
            userNm.Font.Bold  = true;
            comment.Font.Bold = true;
            comment.ForeColor = Color.DarkBlue;
        }
    }
コード例 #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.progCode    = IMBC.FW.Util.WebUtil.GetRequestQueryString("progCode", "RAMFM300");
        this.nCurPage    = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage", "1"));
        this.memoType    = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("memoType", "0"));
        this.search      = IMBC.FW.Util.WebUtil.GetRequestQueryString("search", "");
        this.searchWord  = IMBC.FW.Util.WebUtil.GetRequestQueryString("searchWord", "");
        this.stDt        = IMBC.FW.Util.WebUtil.GetRequestQueryString("stDt", "");
        this.spDt        = IMBC.FW.Util.WebUtil.GetRequestQueryString("spDt", "");
        this.newCnt.Text = IMBC.FW.Util.WebUtil.GetRequestQueryString("newCnt", "");

        if (this.progCode.Substring(0, 4) == "RDMB")
        {
            this.progCode = NoteUtil.GetParentCode(this.progCode);
        }

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

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

            this.progTitle.Text = data.RetrieveProgramInfo(this.progCode).progTitle;

            if (newCnt.Text == "")
            {
                this.newCnt.Text = data.CountMemoNewInfo(this.progCode).ToString();
            }

            ListDataView ldv = data.RetrieveMemoAdminList(this.progCode, this.memoType, search, searchWord, stDt, spDt, this.nCurPage, this.nPageRow);

            this.nTotalRecord = ldv.TotalCount;

            this.listRepeater.DataSource = ldv.DV;
            this.listRepeater.DataBind();

            string pagingURL = "RetrieveMemoAdminList.aspx?curPage={0}&progCode=" + this.progCode + "&memoType=" + memoType + "&seach=" + search + "&searchWord=" + searchWord + "&stDt=" + stDt + "&spDt=" + spDt + "&newCnt=" + this.newCnt.Text;

            this.pageNavigator.Text = NoteUtil.SetNavigator(this.nCurPage, this.nTotalRecord, this.nPageRow, pagingURL);
        }
    }
コード例 #5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.progCode = IMBC.FW.Util.WebUtil.GetRequestQueryString("progCode", "");
        this.nCurPage = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage", "1"));

        if (!IsPostBack)
        {
            NoteData     data = new NoteData();
            ListDataView ldv  = data.RetrieveAdminNoteList(this.progCode, nCurPage, nPageRow);

            this.nTotalRecord            = ldv.TotalCount;
            this.listRepeater.DataSource = ldv.DV;
            this.listRepeater.DataBind();

            string pagingURL = "RetrieveAdminNoteList.aspx?curPage={0}&progCode=" + this.progCode;

            this.pageNavigator.Text = NoteUtil.SetNavigator(this.nCurPage, this.nTotalRecord, this.nPageRow, pagingURL);
        }
    }
コード例 #6
0
        private async Task loadNote()
        {
            using (var waitPopup = new WaitPopup("正在加载笔记", this))
            {
                try
                {
                    tbTitle.Text    = NoteEntity.Title;
                    tbNotebook.Text = NoteEntity.NotebookName;

                    if (NoteUtil.NeedCache(NoteEntity.Content))
                    {
                        if (Util.IsNetworkAvailable())
                        {
                            waitPopup.SetTip("正在下载图片");
                            NoteEntity.Content = await SyncCore.GetInst().DownloadImageToLocalAsync(NoteEntity.NotePath, NoteEntity.Content, (count, totalCount) =>
                            {
                                waitPopup.SetTip("正在下载图片:" + count + "/" + totalCount);
                            });

                            NoteDao.Inst.ModifyIfExist(NoteEntity);

                            ContentWebBrowser.NavigateToString(NoteEntity.Content);
                        }
                        else
                        {
                            Toast.Prompt("额,网络不可用,图片未能下载!");
                        }
                    }
                    else
                    {
                        ContentWebBrowser.NavigateToString(NoteEntity.Content);
                    }
                }
                catch (Exception ex)
                {
                    LoggerFactory.GetLogger().Error("", ex);
                    Toast.Prompt("额,发生不可预知的错误,请稍后重试!");
                }
            }
        }
コード例 #7
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.nCurPage = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage", "1"));

        this.uInfo = new UserInfo();

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

        if (System.Web.Configuration.WebConfigurationManager.AppSettings["pmstart"].ToString() == "ON")
        {
            Response.Redirect("http://imbc.com/broad/radio/minimbc/new_notice/notice_con/index.html");
            Response.End();
        }

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

            if (this.nCurPage == 1)
            {
                this.logRepeater.DataSource = data.RetrieveScriptLogList();
                this.logRepeater.DataBind();
            }

            ListDataView ldv = data.RetrieveUserNoteList(this.uInfo.Uno, "N", this.nCurPage, this.nPageRow);

            this.nTotalRecord            = ldv.TotalCount;
            this.listRepeater.DataSource = ldv.DV;
            this.listRepeater.DataBind();

            string pagingURL = "RetrieveUserNoteList.aspx?curPage={0}";

            this.pageNavigator.Text = NoteUtil.SetNavigator(this.nCurPage, this.nTotalRecord, this.nPageRow, pagingURL);
        }
    }
コード例 #8
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.progCode   = WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("progCode", ""));
        this.nCurPage   = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage", "1"));
        this.search     = IMBC.FW.Util.WebUtil.EncodeHTML(WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("search", "")));
        this.searchWord = IMBC.FW.Util.WebUtil.RemoveHTMLTag(WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("searchWord", ""))).Replace("+", "").Replace("%", "").Replace("'", "");

        if (this.progCode.Substring(0, 4) == "RDMB")
        {
            this.progCode = NoteUtil.GetParentCode(this.progCode);
        }


        //			Response.Cache.SetCacheability(HttpCacheability.Public);
        //			Response.Cache.SetExpires(DateTime.Now.AddSeconds(10));
        //			Response.Cache.VaryByParams["progCode"] = true;
        //			Response.Cache.VaryByParams["curPage"] = true;
        //			Response.Cache.VaryByParams["search"] = true;
        //			Response.Cache.VaryByParams["searchWord"] = true;



        this.uInfo = new UserInfo();
        this.data  = new NoteData();


        if (IMBC.FW.Util.WebUtil.GetSession("IsAdmin_" + progCode) == "TRUE")
        {
            this.IsAdmin = true;
        }
        else if (IMBC.FW.Util.WebUtil.GetSession("IsAdmin_" + progCode) == "FALSE")
        {
            this.IsAdmin = false;
        }
        //else
        //{
        //    this.IsAdmin = data.IsAdminUserDB(this.progCode, uInfo.UserID);
        //}


        if (this.uInfo.IsLogin == false)
        {
            imgSave.Src = "http://img.imbc.com/mini/UserNote/images/mini_memo_login.jpg";

            System.Web.HttpContext httpContext = System.Web.HttpContext.Current;

            httpContext.Response.Cookies["IMBCURL"].Value  = httpContext.Server.UrlEncode("http://" + httpContext.Request.ServerVariables["SERVER_NAME"] + httpContext.Request.RawUrl);
            httpContext.Response.Cookies["IMBCURL"].Domain = "imbc.com";
            httpContext.Response.Cookies["IMBCURL"].Path   = "/";
            httpContext.Response.Cookies["IMBCURL"].Secure = false;

            imgSave.Attributes.Add("onclick", "location.href='http://member.imbc.com/Login/Login.aspx?TemplateId=Popup'; return false;");
            txtComment.Enabled = false;
        }
        else
        {
            this.IsAdmin = data.IsAdminUserDB(this.progCode, uInfo.UserID);

            imgSave.Attributes.Add("onclick", "doSave();");

            //if (!this.uInfo.IsIdentity())
            //{
            //    if (!this.IsAdmin)
            //        imgSave.Attributes.Add("onclick", "fIdentity();");
            //    else
            //        imgSave.Attributes.Add("onclick", "doSave();");
            //}
            //else
            //{
            //    imgSave.Attributes.Add("onclick", "doSave();");
            //}
        }

        if (this.IsAdmin)
        {
            string script = "<script>function fNewWin(strUsrId, strUserNo)";
            script += "{ window.open('http://member.imbc.com/admin/BbsUserInfo.aspx?uno='+strUserNo+'&uid='+strUsrId, 'usrinfo', 'resizable=no,scrollbars=no,x=100,y=200,width=400,height=120'); }";
            script += "</script>";

            Response.Write(script);
        }

        if (!IsPostBack)
        {
            this.mstInfo           = data.RetrieveMemoMstInfo(this.progCode);
            this.progTitle.Text    = mstInfo.progTitle;
            this.tblColor.BgColor  = mstInfo.tblColor;
            this.tblColor2.BgColor = mstInfo.tblColor;
            this.nPageRow          = mstInfo.pageRow;

            if (this.mstInfo.memoType == "2")
            {
                imgSave.Visible    = false;
                txtComment.Text    = "mini 에서만 작성하실 수 있습니다.";
                txtComment.Enabled = false;
            }

            try
            {
                if (this.progCode == "STFM000001715" || this.progCode == "STFM000001746")
                {
                    pnlList.Visible           = false;
                    this.listRepeater.Visible = false;
                    pnlNoMsgList.Visible      = true;
                }
                else
                {
                    pnlList.Visible           = true;
                    pnlNoMsgList.Visible      = false;
                    this.listRepeater.Visible = true;

                    ListDataView ldv = data.RetrieveMemoList(this.progCode, this.nCurPage, this.nPageRow, this.search, this.searchWord);

                    this.nTotalRecord            = ldv.TotalCount;
                    this.listRepeater.DataSource = ldv.DV;
                    this.listRepeater.DataBind();

                    string pagingURL = "RetrieveMemoList.aspx?curPage={0}&progCode=" + this.progCode + "&search=" + this.search + "&searchWord=" + this.searchWord;

                    this.pageNavigator.Text = NoteUtil.SetNavigator(this.nCurPage, this.nTotalRecord, this.nPageRow, pagingURL);
                }
            }
            catch (System.Exception ex)
            {
                throw ex;
                //					Response.Write("잠시만 기다려 주십시오..");
                //					Response.End();
            }
        }
    }
コード例 #9
0
    protected void Page_Load(object sender, EventArgs e)
    {
        UserInfo uInfo    = new UserInfo();
        string   progCode = IMBC.FW.Util.WebUtil.GetRequestForm("sPrgID", "");

        int    uno     = uInfo.Uno;
        string userID  = uInfo.UserID;
        string userNm  = uInfo.UserName;
        string comment = IMBC.FW.Util.WebUtil.GetRequestForm("TEXT", "");

        comment = IMBC.FW.Util.WebUtil.PreventHTML(comment);


        if (progCode == "" || uno == 0 || userID == "" || userNm == "" || comment == "")
        {
            Response.End();
        }
        else
        {
            if (System.Web.Configuration.WebConfigurationManager.AppSettings["pmstart"].ToString() == "ON")
            {
                Response.Write("OK$");
                Response.Write("RETURN|0$");
                Response.Write("MSG|'죄송합니다. 지금은 시스템 점검중입니다.$");
                //				Response.Status = "200 OK";
                Response.End();
            }

            NoteData data = new NoteData();
            progCode = NoteUtil.GetParentCode(progCode);


            bool bXCharCheck = false;


            if (bXCharCheck)
            {
                Response.Write("OK$");
                Response.Write("RETURN|0$");
                Response.Write("MSG|'비속어를 입력할 수 없습니다.$");
                //				Response.Status = "200 OK";
                Response.End();
            }
            else
            {
                if (CheckNum(comment))
                {
                    Response.Write("OK$");
                    Response.Write("RETURN|0$");
                    Response.Write("MSG|'입력하신 숫자는 개인정보에 해당 하는 숫자이므로 입력이 불가능합니다.$");
                    //				Response.Status = "200 OK";
                    Response.End();
                }
                else
                {
                    if (data.RegisterMemoInfo(progCode, 3, "#000000", uno, userID, userNm, comment, 0))
                    {
                        //					Response.Write("OK\r\n");
                        //					Response.Write("RETURN VALUE : 1/전송이 완료되었습니다.");
                        //					//				Response.Status = "200 OK";
                        //					Response.End();
                        //
                        if (!uInfo.IsIdentity())
                        {
                            Response.Write("OK$");
                            Response.Write("RETURN|1$");
                            Response.Write("MSG|전송이 완료되었습니다.         '제한적 본인확인제' 시행으로 본인확인이 필요합니다.$");
                            Response.Write("POPUP_ONCE|http://login.imbc.com/iMBC/CleanCampaign/IdentiFormPop.asp$");
                            Response.End();
                        }
                        else
                        {
                            Response.Write("OK$");
                            Response.Write("RETURN|1$");
                            Response.Write("MSG|전송이 완료되었습니다.$");
                            Response.End();
                        }
                    }
                    else
                    {
                        Response.Write("OK$");
                        Response.Write("RETURN|0$");
                        Response.Write("MSG|'전송이 실패하였습니다.$");
                        //				Response.Status = "200 OK";
                        Response.End();
                    }
                }
            }
        }
    }
コード例 #10
0
    protected void Page_Load(object sender, EventArgs e)
    {
        this.nCurPage  = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage", "1"));
        this.nCurPage2 = int.Parse(IMBC.FW.Util.WebUtil.GetRequestQueryString("curPage2", "1"));

        this.search      = IMBC.FW.Util.WebUtil.EncodeHTML(WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("search", "")));
        this.search2     = IMBC.FW.Util.WebUtil.EncodeHTML(WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("search2", "")));
        this.searchWord  = IMBC.FW.Util.WebUtil.RemoveHTMLTag(WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("searchWord", ""))).Replace("+", "").Replace("%", "").Replace("'", "");
        this.searchWord2 = IMBC.FW.Util.WebUtil.RemoveHTMLTag(WebUtil.replaceSQLInjections(IMBC.FW.Util.WebUtil.GetRequestQueryString("searchWord2", ""))).Replace("+", "").Replace("%", "").Replace("'", "");

        this.uInfo = new UserInfo();
        this.data  = new NoteData();


        if (this.uInfo.IsLogin == false)
        {
            imgSave.Src = "http://img.imbc.com/mini/UserNote/images/mini_memo_login.jpg";
            img1.Src    = "http://img.imbc.com/mini/UserNote/images/mini_memo_login.jpg";

            System.Web.HttpContext httpContext = System.Web.HttpContext.Current;

            httpContext.Response.Cookies["IMBCURL"].Value  = httpContext.Server.UrlEncode("http://" + httpContext.Request.ServerVariables["SERVER_NAME"] + httpContext.Request.RawUrl);
            httpContext.Response.Cookies["IMBCURL"].Domain = "imbc.com";
            httpContext.Response.Cookies["IMBCURL"].Path   = "/";
            httpContext.Response.Cookies["IMBCURL"].Secure = false;

            imgSave.Attributes.Add("onclick", "location.href='http://member.imbc.com/Login/Login.aspx?TemplateId=Popup'; return false;");
            txtComment.Enabled = false;

            img1.Attributes.Add("onclick", "location.href='http://member.imbc.com/Login/Login.aspx?TemplateId=Popup'; return false;");
            txtComment1.Enabled = false;
        }
        else
        {
            this.IsAdmin = data.IsAdminUserDB(this.progCode_STFM, uInfo.UserID);
            imgSave.Attributes.Add("onclick", "doSave();");
            img1.Attributes.Add("onclick", "doSave();");
        }

        if (!IsPostBack)
        {
            // 현재 시간의 편성 정보 가져오기
            ScheduleMBCList    STFM    = new NoteData().RetrieveScheduleListForMBC("STFM");
            List <ScheduleMBC> newSTFM = new List <ScheduleMBC>();

            newSTFM = STFM.FindAll(
                delegate(ScheduleMBC sc)
            {
                return(DateTime.Parse(sc.EndTime) > DateTime.Parse(DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString()) && sc.Day == GetDayOfWeek(DateTime.Now));
            }
                );
            newSTFM = newSTFM.GetRange(0, 1);

            foreach (ScheduleMBC sc in newSTFM)
            {
                progCode_STFM  = new NoteData().GetProgCode(sc.BroadCastID, sc.GroupID).Trim();
                progTitle.Text = sc.ProgramTitle + progCode_STFM;
//                Response.Write(sc.ProgramTitle + " : " + sc.BroadCastID + " :" + sc.GroupID);
            }

            try
            {
                this.mstInfo          = data.RetrieveMemoMstInfo(this.progCode_STFM);
                this.progTitle.Text   = mstInfo.progTitle;
                this.tblColor.BgColor = mstInfo.tblColor;
                this.nPageRow         = mstInfo.pageRow;

                if (this.mstInfo.memoType == "2")
                {
                    imgSave.Visible    = false;
                    txtComment.Text    = "mini 에서만 작성하실 수 있습니다.";
                    txtComment.Enabled = false;
                }
            }
            catch { }


            try
            {
                ListDataView ldv = data.RetrieveMemoList(this.progCode_STFM, this.nCurPage, this.nPageRow, this.search, this.searchWord);
                if (ldv != null)
                {
                    this.nTotalRecord            = ldv.TotalCount;
                    this.listRepeater.DataSource = ldv.DV;
                    this.listRepeater.DataBind();

                    string pagingURL = "MiniMsgMor.aspx?curPage={0}&progCode=" + this.progCode_STFM + "&search=" + this.search + "&searchWord=" + this.searchWord;

                    this.pageNavigator.Text = NoteUtil.SetNavigator(this.nCurPage, this.nTotalRecord, this.nPageRow, pagingURL);
                }
            }
            catch { }



            ScheduleMBCList    FM4U    = new NoteData().RetrieveScheduleListForMBC("FM4U");
            List <ScheduleMBC> newFM4U = new List <ScheduleMBC>();

            newFM4U = FM4U.FindAll(
                delegate(ScheduleMBC sc)
            {
                return(DateTime.Parse(sc.EndTime) > DateTime.Parse(DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString()) && sc.Day == GetDayOfWeek(DateTime.Now));
            }
                );
            newFM4U = newFM4U.GetRange(0, 1);
            foreach (ScheduleMBC sc in newFM4U)
            {
                progCode_FM4U = new NoteData().GetProgCode(sc.BroadCastID, sc.GroupID).Trim();
                Label1.Text   = sc.ProgramTitle;
                //Response.Write(sc.ProgramTitle + ":" + sc.BroadCastID + " :" + sc.GroupID);
            }

            try
            {
                this.mstInfo2          = data.RetrieveMemoMstInfo(this.progCode_FM4U);
                this.tblColor.BgColor  = mstInfo2.tblColor;
                this.tblColor2.BgColor = mstInfo2.tblColor;
                this.nPageRow2         = mstInfo2.pageRow;

                if (this.mstInfo2.memoType == "2")
                {
                    img1.Visible        = false;
                    txtComment1.Text    = "mini 에서만 작성하실 수 있습니다.";
                    txtComment1.Enabled = false;
                }
            }
            catch { }

            try
            {
                ListDataView ldv2 = data.RetrieveMemoList(this.progCode_FM4U, this.nCurPage2, this.nPageRow2, this.search2, this.searchWord2);

                this.nTotalRecord2            = ldv2.TotalCount;
                this.listRepeater2.DataSource = ldv2.DV;
                this.listRepeater2.DataBind();

                string pagingURL2 = "MiniMsgMor.aspx?curPage2={0}&progCode=" + this.progCode_FM4U + "&search2=" + this.search + "&searchWord2=" + this.searchWord;

                this.Label2.Text = NoteUtil.SetNavigator(this.nCurPage2, this.nTotalRecord2, this.nPageRow2, pagingURL2);
            }
            catch { }
        }
    }