<%@ 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.ScriptTheme("js/jquery.ad.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()%>
--%>
“一师一优课,一课一名师”火热进行中
<%= new HtmlAnchor(Define.Get("Client_优课评比")) { Href = WebUrl.Subject()}%>
<%= 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 HtmlAnchor("更多...") { Href = WebUrl.Meeting()}%>
<%= new IndexMeetingByInstance(this) { PageSize=3, OrderBy= AVA.ResourcesPlatform.Config.OrderType.月播放量, Stale=false, TransferControl = "/Index/IndexMeetingBy_triangle" }.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=2 }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory", PageSize=6, SkipNum = 2 }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { ParentMasterGrade = grade.Guid, TransferControl = "/Index/indexvideobycategory2", PageSize=7, SkipNum = 6 }.ToHtml()%>
<% }%> <%--
<%-- < <
<%= new IndexTeacherByInstance(this) {PageSize=10}.ToHtml()%>
--%>
<%= new FooterInstance(this) { }.ToHtml() %>