%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.SubjectTheme.SubjectTemplate" %>
<%--- ">">大赛首页
--%>
- ">">作品展示
- ">">新闻公告
- ">">比赛指南
- ">">获奖作品
<%--- ">历届大赛
--%>
<%--- 历届大赛
--%>
- ">返回首页
<% if (this.UserCode != null)
{ %>
<%
//申请参加,必须不为评审
if ((this.Subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动
|| this.Subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.禁用)
&& this.Subject.CutoffTime >= DateTime.Now
&& CreateInstance.STUserDao.Count(l=>l.ParentSubject == this.Subject
&& l.ParentUser == this.User) == 0
)
{
//当评课活动为启动/禁用时,且申请时间没有过
if (this.SubjectUser != null)
{
%>
- <%= new HtmlAnchor("我已参加") { Title = "我已参加", OnClick = "return false;" }%>
<%
}
else
{
%>
- <%= new HtmlAnchor("申请参加") { Title = "申请参加", OnClick = "SubjectUserApplySignupClient(this,'" + SetKey(this.Subject.Guid, this.Subject.Version) + "');return false;" }%>
<%
}
}
%>
<%} %>
<% if (this.UserCode == null)
{ %>
<% }
else
{ %>
<% if (CreateInstance.STUserDao.Count(l => l.ParentUser == this.User
&& l.ParentSubject == this.Subject) > 0)
{
%>
专家评审
<% } else if(this.SubjectUser !=null) { %>
<%--评审入口--%>
<% } %>
<%
}
%>