<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyGroupSubject.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyGroupSubject" %>
小组<%= Define.Get("Client_评课") %>活动:我的<%= this.Query.RecordCount %>个小组<%= Define.Get("Client_评课") %>活动
<%= Define.Get("Client_评课") %>活动: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 锁: <%= new HtmlSelect("LockSubject", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.LockSubject)%> 审核: <%= new HtmlSelect("Examine", "Value", "Key", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum) }.InsertOption("::选择::", "", 0).SelectValue(this.Examine)%> 日期从 <%= new HtmlText("BeginTime", this.BeginTime.ToShortDate()) { Width = 80 }%> 至 <%= new HtmlText("EndTime", this.EndTime.ToShortDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MyGroupSubject") %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%>
<% for (int i = 0; i <= this.ListSubject.Count - 1; i++) { var subject = this.ListSubject[i]; %> <% } %>
<%= Define.Get("Client_评课") %>评课 状态 <%= Define.Get("Client_评课") %>活动开展日期 截止加入日期
<%= new HtmlCheckBox() { Value = SetKey(subject.Guid, subject.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
  • <%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { Width=100, Height=62 , OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.SubjectView(subject.Guid), Target = "_blank" }%>
  • <%= new HtmlAnchor(subject.Name) { Href = WebUrl.SubjectView(subject.Guid), Target = "_blank" }%>
    <% var classExamine = ""; if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过) { classExamine = "pass"; } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核不通过) { } else { classExamine = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum)subject.Examine).Define() %> <% if (subject.LockSubject == (int)AVA.ResourcesPlatform.Model.Pub.SubjectLockSubjectEnum.锁定) { %> <%= new HtmlSpan("锁定") { Title = subject.ParentLockUser.UserName + " " + subject.LockDateTime + " " + subject.LockDescription }.Style(new { Color = "Red" })%> <% } %>
    <% if (subject.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.SubjectShareUploadEnum.是) { %> 公开上传 <% } %> 播放:<%= subject.VideoView%> 评论:<%= subject.CommentCount%>

<% var classStatus = ""; if (subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动) { classStatus = "pass"; } else { classStatus = ""; } %> <%= new HtmlSelect(null, "Value", "Key", "Key") { OnChange = "SubjectChangeStatusClient(this,'" + SetKey(subject.Guid, subject.Version) + "');", Lang = subject.Status.ToString(), Option = typeof(AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum), SelectedValue = subject.Status }%> <%= subject.BeginTime.ToShortDate()%>

<%= subject.EndTime.ToShortDate()%>
<%= subject.CutoffTime.ToShortDate()%>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyGroupSubject(int.MaxValue, this.Name, this.BeginTime.ToString(null), this.EndTime.ToString(null), this.LockSubject.ToString(null), this.Examine.ToString(null)) }.ToHtml()%>
<%= new HtmlButton("加锁", "MeetingBatchLock(this);")%> <%= new HtmlButton("解锁", "MeetingBatchUnLock(this);")%> <%= new HtmlButton("审核通过", "MeetingBatchExamine(this);")%> <%= new HtmlButton("审核不通过", "MeetingBatchUnExamine(this);")%> <%= new HtmlButton("删除", "MeetingBatchDelete(this);"){ Class="btn btn-danger pull-right" }%>