<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectApplicationAdd.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectApplicationAdd" %>
我的优课评比:添加录制到优课评比"<%= this.Subject.Name %>" <%= new MySubjectNavInstance(this) { Local = "直播" }.ToHtml()%>
设备: <%= new HtmlSelect("Name", "Name", "Guid", "Guid") { Option = this.ListRecordEquipment }.InsertOption("::选择::", "", 0).SelectValue(this.Name)%> 时间从 <%= new HtmlText("StartTime", this.StartTime.ToLongDate()) { Width = 120 }%> 至 <%= new HtmlText("EndTime", this.EndTime.ToLongDate()) { Width = 120 }%> <%= new HtmlHidden("Key","MySubjectApplicationAdd") %> <%= new HtmlHidden("ParentSubject",this.Subject.Guid) %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%= new HtmlButton("添加到优课评比", "SubjectApplicationBatchAdd(this);")%>
<% for (int i = 0; i <= this.ListApplication.Count - 1; i++) { var application = this.ListApplication[i]; %> <% } %>
直播 状态 直播时间 操作
<%= new HtmlCheckBox() { Value = SetKey(application.Guid + "," + this.Subject.Guid, application.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>

<%= new HtmlAnchor(application.ParentRecordEquipment.Name) { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank" }%> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationShareEnum)application.Share).Define() %>
<% if (!string.IsNullOrEmpty(application.Title) && !string.IsNullOrEmpty(application.Title)) { %> <%= application.Title%> (<%= application.Speaker%>) <% } %>

<% if (application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.批准 || application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.签到) { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define() %> <% } else if (application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.取消 || application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.拒绝) { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define()%> <% } else { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define()%> <% } %> <%= application.ApplicationDate.ToShortDate() %>
<%= application.StartTime.ToShortTimeString() %> 至 <%= application.EndTime.ToShortTimeString()%>
'); return false;">添加| <%= new HtmlAnchor("预览") { Href = WebUrl.LivePlay(application.Guid) }%>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectApplicationAdd(this.Subject.Guid, int.MaxValue, this.Name, this.StartTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%>