<%@ 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 IndexTeacherByInstance(this) {PageSize=10}.ToHtml()%>
<% var categoryList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null) .OrderBy(l => l.SortNumber) .ToList(); %> <% for (var i = 0; i < categoryList.Count; i++) { var category = categoryList[i]; %>
">
  • shadow">

    "><%= category.Name%> " class="more">共有<%= category._ListCategory.Count %> 门课程

      <% for (var j = 0; j <= category._ListCategory.Count - 1; j++) { var subGrade = category._ListCategory[j]; if (j == 12) break; %>
    • <%= new HtmlAnchor(subGrade.Name) { Href = WebUrl.Video(new List().AddOnly("ParentCategory", subGrade.Guid)) }%>
    • <% } %>
      <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize=2, ParentMasterCategory = category.Guid }.ToHtml()%>
  • <% if (i%3 == 0){%>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize=6, SkipNum = 2, ParentMasterCategory = category.Guid }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize=7, SkipNum = 6, ParentMasterCategory = category.Guid }.ToHtml()%>
  • <%}else if(i%3==1){ %>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize=3, SkipNum = 2, ParentMasterCategory = category.Guid }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize=7, SkipNum = 3, ParentMasterCategory = category.Guid }.ToHtml()%>
  • <%}else{ %>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize=6, SkipNum = 2, ParentMasterCategory = category.Guid }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize=7, SkipNum = 6, ParentMasterCategory = category.Guid }.ToHtml()%>
  • <%} %>
<% }%> <%= new FooterInstance(this) { }.ToHtml() %>