Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\XiShan\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="school-theme"> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToHtml()) }.ToHtml()%> <% var categoriesList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null) .OrderBy(l => l.SortNumber) .ToList(); %> <div class="content white"> <div class="navbar sub-navbar"> <div class="navbar-inner gray"> <div class="container"> <ul class="nav"> <% for (var i = 0; i < categoriesList.Count; i++) { var cate = categoriesList[i]; %> <li class="divider">|</li> <li class=""> <%= new HtmlAnchor(cate.Name) { Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentMasterCategory", cate.Guid)) }%></li> <% } %> </ul> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span12 m-t20"> <%--<%= new NavInstance(this) { }.Add(Define.Get("???"),WebUrl.Index()).ToHtml()%>--%> </div> <!-- /span16 --> </div> <div class="row"> <div class="span8"> <div class="flat metro metro-grid orange"> <div class="body"> <div class="videos_with_mask"> <ul class="thumbnails thumbnails-body only-photo"> <li class="span4"> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize=7, SkipNum =6 }.ToHtml()%> </ul> <div class=""> <div class="head"> <div class="title">?????</div> </div> <div class="body orders-list video-orders-list"> <%= new IndexVideoByInstance(this) { PageSize = 3, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders_tv" }.ToHtml()%> </div> </div> </li> <li class="span4 "> <ul class="thumbnails"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize=8, SkipNum = 2 }.ToHtml()%> </ul> </li> </ul> </div> </div> </div> </div> <div class="span4"> <div class="notice-hots-lives"> <ul class="nav nav-tabs "> <li class="active"><a href="#lives" data-toggle="tab"><span class="ico ico-live-ico"></span>???</a></li> <li class=""><a href="#hots" data-toggle="tab"><span class="ico ico-document-ico"></span>???</a></li> <li class=""><a href="#notices" data-toggle="tab"><span class="ico ico-graphy-ico"></span>???</a></li> </ul> <div class="tab-content orders-list"> <div class=" tab-pane " id="notices"> <ul class="orders"> <%= new IndexNoticeByInstance(this){PageSize=9}.ToHtml() %> </ul> </div> <div class="tab-pane " id="hots"> <ul class="orders"> <% var listVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??, ResultCount = 9 }); 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) %>"> <label class=" hots">0<%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 23, 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) %>"> <label class=" ">0<%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 23, 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) %>"> <label class=" "><%= i + 1 %></label><%= new HtmlSpan(video.Name) { Class = "text", TextLength = 23, 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 active" id="lives"> <%= new IndexLiveByInstance(this) { PageSize=9, 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> <div class="content white"> <div class="container"> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title"> <a>???????</a> </div> <div class="more"> <ul class="nav nav-tabs"> <% for (var i = 0; i < categoriesList.Count; i++) { var cate = categoriesList[i]; %> <li class=""> <%= new HtmlAnchor(cate.Name) { Href = WebUrl.Video(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentCategory", cate.Guid)) }%></li> <li>/</li> <% } %> <li> <a>???>></a> </li> </ul> </div> </div> <div class="body"> <div class="videolist"> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobyhot", PageSize=8}.ToHtml()%> </div> </div> </div> </div> <div class="span4"> <div class="flat"> <div class="head"> <div class="title"> <a>??????</a> </div> <div class="more"> <ul class="nav nav-tabs"> <li class="active"> <a href="#weekOrders" data-toggle="tab">?????</a> </li> <li>/ </li> <li> <a href="#monthOrders" data-toggle="tab">?????</a> </li> <li>/ </li> <li> <a href="#yearOrders" data-toggle="tab">?????</a> </li> </ul> </div> </div> <div class="body"> <div class="tab-content orders-list"> <div class="tab-pane active" id="weekOrders"> <%= new IndexVideoByInstance(this) { PageSize = 9, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%> </div> <div class="tab-pane" id="monthOrders"> <%= new IndexVideoByInstance(this) { PageSize = 9, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%> </div> <div class="tab-pane" id="yearOrders"> <%= new IndexVideoByInstance(this) { PageSize = 9, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%> </div> </div> </div> </div> </div> </div> </div> <div class="content white"> <div class="container"> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title"> <a>???????</a> </div> <div class="more"> <ul class="nav nav-tabs"> <% for (var i = 0; i < categoriesList.Count; i++) { var cate = categoriesList[i]; %> <li class=""> <%= new HtmlAnchor(cate.Name) { Href = WebUrl.Album(new List<AVA.ResourcesPlatform.Config.UrlParam>().AddOnly("ParentCategory", cate.Guid)) }%></li> <li>/</li> <% } %> <li> <a>???>></a> </li> </ul> </div> </div> <div class="body"> <div class="videolist"> <%= new IndexAlbumByInstance(this) { TransferControl = "/Index/indexalbumbyhot", PageSize=8}.ToHtml()%> </div> </div> </div> </div> <div class="span4"> <div class="flat"> <div class="head"> <div class="title"> <a>???????</a> </div> </div> <div class="body"> <div class="avatar-list avatar-list-heng "><%= new IndexTeacherByInstance(this) { }.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