<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.My.Index" %> <%= Define.Get("Client_我的个人空间") %> - <%= 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 }.ToHtml() %> <%= Import.ScriptTheme("js/highcharts.js")%> <%= new MyHeaderInstance(this) {Multithreading = true, MyHeaderItem= MyHeaderItem.My , User = this.User}.ToHtml() %>
<%= new MyMenuInstance(this) { Multithreading = true, MyMenuItem = MyMenuItem.My }.ToHtml()%>
<% //显示所有学科视频 if (this.User.ParentUserType.MyIndexAllCateVideo == true) { %>
最新视频
<% for (var i = 0; i < categoriesList.Count; i++) { var category = categoriesList[i]; %>
" id="cat_idx_<%= category.Guid %>">
<%= new IndexVideoByInstance(this) { Multithreading = true, PageSize=8,ParentMasterCategory=category.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
<% } %>
<% } //显示本人关联学科视频 if (this.User.ParentUserType.MyIndexSelfCateVideo == true) { %>
<% if (this.User._ListUserCategory.Count != 0) { %> 学科视频 <% } else { %> 最新视频 <% } %>
<%= new IndexVideoByInstance(this) { Multithreading = true, PageSize=8, ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"", OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
<% } //显示标签订阅及标签视频 if (this.User.ParentUserType.MyIndexTagAndTagVideo) { if (this.User._ListUserTag.Count > 0) { foreach (var userTag in this.User._ListUserTag) { %>
关于标签“<%=userTag.ParentTag.Name %>”的视频
<%= new IndexVideoByInstance(this) { Multithreading = true, PageSize=8, ParentTag = userTag.ParentTag.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
<% } } } //显示<%= Define.Get("Client_专辑")列表 if (this.User.ParentUserType.MyIndexAlbum) { %>
我的<%= Define.Get("Client_专辑")%>
<%= new IndexAlbumByInstance(this) { Multithreading = true, PageSize=8, ParentUser=this.UserCode, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
<% } //显示<%= Define.Get("Client_评课") 列表 if (this.User.ParentUserType.MyIndexSubject) { %>
最新活动
<%= new IndexSubjectByInstance(this) { Multithreading = true, PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序,ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"" }.ToHtml() %>
<% } //显示直播列表 if (this.User.ParentUserType.MyIndexApplication == true) { %>
最新直播
<%= new IndexLiveByInstance(this) { Multithreading = true, PageSize=16, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序,TransferControl="/Index/IndexLiveBy_single_message" }.ToHtml() %>
<% } %> <% if (this.User.ParentUserType.MyIndexTotal == true) { %>
系统概况
正在加载数据,请稍候……
<%--<%= new MyMessageBarInstance(this) { Multithreading = true }.ToHtml() %>--%>
<% } %>
<% //显示消息列表 if (this.User.ParentUserType.MyIndexMessage == true) { %>
<%= new MyMessageBarInstance(this) { Multithreading = true, PageSize = 10 }.ToHtml() %>
<% } //显示公告列表 if (this.User.ParentUserType.MyIndexNotice == true) { %>
<%= new MyNoticeBarInstance(this) { Multithreading = true, ListNoticeCount = 10 }.ToHtml() %>
<% } if (this.User.ParentUserType.MyIndexTagAndTagVideo == true) { %>
<%= new MyRecommendVideoTagInstance(this) { Multithreading = true}.ToHtml() %>
<% } %>
<%= new FooterInstance(this) { Multithreading = true }.ToHtml() %>