<%= new MyMenuInstance(this) { Multithreading = true, MyMenuItem = MyMenuItem.My }.ToHtml()%>
<%
//显示所有学科视频
if (this.User.ParentUserType.MyIndexAllCateVideo == true)
{
%>
<%
}
//显示本人关联学科视频
if (this.User.ParentUserType.MyIndexSelfCateVideo == true)
{
%>
<%
}
//显示标签订阅及标签视频
if (this.User.ParentUserType.MyIndexTagAndTagVideo)
{
if (this.User._ListUserTag.Count > 0)
{
foreach (var userTag in this.User._ListUserTag)
{
%>
<%
}
}
}
//显示<%= Define.Get("Client_专辑")列表
if (this.User.ParentUserType.MyIndexAlbum)
{
%>
<%
}
//显示<%= Define.Get("Client_评课") 列表
if (this.User.ParentUserType.MyIndexSubject)
{
%>
<%
}
//显示直播列表
if (this.User.ParentUserType.MyIndexApplication == true)
{
%>
<%
}
%>
<%
if (this.User.ParentUserType.MyIndexTotal == 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._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() %>
关于标签“<%=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_专辑")%>
<%= new IndexAlbumByInstance(this) { Multithreading = true, PageSize=8, ParentUser=this.UserCode, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
最新活动
<%= 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() %>
最新直播
<%= new IndexLiveByInstance(this) { Multithreading = true, PageSize=16, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序,TransferControl="/Index/IndexLiveBy_single_message" }.ToHtml() %>
系统概况
正在加载数据,请稍候……
<%--<%= 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() %>
<%
}
%>