Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\PublicClassList.aspx
??<%@ Page Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.PublicClassList" %> <!DOCTYPE html> <html> <head> <% var listChannel = AlbumExecute.GetListChannel(this.ListUrlParamWhere); %> <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) { Multithreading = true, CacheEnable=60*60 }.ToHtml() %> <style> .slider-banner2 { position: relative; width: 100%; overflow: hidden; height: 280px; background: #F0F0F0; } .slider-banner2 ul { list-style: none; margin-left: 0; } .slider-banner2 .slider-banner{ position:relative; top:-30%; } @media (min-width: 979px) and (max-width: 1200px) { .slider-banner2 .slider-banner { top: -10%; } } .slider-banner2 ul li { position: relative; text-align: center; } .slider-banner2 .banner-inner { position: absolute; top: 55%; left: 10%; margin: auto; text-align: center; } .slider-banner2 .slider-banner p{ display:none; } .slider-banner2 .dots img { height: 100%; } .slider-banner2 .dots { position: absolute; left: 0; bottom: 20px; width: 100%; margin: 0; text-align: center; display: none; } .slider-banner2 .dots li { display: inline-block; *display: inline; zoom: 1; width: 10px; height: 10px; line-height: 10px; margin: 0 4px; text-indent: -999em; *text-indent: 0; border: 2px solid #fff; border-radius: 6px; cursor: pointer; opacity: .4; -webkit-transition: background .5s, opacity .5s; -moz-transition: background .5s, opacity .5s; transition: background .5s, opacity .5s; } .slider-banner2 .dots li.active { background: #fff; opacity: 1; } .metro .thumbnails-body, .metro ul li.list-header{ margin-bottom:0; } .metro .list-header .thumbnail{ box-shadow:none; margin-bottom:0; } .metro .thumbnails-body{ height:auto; } .metro .list-header-body h2 { z-index: 10; } .metro .list-header-body .videolist { padding-top: 0; margin-left: 96px; } .metro .list-header-body .videolist ul { margin-top: 0; } .metro .list-header-body .videolist li { display: inline-block; *display: inline; *zoom: 1; } .metro .list-header-body .videolist li .domain{ display:none; } .carousel .nextButton, .carousel .prevButton { top: 50px; } .banner-tabs { position: relative; } .orders-list .orders li { border-bottom: none; } </style> </head> <body> <%= new BrowserTipInstance(this) { Multithreading = true, CacheEnable=60*60 }.ToHtml() %> <%= new HeaderInstance(this) { Multithreading = true, CacheEnable = 60, HeaderItem = HeaderItem.PublicClass, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html, new SearchAlbumMaxInstance(this) { Multithreading = true, CacheEnable=60*60 }.ToHtml()) }.ToHtml()%> <div class="content main-content" role="main"> <div class="container"> <div class="row"> <div class="span12"> <% var changeName = listChannel.Select(l => l.Value).ToArray().Join(","); if (string.IsNullOrEmpty(changeName)) { changeName = Define.Get("Client_?????"); } %> <%= new NavInstance(this) { Multithreading = true, CacheEnable=60*60 }.Add(changeName,null).ToHtml()%> </div> <!-- /span16 --> </div> <!-- /row --> <div class="row"> <div class="span9"> <div class="slider-banner2"> <%= new IndexPublicClassByInstance(this) { Multithreading = true, CacheEnable=60*60, PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????, TransferControl = "/Index/IndexPublicClassBySlider" }.ToHtml()%> </div> <div class="flat metro metro-grid gray " style="margin-top:23px;"> <div class="body"> <ul class="thumbnails thumbnails-body"> <li class=" list-header span9 "> <div class="thumbnail thumbnails-cat "> <div class="m-coursera list-header-body"> <h2 class=" darkblue ">??????<span class="org_bot_cor"></span></h2> <div class="videolist" style="margin-top:3px;"> <%= new IndexPublicClassByInstance(this) { Multithreading = true, PageSize = 4, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????, CacheEnable = 60*60 }.ToHtml()%> </div> </div> </div> </li> </ul> </div> </div> </div> <div class="span3"> <div style="position: relative; background: #283234; padding: 5px 10px;"> <div class="banner-tabs"> <ul class="nav nav-tabs "> <li class="active"><a href="#week-hots" data-toggle="pill">?????</a></li> <li class=""><a href="#year-hots" data-toggle="pill">?????</a></li> <li class=""><a href="#all-hots" data-toggle="pill">?????</a></li> </ul> <div class="tab-content orders-list"> <div class="tab-pane active" id="week-hots"> <ul class="orders"> <% var listPublicClass = CreateInstance.PublicClassDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 10 }); for (int i = 0; i < listPublicClass.Count; i++) { var publicClass = listPublicClass[i]; if (i < 3) { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" hots">0<%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" ">0<%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"publicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" "><%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } } } %> </ul> </div> <div class="tab-pane " id="year-hots"> <ul class="orders"> <% listPublicClass = CreateInstance.PublicClassDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 10 }); for (int i = 0; i < listPublicClass.Count; i++) { var publicClass = listPublicClass[i]; if (i < 3) { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" hots">0<%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" ">0<%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" "><%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } } } %> </ul> </div> <div class="tab-pane " id="all-hots"> <ul class="orders"> <% listPublicClass = CreateInstance.PublicClassDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.???, ResultCount = 10 }); for (int i = 0; i < listPublicClass.Count; i++) { var publicClass = listPublicClass[i]; if (i < 3) { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" hots">0<%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" ">0<%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=publicClass.Name %>" target="_blank" href="<%=WebUrl.PublicClassView(publicClass.Guid) %>"> <label class=" "><%= i + 1 %></label><%= new HtmlSpan(publicClass.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%--<%= CreateInstance.PVHistoryDao.DayViewCount(1,"PublicClass",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,publicClass.Guid,CookieGroup.DomainGuid) %></span></a>--%> <%= publicClass.VideoView %></span></a> </li> <% } } } %> </ul> </div> </div> </div> </div> </div> </div> <% var listMasterCategory = CreateInstance.PublicClassCategoryDao .Where(l => l.ParentCategory.ParentCategory == null) .ToList() .GroupBy(l => l.ParentCategory) .Select(l => l.Key) //.OrderBy(l => l.ParentCategory.SortNumber) .ToList(); var listCategory = CreateInstance.PublicClassCategoryDao .Where(l => l.ParentCategory.ParentCategory != null) .ToList() .GroupBy(l => l.ParentCategory) .Select(l=>l.Key) .OrderBy(l=>l.ParentCategory.SortNumber) .ToList(); %> <div class="row"> <div class="span12"> <%= new SearchPublicClassCategoryInstance(this) { Multithreading = true, CacheEnable = 60*60 }.ToHtml()%> <%--<div class="flat "> <div class="head"> <div class="title"> <%= Define.Get("Client_?????") %> </div> </div> <div class="body"> <ul class="nav nav-pills "> <% for (var i = 0; i < listMasterCategory.Count(); i++) { var catMaster = listMasterCategory[i]; %> <li class=""><a href="#tabs<%= catMaster.GetHashCode()%>" data-toggle="pill"><%= catMaster.Name%></a></li> <% for (var j = 0; j < listCategory.Count(); j++) { var cat = listCategory[j]; %> <li class="<%= j==0?"active":"" %>"><a href="#tabs<%= cat.GetHashCode()%>" data-toggle="pill"><%= cat.Name%></a></li> <% } %> <% } %> </ul> <div class="tab-content"> <% for (var i = 0; i < listCategory.Count(); i++) { var cat = listCategory[i]; %> <div class="tab-pane <%= i==0?"active":"" %>" id="tabs<%= cat.GetHashCode() %>"> <div class="videolist "> <%= new IndexPublicClassByInstance(this) { PageSize = 20, ParentCategory = cat.Guid, OrderBy = AVA.ResourcesPlatform.Config.OrderType.?????? }.ToHtml()%> </div> </div> <%} %> </div> </div> </div>--%> </div> </div> </div> </div> <%= new FooterInstance(this) { Multithreading = true, CacheEnable=60*60 }.ToHtml() %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de