%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.MeetingView.MeetingViewInfo" %>
教研:
<%= this.Meeting.Name %>
<%= new PVHistoryCollectInstance(this) { PKId= this.Meeting.Guid,PVTarget="Meeting" }.ToHtml() %>
<%= ((AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum)this.Meeting.Status).Define() %>
<%=new HtmlImg(SettingGroup.MeetingCover(this.Meeting), this.Meeting.Name) { Class = "vi-img", Width = 140, Height = 88, OnErrorImg = SettingGroup.DefaultImg }.Style(new { margin_top = "20px" })%>
-
<%= new HtmlAnchor(this.Meeting.ParentUser.ParentUserType.ParentDomain.Name) { Target = "_blank", Href = new UrlExecute() { ParentDomain = this.Meeting.ParentUser.ParentUserType.ParentDomain.Guid }.ToUrl(SearchType.Meeting) }%>
- 服务器:
<%= this.Meeting.ParentMeetingServer.ServerName %>
-
<%= this.Meeting.Compere %>
-
<%= this.Meeting.ParentMeetingLevel.Name %>
<%
if (this.ListCategory.Count > 0)
{
%>
-
<%
foreach (var category in this.ListCategory)
{
%>
<%= new HtmlAnchor(category.Name) { Target = "_blank", Href = new UrlExecute() { ParentCategory = category.Guid }.ToUrl(SearchType.Meeting) }%>
<%
}
%>
<%
}
%>
<%
if (this.ListChannel.Count > 0)
{
%>
-
<%
foreach (var channel in this.ListChannel)
{
%>
<%= new HtmlAnchor(channel.Name) { Target = "_blank", Href = new UrlExecute() { ParentChannel = channel.Guid }.ToUrl(SearchType.Meeting) }%>
<%
}
%>
<%
}
%>
<%
if (this.ListMeetingTag.Count > 0)
{
%>
-
<%
foreach (var tag in this.ListMeetingTag)
{
%>
<%= new HtmlAnchor(tag.Title) { Target = "_blank", Href = new UrlExecute() { TagTitle = tag.Title }.ToUrl(SearchType.Meeting) }%>
<%
}
%>
<%
}
%>
-
<%= this.Meeting.BeginTime %>
-
<%= this.Meeting.EndTime %>
- 截止申请时间:
<%= this.Meeting.CutoffTime %>
-
<%= new HtmlAnchor("如未安装互动平台,请点击下载") { Href=Request.WebPath()+"/Resource/AVAMeeting.zip" }%>
<%
//申请
if ((this.Meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.公示
|| this.Meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.禁用)
&& this.Meeting.CutoffTime >= DateTime.Now
)
{
//当教研为公示/禁用时,且申请时间没有过
if (this.MeetingUser != null)
{
%>
<%= new HtmlButton("我已参加当前教研") { Title = "我已参加当前教研..", OnClick = "return false;" }%>
<%
}
else
{
%>
<%= new HtmlButton("我要申请参加为...") { Title = "申请参加...", OnClick = "MeetingUserApplySignupClient(this,'" + SetKey(this.Meeting.Guid, this.Meeting.Version) + "');return false;" }%>
|
<%= new HtmlSelect("GuestType", "Value", "Key") { ID = "ddlMeetingGuestType", Option = typeof(AVA.ResourcesPlatform.Model.Pub.MeetingUserApplyGuestTypeEnum) }%>
|
<%
}
}
%>
<%
//启动
if (this.Meeting.Status == (int)AVA.ResourcesPlatform.Model.Pub.MeetingStatusEnum.启动)
{
//当教研为公示/禁用时,且申请时间没有过
if (this.MeetingUser != null)
{
%>
<%= new HtmlButton("进入教研...") { Title = "进入教研..", OnClick = "MeetingUserSignClient(this,'" + SetKey(this.MeetingUser.Guid, this.MeetingUser.Version) + "');return false;" }%>
<%
}
else
{
%>
<%= new HtmlButton("教研正在进行中...") { Title = "教研正在进行中...", OnClick = ";return false;" }%>
<%
}
}
%>
<%
if (!string.IsNullOrEmpty(this.Meeting.Ad)
&& FileExists(SettingGroup.MeetingUploadPath, this.Meeting.Ad))
{
%>
<%= new HtmlImg(SettingGroup.MeetingAd(this.Meeting)) { }.Style(new { Max_Width="560px" })%>
<%
}
%>
<%= this.Meeting.Description.RestoreHtml() %>
<%--
--%>