private void bindTopicOne(IBlock block, ForumPost data, List <Attachment> attachList) { String quoteLink = Link.To(new Users.PostController().QuoteTopic, data.TopicId) + "?boardId=" + data.ForumBoardId; String replyLink = Link.To(new Users.PostController().ReplyTopic, data.TopicId) + "?boardId=" + data.ForumBoardId; String topicUrl = LinkUtil.appendListPageToTopic(Link.To(new TopicController().Show, data.TopicId), ctx); block.Set("post.ReplyQuoteUrl", quoteLink); block.Set("post.ReplyUrl", replyLink); block.Set("post.TitleStyle", string.Empty); block.Set("post.PostUrl", topicUrl); String content = getTopicContent(data, attachList); block.Set("post.Body", content); block.Set("post.PostFullUrl", getFullUrl(topicUrl)); block.Set("post.AdBody", AdItem.GetAdById(AdCategory.ForumTopicInner)); block.Set("nofollow", ""); }