Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MySTVideoScore.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTVideoScore" %> <%= new MySubjectNavInstance(this) { Local = MySubjectNavItem.??????, Subject = this.Subject }.ToHtml()%> <div class="box well"> <div class="p_title"> <span class="title">???????????</span> </div> <div class="p_title"> <span class="title">???????????<%= CreateInstance.SubjectVideoDao.Count(l => l.ParentSubject == this.Subject) %>??</span> <span class="title">?????????<% =((CreateInstance.SubjectVideoDao.Count(l => l.ParentSubject == this.Subject))-(CreateInstance.VideoDao.Count(l => l._ListSTVideoScore.Any(li=>li.ParentSTUser.ParentSubject == this.Subject))))%>??</span> <span class="title">??????<%= CreateInstance.VideoDao.Count(l => l._ListSTVideoScore.Any(li=>li.ParentSTUser.ParentSubject == this.Subject)) %>??</span> </div> <div id="MySTUserData" class="data"> <% if (this.ListSTUser != null && this.ListSTUser.Count > 0) { var listVideo = CreateInstance.SubjectVideoDao.Where(l => l.ParentSubject == this.Subject) .ToList(); %> <table cellspacing="0" cellpadding="0" width="100%"> <tr id="dataHead" class="dataHead"> <td> ????????</td> <td > ?????? </td> <td>??????</td> <td>???</td> <td>???</td> </tr> <% foreach (var itemVideo in listVideo) { %> <tr> <td rowspan=<%=ListSTUser.Count() %>> <%= new HtmlAnchor(itemVideo.ParentVideo.Name) { Href = WebUrl.SubjectPlay(this.Subject.Guid,itemVideo.ParentVideo.Guid),Target="_blank" }%> </td> <% foreach (var stUser in ListSTUser) { %> <td> <%= new HtmlAnchor(stUser.ParentUser.TrueName) { Href=WebUrl.Show(stUser.ParentUser.ParentDomain.Code,stUser.ParentUser.UserName) }%> </td> <% double total = 0; // foreach (var itemVideo2 in listVideo) // { //????????????????? var stVideoScore = CreateInstance.STVideoScoreDao.Where(l => l.ParentSTUser == stUser && l.ParentVideo == itemVideo.ParentVideo) .Take(1) .ToList() .FirstResult(); if (stVideoScore == null) { //?¤? %> <td>??? </td> <% } else { total += stVideoScore.AllScore; %> <td> <%= stVideoScore.AllScore %></td> <% //????????????????????? int videoCount; int scoreVideoCount; int scoreVideoPartCount; CreateInstance.STUserDao.UserScore(stUser, out videoCount, out scoreVideoCount, out scoreVideoPartCount); if (scoreVideoPartCount > 0) { %> ???:<%= scoreVideoCount %> ???<%= scoreVideoPartCount %> <% } // } } %> <td> <%= total %> </td> </tr> <% } %> <% } %> </table> <% } %> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de