public PartialViewResult GuestShow_Data()
        {
            int         GID     = DataConverter.CLng(Request["GID"]);
            PageSetting setting = B_GuestBook.GetTipsList_SPage(CPage, 20, GID);

            return(PartialView(setting));
        }
        public ActionResult GuestShow()
        {
            int GID = DataConverter.CLng(Request["GID"]);

            if (GID < 1)
            {
                function.WriteErrMsg("没有传入留言ID"); return(null);
            }
            M_GuestBook info = guestBll.GetQuest(GID);

            if (info.IsNull || info.ParentID > 0 || info.Status == -1)
            {
                function.WriteErrMsg("留言信息不存在!"); return(null);
            }
            if (info.Status == 0 && info.UserID != buser.GetLogin().UserID)
            {
                function.WriteErrMsg("该留言未通过审核,无法查看详情"); return(null);
            }
            M_GuestBookCate cateMod = cateBll.SelReturnModel(info.CateID);
            M_UserInfo      mu      = buser.GetLogin();

            ViewBag.mu      = mu;
            ViewBag.cateMod = cateMod;
            ViewBag.GTitle  = info.Title;
            ViewBag.cateDt  = cateBll.SelByGuest();
            PageSetting setting = B_GuestBook.GetTipsList_SPage(CPage, 20, GID);

            return(View(setting));
        }