<%@ 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) { }.ToHtml() %> <%= Import.ScriptTheme("js/highcharts.js")%> <%= new MyHeaderInstance(this) { MyHeaderItem= MyHeaderItem.My , User = this.User}.ToHtml() %>
<%= 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() %>
<% if (SettingGroup.HasSubject) { %>
最新活动
<%= 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) { %>
系统概况
<% if (SettingGroup.HasMeeting) { %> <% } %> <% if (SettingGroup.HasSubject) { %> <% } %>
项目 数量
日访问量 <%= 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() %>
<% } %>
<%= new FooterInstance(this) { }.ToHtml() %>