Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\BeijingMiyun\Album.aspx
??<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Album" %> <!DOCTYPE html> <html> <head> <% var listChannel = AlbumExecute.GetListChannel(this.ListUrlParamWhere); var channel = CreateInstance.ChannelDao.Get(this.ListUrlParam.GetFirstValue("ParentChannel")); string local = string.Empty; if (channel == null) { local = ""; } else { local = channel.ParentChannel == null ? channel.Guid : channel.ParentChannel.Guid; } %> <title> <%= listChannel.Select(l=>l.Value).ToArray().Join(",") %> ?????? - <%= 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 class="ks-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { CacheEnable = 60, HeaderItem = HeaderItem.AlbumShow, Local = local, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchAlbumMaxInstance(this) { }.ToHtml()) }.ToHtml()%> <% var albumChannelName = "???"; if (this.ListUrlParamWhere.GetFirstValue("ParentChannel") != null) { var ParentAlbumChannel = CreateInstance.ChannelDao.Get(this.ListUrlParamWhere.GetFirstValue("ParentChannel")); if (ParentAlbumChannel != null) { albumChannelName = ParentAlbumChannel.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 SearchAlbumChannelInstance(this) { }.ToHtml() %> </div> <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; var color = ""; var offset3 = "offset3"; var offset9 = "offset9"; var banner = true; var banner2 = true; switch (currentChannelGuid) { case "b1dcde": offset9 = ""; color = "blue"; banner = false; banner2 = false; break; case "30a028": offset9 = ""; color = "orange"; banner = false; banner2 = false; break; case "094da1": offset9 = ""; color = "purple"; banner = false; banner2 = false; break; case "957764": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; case "18640d": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; case "f7876b": offset9 = ""; color = "blue"; banner = false; banner2 = false; break; case "165b7e": offset9 = ""; color = "blue"; banner = false; banner2 = false; break; case "ba6912": offset9 = ""; color = "blue"; banner = false; banner2 = false; break; case "c6fc3e": offset9 = ""; color = "orange"; banner = false; banner2 = false; break; case "40657d": offset9 = ""; color = "orange"; banner = false; banner2 = false; break; case "c9b846": offset9 = ""; color = "orange"; banner = false; banner2 = false; break; case "305fb2": offset9 = ""; color = "purple"; banner = false; banner2 = false; break; case "926321": offset9 = ""; color = "purple"; banner = false; banner2 = false; break; case "03afc7": offset9 = ""; color = "purple"; banner = false; banner2 = false; break; case "f80190": offset9 = ""; color = "purple"; banner = false; banner2 = false; break; case "9f7d3f": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; case "2562c7": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; case "92787a": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; case "220867": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; case "ec3832": offset9 = ""; color = "green-blue"; banner = false; banner2 = false; break; default: offset9 = ""; color = "green-blue"; banner = true; banner2 = false; break; }; %> <div class="content main-content" role="main"> <div class="container"> <div class="row fluid-layout of-h" id="layout_row"> <div class="span9 fluid-span <%= offset3 %> " id="span9_col" > <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 of-h"> <%--<%= new SearchAlbumListInstance(this) { PageSize = 25 }.ToHtml()%>--%> <%= new SearchVideoListInstance(this) { PageSize = 24, ListUrlParamWhere= new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentChannel", listChannel[0].Key).AddOnly("SearchKeyWord",this.SearchKeyWord), IsWeike = -1, TransferControl="/Search/SearchVideoList_channel"}.ToHtml()%> </div> </div> </div> <div class="span3 fluid-span <%= offset9 %> " id="span3_col" > <div class="box mbox m-t40 "> <div class="head"> <div class="title"> <%= new HtmlAnchor("??????") { Href = WebUrl.NoticeList(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("NoticeType",((int)AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum.???).ToString())) }%> </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> <script> $(document).ready(function () { var layoutHeight = $("#span9_col").height() > $("#span3_col").height() ? $("#span9_col").height() : $("#span3_col").height() $("#layout_row").height(layoutHeight + 20); }) </script> <% } %> <%= new FooterInstance(this) { }.ToHtml() %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de