Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\Search\SearchReplayList.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Search.SearchReplayList" %> <div class="items"> <% foreach (var replay in this.ListApplication) { %> <ul> <li class="p_thumb"> <%= new HtmlAnchor(new HtmlImg(SettingGroup.ApplicationCover(replay), replay.Title) { Width=140, Height=88, OnErrorImg=SettingGroup.DefaultImg }) { Title = replay.Title, Target = "_blank", Href = WebUrl.LivePlay(replay.Guid) }%> </li> <li class="p_title"> <%= new HtmlAnchor(replay.Title) { Title = replay.Title, Target = "_blank", Href = WebUrl.LivePlay(replay.Guid) }%> </li> <li class="p_actor">??????<%= replay.Speaker %> </li> <li><span class="num"> <%= replay.StartTime.ToLongDate() %></span></li> <li class="p_actor"> <%= replay.ParentGrade!=null ? replay.ParentGrade.Name : "" %> <%= new HtmlSpan(CreateInstance.ApplicationDao.CategoryName(replay)) { TextLength=16, Suffix="..." }%> </li> </ul> <% } %> </div> <div class="clear"> </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