<% var changeName = listChannel.Select(l => l.Value).ToArray().Join(","); if (string.IsNullOrEmpty(changeName)) { changeName = Define.Get("Client_资源专辑"); } %> <%= new NavInstance(this) { }.Add(changeName,null).ToHtml()%>
<% var albumLevelList = CreateInstance.AlbumLevelDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.AlbumLevelStatusEnum.有效) .OrderBy(l => l.SortNumber) .ToList(); foreach (var albumLevel in albumLevelList) { %>
<%= new HtmlAnchor(albumLevel.Name + listChannel.Select(l=>l.Value).ToArray().Join(",")) { Class="blue", Href=WebUrl.Album(this.ListUrlParamWhere.AddOnly("ParentAlbumLevel",albumLevel.Guid).AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.月播放量).ToString())) }%>
<%= new HtmlAnchor("更多...") { Class="blue", Href=WebUrl.Album(this.ListUrlParamWhere.AddOnly("ParentAlbumLevel",albumLevel.Guid).AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.月播放量).ToString())) }%>
<%= new IndexAlbumByInstance(this) { PageSize = 6, ParentChannel= listChannel.Select(l=>l.Key).FirstResult(), ParentAlbumLevel = albumLevel.Guid, OrderBy = AVA.ResourcesPlatform.Config.OrderType.月播放量 }.ToHtml()%>
<%= new HtmlAnchor("热门播放") { Class="blue", Href=WebUrl.Album(this.ListUrlParamWhere.AddOnly("ParentAlbumLevel",albumLevel.Guid).AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量).ToString())) }%>
<%= new HtmlAnchor("更多...") { Href=WebUrl.Album(this.ListUrlParamWhere.AddOnly("ParentAlbumLevel",albumLevel.Guid).AddOnly("OrderBy",((int)AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量).ToString())) }%>
<%= new IndexAlbumByInstance(this) { PageSize = 3, ParentChannel= listChannel.Select(l=>l.Key).FirstResult(), ParentAlbumLevel = albumLevel.Guid, TransferControl="/Index/IndexAlbumByLeft", OrderBy = AVA.ResourcesPlatform.Config.OrderType.先当天上传播放量后再当天播放量 }.ToHtml()%>
<% } %>