<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectVideo" %> <%= new MyShiXunWorkNavInstance(this) { Local = MyShiXunWorkNavItem.作业情况, Subject = this.Subject }.ToHtml()%>
<%= Define.Get("Client_实训作业")%>"<%= this.Subject.Name %>"共<%= this.Query.RecordCount %>个作业
视频名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> <%= new HtmlHidden("Key","MyShiXunWorkVideo") %> <%= new HtmlHidden("ParentSubject",this.Subject.Guid) %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%--<%= new HtmlButton("添加视频", "window.location.href='" + WebUrl.MySubjectVideoAdd(this.Subject.Guid) + "';"){ Class="btn btn-defalut " }%>--%> <%--添加视频--%> <%= new HtmlButton("删除", "SubjectVideoBatchDelete(this);"){ Class="btn btn-danger pull-right" }%>
<%= new HtmlHidden("ExprotExcelXMLParameter", this.Subject.Guid)%> <%= new HtmlHidden("ExprotKey","STVideoScore") %> <%--<%= new HtmlButton("导出参赛作品", "ExprotExcelXML(this);"){ Class="pull-right" }%>--%>
<% for (int i = 0; i <= this.ListSubjectVideo.Count - 1; i++) { var subjectVideo = this.ListSubjectVideo[i]; var subject = this.ListSubjectVideo[i].ParentSubject; var video = this.ListSubjectVideo[i].ParentVideo; %> <% } %>
状态 得分 视频 用户 推荐为优秀视频 操作
<%= 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" }%>
<% var classStatus = ""; if (video.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.有效) { classStatus = "pass"; } else { classStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)video.Status).Define() %> <% var classExamine = ""; if (video.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.审核通过) { classExamine = "pass"; } else if (video.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.审核不通过) { } else { classExamine = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)video.Examine).Define() %> <% var videoConvertStatus = ""; if (video.VideoConvertStatus == (int)AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum.已转换) { videoConvertStatus = "pass"; } else { videoConvertStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)video.VideoConvertStatus).Define() %>
播放:<%= video.VideoView %> 评论:<%= video.CommentCount %>
时长:<%= video.Period %>秒

<%= 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();" }%>
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyShiXunWorkVideo(this.Subject.Guid, int.MaxValue, this.Name, this.ConfirmStatus.ToString(null)) }.ToHtml()%>