Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\Index\IndexOnlineBy.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="IndexOnlineBy.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.Index.IndexOnlineBy" %> <% if (this.ListRecordEquipment != null && this.ListRecordEquipment.Count > 0) { %> <ul> <% foreach (var recordEquipment in CreateInstance.RecordEquipmentDao.Where(l => l.Description == this.Description)) { %> <li> <div class="vediodiv"> <%= new HtmlAnchor(new HtmlImg(string.IsNullOrEmpty(recordEquipment.OnLiveCover) ? Import.CSSFile("img/avaonline.png") : SettingGroup.RecordEquipmentUploadPath+recordEquipment.OnLiveCover) { ID="imgPlay"+recordEquipment.Guid, Title = recordEquipment.Name, Width=214, Height=120 }.Style(new {display="none"})) { Title = recordEquipment.Name, Href = WebUrl.OnlineShow(recordEquipment.Guid) }%> <%--<%= new HtmlAnchor(new HtmlImg(SettingGroup.Upload(item.ParentDomain, item.Guid+".jpg")){ Title= item.Name, Width=400, Height=260, OnErrorImg=SettingGroup.DefaultImg }) { Title = item.Name, Href = WebUrl.Online(item.Guid) }%>--%> <%= new HtmlAnchor(new HtmlImg(string.IsNullOrEmpty(recordEquipment.OffLiveCover) ? Import.CSSFile("img/ONonline.png") : SettingGroup.RecordEquipmentUploadPath+recordEquipment.OffLiveCover){ ID="imgPlayNone"+recordEquipment.Guid, Title= recordEquipment.Name, Width=214, Height=120 }) { Title = recordEquipment.Name, Href = WebUrl.OnlineShow(recordEquipment.Guid) }%> </div> <div class="clear"></div> <p class="ttle"> <%= new HtmlAnchor(recordEquipment.Name) { Title = recordEquipment.Name, Target = "_blank", Href = WebUrl.OnlineShow(recordEquipment.Guid) + "&buffertime=5000" }%> (<span id="span<%= recordEquipment.Guid %>">?????...</span>) <script type="text/javascript"> Global.UserControl("<%= ControlPath("/OnlineShow/OnlineShowControlStatus")%>", "Guid=<%= recordEquipment.Guid %>&NotCheckAS=false", null, function (result) { $("#span<%= recordEquipment.Guid %>").html(result.Html); if ($.trim(result.Html) == "?????" || $.trim(result.Html) == "?????") { $("#imgPlayNone<%= recordEquipment.Guid %>").css("display", "none"); $("#imgPlay<%= recordEquipment.Guid %>").css("display", ""); } else { $("#imgPlay<%= recordEquipment.Guid %>").css("display", "none"); $("#imgPlayNone<%= recordEquipment.Guid %>").css("display", ""); } }); </script> </p> </li> <% } %> <li class="left_fix"> </li> <li class="left_fix"> </li> <li class="left_fix"> </li> </ul> <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de