Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\ShiXun\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) { CacheEnable = 60*60, }.ToHtml() %> <%= Import.ScriptTheme("js/highcharts.js")%> </head> <body> <%= new BrowserTipInstance(this) { CacheEnable = 60*60, }.ToHtml() %> <%= new HeaderInstance(this) { CacheEnable = 60*60, HeaderItem = HeaderItem.SubjectShow, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchSubjectMaxInstance(this) { CacheEnable = 60*60, }.ToRenderHtml()) }.ToHtml()%> <% var AttachmentViaVideo = this.Video.FileName == "??????" ? false : true; if (AttachmentViaVideo) { %> <div class="content video-page"> <div class="container"> <div class="row"> <div class="span12"> </div> <!-- /span16 --> </div> <!-- /row --> <div class="row"> <div class="span12"> <div class="videoplay-box m-t20 player-layout"> <div class="head"> <div class="head-breadcrumb"> <%= new NavInstance(this) { CacheEnable = 60*60, }.Add(this.Subject.Name,WebUrl.SubjectView(this.Subject.Guid)).ToHtml()%> </div> <div class="title"> <p class="video-title"><%= this.Video.Name %></p> </div> </div> <div class="body"> <%= new VideoPlayPlayerInstance(this) { }.ToHtml() %> <div class="video-tools-bar" id="video-tools-bar" style="height: 20px; margin-bottom: 20px;"> <div class="video-handlers" style="float: left;"> <% var VideoResourcePath = CreateInstance.VideoDao.GetResourcePath(this.Video); %> <% if (VideoResourcePath.SHD != "") { %> <%= new HtmlAnchor("?????") { Class = "btn SwitchBitrate", Href = "#SHD", OnClick = "SwitchBitrate('" + VideoResourcePath.SHD + "');return false;" }.Style(new { Display="none"})%> <% } %> <% if (VideoResourcePath.HD != "") { %> <%= new HtmlAnchor("???") { Class="btn SwitchBitrate", Href = "#HD", OnClick="SwitchBitrate('"+VideoResourcePath.HD+"');return false;" }.Style(new { Display="none"})%> <% } %> <% if (VideoResourcePath.NR != "") { %> <%= new HtmlAnchor("???") { Class="btn SwitchBitrate", Href = "#NR", OnClick="SwitchBitrate('"+VideoResourcePath.NR+"');return false;" }.Style(new { Display="none"})%> <% } %> <% if (VideoResourcePath.LW != "") { %> <%= new HtmlAnchor("???") { Class="btn SwitchBitrate", Href = "#LW", OnClick="SwitchBitrate('"+VideoResourcePath.LW+"');return false;" }.Style(new { Display="none"})%> <% } %> <div class="operate btn"> <!-- ?????? start --> <div class="share"> <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare"> <span class="bds_more">??????</span> <a class="bds_qzone" title="?????Q???" href="#"></a> <a class="bds_tsina" title="???????????" href="#"></a> <a class="bds_tqq" title="???????????" href="#"></a> <a class="bds_renren" title="?????????" href="#"></a> </div> <script type="text/javascript" id="bdshare_js" data="type=tools&uid=6786327"></script> <script type="text/javascript" id="bdshell_js"></script> <script type="text/javascript"> document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000) </script> </div> <!-- ?????? end --> </div> <div class="share_code"> <% if (this.Video.HasDownload == true || CreateInstance.UserTypeDao.HasDownloadVideo(this.UserCode)) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="icon icon-download" }+"???") { Title="???", Class = "btn ", OnClick="alert(\"?????????????????????????????????????????????????????????"+this.Video.FileName.Replace("'","").Replace("\"","")+"\")", Target = "_blank", Href = VideoResourcePath.VideoShow }%> <% } %> <%-- <label class="label_inline">??????:</label>--%> <input id="share_it_content" value="" type="hidden" /> <button id="copy-button" data-clipboard-text="Copy Me!" title="????????????" data-clipboard-target="share_it_content" class="btn"><i class=" icon icon-share"></i>????????????</button> </div> <%= new PVHistoryCollectInstance(this) { PKId= this.Video.Guid,PVTarget="Video" }.ToHtml() %> <%= new VideoPlayToMyAlbumInstance(this) { }.ToHtml() %> <%-- <%= new MarkingMarkInstance(this) { MKType=(int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.???,MKTarget=AVA.ResourcesPlatform.Model.Pub.MarkingMKTargetEnum.???.ToString(),MKGuid=this.Video.Guid }.ToHtml()%>--%> <% if (this.UserCode != null) { %> <div class="btn" style="padding-left: 0; height: 20px; display: inline-block; *zoom: 1; *display: inline;"><%= new MarkingScoreInstance(this) {ScoreEnable= true, ScoreTarget=(int)AVA.ResourcesPlatform.Model.Pub.ScoreScoreTarget.Subject, ScoreGuid=this.Video.Guid }.ToHtml()%></div> <% } %> <script type="text/javascript"> // if (isFlash == false) { // $(".SwitchBitrate").show(); // } </script> <script> var jwplayerConfig = {}; $(document).ready(function () { if (undefined !== $.template) { if ($('#share_it_content').length > 0) { jwplayerConfig = { data: { base_path: '<%= Request.WebPath() %>', file: "<%= VideoResourcePath.VideoShow.RestoreHtml() %>", image: "<%= SettingGroup.VideoCoverL(this.Video) %>", player_path: '<%= Request.WebPath()+"/Tools/JWPlayer/AvaPlayer.swf" %>', cue_boy_path: '<%= Request.WebPath()+"/Tools/JWPlayer/cueboy.swf" %>', cue_url_path: '<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoTimeInfoXMLAdd.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>', cue_file_path: '<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoTimeInfoXML.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>', cue_title: encodeURI("<%= this.Video.Name.ToScriptChar() %>"), cue_introduction: "<%= this.Video.Description.ToScriptChar() %>", weike_path: '<%= Request.WebPath()+"/Tools/JWPlayer/cueboysw.swf" %>', weike_dockname: encodeURI('??????'), weike_title: "<%= this.Video.Name.ToScriptChar() %>", weike_introduction: "<%= this.Video.Description.ToScriptChar() %>", weike_dimensions: '100x50', weike_editable: false, weike_url: '<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoSWXMLAdd.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>', weike_file: "<%= Request.WebPath() %>/Tools/JWPlayer/Service/VideoSWXML.aspx?Guid=<%= this.Video.Guid %>&TemplateGuid=<%= new Random().Next() %>" } }; var markupAll = '<object id="mediaPlayer" name="mediaPlayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720px" height="576px" bgcolor="#000000" tabindex="0"><param name="movie" value="${player_path}" ><!--[if !IE]>--><object type="application/x-shockwave-flash" data="${player_path}" width="720px" height="576px"><param name="movie" value="${player_path}" ><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="opaque"><param name="FlashVars" value="netstreambasepath=${base_path}&id=mediaPlayer&levels=%5B%5BJSON%5D%5D%5B%5D&file=${file}&plugins=${cue_boy_path}&cueboy.file=${cue_file_path}&cueboy.dockname=%E6%89%93%E7%82%B9%E4%BF%A1%E6%81%AF&cueboy.repeat=false&cueboy.title=${cue_title}&cueboy.introduction=${cue_introduction}&cueboy.pluginmode=FLASH&controlbar.position=over" /></object><!--<![endif]--><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="seamlesstabbing" value="true"><param name="wmode" value="opaque"><param name="FlashVars" value="netstreambasepath=${base_path}&id=mediaPlayer&levels=%5B%5BJSON%5D%5D%5B%5D&file=${file}&plugins=${cue_boy_path}&cueboy.file=${cue_file_path}&cueboy.dockname=%E6%89%93%E7%82%B9%E4%BF%A1%E6%81%AF&cueboy.repeat=false&cueboy.title=${cue_title}&cueboy.introduction=${cue_introduction}&cueboy.pluginmode=FLASH&controlbar.position=over"></object>'; // var temp = $.tmpl("shareItTemplate", jwplayerConfig).clone(); // var temparam = $.tmpl("shareItTemplate_param", jwplayerConfig).clone(); //$('#share_it_content').val($('<div>').append(temp).html().replace('</div></OBJECT>', '') + $('<div>').append(temparam).html() + '</object>'); var tm = $.template("shareIe", markupAll); $('#share_it_content').val(tm($, jwplayerConfig).join('')); // } } } }); </script> <script src='<%= Request.WebPath()+"/Tools/ZeroClipboard/ZeroClipboard.min.js" %>'></script> <script> var clip = new ZeroClipboard(document.getElementById("copy-button"), { moviePath: "<%= Request.WebPath()+"/Tools/ZeroClipboard/ZeroClipboard.swf" %>" }); clip.on('load', function (client) { // alert( "movie is loaded" ); }); clip.on('complete', function (client, args) { alert("??????"); }); </script> </div> </div> </div> <div class="foot"> <div class="jiaozhi"></div> </div> </div> </div> </div> </div> </div> <% } else { %> <div class="content 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> <!-- /span16 --> </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"> <% 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="row"> <div class="span9 m-t20"> <div class="box navtabs-box"> <div class="head"> <ul class="nav nav-tabs tabs_thick nav-tabs-wrapper"> <li class="active" style="width:25%"><a href="#videoplayInfo" data-toggle="tab">???????</a></li> <li class=" " style="width:25%"> <a href="#comments" data-toggle="tab" title="<%= Define.Get("???") %>"><%= Define.Get("???") %></a> </li> <li class="" style="width:25%"><a href="#divSTUserComment" data-toggle="tab">??????</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>--%> <li style="width:25%"><a href="#videoplayattachment" data-toggle="tab" title="???">???</a></li> </ul> </div> <div class="body"> <div class="tab-content "> <div class="tab-pane active" id="videoplayInfo"> <%= new SubjectPlayInfoInstance(this) {CacheEnable = 5, }.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) { CacheEnable = 60, }.ToHtml()%> </div> <div class="tab-pane" id="videoplaysw"> <%= new VideoPlaySWInstance(this) { CacheEnable = 60, }.ToHtml()%> </div> <div class="tab-pane" id="videoplaylesson"> <%= new VideoPlayTimeInfoOtherInstance(this) { CacheEnable = 60, }.ToHtml()%> </div> <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() %>--%> <%--<% if (this.UserCode != null) { %> <%= new CommentAddInstance(this) {TransferControl="/Comment/LiveCommentAdd", TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%> <% } %> <%= new CommentListInstance(this) {TransferControl="/Comment/LiveCommentList", TargetType = "Video", TargetGuid = this.Video.Guid }.ToHtml()%>--%> <script type="text/ecmascript"> var prams = "SubjectGuid=<%= this.Subject.Guid %>&VideoGuid=<%= this.Video.Guid%>"; Global.HtmlControl("<%= ControlPath("/SubjectPlay/SubjectPlayVideoScoreCommonData")%>", prams, null, function (json) { if (json != null) { $("#divSTUserComment").html(json.Html); } }); </script> </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> <% if (AttachmentViaVideo) { %> <div class="tab-pane" id="videoplayattachment"> <%= new VideoPlayAttachmentInstance(this) { CacheEnable = 60 }.ToHtml()%> </div> <% } %> </div> </div> </div> </div> <div class="span3 m-t20"> <div class="flat min-flat"> <div class="head"> <div class="title"> ??????????? </div> </div> <div class="body"> <div class="orders-list "> <% //????????????????? bool videoRangeControl = SettingGroup.Setting().VideoRangeControl; %> <%= new IndexVideoByInstance(this) { CacheEnable = 60, PageSize = 10,ParentUserGuid= this.Video.ParentUser.Guid, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, AreaPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.???).ToString(), TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <%= new FooterInstance(this) { CacheEnable = 60*60, }.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