Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Subject\guangwaiweike\Show.aspx
??<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.SubjectTheme.Index" %> <!doctype html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8" /> <link href="css/style.css" rel="stylesheet" /> <title><%= this.Subject.Name %></title> <%= 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.Script("/bootstrap/jquery.lazyload.js")%> <%= Import.ScriptTheme("js/libs/jquery.rating.pack.js")%> <%= Import.CSS("style/jquery.rating.css")%> <%= Import.CSS("assets/libs.css")%> <%= Import.CSS("assets/app.css")%> <style> div.star-rating a { text-indent: 999em; } body div.rating-cancel, div.rating-cancel a { display: none; } </style> <script> $(function () { $("img").lazyload({ threshold: 200, event: "updateImg", effect: 'fadeIn', failure_limit: 0 }); $(document).on("domChange", function (e) { $(".con_box img").lazyload({ threshold: 200, event: "updateImg", effect: 'fadeIn', failure_limit: 0 });; }) $(document).on("click.tab.data-api", function (e) { $("img").trigger("updateImg"); }) $(window).on("scroll", function () { $("img").trigger("updateImg"); }) $(document).on("shown", "#sharedModal", function (e) { $(document).trigger("domChange"); }) }) </script> </head> <body> <div class="tit_bg"> <div class="tit"> <div class="tit_inner"> <div class="subject_domain"> </div> <div class="subject_title"></div> </div> </div> </div> <%= new SubjectTemplateInstance(this) { Param1="???", TransferControl="~/Subject/"+this.Subject.Theme+"/Control/Header" }.ToHtml() %> <div class="con_box "> <div class="column8"> <%--<div class="warming">??????????????????????????</div>--%> <div> <ul class="column_tit" style="margin:0 0 10px 0">??????</ul> <ul class="column_en" style="margin:0 0 10px 0">Work</ul> </div> <%= new SubjectViewVideoInstance(this) { TransferControl="~/subject/"+this.Subject.Theme+"/control/subjectview/subjectviewvideo" }.ToHtml() %> </div> <div class=" column2"> <div> <ul class="column_tit">????????</ul> <ul class="column_en">Weike</ul> </div> <div class="orders-list no-list-style "> <%= new IndexVideoByInstance(this) { CacheEnable = 60, PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.?????, TransferControl = "/Index/IndexVideoByHot_orders",ParentSubjectGuid = this.Subject.Guid }.ToHtml()%> </div> <hr style="margin: 10px 0; display:block;height: 1px;"/> <div> <ul class="column_tit"> <%= Define.Get("Category_???") %>?????</ul> <ul class="column_en">College</ul> </div> <div class="orders-list no-list-style "> <% var listCategory = CreateInstance.VideoDao.Where(l => l.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.??? && l.ParentCategory.ParentCategory !=null && l._ListSubjectVideo.Any(li=>li.ParentSubject == this.Subject)).GroupBy(l => new { l.ParentCategory.Guid, l.ParentCategory.Name, }).Select(s => new { Count = s.Count(), Guid = s.Key.Guid, Name = s.Key.Name }) .ToList() .OrderByDescending(l => l.Count) .Take(10) .ToList(); %> <% if (listCategory.Count > 0) { %> <ul class="orders"> <% for (var i = 0; i < listCategory.Count; i++) { var domain = listCategory[i]; if (i < 3) { %> <li> <% var label = "0" + (i + 1); %> <%= new HtmlAnchor( new HtmlLabel("label",label){Class=" hots"}+"" + new HtmlSpan( domain.Name){ Class="text", TextLength=18,Suffix=".."}+""+ new HtmlSpan(domain.Count){Class="total_num"} ){ Class="nums", Title=domain.Name, Href="#" }%> </li> <% } else { if (i + 1 < 10) { %> <li> <% var label = "0" + (i + 1); %> <%= new HtmlAnchor( new HtmlLabel("label",label){Class=" "}+ ""+ new HtmlSpan( domain.Name){ Class="text", TextLength=18,Suffix=".."}+""+ new HtmlSpan(domain.Count){Class="total_num"} ){ Class="nums", Title=domain.Name, Href="#" }%> </li> <% } else { %> <li> <% var label = (i + 1).ToString(); %> <%= new HtmlAnchor( new HtmlLabel("label", label){Class=" "}+""+ new HtmlSpan( domain.Name){ Class="text", TextLength=18,Suffix=".."}+""+ new HtmlSpan(domain.Count){Class="total_num"} ){ Class="nums", Title=domain.Name, Href="#" }%> </li> <% } } } %> </ul> <% } else { %> <div class="alert">??????</div> <% } %> <%-- <%= new IndexVideoByInstance(this) { CacheEnable = 60, PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.??????, TransferControl = "/Index/IndexVideoByHot_orders" }.ToHtml()%>--%> </div> </div> </div> <div class="footer">Copyright ? 2005-2015 ????????????????????? www.ava.com.cn</div> <%= Import.ScriptTheme("assets/app.js") %> <%= Import.ScriptTheme("assets/theme.js") %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de