Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\My\Index_origin.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.My.Index" %> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= Define.Get("Client_?????????") %> - <%= this.Title %></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")%> <script type="text/javascript"> $(document).ready(function () { $(".my_space .noticeboard").not(function (index) { return index == 0 }).css("display", "none"); }); </script> </head> <body class="my_space "> <%= new MyHeaderInstance(this) { MyHeaderItem= MyHeaderItem.My , User = this.User}.ToHtml() %> <div class="content main-content" role="main"> <div class="container"> <div class="row "> <div class="span12"> <%= new MyMenuInstance(this) { MyMenuItem = MyMenuItem.My }.ToHtml()%> </div> </div> <div class="row "> <div class="span12"> <div class="row "> <div class="span12 offset"> <div class="sub_nav hidden"> <div class="control_add "> <% if (this.User.ParentUserType.ApplicationEnable) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href=WebUrl.MyApplicationAdd(),Title=Define.Get("Client_??????"), Class="btn-add" }%> <% } %> <% if (this.User.ParentUserType.VideoEnable) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href=WebUrl.MyVideoUpload(), Title=Define.Get("Client_??????"), Class="btn-add" }%> <% } %> <% if (this.User.ParentUserType.AlbumEnable) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href=WebUrl.MyAlbumAdd(),Title=Define.Get("Client_??????"), Class="btn-add" }%> <% } %> <% if (this.User.ParentUserType.MeetingEnable && SettingGroup.HasMeeting == true) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href=WebUrl.MyMeetingAdd(),Title=Define.Get("Client_??????"), Class="btn-add" }%> <% } %> <% if (this.User.ParentUserType.SubjectEnable && SettingGroup.HasSubject) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href=WebUrl.MySubjectAdd(),Title=Define.Get("Client_??????"), Class="btn-add" }%> <% } %> <% if (this.User.ParentUserType.CourseLive && SettingGroup.HasInstructor) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_????¤?")) { Href = WebUrl.MyCourseLive(),Title=Define.Get("Client_????¤?"), Class="btn-add ma_myxunke"} %> <% } %> <% if (this.User.ParentUserType.HeadMasterEnable) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href = WebUrl.MasterIndex() , Title=Define.Get("Client_??????"), Class="btn-add ma_mycal" }%> <% } %> <% if (this.User.ParentUserType.StudentEbable) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href = WebUrl.MyStudentAsk() , Title=Define.Get("Client_??????"), Class="btn-add st_myask" }%> <% } %> <% if (this.User.ParentUserType.TeacherEbable) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href = WebUrl.MyVideoAskReplay() , Title=Define.Get("Client_??????"), Class="btn-add te_myanswers" }%> <% } %> <% if (this.User.ParentUserType.GrowUp == true && SettingGroup.HasST) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("NavTop_GrowthPath_??????")) { Href = WebUrl.MyGrowthPath() , Title=Define.Get("NavTop_GrowthPath_??????"),Class="btn-add te_mygrowth" }%> <% } %> <% if (this.User.ParentUserType.InstructorEnable == true && SettingGroup.HasInstructor) { %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_????¤?")) { Href = WebUrl.Live() ,Title=Define.Get("Client_????¤?"),Class="btn-add ma_myxunke"} %> <% } %> <%= new HtmlAnchor(new HtmlSpan(){ Class="org_bot_cor"}+Define.Get("Client_??????")) { Href = WebUrl.MyCollect() ,Title=Define.Get("Client_??????"),Class="btn-add st_myfav" }%> </div> </div> </div> </div> <%-- <hr /> ??? <hr />--%> <% if (this.User.ParentUserType.StudentEbable == true) { %> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title "> ??????? </div> <div class="more "> </div> </div> <div class="body"> <ul class="nav nav-tabs tabs"> <% var categoriesList = CreateInstance.CategoryDao.Where(l => l.ParentCategory == null) .OrderBy(l => l.SortNumber) .ToList(); %> <% var limitCategoriesNum = categoriesList.Count > 3 ? 3 : categoriesList.Count; %> <% for (var i = 0; i < limitCategoriesNum; i++) { var category = categoriesList[i]; %> <li class="<%= i== 0 ? "active":"" %>"><a href="#cat_idx_<%= category.Guid %>" data-toggle="tab"><%= category.Name%></a></li> <% } %> </ul> <div class="tab-content"> <% for (var i = 0; i < categoriesList.Count; i++) { var category = categoriesList[i]; %> <div class="tab-pane <%= i== 0 ? "active":"" %>" id="cat_idx_<%= category.Guid %>"> <div class="videolist clearfix"> <%= new IndexVideoByInstance(this) { PageSize=8,ParentMasterCategory=category.Guid, OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? , TransferControl="/Index/IndexVideoByHot"}.ToHtml() %> </div> </div> <% } %> </div> </div> </div> </div> <div class="span4 noticeboard "> <%-- <div class="flat"> <%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %> </div> <div class="flat"> <%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %> </div>--%> </div> </div> <% } %> <%-- <hr /> ??? <hr />--%> <% if (this.User.ParentUserType.TeacherEbable == true) { %> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title "> <% if (this.User._ListUserCategory.Count != 0) { %> ?????? <% }else{ %> ??????? <% } %> </div> <div class="more "> </div> </div> <div class="videolist flat_body clearfix"> <%= 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() %> </div> </div> <div class="flat"> <div class="head"> <div class="title "> ???<%= Define.Get("Client_???")%> </div> <div class="more "> </div> </div> <div class="videolist flat_body clearfix"> <%= new IndexAlbumByInstance(this) { PageSize=8, ParentUser=this.UserCode, OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? }.ToHtml() %> </div> </div> <% if (SettingGroup.HasSubject) { %> <div class="flat"> <div class="head"> <div class="title "> ??????? </div> <div class="more "> </div> </div> <div class="videolist flat_body clearfix"> <%= new IndexSubjectByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????,ParentCategory=this.User._ListUserCategory.Count>0?this.User._ListUserCategory[0].ParentCategory.Guid:"" }.ToHtml() %> </div> </div> <% } %> </div> <div class="span4 noticeboard "> <div class="flat"> <%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %> </div> <div class="flat"> <%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %> </div> <div class="flat"> <%= new MyRecommendVideoTagInstance(this) { CacheEnable = 60*60, }.ToHtml() %> </div> </div> </div> <% } %> <%-- <hr /> ????? <hr />--%> <% if (this.User.ParentUserType.InstructorEnable == true) { %> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title "> <% if (this.User._ListUserCategory.Count != 0) { %> ?????? <% }else{ %> ??????? <% } %> </div> <div class="more "> </div> </div> <div class="videolist flat_body clearfix"> <%= 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() %> </div> </div> <div class="flat"> <div class="head"> <div class="title "> ??????? </div> <div class="more "> </div> </div> <div class="noticlist"> <%= new IndexLiveByInstance(this) { PageSize=16, OrderBy= AVA.ResourcesPlatform.Config.OrderType.??????,TransferControl="/Index/IndexLiveBy_single_message" }.ToHtml() %> </div> </div> <%-- <div class="flat"> <div class="head"> <div class="title "> <%= new HtmlAnchor("???????") { Href="#" }%> </div> <div class="more "> </div> </div> <div class="videolist flat_body clearfix"> <%= new IndexSubjectByInstance(this) { PageSize=8, OrderBy= AVA.ResourcesPlatform.Config.OrderType.?????? }.ToHtml() %> </div> </div>--%> </div> <div class="span4 noticeboard "> <div class="flat"> <%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %> </div> <div class="flat"> <%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %> </div> <div class="flat"> <%= new MyRecommendVideoTagInstance(this) { CacheEnable = 60*60, }.ToHtml() %> </div> </div> </div> <% } %> <%-- <hr /> ??? <hr /> --%> <% if (this.User.ParentUserType.HeadMasterEnable == true) { %> <div class="row"> <div class="span8"> <div class="flat"> <div class="head"> <div class="title "> ?????? </div> <div class="more "> </div> </div> <div class="body"> <div id="total_chart"></div> <script> var systemSeries = { chart: { type: "bar", renderTo: "total_chart" // defaultSeriesType: "column" }, title: { text: "??????" }, xAxis: { categories: ["??????", "??????", "<%= Define.Get("Client_??????") %>???", "<%= Define.Get("Client_??????") %>?????" , "<%= Define.Get("Client_???") %>???", "<%= Define.Get("Client_???") %>???" <% if (SettingGroup.HasMeeting) { %>, "<%= Define.Get("Client_??????") %>???"<% }%> <% if (SettingGroup.HasSubject) { %>, "<%= Define.Get("Client_???") %>???"<% } %>] }, yAxis: { min: 0, title: { text: "???", align: "high" }, labels: { overflow: "justify" } }, tooltip: { valueSuffix: " ???" }, plotOptions: { bar: { dataLabels: { enabled: true } } }, legend: { layout: "vertical", align: "right", verticalAlign: "top", x: -50, y: 20, floating: true, borderWidth: 1, backgroundColor: "#FFFFFF", shadow: true }, credits: { enabled: false }, series: [ { name: "??????", color: "<% if (this.User.ParentUserType.HeadMasterEnable == true) {%>#ffa500<% } else if (this.User.ParentUserType.TeacherEbable == true) {%>#0085CC <% } else if (this.User.ParentUserType.StudentEbable == true) { %>#7CB010 <% } else if (this.User.ParentUserType.InstructorEnable == true) { %>#005F8B <% } %>", data: [<%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.??) %>,<%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.??) %>, <%= CreateInstance.VideoDao.DayVideoCount(new AVA.ResourcesPlatform.Config.TotalParameter(){DomainGuid = CookieGroup.DomainGuid}) %>, <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.???,null,CookieGroup.DomainGuid) %>, <%= CreateInstance.AlbumDao.DayAlbumCount(new AVA.ResourcesPlatform.Config.TotalParameter(){DomainGuid = CookieGroup.DomainGuid}) %>, <%= CreateInstance.ApplicationDao.DayApplicationCount(new AVA.ResourcesPlatform.Config.TotalParameter(){DomainGuid = CookieGroup.DomainGuid}) %> <% if (SettingGroup.HasMeeting) { %>, <%= CreateInstance.MeetingDao.DayMeetingCount(new AVA.ResourcesPlatform.Config.TotalParameter(){DomainGuid = CookieGroup.DomainGuid}) %><% }%> <% if (SettingGroup.HasSubject) { %>, <%= CreateInstance.SubjectDao.DaySubjectCount(new AVA.ResourcesPlatform.Config.TotalParameter(){DomainGuid = CookieGroup.DomainGuid}) %><% } %> ] } ] }; hc = new Highcharts.Chart(systemSeries); </script> <table class="table table-bordered"> <tr> <td>???</td> <td>???</td> </tr> <tr> <td>??????</td> <td> <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.??) %> </td> </tr> <tr> <td>??????</td> <td> <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.??) %> </td> </tr> <tr> <td><%= Define.Get("Client_??????") %>???</td> <td> <%= CreateInstance.VideoDao.DayVideoCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> </td> </tr> <tr> <td><%= Define.Get("Client_??????") %>?????</td> <td> <%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.???,null,CookieGroup.DomainGuid) %> </td> </tr> <tr> <td><%= Define.Get("Client_???") %>???</td> <td> <%= CreateInstance.AlbumDao.DayAlbumCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> </td> </tr> <tr> <td><%= Define.Get("Client_???") %>???</td> <td> <%= CreateInstance.ApplicationDao.DayApplicationCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> </td> </tr> <% if (SettingGroup.HasMeeting) { %> <tr> <td><%= Define.Get("Client_??????") %>???</td> <td> <%= CreateInstance.MeetingDao.DayMeetingCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> </td> </tr> <% } %> <% if (SettingGroup.HasSubject) { %> <tr> <td><%= Define.Get("Client_???") %>???</td> <td> <%= CreateInstance.SubjectDao.DaySubjectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %> </td> </tr> <% } %> <tr> <td>????????</td> <td><%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.???) %></td> </tr> <tr> <td>????????</td> <td><%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.???,null,CookieGroup.DomainGuid) %></td> </tr> <tr> <td>?????????</td> <td> <%= CreateInstance.PVHistoryDao.GuestCount(CookieGroup.DomainGuid,AVA.ResourcesPlatform.Config.TotalTypeEnum.??) %> </td> </tr> <tr> <td>?????????</td> <td><%= CreateInstance.PVHistoryDao.DayViewCount(1,"Video",AVA.ResourcesPlatform.Config.TotalTypeEnum.??,null,CookieGroup.DomainGuid) %></td> </tr> <tr> <td>?????????</td> <td><%= CreateInstance.VideoDao.DayUploadCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid }) %></td> </tr> </table> </div> </div> </div> <div class="span4 noticeboard "> <%-- <div class="flat"> <%= new MyMessageBarInstance(this) { PageSize = 10 }.ToHtml() %> </div>--%> <div class="flat"> <%= new MyNoticeBarInstance(this) { ListNoticeCount = 10 }.ToHtml() %> </div> <div class="flat"> <%= new MyRecommendVideoTagInstance(this) { CacheEnable = 60*60, }.ToHtml() %> </div> </div> </div> <% } %> </div> </div> </div> </div> <%= new FooterInstance(this) { }.ToHtml() %> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de