<%@ 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")%> <%= new HeadInstance(this) {Multithreading = true, CacheEnable = 60*60 }.ToHtml() %> <%= new BrowserTipInstance(this) {Multithreading = true, CacheEnable = 60*60}.ToHtml() %> <%= new HeaderInstance(this) {Multithreading = true, CacheEnable = 60*60, HeaderItem=HeaderItem.Index, ReplaceItems = new ReplaceItems().Add("HeaderSearch", ReplaceTypeEnum.Html,new SearchVideoMaxInstance(this){CacheEnable = 60*60}.ToRenderHtml()) }.ToHtml()%>
<% //是否开启了浏览范围控制 bool videoRangeControl = SettingGroup.Setting().VideoRangeControl; %> <%= new IndexVideoByInstance(this) {Multithreading = true, CacheEnable = 60, PageSize = 5, OrderBy = AVA.ResourcesPlatform.Config.OrderType.先置顶后推荐再播放量, TransferControl = "/Index/IndexVideoBySlider", AreaPageView = videoRangeControl == false ? "" : ((int)AVA.ResourcesPlatform.Model.Pub.VideoViewRangeAreaPageViewEnum.允许).ToString() }.ToHtml()%>
<% if(SettingGroup.HasDomain) { %>
学校风采
<%-- <--%> <%-->--%> <%--这里定义为2是因为这里当点击下一页的时候才用到,那时已经是第二页了--%>
<%= new IndexSchoolByInstance(this) {Multithreading = true, CacheEnable = 60*60,PageSize = 12}.ToHtml()%>
<%} %>
<%= new AjaxLoadControlInstance(this) { AjaxControlPath = "/Index/IndexSubjectAndMeetingBy", TargetHTMLID = "IndexSubjectAndMeeting",CacheEnable=3600, SessionCache = 1, Param = new { UserTypeGuid="Global.UserTypeGuid"} }.ToHtml()%> <%-- --%> <%= new SimpleTemplateInstance(this) {Multithreading = true, CacheEnable= 60*60, TransferControl = "/Index/IndexGradesList" }.ToHtml() %> <% if(SettingGroup.HasTeacherSpace) { %>
教师风采
<%--这里定义为2是因为这里当点击下一页的时候才用到,那时已经是第二页了--%>
<%= new IndexTeacherByInstance(this) {Multithreading = true, CacheEnable = 60*60, PageSize=12}.ToHtml()%>
<%-- --%>
<%} %> <%= new FooterInstance(this) {Multithreading = true, CacheEnable = 60*60 }.ToHtml() %>