Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\LivePlay\LivePlayInfo.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LivePlayInfo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.LivePlay.LivePlayInfo" %> <div style="padding: 8px 0;" class="well"> <div class="area" id="tdThisTimeApplication"> <div class="loadingIMG"> <%--<%= new HtmlImg(Import.CSSFile("img/nyro/ajaxLoader.gif")) %>--%> </div> </div> </div> <%= new PVHistoryCollectInstance(this) { PKId= this.Application.Guid,PVTarget="Application" }.ToHtml() %> <div class="loadingIMG" id="avaplayLoading" style="display: none;"> <%--<%= new HtmlImg(Import.CSSFile("img/nyro/ajaxLoader.gif")) %>--%> </div> <%--<ul class="live-btn-group"> <li class="live-header">??????</li> <li class="active"><a href="#" class="btn btn-start">??????</a></li> <li><a href="#" class="btn btn-stop">??????</a></li> <li class="divider"></li> <li><a href="#" class="btn btn-live">??????</a></li> <li><a href="#" class="btn btn-avalive">???AVA???</a></li> <li class="divider"></li> <li><a href="#" class="btn btn-none">??????</a></li> </ul>--%> <script type="text/javascript"> var GOTOVIEW = false; function GetThisTimeApplication() { Global.UserControl("/Themes/<%= SettingGroup.Theme %>/Control/LivePlay/LivePlayControl", "Guid=<%= this.Application.Guid %>", null, function (result) { $("#tdThisTimeApplication").html(result.Html); setTimeout(function () { GetThisTimeApplication(); }, 30000); if (GOTOVIEW == true) { GOTOVIEW = false; GoToViewLive(null); } }); } $(function () { GetThisTimeApplication(); }); </script> <script type="text/javascript"> function ThisTimeApplicationStart(send, pkid, key) { var vga = 0; var video2 = 1; if (confirm("?????????????????????????????????...") == false) { return; } if (confirm("????????????")) { vga = 1; } $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.StartRecordForApp", data: "pkid=" + encodeURIComponent(pkid) + "&vga=" + encodeURIComponent(vga) + "&video2=" + encodeURIComponent(video2), async: true, dataType: 'json', success: function (result) { if (result = true) { setTimeout(function () { GetThisTimeApplication(); }, 2000);//????????? alert("?????????!"); GOTOVIEW = true; } }, beforeSend: function () { $(send).find(".StartButton").hide(); $(send).find(".StartLoading").show(); $("#tdThisTimeApplication").html($("#avaplayLoading").html()); }, complete: function () { $(send).find(".StartLoading").hide(); $(send).find(".StartButton").show(); }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).find(".StartLoading").hide(); $(send).find(".StartButton").show(); var message = XMLHttpRequest.responseText; Global.Error(message); GetThisTimeApplication(); } }); } function ThisTimeApplicationEnd(send, pkid, key) { if (confirm("?????????????????????????????????????????...") == false) { return false; } $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.EndRecordForApp", data: "pkid=" + encodeURIComponent(pkid), async: true, dataType: 'json', success: function (result) { if (result = true) { GetThisTimeApplication(); alert("?????????!") } }, beforeSend: function () { $(send).find(".StopButton").hide(); $(send).find(".StopLoading").show(); $("#tdThisTimeApplication").html($("#avaplayLoading").html()); }, complete: function () { $(send).find(".StopLoading").hide(); $(send).find(".StopButton").show(); }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert($(send).find(".StopButton").length); $(send).find(".StopLoading").hide(); $(send).find(".StopButton").show(); var message = XMLHttpRequest.responseText; Global.Error(message); GetThisTimeApplication(); } }); } </script> <div class="clear"> </div> <!--body end--> <script type="text/javascript"> $(function () { $('.slideDown').click(function (e) { $('#slide-con').slideUp('slow'); e.preventDefault(); }) }); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de