<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectST" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.我的评审任务 }.ToHtml()%>--%>
我的<%= this.Query.RecordCount %>个评审任务
<%= Define.Get("Client_评审任务") %>名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 日期从 <%= new HtmlText("CutoffTime", this.CutoffTime.ToShortDate()) { Width = 80 }%> 至 <%= new HtmlText("EndTime", this.EndTime.ToShortDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MySubjectST") %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%>
<% for (int i = 0; i <= this.ListSTUser.Count - 1; i++) { var subject = this.ListSTUser[i].ParentSubject; %> <% } %>
<%= Define.Get("Client_评审任务") %>封面 名称 状态 <%-- <%= Define.Get("Client_评审") %> --%>评审日期
  • <%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.MySubjectSTVideo(subject.Guid), Title = subject.Name }%>
<%= new HtmlAnchor(subject.Name) { Href = WebUrl.MySubjectSTVideo(subject.Guid)}%> <% int stUserAlreadyVideoCount; int stUserVideoNeedCount; int stUserVideoNoCount; stUserAlreadyVideoCount = CreateInstance.STUserDao.UserAlreadySTVideo(this.ListSTUser[i], out stUserVideoNeedCount, out stUserVideoNoCount); %>
<%--视频总数:<%= videoCount %>--%> 我需要评审的视频数:<%= stUserVideoNeedCount %>个
已评:<%= stUserAlreadyVideoCount %>个 未评:<%= stUserVideoNoCount %>个

<% if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime<= DateTime.Now && subject.EndTime >= DateTime.Now) { %> 评审期 <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime > DateTime.Now) { %> 未到<%= Define.Get("Client_评审") %>期 <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime < DateTime.Now) { %> 已过<%= Define.Get("Client_评审") %>期 <% } else if (subject.Examine != (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过) { %> 活动尚未审核通过 <% } else if (subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.结束) { %> 活动已结束 <% } else if (subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.禁用) { %> 活动尚未启动 <%} %>

<%= subject.CutoffTime.ToShortDate()%>

<%= subject.EndTime.ToShortDate()%>
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectST(int.MaxValue, this.Name, this.CutoffTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%>