Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\Album.aspx
??<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Album" %> <!DOCTYPE html> <html> <head> <% var listChannel = AlbumExecute.GetListChannel(this.ListUrlParamWhere); %> <title> <%= listChannel.Select(l=>l.Value).ToArray().Join(",") %> <%= Define.Get("Client_??????") %> - <%= this.Title %></title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("js", "/global.js")%> <%= new HeadInstance(this) { }.ToHtml() %> </head> <body > <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { CacheEnable = 60, HeaderItem = HeaderItem.AlbumShow, Local = this.ListUrlParam.GetFirstValue("ParentAlbumLevel"), ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchAlbumMaxInstance(this) { }.ToHtml()) }.ToHtml()%> <% var albumChannelName = "???"; if (this.ListUrlParamWhere.GetFirstValue("ParentChannel") != null) { albumChannelName = CreateInstance.ChannelDao.Get(this.ListUrlParamWhere.GetFirstValue("ParentChannel")).Name; } %> <% var currentChannelGuid = this.ListUrlParam.GetFirstValue("ParentChannel"); if (currentChannelGuid == null) { %> <div class="content main-content" role="main"> <div class="container"> <div class="row"> <div class="span12"> <%= new NavInstance(this) { }.Add(Define.Get("Client_??????"),null).AddRequiredValueEmpty("??????"+this.SearchKeyWord,this.SearchKeyWord).ToHtml()%> </div> <!-- /span16 --> </div> <!-- /row --> <div class="row"> <%-- <div class="span3"> <div style="" class=""> <%= new SearchAlbumCategoryInstance(this) { }.ToHtml() %> </div> </div>--%> <div class="span12"> <div class="searchBox"> <div style="" class="search-nav-pills"> <%= new SearchAlbumLevelInstance(this) { }.ToHtml() %> </div> <%= new SearchAlbumOrderInstance(this) { }.ToHtml() %> <div> <div id="hot"> <div id="list-grid-toggle"> <% if (this.Sort == 0) { %> <%= new SearchAlbumListInstance(this) { PageSize = 25 }.ToHtml()%> <% } else { %> <%= new SearchAlbumListInstance(this) { PageSize=25, TransferControl="/Search/SearchAlbumListInfo" }.ToHtml() %> <% } %> </div> </div> </div> </div> </div> </div> </div> </div> <% } else { %> <%-- <%= new SearchAlbumChannelInstance(this) { ListUrlParam = this.ListUrlParam.AddOnly("ParentChannel", this.ListUrlParamWhere.GetFirstValue("ParentChannel")) }.ToHtml()%>--%> <% var rand = currentChannelGuid.GetHashCode() % 4; var color = ""; var offset3 = "offset3"; var offset9 = "offset9"; var banner = true; var banner2 = true; switch (Math.Abs( rand)) { case 0: offset3 = ""; color = "blue"; break; case 1: offset9 = ""; color = "green"; break; case 2: offset9 = ""; color = "purple"; break; case 3: offset3 = ""; color = "green-blue"; break; }; %> <div class="content main-content" role="main"> <div class="container"> <div class="row fluid-layout"> <div class="span9 fluid-span <%= offset3 %> "> <%-- <div class="m-t40 "></div> <% if (banner == true) { %> <div class="channel-banner"> <img src="<%= Import.CSSFile( "images/banner_dv.gif")%>" /> </div> <%} %> <% if (banner2 == true) { %> <div class="channel-banner"> <img src=" <%= Import.CSSFile( "images/banner_learning.gif")%>" /> </div> <%} %>--%> <div class="box channel-box m-t40 <%= color %>"> <div class="head"> <div class="zhe-title"> <%= new SearchAlbumChannelInstance(this) {TransferControl="/Search/SearchAlbumChannelShort" }.ToHtml() %> </div> <div class="head-nav"> <% = new SearchAlbumChannelInstance(this) { TransferControl="/Search/SearchAlbumChannelShortNav"}.ToHtml() %> </div> </div> <div class="body"> <%--<%= new SearchAlbumListInstance(this) { PageSize = 25 }.ToHtml()%>--%> <%= new SearchVideoListInstance(this) { PageSize = 25, ListUrlParamWhere= new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentChannel", listChannel[0].Key), IsWeike = -1}.ToHtml()%> </div> </div> </div> <div class="span3 fluid-span <%= offset9 %> "> <div class="box mbox m-t40 "> <div class="head"> <div class="title"> <a href="#">??????</a> </div> </div> <div class="body"> <ul class="arrow-list"> <%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%> </ul> </div> </div> <div class="box mbox "> <div class="head"> <div class="title"> <%= new HtmlAnchor("???????") { Href = WebUrl.Video() }%> </div> </div> <div class="body"> <div class="side-list videolist-heng"> <%= new IndexVideoByInstance(this) { PageSize=5 ,TransferControl="/Index/IndexVideoByHot"}.ToHtml()%> </div> </div> </div> <div class="box mbox "> <div class="head"> <div class="title"> <%= new HtmlAnchor("??????") { Href = WebUrl.Video() }%> </div> </div> <div class="body"> <div class="side-list videolist-heng"> <%= new IndexVideoByInstance(this) { PageSize=5 , OrderBy=AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl="/Index/IndexVideoByHot"}.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <% } %> <%= new FooterInstance(this) { }.ToHtml() %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de