Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Tools\DataTotal.aspx
??<%@ Page Language="C#" AutoEventWireup="true"%> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> ??????</title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/highcharts.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> <style> .sub_nav { margin-top:10px; margin-bottom:10px; } .sub_nav ul { list-style:none; margin-left:0px; } .sub_nav ul li { position:relative; display:inline-block; line-height:20px; } .sub_nav ul li a { margin-bottom:0px; line-height:30px; padding:8px 20px; text-decoration:none; color:#777777; border:1px solid transparent; } .sub_nav ul li a:active { color:black } .sub_nav ul li a:hover { color:black } .table-bordered tr th { width:50%; } .table-bordered tr td { width:50%; } caption { font-weight: bold; font-size: 14px; padding: 3px; } td.num_td { width: 20px; } </style> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gIbx"> <div class="mContent"> <div style="margin-left:20px;"> <div class="span12"> <div class="sub_nav"> <ul class="control_add" id="masterTab"> <li class="active"><a href="#" data-target="#systems" data-toggle="tab"><span class="org_bot_cor"></span>??????</a></li> <% if (SettingGroup.HasSubject) { %> <li><a href="#" data-target="#subjects" data-toggle="tab"><span class="org_bot_cor"></span><%= Define.Get("Client_???") %>???</a></li> <% } %> <% if (SettingGroup.HasMeeting) { %> <li><a href="#" data-target="#intractives" data-toggle="tab"><span class="org_bot_cor"></span><%= Define.Get("Client_??????") %>???</a></li> <% } %> <li><a href="#" data-target="#videos" data-toggle="tab"><span class="org_bot_cor"></span><%= Define.Get("Client_??????") %>???</a></li> <li><a href="#" data-target="#lives" data-toggle="tab"><span class="org_bot_cor"></span><%= Define.Get("Client_???") %>???</a></li> <li><a href="#" data-target="#albums" data-toggle="tab"><span class="org_bot_cor"></span><%= Define.Get("Client_???") %>???</a></li> <li><a href="#" data-target="#domainVideo" data-toggle="tab"><span class="org_bot_cor"></span>????????????</a></li> </ul> </div> <div id="total_chart"></div> <div class="tab-content"> <div class="tab-pane active" id="systems"> <div class=""> <div class="body"> <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="tab-pane" id="subjects"> <div class=""> <div class="body"> <div class="row"> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listViewSubject = CreateInstance.SubjectDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var subject in listViewSubject) { %> <tr> <td> <%= new HtmlAnchor(subject.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.SubjectView(subject.Guid), Target="_blank", TextLength=40,Suffix="...", Title=subject.Name} %> </td> <td class="num_td"> <%= subject.VideoView %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listCommentSubject = CreateInstance.SubjectDao.DayCommentCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var subject in listCommentSubject) { %> <tr> <td> <%= new HtmlAnchor(subject.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.SubjectView(subject.Guid), Target="_blank", TextLength=40,Suffix="...", Title=subject.Name} %> </td> <td class="num_td"> <%= subject.CommentCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var lissCollectSubject = CreateInstance.SubjectDao.DayCollectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var subject in lissCollectSubject) { %> <tr> <td> <%= new HtmlAnchor(subject.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.SubjectView(subject.Guid), Target="_blank", TextLength=40,Suffix="...", Title=subject.Name} %> </td> <td class="num_td"> <%= subject.CollectCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">???</th> </tr> <% var listSubjectByUser = CreateInstance.SubjectDao.DayUserCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var subject in listSubjectByUser) { %> <tr> <td> <%= new HtmlAnchor(subject.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.SubjectView(subject.Guid), Target="_blank", TextLength=40,Suffix="...", Title=subject.Name} %> </td> <td class="num_td"> <%= subject.VideoView %> </td> </tr> <% } %> </table> </div> </div> </div> </div> </div> <div class="tab-pane" id="videos"> <div class=""> <div class="body"> <div class="row"> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listViewVideo = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var video in listViewVideo) { %> <tr> <td> <%= new HtmlAnchor(video.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.VideoPlay(video.Guid),Target="_blank", TextLength=40, Suffix="...", Title=video.Name} %> </td> <td class="num_td"> <%= video.VideoView %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listCommentVideo = CreateInstance.VideoDao.DayCommentCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var video in listCommentVideo) { %> <tr> <td> <%= new HtmlAnchor(video.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.VideoPlay(video.Guid),Target="_blank", TextLength=40, Suffix="...", Title=video.Name} %> </td> <td class="num_td"> <%= video.CommentCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var lissCollectVideo = CreateInstance.VideoDao.DayCollectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var video in lissCollectVideo) { %> <tr> <td> <%= new HtmlAnchor(video.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.VideoPlay(video.Guid),Target="_blank", TextLength=40, Suffix="...", Title=video.Name} %> </td> <td class="num_td"> <%= video.CollectCount %> </td> </tr> <% } %> </table> </div> </div> </div> </div> </div> <div class="tab-pane" id="intractives"> <div class=""> <div class="body"> <div class="row"> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listViewMeeting = CreateInstance.MeetingDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var meeting in listViewMeeting) { %> <tr> <td> <%= new HtmlAnchor(meeting.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.MeetingView(meeting.Guid),Target="_blank", TextLength=40, Suffix="...", Title=meeting.Name} %> </td> <td class="num_td"> <%= meeting.VideoView %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listCommentMeeting = CreateInstance.MeetingDao.DayCommentCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var meeting in listCommentMeeting) { %> <tr> <td> <%= new HtmlAnchor(meeting.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.MeetingView(meeting.Guid),Target="_blank", TextLength=40, Suffix="...", Title=meeting.Name} %> </td> <td class="num_td"> <%= meeting.CommentCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var lissCollectMeeting = CreateInstance.MeetingDao.DayCollectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var meeting in lissCollectMeeting) { %> <tr> <td> <%= new HtmlAnchor(meeting.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.MeetingView(meeting.Guid),Target="_blank", TextLength=40, Suffix="...", Title=meeting.Name} %> </td> <td class="num_td"> <%= meeting.CollectCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_??????") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">???</th> </tr> <% var listMeetingByUser = CreateInstance.MeetingDao.DayUserCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var meeting in listMeetingByUser) { %> <tr> <td> <%= new HtmlAnchor(meeting.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.MeetingView(meeting.Guid),Target="_blank", TextLength=40, Suffix="...", Title=meeting.Name} %> </td> <td class="num_td"> <%= meeting.VideoView %> </td> </tr> <% } %> </table> </div> </div> </div> </div> </div> <div class="tab-pane" id="lives"> <div class=""> <div class="body"> <div class="row"> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listViewApplication = CreateInstance.ApplicationDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var application in listViewApplication) { %> <tr> <td> <%= new HtmlAnchor(application.Title+(application.ParentRecordEquipment!=null?"["+application.ParentRecordEquipment.Name+"]":"")){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.LivePlay(application.Guid),Target="_blank", TextLength=40, Suffix="...", Title=application.Title} %> </td> <td class="num_td"> <%= application.VideoView %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listCommentApplication = CreateInstance.ApplicationDao.DayCommentCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var application in listCommentApplication) { %> <tr> <td> <%= new HtmlAnchor(application.Title+(application.ParentRecordEquipment!=null?"["+application.ParentRecordEquipment.Name+"]":"")){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.LivePlay(application.Guid),Target="_blank", TextLength=40, Suffix="...", Title=application.Title} %> </td> <td class="num_td"> <%= application.CommentCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered"> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var lissCollectApplication = CreateInstance.ApplicationDao.DayCollectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var application in lissCollectApplication) { %> <tr> <td> <%= new HtmlAnchor(application.Title+(application.ParentRecordEquipment!=null?"["+application.ParentRecordEquipment.Name+"]":"")){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.LivePlay(application.Guid),Target="_blank", TextLength=40, Suffix="...", Title=application.Title} %> </td> <td class="num_td"> <%= application.CollectCount %> </td> </tr> <% } %> </table> </div> </div> </div> <!-- end body --> </div> </div> <div class="tab-pane" id="albums"> <div class=""> <div class="body"> <div class="row"> <div class="span5"> <table class="table table-bordered "> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listViewAlbum = CreateInstance.AlbumDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var album in listViewAlbum) { %> <tr> <td> <%= new HtmlAnchor(album.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.AlbumView(album.Guid),Target="_blank", TextLength=40, Suffix="...", Title=album.Name} %> </td> <td class="num_td"> <%= album.VideoView %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered "> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var listCommentAlbum = CreateInstance.AlbumDao.DayCommentCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var album in listCommentAlbum) { %> <tr> <td> <%= new HtmlAnchor(album.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.AlbumView(album.Guid),Target="_blank", TextLength=40, Suffix="...", Title=album.Name} %> </td> <td class="num_td"> <%= album.CommentCount %> </td> </tr> <% } %> </table> </div> <div class="span5"> <table class="table table-bordered "> <caption> <%= Define.Get("Client_???") %>?????? </caption> <tr> <th>??? </th> <th class="numbers">?????</th> </tr> <% var lissCollectAlbum = CreateInstance.AlbumDao.DayCollectCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.??? }); foreach (var album in lissCollectAlbum) { %> <tr> <td> <%= new HtmlAnchor(album.Name){Href=AVA.ResourcesPlatform.Config.WebUrlConfig.AlbumView(album.Guid),Target="_blank", TextLength=40, Suffix="...", Title=album.Name} %> </td> <td class="num_td"> <%= album.CollectCount %> </td> </tr> <% } %> </table> </div> </div> </div> </div> <!-- end pane --> </div> <div class="tab-pane" id="domainVideo"> <div class=""> <div class="body"> <div class="row"> <div class="span5"> <table class="table table-bordered"> <caption> ???????????? </caption> <tr> <th>??? </th> <th class="numbers">??????</th> </tr> <% var ListDomain = CreateInstance.VideoDao.ListDomainResource().Take(20).ToList(); foreach (var domainVideo in ListDomain) { %> <tr> <td> <%= new HtmlAnchor(domainVideo.Name){TextLength=40, Suffix="...", Title=domainVideo.Name} %> </td> <td class="num_td"> <%= domainVideo.Count %> </td> </tr> <% } %> </table> </div> </div> </div> </div> </div> <!-- tab-content --> <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: "#ffa500", 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}) %><% } %> ] } ] }; var subjectSeries = { chart: { type: "bar", renderTo: "total_chart", marginRight: 130, marginBottom: 25 }, title: { text: "", x: -20 //center }, subtitle: { text: "", x: -20 }, xAxis: { categories: ["??????", "??????", "??????"] }, yAxis: { title: { text: "" }, plotLines: [{ value: 0, width: 1, color: "#808080" }] }, tooltip: { valueSuffix: "???" }, legend: { layout: "vertical", align: "right", verticalAlign: "top", x: -10, y: 100, borderWidth: 0 }, series: [ <% var listViewSubject2 = CreateInstance.SubjectDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 20, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.?? }); foreach (var subject in listViewSubject2) { %> { name: "<%= subject.Name %>", data: [<%= subject.VideoView %>, <%= subject.CommentCount %>, <%= subject.CollectCount %>] }, <% } %> { name: "", data: [] } ].slice(0, -1) }; var videoSeries = { chart: { type: "bar", renderTo: "total_chart", marginRight: 130, marginBottom: 25 }, title: { text: "", x: -20 //center }, subtitle: { text: "", x: -20 }, xAxis: { categories: ["??????", "??????", "??????"] }, yAxis: { title: { text: "" }, plotLines: [{ value: 0, width: 1, color: "#808080" }] }, tooltip: { valueSuffix: "???" }, legend: { layout: "vertical", align: "right", verticalAlign: "top", x: -10, y: 100, borderWidth: 0 }, series: ([ <% var listViewVideo2 = CreateInstance.VideoDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.?? }); foreach (var video in listViewVideo2) { %> { name: "<%= video.Name %>", data: [<%= video.VideoView %>, <%= video.CommentCount %>, <%= video.CollectCount %>] }, <% } %> { name: "", data: [] } ]).slice(0, -1) //end series }; var meetingSeries = { chart: { type: "bar", renderTo: "total_chart", marginRight: 130, marginBottom: 25 }, title: { text: "", x: -20 //center }, subtitle: { text: "", x: -20 }, xAxis: { categories: ["??????", "??????", "??????"] }, yAxis: { title: { text: "" }, plotLines: [{ value: 0, width: 1, color: "#808080" }] }, tooltip: { valueSuffix: "???" }, legend: { layout: "vertical", align: "right", verticalAlign: "top", x: -10, y: 100, borderWidth: 0 }, series: [ <%var listViewMeeting2 = CreateInstance.MeetingDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.?? }); foreach (var meeting in listViewMeeting2) { %> { name: "<%= meeting.Name %>", data: [<%= meeting.VideoView %>, <%= meeting.CommentCount %>, <%= meeting.CollectCount %>] }, <% } %> { name: "", data: [] } ].slice(0, -1) //end series }; var liveSeries = { chart: { type: "bar", renderTo: "total_chart", marginRight: 130, marginBottom: 25 }, title: { text: "", x: -20 //center }, subtitle: { text: "", x: -20 }, xAxis: { categories: ["??????", "??????", "??????"] }, yAxis: { title: { text: "" }, plotLines: [{ value: 0, width: 1, color: "#808080" }] }, tooltip: { valueSuffix: "???" }, legend: { layout: "vertical", align: "right", verticalAlign: "top", x: -10, y: 100, borderWidth: 0 }, series: [ <% var listViewApplication2 = CreateInstance.ApplicationDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.?? }); foreach (var application in listViewApplication2) { %> { name: "<%= application.Title %>", data: [<%= application.VideoView %>, <%= application.CommentCount %>, <%= application.CollectCount %>] }, <% } %> { name: "", data: [] } ].slice(0, -1) //end series }; var albumSeries = { chart: { type: "bar", renderTo: "total_chart", marginRight: 130, marginBottom: 25 }, title: { text: "", x: -20 //center }, subtitle: { text: "", x: -20 }, xAxis: { categories: ["??????", "??????", "??????"] }, yAxis: { title: { text: "" }, plotLines: [{ value: 0, width: 1, color: "#808080" }] }, tooltip: { valueSuffix: "???" }, legend: { layout: "vertical", align: "right", verticalAlign: "top", x: -10, y: 100, borderWidth: 0 }, series: [ <% var listViewAlbum2 = CreateInstance.AlbumDao.DayViewCount(new AVA.ResourcesPlatform.Config.TotalParameter() { DomainGuid = CookieGroup.DomainGuid, ResultCount = 10, TotalType = AVA.ResourcesPlatform.Config.TotalTypeEnum.?? }); foreach (var album in listViewAlbum2) { %> { name: "<%= album.Name %>", data: [<%= album.VideoView %>, <%= album.CommentCount %>, <%= album.CollectCount %>] }, <% } %> { name: "", data: [] } ].slice(0, -1) //end series }; $(document).ready(function () { var hc = new Highcharts.Chart(systemSeries); // $("#total_chart").highcharts(subjectlist); $("a[data-toggle='tab']").on("shown.bs.tab", function (e) { var actions = { "#subjects": function () { return show_subjects; }, "#systems": function () { return show_systems; }, "#lives": function () { return show_lives; }, "#intractives": function () { return show_meeting; }, "#albums": function () { return show_albums; }, "#videos": function () { return show_videos; } // "#judger_line":function(){ // return show_judger_line_container; // }, // "#judger_bar":function(){ // return show_judger_bar_container; // } }; if ($(e.target).attr("data-target") !== "") { // console.log(actions[$(e.target).attr("data-target")]); return actions[$(e.target).attr("data-target")] ? actions[$(e.target).attr("data-target")]()() : ""; } }); function show_systems() { hc = new Highcharts.Chart(systemSeries); } function show_subjects() { hc = new Highcharts.Chart(subjectSeries); }; function show_meeting() { hc = new Highcharts.Chart(meetingSeries); } function show_lives() { hc = new Highcharts.Chart(liveSeries); }; function show_albums() { hc = new Highcharts.Chart(albumSeries); } function show_videos() { hc = new Highcharts.Chart(videoSeries); }; $('#masterTab').tab(); }); </script> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de