Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MyIndexTotal.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyIndexTotal.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyIndexTotal" %> <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>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de