%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyAlbumPublic.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyAlbumPublic" %>
封面 | 名称 | 状态 | 日期 | 视频数量 | 操作 |
<%= new HtmlAnchor(
new HtmlImg(SettingGroup.AlbumCover(album), album.Name) { OnErrorImg=SettingGroup.DefaultImg}) { Href = WebUrl.MyAlbumVideo(album.Guid), Title=album.Name }%>
|
<%= new HtmlAnchor(album.Name) { Href = WebUrl.MyAlbumVideo(album.Guid) }%>
<%-- |
<%
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.CreateTime.ToDateTimeN().ToShortDate() %> |
<%= CreateInstance.AlbumVideoDao.Count(l=>l.ParentAlbum== album) %>个 [有<%= CreateInstance.AlbumVideoDao.Count(l=>l.ParentAlbum == album && l.ConfirmStatus == 0) %>视频待审核] |
<%= new HtmlAnchor("添加、审核视频") { Href = WebUrl.MyAlbumVideo(album.Guid), Class="myAction" }%> |