<%= new MyMenuInstance(this) { MyMenuItem = MyMenuItem.My }.ToHtml()%>
学生
--%> <% if (this.User.ParentUserType.StudentEbable == true) { %>
最新视频
<% for (var i = 0; i < categoriesList.Count; i++)
{
var category = categoriesList[i];
%>
" id="cat_idx_<%= category.Guid %>">
<% } %>
<%= new IndexVideoByInstance(this) { PageSize=8,ParentMasterCategory=category.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
<%--
<%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %>
<%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %>
--%>
老师
--%> <% if (this.User.ParentUserType.TeacherEbable == true) { %>
<% if (this.User._ListUserCategory.Count != 0)
{ %>
学科视频
<% }else{ %>
最新视频
<% } %>
<%= new IndexVideoByInstance(this) { PageSize=8, ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"", OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
我的<%= Define.Get("Client_专辑")%>
<%= new IndexAlbumByInstance(this) { PageSize=8, ParentUser=this.UserCode, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
最新活动
<%= new IndexSubjectByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序,ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"" }.ToHtml() %>
<%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %>
<%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %>
<%= new MyRecommendVideoTagInstance(this) { CacheEnable = 60*60, }.ToHtml() %>
教研员
--%> <% if (this.User.ParentUserType.InstructorEnable == true) { %>
<% if (this.User._ListUserCategory.Count != 0)
{ %>
学科视频
<% }else{ %>
最新视频
<% } %>
<%= new IndexVideoByInstance(this) { PageSize=8, ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"", OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %>
最新直播
<%= new IndexLiveByInstance(this) { PageSize=16, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序,TransferControl="/Index/IndexLiveBy_single_message" }.ToHtml() %>
<%= new HtmlAnchor("最新活动") { Href="#" }%>
<%= new IndexSubjectByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.时间倒序 }.ToHtml() %>
<%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %>
<%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %>
<%= new MyRecommendVideoTagInstance(this) { CacheEnable = 60*60, }.ToHtml() %>
领导
--%> <% if (this.User.ParentUserType.HeadMasterEnable == true) { %>
系统概况
项目 | 数量 |
日访问量 | <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.日) %> |
月访问量 | <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.月) %> |
<%= Define.Get("Client_视频资源") %>总数 | <%= CreateInstance.VideoDao.DayVideoCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> |
<%= Define.Get("Client_视频资源") %>点击量 | <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.全部,null,CookieGroup.DomainGuid) %> |
<%= Define.Get("Client_专辑") %>数量 | <%= CreateInstance.AlbumDao.DayAlbumCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> |
<%= Define.Get("Client_直播") %>次数 | <%= CreateInstance.ApplicationDao.DayApplicationCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> |
<%= Define.Get("Client_教研互动") %>次数 | <%= CreateInstance.MeetingDao.DayMeetingCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> |
<%= Define.Get("Client_评课") %>次数 | <%= CreateInstance.SubjectDao.DaySubjectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> |
总访问量: | <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.全部) %> |
总点击量: | <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.全部,null,CookieGroup.DomainGuid) %> |
今日访问量: | <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.日) %> |
今日点击量: | <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.日,null,CookieGroup.DomainGuid) %> |
今日上传量: | <%= CreateInstance.VideoDao.DayUploadCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> |
<%--
<%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %>
--%>
<%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %>
<%= new MyRecommendVideoTagInstance(this) { CacheEnable = 60*60, }.ToHtml() %>