%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyAlbumVideo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyAlbumVideo" %> <% if (!isAjax) { %> <%= new MyAlbumNavInstance(this) { Local= MyAlbumNavItem.专辑视频, Album = this.Album }.ToHtml()%>
视频 | <%-- | --%> | |||
<%= new HtmlCheckBox() { Value = SetKey(albumVideo.Guid, albumVideo.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%= new HtmlAnchor(video.Name) { Href = WebUrl.AlbumPlay(album.Guid, video.Guid), Target = "_blank", TextLength=18, Suffix="...", WideWord =true }%>
|
<%--
| --%>
申请日期:
<%= new HtmlSpan(albumVideo.SubmissionTime.ToShortDate()) { Title = albumVideo.SubmissionRemark }%>
<% if (albumVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.AlbumVideoConfirmStatusEnum.通过) { %> 确认日期: <% } else if (albumVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.AlbumVideoConfirmStatusEnum.拒绝) { %> 拒绝日期: <% } else if (albumVideo.ConfirmStatus == (int)AVA.ResourcesPlatform.Model.Pub.AlbumVideoConfirmStatusEnum.未审核) { %> 未审核: <% } %> <%= new HtmlSpan(albumVideo.ConfirmTime.ToShortDate()) { Title = albumVideo.ConfirmRemark }%> <% if (album.ParentUser == this.User) { %> 申请状态: <%= new HtmlSelect(null, "Value", "Key", "Key") { OnChange = "AlbumVideoChangeStatusClient(this,'" + SetKey(albumVideo.Guid, albumVideo.Version) + "');", Lang = albumVideo.ConfirmStatus.ToString(), Option = typeof(AVA.ResourcesPlatform.Model.Pub.AlbumVideoConfirmStatusEnum), SelectedValue = albumVideo.ConfirmStatus}.Style(new { Width = "auto" })%> <% } %> |
<%if(video.ParentUser == this.User || album.ParentUser == User){ %>删除|<%} %>
<%= new HtmlAnchor("预览") { Href = WebUrl.AlbumPlay(album.Guid, video.Guid) }%>
<%= new HtmlText("SortNumber", albumVideo.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};AlbumVideoChangeSortNumberClient(this,'" + SetKey(albumVideo.Guid, albumVideo.Version) + "')", Lang = albumVideo.SortNumber.ToString(), Width = 50, Title = "修改当前视频在"+Define.Get("Client_专辑")+"中的位置" }%> |
<%= new HtmlAnchor(video.Name) { Href = WebUrl.AlbumPlay(album.Guid, video.Guid), Target = "_blank", TextLength=18, Suffix="...", WideWord =true }%>
<%if(video.ParentUser == this.User) { %> 删除| <%} %> <%= new HtmlAnchor("预览") { Href = WebUrl.AlbumPlay(album.Guid, video.Guid) }%>