Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\k12Theme\SubjectPlay.aspx
??<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.SubjectPlay" %> <!DOCTYPE html> <html> <head> <title> <%= this.Subject.Name %> - <%= this.Video.Name %> - <%= this.Title %></title> <meta name="Description" content="<%= this.Subject.Description.ToScriptTag() %>" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.ScriptTheme("js/swfobject.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.min.js")%> <%= Import.ScriptTheme("js/excanvas.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("js", "/global.js")%> <%= Import.ScriptTheme("js/libs/jquery.treeview.min.js")%> <%= Import.ScriptTheme("js/libs/jquery.MetaData.js")%> <%= Import.ScriptTheme("js/libs/jquery.rating.pack.js")%> <%= Import.ScriptTheme("js/libs/jquery.stupid.js")%> <%-- <%= Import.ScriptTheme("js/libs/jquery.jqplot.min.js")%> <%= Import.ScriptTheme("js/libs/plugins/jqplot.lineRenderer.js")%> <%= Import.CSS("style/jquery.jqplot.min.css")%>--%> <%= Import.CSS("style/jquery.rating.css")%> <%= Import.CSS("style/jquery.stupid.css")%> <%= new HeadInstance(this) { }.ToHtml() %> <%= Import.ScriptTheme("js/highcharts.js")%> <script type="text/javascript" src='<%= Request.WebPath()+"/Tools/JWPlayer/Helper/jwplayer.min.js" %>'></script> </head> <body class="school-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem = HeaderItem.SubjectShow, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchSubjectMaxInstance(this) { }.ToRenderHtml()) }.ToHtml()%> <% var AttachmentViaVideo = this.Video.FileName == "??????" ? false : true; if (AttachmentViaVideo) { %> <div class="content grayDarker video-page"> <div class="container"> <div class="row"> <div class="span12"> <%= new NavInstance(this) { }.Add(this.Subject.Name,WebUrl.SubjectView(this.Subject.Guid)).Add(this.Video.Name,null).ToHtml()%> </div> <!-- /span16 --> </div> <!-- /row --> <div class="row"> <div class="span12"> <p class="title video-title"><%= this.Video.Name %></p> <div class=" video-player-wrapper"> <div class="video-player player-layout"> <%= new VideoPlayPlayerInstance(this) { TransferControl="/SubjectPlay/VideoPlayPlayer" }.ToHtml() %> </div> <div class="video-anlyze"> <% var SubjectSTUserList = this.Subject._ListSTUser; var isSTUser = false; for (int i = 0; i <= SubjectSTUserList.Count - 1; i++) { if (SubjectSTUserList[i].ParentUser.Guid == this.UserCode) { isSTUser = true; break; } } var SubjectUser = this.Subject._ListSubjectUser; var isUser = false; for (int i = 0; i <= SubjectUser.Count - 1; i++) { if (SubjectUser[i].ParentUser.Guid == this.UserCode) { isUser = true; break; } } %> <div class="tabs-right nav-sidetabs"> <div class=" "> <ul class="nav nav-tabs tabs_thick nav-tabs-wrapper"> <li class="active"><a href="#videoplayInfo" data-toggle="tab"><%= new HtmlSpan(){Class="ico ico-video_infos-ico"}%>???????</a></li> <li class="hidden"> <%= new HtmlAnchor(Define.Get("Client_??????")) { Href = "#divSubjectDescription" }.AddAttribute("data-toggle","tab")%> </li> <li><a href="#videoplaytimeinfo" data-toggle="tab" title="????????"><%= new HtmlSpan(){Class="ico ico-keynote-ico"}%>????????</a></li> <li><a href="#videoplaysw" data-toggle="tab" title="??????"><%= new HtmlSpan(){Class="ico ico-ed_progress-ico"}%>??????</a></li> <li class=""><a href="#videoplaylesson" data-toggle="tab"><%= new HtmlSpan(){Class="ico ico-discuss-ico"}%>??????</a></li> </ul> </div> <div class="of-h"> <div class="sider-right"> <div class="tab-content "> <div class="tab-pane active" id="videoplayInfo"> <%= new SubjectPlayInfoInstance(this) { }.ToHtml() %> </div> <div class="tab-pane hidden" id="divSubjectDescription"> <div class="pill-body"> <p>?????</p> <%= this.Subject.Description %> </div> </div> <div class="tab-pane" id="videoplaytimeinfo"> <%= new VideoPlayTimeInfoInstance(this).ToHtml() %> </div> <div class="tab-pane" id="videoplaysw"> <%= new VideoPlaySWInstance(this).ToHtml() %> </div> <div class="tab-pane" id="videoplaylesson"> <%= new VideoPlayTimeInfoOtherInstance(this).ToHtml() %> </div> </div> </div> </div> </div> </div> </div> <!-- /row --> </div> </div> </div> </div> <% } else { %> <div class="content grayDarker doc-page"> <div class="container"> <div class="row"> <div class="span12"> <%= new NavInstance(this) { CacheEnable = 60*60, }.Add(Define.Get("Client_??????"),WebUrl.Video()).ToHtml()%> </div> </div> <div class="row"> <div class="doc-page-wrapper"> <div class="doc-page-content" id=""> <%= new VideoPlayAttachmentInstance(this) { CacheEnable = 60,TransferControl="/videoplay/videoplayattachment_tabs" }.ToHtml()%> </div> <div class="doc-page-infos"> <%= new SubjectPlayInfoInstance(this) { CacheEnable = 5, }.ToHtml() %> </div> </div> </div> </div> </div> <% } %> <div class="content "> <div class="container"> <div class="row"> <div class="video-coments m-t20"> <div class="flat flat-tabs"> <div class="head"> <ul class="nav nav-tabs tabs" id=""> <% if (this.Subject.STEnable == true) { %> <% if (isSTUser) { %> <li class=""><a href="#divSTScoreItem" data-toggle="tab"><%= Define.Get("??????") %></a></li> <%--if(this.user can add socre , or self evalument --%> <li class=""><a href="#divVideoSWPattern" data-toggle="tab"><%= Define.Get("?????????") %></a></li> <% } %> <% if (SettingGroup.HasST && CreateInstance.VideoSWPatternDao.Count(l => l.ParentVideo == this.Video) > 0) { %> <li class="active"><a href="#divVideoSWPatternGrid" data-toggle="tab"><%= Define.Get("????????") %></a></li> <%} %> <% } %> <li class="<%= this.Subject.STEnable == true ? "":"active" %> "> <a href="#comments" data-toggle="tab" title="<%= Define.Get("???") %>"><%= Define.Get("???") %></a> </li> <li class=""><a href="#divSTUserComment" data-toggle="tab">??????</a></li> <% if (AttachmentViaVideo) { %> <li><a href="#videoplayattachment" data-toggle="tab" title="???">???</a></li> <% } %> </ul> </div> <div class="body"> <div class="tab-content"> <div class="tab-pane" id="comments"> <div id="commentArea" class="commentArea"> <%= new CommentAddInstance(this) { TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <%= new CommentListInstance(this) { TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> </div> </div> <div class="tab-pane " id="divSTUserComment"> <div class="pill-body"> <%--?????? ??jax--%> <%--<%= new SubjectPlayVideoScoreCommonInstance(this) { }.ToHtml() %>--%> <%= new CommentListInstance(this) {TransferControl="/Comment/LiveCommentList", TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <% if (this.UserCode != null) { %> <%= new CommentAddInstance(this) {TransferControl="/Comment/LiveCommentAdd", TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <% } %> </div> </div> <div class="tab-pane <%= this.Subject.STEnable == true ? "":"active" %> " id="UserComments"> <div class="pill-body"> <div id="commentArea" class="commentArea"> <%= new SubjectPlayVideoScoreCommonInstance(this) { }.ToHtml() %> </div> </div> </div> <div class="tab-pane" id="videoplayattachment"> <%= new VideoPlayAttachmentInstance(this).ToHtml() %> </div> <% if (this.Subject.STEnable == true) { %> <% if (isSTUser) { %> <div class="tab-pane white" id="divSTScoreItem"> <div class="pill-body hor-tabs"> <%= new SubjectPlaySTScoreItemInstance(this) { }.ToHtml() %> </div> </div> <div class="tab-pane white" id="divVideoSWPattern"> <div class="pill-body"> <%= new VideoPlaySWPatternGridInstance(this) { Width=10 }.ToHtml()%> </div> </div> <% } %> <div class="tab-pane white active" id="divVideoSWPatternGrid"> <div class="pill-body"> <%= new VideoPlaySWPatternInstance(this) { Width=550, Height=450 }.ToHtml()%> </div> </div> <% } %> </div> </div> </div> </div> <div class="video-recomands m-t20"> <div class="flat min-flat"> <div class="head"> <div class="title"> ??????????? </div> </div> <div class="body"> <div class="orders-list "> <%= new IndexVideoByInstance(this) { PageSize = 10,ParentUserGuid= this.Video.ParentUser.Guid, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <%= new FooterInstance(this) { }.ToHtml() %> <%= new PVHistoryAddInstance(this) { PKId = this.Subject.Guid, PVTarget = "Subject",PVType=1 }.ToHtml()%> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de