Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\Search\SearchSubjectList.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchSubjectList" %> <ul> <% foreach (var subject in this.ListSubject) { %> <li> <div class="vediodiv"> <%= 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) }%> </div> <div class="clear"></div> <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> <p> <%= subject.BeginTime %> <%= this.SearchKeyWord %> </p> </li> <% } %> </ul> <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