<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.SchoolTheme.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() %> <% if (!string.IsNullOrEmpty(CreateInstance.DomainInfoDao.THIS().MinLogo)) { %> <%----%> <% } %>
<%--<%= new HeaderInstance(this) { HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){}.ToHtml()), TransferControl="/Header_Virtual" }.ToHtml()%>--%> <% var categoriesList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null) .OrderBy(l => l.SortNumber) .ToList(); %> <%--
--%>
<%--<%= new NavInstance(this) { }.Add(Define.Get("首页"),WebUrl.Index()).ToHtml()%>--%>
    • <% //是否开启了浏览范围控制 bool videoRangeControl = SettingGroup.Setting().VideoRangeControl; %> <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory2", PageSize = 1, ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
    新视频
    <%= new IndexVideoByInstance(this) { PageSize = 3, OrderBy = AVA.ResourcesPlatform.Config.OrderType.周播放量, TransferControl = "/Index/IndexVideoByHot_orders_tv", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
    • <%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobycategory", PageSize = 6, SkipNum = 1, ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
    <%= new IndexNoticeByInstance(this) { PageSize = 9, DomainGuid = this.Domain.Guid }.ToHtml()%>
<%= new IndexLiveByInstance(this) { PageSize = 9, OrderBy = AVA.ResourcesPlatform.Config.OrderType.时间倒序, StartTime = DateTime.Now.Date, EndTime = DateTime.Now.Date.AddDays(1), TransferControl = "/Index/IndexLiveByHot", ParentDomain = this.Domain.Guid }.ToHtml()%>
<%= new IndexVideoByInstance(this) { TransferControl = "/Index/indexvideobyhot", PageSize = 8, ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
<%= new IndexVideoByInstance(this) { PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.周播放量, TransferControl = "/Index/IndexVideoByHot_orders", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
<%= new IndexVideoByInstance(this) { PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.月播放量, TransferControl = "/Index/IndexVideoByHot_orders", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
<%= new IndexVideoByInstance(this) { PageSize = 10, OrderBy = AVA.ResourcesPlatform.Config.OrderType.年播放量, TransferControl = "/Index/IndexVideoByHot_orders", ParentDomain = this.Domain.Guid, SchoolPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeSchoolPageViewEnum.允许).ToString() }.ToHtml()%>
<%= new IndexAlbumByInstance(this) { TransferControl = "/Index/indexalbumbyhot", PageSize = 8, ParentDomain = this.Domain.Guid }.ToHtml()%>
<%= new IndexTeacherByInstance(this) { ParentDomain = this.Domain.Guid }.ToHtml()%>
<%= new FooterInstance(this) { }.ToHtml() %>