Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\ZZTianYuan\Index.aspx
??<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Index" %> <!DOCTYPE html > <html> <head> <title> <%= this.Title %></title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <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")%> <%= Import.CSS("Carousel.css")%> <%= new HeadInstance(this) { }.ToHtml() %> </head> <body class="ks-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToRenderHtml()) }.ToHtml()%> <div class="big-banner"> <div class="banner-tables"> <div class="container"> <div class="row"> <div class="banner-tabs span3 offset9"> <div class="bg-opacity7"></div> <div class="banner-tabs-body"> <ul class="nav nav-tabs "> <li class="active"><a href="#hots" data-toggle="tab">???</a></li> <li class=""><a href="#lives" data-toggle="tab">???</a></li> <li class=""><a href="#notices" data-toggle="tab">???</a></li> </ul> <div class="tab-content"> <div class=" tab-pane " id="notices"> <ul class="orders"> <%= new IndexNoticeByInstance(this){}.ToHtml() %> </ul> </div> <div class="tab-pane active" id="hots"> <ul class="nav nav-pills "> <li class="active"><a href="#week-hots" data-toggle="pill">?????</a></li> <li class=""><a href="#year-hots" data-toggle="pill">?????</a></li> </ul> <div class="tab-pane active" id="week-hots"> <ul class="orders"> <% var listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 10 }); for (int i = 0; i < listVideo.Count; i++) { var video = listVideo[i]; if (i < 3) { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <label class=" hots">0<%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <label class=" ">0<%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <label class=" "><%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a> </li> <% } } } %> </ul> </div> <div class="tab-pane " id="year-hots"> <ul class="orders"> <% listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 10 }); for (int i = 0; i < listVideo.Count; i++) { var video = listVideo[i]; if (i < 3) { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <label class=" hots">0<%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a> </li> <% } else { if (i + 1 < 10) { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <label class=" ">0<%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a> </li> <% } else { %> <li> <a class="nums" title="<%=video.Name %>" target="_blank" href="<%=WebUrl.VideoPlay(video.Guid) %>" onclick="<%= video.Share == (int)AVA.ResourcesPlatform.Model.Pub.VideoShareEnum.?????? ? "return VideoShareWithLogined();" : "" %>"> <label class=" "><%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 16, Suffix = ".." }%><span class="total_num"> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,video.Guid,CookieGroup.DomainGuid) %></span></a> </li> <% } } } %> </ul> </div> </div> <div class="tab-pane" id="lives"> <%= new IndexLiveByInstance(this) { PageSize=10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, StartTime=DateTime.Now.Date,EndTime=DateTime.Now.Date.AddDays(1) , TransferControl="/Index/IndexLiveByHot"}.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.???????????????, TransferControl = "/Index/IndexVideoBySlider" }.ToHtml()%> </div> <%--<div class="content gray"> <div class="container"> <div class="row"> <div class="span12"> <div class="flat metro head-dot m-t20 metro-suck orange"> <div class="head "> <a href="#" data-target="#scrollbox-container2" class="title scrollbox-backward ">??????<span class="org_bot_cor"></span></a> </div> <div class="body"> <div class=" marquee-box school-srollbox"> <a href="#" data-target="#scrollbox-container2" class="scrollbox-backward btn"><</a> <a href="#" data-target="#scrollbox-container2" class="scrollbox-forward btn"><</a> <div class="scrollbox scrollbox-vert" id="scrollbox-container2"> <%= new IndexSchoolByInstance(this) {}.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> </div>--%> <% var gradesList = CreateInstance.GradeDao.Where(l => l.ParentGrade == null && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.GradeStatusEnum.???) .OrderBy(l => l.SortNumber) .ToList(); %> <% for (var i = 0; i < gradesList.Count; i++) { var grade = gradesList[i]; %> <div class="content <%= i%2 == 0 ? "gray":"white" %>"> <div class="container"> <div class="row"> <div class="span12"> <div class="flat metro metro-grid"> <div class="body"> <div class="videos_with_mask"> <ul class="thumbnails thumbnails-body"> <li class="list-header span4 "> <div class="thumbnail thumbnails-cat <%= i%2 == 0 ? "white":"lightblue" %> shadow"> <div class="m-coursera list-header-body"> <h2 class=" <%= i%2 == 0 ? "orange":"darkblue" %> "><%= grade.Name%><span class="org_bot_cor"></span></h2> <ul class="gradeslist"> <% for (var j = 0; j <= grade._ListGrade.Count - 1; j++) { var subGrade = grade._ListGrade[j]; if (j == 12) break; %> <li class="left blok nowrp"> <%= new HtmlAnchor(subGrade.Name) { Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentGrade", subGrade.Guid)) }%> </li> <% } %> </ul> <a href="<%= WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentMasterGrade", grade.Guid)) %>" class="more"><span>???></span></a> </div> </div> <ul class="thumbnails list-header-specials"> <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory", PageSize=7 }.ToHtml()%> </ul> </li> <li class="span4"> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory", PageSize=7, SkipNum = 2 }.ToHtml()%> </ul> </li> <li class="span4"> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory2", PageSize=7, SkipNum = 6 }.ToHtml()%> </ul> </li> </ul> </div> </div> </div> </div> </div> </div> </div> <% }%> <div class="content gray"> <div class="container"> <div class="row"> <div class="span6"> <div class="flat metro head-bottom-line "> <div class="head "> <div class="title">??????</div> <div style="float:right;padding-top:10px;"><%= new HtmlAnchor("???...") { Href = WebUrl.Subject()}%></div> </div> <div class="body"> <div class=" triangle-box"> <%= new IndexSubjectByInstance(this) { PageSize=3, ParentIsNull = true,Stale = false, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexSubjectBy_triangle" }.ToHtml() %> </div> </div> </div> </div> <div class="span6 "> <div class="flat metro head-bottom-line "> <div class="head"> <div class="title">??????</div> <div style="float:right;padding-top:10px;"><%= new HtmlAnchor("???...") { Href = WebUrl.Meeting()}%></div> </div> <div class="body "> <div class=" triangle-box"> <%= new IndexMeetingByInstance(this) { PageSize=3, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????, Stale=false, TransferControl = "/Index/IndexMeetingBy_triangle" }.ToHtml() %> </div> </div> </div> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span12"> <div class="flat head-dot metro-suck blue m-t20"> <div class="head " style="line-height: 55px;"> <a href="#" data-target="#scrollbox-container3" class="scrollbox-backward title">??????<span class="org_bot_cor" style="margin-top: 65px;"></span></a> </div> <div class="body"> <div class=" marquee-box teacher-srollbox"> <%-- <a href="#" data-target="#scrollbox-container3" class="scrollbox-backward btn"><</a>--%> <a href="#" data-target="#scrollbox-container3" class="scrollbox-forward btn"><</a> <div class="scrollbox avatar-list scrollbox-vert" id="scrollbox-container3"> <%= new IndexTeacherByInstance(this) {PageSize=10}.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> </div> <%= new FooterInstance(this) { }.ToHtml() %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de