<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Album" %> <% 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; } %> <%= listChannel.Select(l=>l.Value).ToArray().Join(",") %> 课例专辑 - <%= 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 = 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) { %>
<%= 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; 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; }; %>
<% 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 = 24, ListUrlParamWhere= new List().AddOnly("ParentChannel", listChannel[0].Key).AddOnly("SearchKeyWord",this.SearchKeyWord), IsWeike = -1, TransferControl="/Search/SearchVideoList_channel"}.ToHtml()%>
<%= new HtmlAnchor("公告信息") { Href = WebUrl.NoticeList(new List().AddOnly("NoticeType",((int)AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum.公告).ToString())) }%>
    <%= 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() %>