Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\Search\SearchSubjectListInfo.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchSubjectList" %> <div class="videolist-heng"> <table class="table table-striped"> <tbody> <% foreach (var subject in this.ListSubject) { %> <tr> <td> <%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg} ) { Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid) }%> </td> </td> <td> <p class="ttle"> <%= new HtmlAnchor(WebUrl.Light(subject.Name,this.SearchKeyWord)) { Title = subject.Name, Target = "_blank", Href = WebUrl.SubjectView(subject.Guid) }%> </p> <p class="viewcounts"> <%= new HtmlAnchor(WebUrl.Light(subject.ParentUser.TrueName,this.SearchKeyWord)) { Href = WebUrl.Show(subject.ParentUser.ParentUserType.ParentDomain.Code, subject.ParentUser.UserName), Title = subject.ParentUser.ParentUserType.ParentDomain.Name }%> </p> <% if (!string.IsNullOrEmpty(subject.Description)) { %> <p class="v_desc video-info"> ????? <%= subject.Description.ToFirstString(100,"...",true) %> </p> <% } %> <% var tagTitle = CreateInstance.SubjectTagDao.Where(l => l.ParentSubject == subject) .OrderBy(l => l.SortNumber) .ToList(); if (tagTitle != null && tagTitle.Count > 0) { %> <p class="v_desc video-tag"> ????? <% foreach (var tag in tagTitle) { %> <%= WebUrl.Light(tag.Title,this.SearchKeyWord) %> <% } %> </p> <div class="clear"></div> <% } %> </td> <td> <% var listSubjectUser = CreateInstance.SubjectUserDao.Where(l => l.ParentSubject.Guid == subject.Guid) .OrderBy(l => l.SortNumber) .ToList(); if (listSubjectUser != null && listSubjectUser.Count > 0) { %> <div class="p_videos video-info-more"> ???????? <ul class="video-dadian"> <% foreach (var subjectUser in listSubjectUser) { var user = subjectUser.ParentUser; %> <li>?? <%= new HtmlAnchor(WebUrl.Light(user.TrueName,this.SearchKeyWord)) { Href = WebUrl.Show(user.ParentUserType.ParentDomain.Code, user.UserName), Title = user.ParentUserType.ParentDomain.Name }%> <%= new HtmlAnchor(user.ParentUserType.ParentDomain.Name){ Href=user.ParentUserType.ParentDomain.RecourseSite} %> </li> <% } %> </ul> </div> <% } %> </tr> <% } %> </tbody> </table> </div> <div class="pagination"> <ul> <% if (this.Query.PageIndex <= 1) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(1) }%> </li> <% } %> <% if (this.Query.PageIndex - 1 < 1) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%> </li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageIndex - 1) }%> </li> <% } %> <% int beginPageItem = (this.Query.PageIndex % 8 == 0 ? this.Query.PageIndex - 1 : this.Query.PageIndex) / 8 * 8 + 1; int endPageItem = beginPageItem + 8 - 1; if (endPageItem > this.Query.PageCount) { endPageItem = this.Query.PageCount; } if (beginPageItem > 1) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = this.GetPageUrl(beginPageItem - 1) }%> </li> <% } for (int i = beginPageItem; i <= endPageItem; i++) { if (i == this.Query.PageIndex) { %> <li class="active"> <%= new HtmlAnchor(i.ToString()) { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor(i.ToString()) { Href = this.GetPageUrl(i) }%> </li> <% } } if (endPageItem < this.Query.PageCount) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = this.GetPageUrl(endPageItem + 1) }%> </li> <% } %> <% if (this.Query.PageIndex + 1 > this.Query.PageCount) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageIndex + 1) }%> </li> <% } %> <% if (this.Query.PageIndex == this.Query.PageCount) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchList" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageCount) }%> </li> <% } %> </ul> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de