%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectVideo" %> <%= new MyShiXunWorkNavInstance(this) { Local = MyShiXunWorkNavItem.作业情况, Subject = this.Subject }.ToHtml()%>
状态 | 得分 | 视频 | 用户 | 推荐为优秀视频 | 操作 | ||
<%= new HtmlCheckBox() { Value = SetKey(subjectVideo.Guid, subjectVideo.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
<%
int stUserCount = CreateInstance.STUserDao.Count(l=>l.ParentSubject == this.Subject);
int hasSTUserCount = CreateInstance.STVideoScoreDao.Count(l => l.ParentVideo == video && l.ParentSTUser.ParentSubject == this.Subject);
int noSTUserCount = stUserCount-hasSTUserCount;
%>
已评:<%= hasSTUserCount %>人 未评:<%= noSTUserCount %>人 |
<% var videoFinallyScore = CreateInstance.STfinallyScoreDao.Where(l => l.ParentVideo == video && l.ParentSubject == this.Subject).FirstResult(); if (videoFinallyScore == null) { %> 暂无得分 <% } else { %> <%= videoFinallyScore.AllScore %>分 <% } %> |
<%= new HtmlAnchor(
new HtmlImg(SettingGroup.VideoCover(video), video.Name) { OnErrorImg=SettingGroup.DefaultImg }
) { Href=WebUrl.SubjectPlay(subject.Guid, video.Guid), Title=video.Name, Target="_blank" }%>
|
<%= new HtmlAnchor(video.Name) { Href = WebUrl.SubjectPlay(subject.Guid, video.Guid), Target = "_blank" }%>
|
<%= video.ParentUser.ParentDomain.Name %>
<%= new HtmlAnchor(video.Author) { Href= WebUrl.Show(video.ParentUser.ParentDomain.Code,video.ParentUser.UserName) }%> ( <%= new HtmlAnchor(video.ParentUser.UserName) { Href= WebUrl.Show(video.ParentUser.ParentDomain.Code,video.ParentUser.UserName) }%> ) |
<%= new MarkingMarkInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.推荐,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.视频.ToString(),MKGuid=video.Guid }.ToHtml()%> |
删除 |
<%= new HtmlAnchor("打分") { Href="#", OnClick="GoToSubjectST();" }%>
|