<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Album" %> <% var listChannel = AlbumExecute.GetListChannel(this.ListUrlParamWhere); %> <%= listChannel.Select(l=>l.Value).ToArray().Join(",") %> <%= Define.Get("Client_专辑资源") %> - <%= this.Title %> <%= 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() %> <%= 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) { %>
<%= new NavInstance(this) { }.Add(Define.Get("Client_专辑资源"),null).AddRequiredValueEmpty("关键字:"+this.SearchKeyWord,this.SearchKeyWord).ToHtml()%>
<%--
<%= new SearchAlbumCategoryInstance(this) { }.ToHtml() %>
--%>
<% } 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; }; %>
<%--
<% if (banner == true) { %>
" />
<%} %> <% if (banner2 == true) { %>
" />
<%} %>--%>
<%= new SearchAlbumChannelInstance(this) {TransferControl="/Search/SearchAlbumChannelShort" }.ToHtml() %>
<% = new SearchAlbumChannelInstance(this) { TransferControl="/Search/SearchAlbumChannelShortNav"}.ToHtml() %>
<%--<%= new SearchAlbumListInstance(this) { PageSize = 25 }.ToHtml()%>--%> <%= new SearchVideoListInstance(this) { PageSize = 25, ListUrlParamWhere= new List().AddOnly("ParentChannel", listChannel[0].Key), IsWeike = -1}.ToHtml()%>
    <%= new IndexNoticeByInstance(this) { ListNoticeCount=9, FirstString=40 }.ToHtml()%>
<%= new HtmlAnchor("最新上传") { Href = WebUrl.Video() }%>
<%= new IndexVideoByInstance(this) { PageSize=5 ,TransferControl="/Index/IndexVideoByHot"}.ToHtml()%>
<%= new HtmlAnchor("热门视频") { Href = WebUrl.Video() }%>
<%= new IndexVideoByInstance(this) { PageSize=5 , OrderBy=AVA.ResourcesPlatform.Config.OrderType.年播放量, TransferControl="/Index/IndexVideoByHot"}.ToHtml()%>
<% } %> <%= new FooterInstance(this) { }.ToHtml() %>