Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MySTVideoScore.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTVideoScore" %> <div class="well"> <div class="p_title"> <span class="title">??????????????</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> <% foreach (var itemVideo in listVideo) { %> <td> <%= new HtmlAnchor(itemVideo.ParentVideo.Name) { Href = WebUrl.SubjectPlay(this.Subject.Guid,itemVideo.ParentVideo.Guid),Target="_blank" }%> </td> <% } %> <td>??? </td> </tr> <% foreach (var stUser in ListSTUser) { %> <tr> <td> <%= new HtmlAnchor(stUser.ParentUser.TrueName) { Href=WebUrl.Show(stUser.ParentUser.ParentUserType.ParentDomain.Code,stUser.ParentUser.UserName) }%> </td> <% double total = 0; foreach (var itemVideo 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; %> <%= stVideoScore.AllScore %> <% //????????????????????? 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