<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectParticipate.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectParticipate" %>
我的优课评比: 我参加的<%= this.ListSubjectUser.Count %>个优课评比
优课评比名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> 日期从 <%= new HtmlText("BeginTime", this.BeginTime.ToLongDate()) { Width = 80 }%> 至 <%= new HtmlText("EndTime", this.EndTime.ToLongDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MySubjectParticipate") %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%= new HtmlButton("删除", "SubjectUserBatchDelete(this);")%>
<% for (int i = 0; i <= this.ListSubjectUser.Count - 1; i++) { var subject = this.ListSubjectUser[i].ParentSubject; var subjectUser = this.ListSubjectUser[i]; %> <% } %>
优课评比 用户 优课评比时间 最后申请时间 操作
<%= new HtmlCheckBox() { Value = SetKey(subjectUser.Guid, subjectUser.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", Title = subject.Name }%>

<%= 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() %> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum)subject.Status).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%>

<%= subjectUser.ParentUser.ParentDomain.Name %>
<%= new HtmlAnchor(subjectUser.ParentUser.TrueName) { Href=WebUrl.Show(subject.ParentUser.ParentDomain.Code,subject.ParentUser.UserName) }%> ( <%= new HtmlAnchor(subjectUser.ParentUser.UserName) { Href = WebUrl.Show(subject.ParentUser.ParentDomain.Code, subject.ParentUser.UserName) }%> )
<%= subject.BeginTime.ToLongDate() %>

<%= subject.EndTime.ToLongDate() %>
<%= subject.CutoffTime.ToLongDate() %> <% if (subject.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.SubjectShareUploadEnum.是) { %> <%= new HtmlAnchor("我的视频") { Href = WebUrl.MySubjectUserVideo(subject.Guid) }%>
<%= new HtmlAnchor("我的专辑") { Href = WebUrl.MySubjectUserAlbum(subject.Guid) }%>
<% if (SettingGroup.HasMeeting == true) { %> <%= new HtmlAnchor("我的教研") { Href = WebUrl.MySubjectUserMeeting(subject.Guid) }%>
<% } %> <%= new HtmlAnchor("我的直播") { Href = WebUrl.MySubjectUserApplication(subject.Guid) }%> <% } %>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectParticipate(int.MaxValue, this.Name, this.BeginTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%>