<%@ Page Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Index" %> <%= this.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.CSS("Carousel.css")%> <%= new HeadInstance(this) { }.ToHtml() %> <%= new BrowserTipInstance(this) { }.ToHtml() %> <%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToRenderHtml()) }.ToHtml()%>
<%= new IndexVideoByInstance(this) { PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先置顶后推荐再播放量, TransferControl = "/Index/IndexVideoBySlider" }.ToHtml()%>
<%--
< <
<%= new IndexSchoolByInstance(this) {}.ToHtml()%>
--%> <% 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]; %>
">
  • shadow">

    "><%= grade.Name%>

      <% for (var j = 0; j <= grade._ListGrade.Count - 1; j++) { var subGrade = grade._ListGrade[j]; if (j == 12) break; %>
    • <%= new HtmlAnchor(subGrade.Name) { Href = WebUrl.Video(new List().AddOnly("ParentGrade", subGrade.Guid)) }%>
    • <% } %>
    " class="more">更多>
      <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory", PageSize=7 }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory", PageSize=7, SkipNum = 2 }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory2", PageSize=7, SkipNum = 6 }.ToHtml()%>
<% }%>
优课评比
<%= new HtmlAnchor("更多...") { Href = WebUrl.Subject()}%>
<%= new IndexSubjectByInstance(this) { PageSize=3, ParentIsNull = true,Stale = false, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序, TransferControl = "/Index/IndexSubjectBy_triangle" }.ToHtml() %>
教研活动
<%= new HtmlAnchor("更多...") { Href = WebUrl.Meeting()}%>
<%= new IndexMeetingByInstance(this) { PageSize=3, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false, TransferControl = "/Index/IndexMeetingBy_triangle" }.ToHtml() %>
<%-- <--%> <
<%= new IndexTeacherByInstance(this) {PageSize=10}.ToHtml()%>
<%= new FooterInstance(this) { }.ToHtml() %>