<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyGroupAlbum.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyGroupAlbum" %>
小组<%= Define.Get("Client_专辑")%>:我的<%= this.Query.RecordCount %>个小组<%= Define.Get("Client_专辑")%>
名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 锁: <%= new HtmlSelect("LockAlbum", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.LockAlbum)%> 审核: <%= new HtmlSelect("Examine", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.Examine)%> 日期从 <%= new HtmlText("CreateTimeBegin", this.CreateTimeBegin.ToShortDate()) { Width = 80 }%> 至 <%= new HtmlText("CreateTimeEnd", this.CreateTimeEnd.ToShortDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MyGroupAlbum") %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%>
<% for (int i = 0; i <= this.ListAlbum.Count - 1; i++) { var album = this.ListAlbum[i]; %> <% } %>
<%= Define.Get("Client_专辑")%> 创建日期 视频个数
<%= new HtmlCheckBox() { Value = SetKey(album.Guid, album.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
  • <%= new HtmlAnchor( new HtmlImg(SettingGroup.AlbumCover(album), album.Name) { OnErrorImg=SettingGroup.DefaultImg} ) { Title = album.Name, Href = WebUrl.MyAlbumVideo(album.Guid), Target = "_blank" }%>
  • <%= new HtmlAnchor(album.Name) { Href = WebUrl.MyAlbumVideo(album.Guid), Target = "_blank" }%>
    <% var classStatus = ""; if (album.Status == (int)AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum.有效) { classStatus = "pass"; } else { classStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.AlbumStatusEnum)album.Status).Define() %> <% var classExamine = ""; if (album.Examine == (int)AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum.审核通过) { classExamine = "pass"; } else if (album.Examine == (int)AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum.审核不通过) { } else { classExamine = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.AlbumExamineEnum)album.Examine).Define() %> <% if (album.LockAlbum == (int)AVA.ResourcesPlatform.Model.Pub.AlbumLockAlbumEnum.锁定) { %> <%= new HtmlSpan("锁定") { Title = album.ParentLockUser.UserName + " " + album.LockDateTime + " " + album.LockDescription }.Style(new { Color = "Red" })%> <% } %>
    播放:<%= album.VideoView%> 评论:<%= album.CommentCount%>

<%= album.CreateTime.ToDateTimeN().ToShortDate() %> <%= CreateInstance.AlbumVideoDao.Count(l=>l.ParentAlbum== album) %>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyGroupAlbum(int.MaxValue, this.Name, this.CreateTimeBegin.ToString(null), this.CreateTimeEnd.ToString(null), this.LockAlbum.ToString(null), this.Examine.ToString(null)) }.ToHtml()%>
<%= new HtmlButton("加锁", "AlbumBatchLock(this);")%> <%= new HtmlButton("解锁", "AlbumBatchUnLock(this);")%> <%= new HtmlButton("审核通过", "AlbumBatchExamine(this);")%> <%= new HtmlButton("审核不通过", "AlbumBatchUnExamine(this);")%> <%= new HtmlButton("删除", "AlbumBatchDelete(this);"){ Class="btn btn-danger pull-right" }%>