%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyGroupMeeting.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyGroupMeeting" %>
小组教研: 我的<%= this.Query.RecordCount %>个小组教研
|
教研
|
状态
|
教研时间
|
最后申请时间
|
操作
|
<%
for (int i = 0; i <= this.ListMeeting.Count - 1; i++)
{
var meeting = this.ListMeeting[i];
%>
<%= new HtmlCheckBox() { Value = SetKey(meeting.Guid, meeting.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%>
|
-
<%= new HtmlAnchor(
new HtmlImg(SettingGroup.MeetingCover(meeting), meeting.Name) { Width=100, Height=62 }
) { Title=meeting.Name, Href = WebUrl.MeetingView(meeting.Guid), Target = "_blank" }%>
-
<%= new HtmlAnchor(meeting.Name) { Href = WebUrl.MeetingView(meeting.Guid), Target = "_blank" }%>
<%
var classExamine = "";
if (meeting.Examine == (int)AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum.审核通过)
{
classExamine = "pass";
}
else if (meeting.Examine == (int)AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum.审核不通过)
{ }
else
{
classExamine = "";
}
%>
<%= ((AVA.ResourcesPlatform.Model.Pub.MeetingExamineEnum)meeting.Examine).Define() %>
<%
if (meeting.LockMeeting == (int)AVA.ResourcesPlatform.Model.Pub.MeetingLockMeetingEnum.锁定)
{
%>
<%= new HtmlSpan("锁定") { Title = meeting.ParentLockUser.UserName + " " + meeting.LockDateTime + " " + meeting.LockDescription }.Style(new { Color = "Red" })%>
<%
}
%>
<%
if (meeting.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.MeetingShareUploadEnum.是)
{
%>
公开上传
<%
}
%>
播放:<%= meeting.VideoView%>
评论:<%= meeting.CommentCount%>
|
<%
var classStatus = "";
if (meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.公示
|| meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.启动)
{
classStatus = "pass";
}
else
{
classStatus = "";
}
%>
<%= new HtmlSelect(null, "Value", "Key", "Key") { OnChange = "MeetingChangeStatusClient(this,'" + SetKey(meeting.Guid, meeting.Version) + "');", Lang = meeting.Status.ToString(), Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum), SelectedValue = meeting.Status }%>
|
<%= meeting.BeginTime.ToLongDate() %>
至
<%= meeting.EndTime.ToLongDate() %>
|
<%= meeting.CutoffTime.ToLongDate() %>
|
<%
}
%>
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyGroupMeeting(int.MaxValue, this.Name, this.BeginTime.ToString(null), this.EndTime.ToString(null), this.LockMeeting.ToString(null), this.Examine.ToString(null)) }.ToHtml()%>