Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\BskNew\Online.aspx
??<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Online" %> <!DOCTYPE html> <html> <head> <title><%= Define.Get("Client_??????") %> - <%= this.Title %></title> <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.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.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")%> <%= new HeadInstance(this) { }.ToHtml() %> </head> <body> <%= new HeaderInstance(this) { HeaderItem = HeaderItem.OnlineShow, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchLiveMaxInstance(this) { }.ToRenderHtml()) }.ToHtml()%> <div class="content" role="main"> <div class="container"> <div class="row"> <div class="span16"> <%= new NavInstance(this) { }.Add(Define.Get("Client_??????"),null).ToHtml()%> </div> <!-- /span16 --> </div> <div class="row"> <div class="span4"> <div style="padding: 8px 0; margin-top: 10px; margin-bottom: 0px;" class="well"> <ul class="nav nav-list " style="list-style: none;"> <li class="nav-header"><%= new HtmlAnchor(Define.Get("????????")) { Href="" }%></li> <li> <ul class="indexlive"> <%= new IndexOnlineByInstance(this) { PageSize=8, TransferControl="/Index/IndexOnlineByHot" }.ToHtml() %> </ul> </li> </ul> </div> <div style="padding: 8px 0; margin-top: 10px; margin-bottom: 0px;" class="well"> <ul class="nav nav-list" style="list-style: none;"> <li class="nav-header"><%= new HtmlAnchor(Define.Get("Client_??????")){ Href=WebUrl.Video() }%></li> <li> <ul class="indexvideo"> <%-- <%= new IndexVideoByInstance(this) { PageSize=30, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl="/Index/IndexVideoByHot" }.ToHtml() %>--%> <% var listChannel = CreateInstance.ChannelDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.ChannelStatusEnum.??? && l.ParentChannel == null) .OrderBy(l => l.SortNumber) .ToList(); %> <% foreach (var channel in listChannel) { %> <li> <%= new HtmlAnchor(channel.Name) { Title = channel.Name, Target = "_blank", Href = "video_o"+channel.Guid+".html" }%> </li> <% } %> <li class="left_fix"> </li> <li class="left_fix"> </li> <li class="left_fix"> </li> <li class="left_fix"> </li> </ul> </li> </ul> </div> </div> <div class="span12"> <div class="searchBox"> <div class="tab-content "> <div id="hot" class="tab-pane active"> <div style="overflow: hidden;"> <div class="toggle-grid-btn-group pull-right"> <a id="toggle2grid" class="toggle2grid active" href="#"></a> <a id="toggle2list" class="toggle2list" href="#"></a> <script> $(document).ready(function () { if (window.localStorage) { if (window.localStorage.getItem('gridOrlist') != null) { if (!window.localStorage.getItem('gridOrlist')) { $(".list-grid-toggle").removeClass('toggle-grided'); } } else { window.localStorage.setItem('gridOrlist', true); } } $("#toggle2grid").on("click", function (e) { e.preventDefault(); if (!$(".list-grid-toggle").hasClass('toggle-grided')) { $(".list-grid-toggle").addClass("toggle-grided"); $("#toggle2grid").addClass("active"); $("#toggle2list").removeClass("active"); } }); $("#toggle2list").on("click", function (e) { e.preventDefault(); if ($(".list-grid-toggle").hasClass("toggle-grided")) { $(".list-grid-toggle").removeClass("toggle-grided"); $("#toggle2grid").removeClass("active"); $("#toggle2list").addClass("active"); } }); }); </script> </div> </div> <div id="list-grid-toggle" class="list-grid-toggle toggle-grided"> <div class="videolist"> <ul> <% foreach (var item in ListRecordEquipment) { %> <li> <div class="album_photo"> <%= new HtmlAnchor(new HtmlImg(Import.CSSFile("img/avaonline.png")) { ID="imgPlay"+item.Guid, Title = item.Name, Width=214, Height=120 }.Style(new {display="none"})) { Title = item.Name, Href = WebUrl.OnlineShow(item.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(Import.CSSFile("img/ONonline.png")){ ID="imgPlayNone"+item.Guid, Title= item.Name, Width=214, Height=120 }) { Title = item.Name, Href = WebUrl.OnlineShow(item.Guid) }%> </div> <div class="album_title"> <%= new HtmlAnchor(item.Name) { Title = item.Name, Target = "_blank", Href = WebUrl.OnlineShow(item.Guid) }%> (<span id="span<%= item.Guid %>">?????...</span>) </div> <script type="text/javascript"> Global.UserControl("<%= ControlPath("/OnlineShow/OnlineShowControlStatus")%>", "Guid=<%= item.Guid %>&NotCheckAS=false", null, function (result) { $("#span<%= item.Guid %>").html(result.Html); if ($.trim(result.Html) == "?????" || $.trim(result.Html) == "?????") { $("#imgPlayNone<%= item.Guid %>").css("display", "none"); $("#imgPlay<%= item.Guid %>").css("display", ""); } else { $("#imgPlay<%= item.Guid %>").css("display", "none"); $("#imgPlayNone<%= item.Guid %>").css("display", ""); } }); </script> </li> <% } %> </ul> </div> </div> <% this.Query.PageSize = 8; if (this.Query.RecordCount > this.Query.PageSize) { %> <div class="search-footer" style="overflow: hidden;"> <div class="pull-right"> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.Online(int.MaxValue) }.ToHtml()%> </div> </div> <% } %> </div> </div> </div> </div> </div> </div> <%= new FooterInstance(this) { }.ToHtml() %> </body> </html> <script type="text/javascript"> //??????????? setTimeout(function () { window.location.reload(); // window.location.href = window.location.href; }, 20 * 1000); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de