%@ 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_评课") %>评课 |
状态 |
<%= Define.Get("Client_评课") %>活动开展日期 |
截止加入日期 |
<%
for (int i = 0; i <= this.ListSubject.Count - 1; i++)
{
var subject = this.ListSubject[i];
%>
<%= 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()%>