Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\School\SchoolHot.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.School.SchoolHot" %> <div class="row"> <% foreach (var domainGroup in this.ListDomain) { var domain = domainGroup; var domainInfo = domain._ListDomainInfo.FirstResult(); if (domainInfo == null) { throw new Z.Core.Tools.ExceptionMessage("??????" + domain.Name + "?????????"); domainInfo = AVA.ResourcesPlatform.Factory.CreateInstance.DomainInfo; } %> <div class="span4"> <div class="well"> <div class="max-school-logo"> <%= new HtmlAnchor(new HtmlImg(SettingGroup.DomainInfoMaxLogo(domainInfo), domain.Name){ OnErrorImg=SettingGroup.DefaultImg3 }) { Title = domain.Name, Target = "_blank", Href = domain.RouteWebSite }%> </div> <br /> <%= new HtmlAnchor(domain.Name) { Title = domain.Name, Target = "_blank", Href = domain.RouteWebSite }%> <hr> <p class="text-content" style="height:300px; overflow:auto;"> <%= domain.Description.RestoreHtml() %> </p> </div> </div> <% } %> </div> <div class="row"> <div class="span12"> <div class="search-footer"> <hr> <div class="breadcrumb-search pull-right"> <form id="frmSchool" method="post" action="<%= WebUrl.Proxy() %>"> ????? <%= new HtmlText("Name", this.Name) { Width = 240 }%> <%= new HtmlHidden("Key","School") %> <%= new HtmlSubmit("???") %> </form> </div> <div class="pagination"> <ul style="margin-left:auto;"> <% if (this.Query.PageIndex <= 1) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchSchool" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = WebUrl.School(1, this.Name) }%> </li> <% } %> <% if (this.Query.PageIndex - 1 < 1) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchSchool" }%> </li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = WebUrl.School(this.Query.PageIndex - 1, this.Name) }%> </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 = WebUrl.School(beginPageItem - 1, this.Name) }%> </li> <% } for (int i = beginPageItem; i <= endPageItem; i++) { if (i == this.Query.PageIndex) { %> <li class="active"> <%= new HtmlAnchor(i.ToString()) { Href = "#SearchSchool" }%></li> <% } else { %> <li> <%= new HtmlAnchor(i.ToString()) { Href = WebUrl.School(i, this.Name) }%> </li> <% } } if (endPageItem < this.Query.PageCount) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = WebUrl.School(endPageItem + 1, this.Name) }%> </li> <% } %> <% if (this.Query.PageIndex + 1 > this.Query.PageCount) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchSchool" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = WebUrl.School(this.Query.PageIndex + 1, this.Name) }%> </li> <% } %> <% if (this.Query.PageIndex == this.Query.PageCount) { %> <li class="active"> <%= new HtmlAnchor("???") { Href = "#SearchSchool" }%></li> <% } else { %> <li> <%= new HtmlAnchor("???") { Href = WebUrl.School(this.Query.PageCount, this.Name) }%> </li> <% } %> </ul> </div> </div> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de