/// <summary>
        /// 获取当前页的留言板
        /// </summary>
        /// <returns></returns>
        private static string GetMeassageBorad(List <UserMessageBoard> userMB)
        {
            if (userMB != null)
            {
                string reult = string.Empty;
                foreach (UserMessageBoard i in userMB)
                {
                    if (i != null)
                    {
                        string   title           = i.Title.Trim() != "" ? i.Title : "无标题";
                        string   content         = i.Article;
                        string   author          = i.user != null ? (i.user.name.Trim() != "" ? i.user.name : "公众用户") : "公众用户";
                        string   url             = i.URL.Trim() != "" ? i.URL : "#";
                        DateTime comTime         = i.ComDateTime;
                        string   categoriesTitle = i.MessageBoardCategories.CategoriesTitle.Trim() != "" ? i.MessageBoardCategories.CategoriesTitle : "默认分类";

                        reult += WebPageControls.SimpMessageBoard(title, content, author, url, comTime, categoriesTitle);
                    }
                    else
                    {
                        reult += WebPageControls.ReminderBox("网络延迟!");
                    }
                }
                return(reult);
            }
            else
            {
                return(WebPageControls.SimpMessageBoard("留言区为空!", "系统信息", DateTime.Now, ""));
            }
        }
        private static string GetMessageBoradCategories(List <MBCategories> dataSource)
        {
            string reult = string.Empty;

            if (dataSource != null)
            {
                foreach (MBCategories i in dataSource)
                {
                    reult += WebPageControls.ListGroups(i.cetegoriesTitle, i.sum);
                }
                return(reult);
            }
            else
            {
                reult += "数据错误!请尝试重新加载!";
                return(reult);
            }
        }
        /// <summary>
        /// 获取留言板分类信息
        /// </summary>
        /// <returns></returns>
        public static string GetMessageBoradCategories()
        {
            mbCategories = UserMessageBoard.MBCategories;
            string reult = string.Empty;

            if (mbCategories != null)
            {
                for (int i = 0; i < mbCategories.Count; i++)
                {
                    reult += WebPageControls.ListGroups(mbCategories[i].cetegoriesTitle, mbCategories[i].sum);
                    if (i == 4)
                    {
                        return(reult);
                    }
                }
                return(reult);
            }
            else
            {
                return(reult);
            }
        }