protected string GetTalklist() { StringBuilder strb = new StringBuilder(); if (Corporation != null) { string keywords = GetString("keywords"); List <TalkInfo> list = Talks.Instance.GetListBycorpid(Corporation.ID); if (!string.IsNullOrEmpty(keywords)) { list = list.FindAll(l => l.Content.Contains(keywords) || l.Tag.Contains(keywords)); } foreach (TalkInfo t in list) { strb.AppendLine("<div class=\"ask\"><a href=\"common/talkpage.aspx?id=" + t.ID + "\">" + t.Title + "</a>"); strb.AppendLine("<p>" + StrHelper.GetFuzzyChar(StrHelper.GetHtml(t.Content), 50) + "</p></div>"); } } return(strb.ToString()); }