Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MySubjectST.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectST" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.????????? }.ToHtml()%>--%> <div class="flat data-box"> <div class="head"> <span class="title">???<%= this.Query.RecordCount %>??<%= Define.Get("Client_??????") %></span> </div> <div class="dataControl body"> <form id="frmSubjectSTSearch" method="post" action="<%= WebUrl.Proxy() %>"> <%= Define.Get("Client_??????") %>????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> ????? <%= new HtmlText("CutoffTime", this.CutoffTime.ToShortDate()) { Width = 80 }%> ?? <%= new HtmlText("EndTime", this.EndTime.ToShortDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MySubjectST") %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> </form> <script type="text/javascript"> $(function () { $("#frmSubjectSTSearch [name=CutoffTime]").datepicker({ maxDate: new Date($("#frmSubjectSTSearch [name=EndTime]").val()), onClose: function () { $("#frmSubjectSTSearch [name=EndTime]").datepicker("option", "minDate", new Date(this.value)); } }); $("#frmSubjectSTSearch [name=EndTime]").datepicker({ minDate: new Date($("#frmSubjectSTSearch [name=CutoffTime]").val()), onClose: function () { $("#frmSubjectSTSearch [name=CutoffTime]").datepicker("option", "maxDate", new Date(this.value)); } }); }); </script> </div> <div id="MySubjectSTData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle"><%= Define.Get("Client_??????") %>??? </td> <td valign="middle">???</td> <td valign="middle" class="disabled">???? </td> <td valign="middle" class="disabled"><%-- <%= Define.Get("Client_???") %> --%>?????? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListSTUser.Count - 1; i++) { var subject = this.ListSTUser[i].ParentSubject; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListSTUser.Count - 1 ? "lastLine" : "" %>'> <td class="v"> <ul> <li class="min-video-photo"> <div class="min-video-photo"><%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.MySubjectSTVideo(subject.Guid), Title = subject.Name }%></div> </li> </ul> </td> <td> <%= new HtmlAnchor(subject.Name) { Href = WebUrl.MySubjectSTVideo(subject.Guid)}%> <% int stUserAlreadyVideoCount; int stUserVideoNeedCount; int stUserVideoNoCount; stUserAlreadyVideoCount = CreateInstance.STUserDao.UserAlreadySTVideo(this.ListSTUser[i], out stUserVideoNeedCount, out stUserVideoNoCount); %> <br /> <%--????????<%= videoCount %>--%> ???????????????<%= stUserVideoNeedCount %>?? <br /> ?????<%= stUserAlreadyVideoCount %>?? ?????<%= stUserVideoNoCount %>?? </td> <td> <p> <% if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.?????? && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.??? && subject.CutoffTime<= DateTime.Now && subject.EndTime >= DateTime.Now) { %> <span class="short_input"> ????? </span> <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.?????? && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.??? && subject.CutoffTime > DateTime.Now) { %> <span class="short_input"> ???<%= Define.Get("Client_???") %>?? </span> <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.?????? && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.??? && subject.CutoffTime < DateTime.Now) { %> <span class="short_input"> ???<%= Define.Get("Client_???") %>?? </span> <% } else if (subject.Examine != (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.??????) { %> <span class="short_input"> ???????????? </span> <% } else if (subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.???) { %> <span class="short_input"> ???????? </span> <% } else if (subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.???) { %> <span class="short_input"> ????????? </span> <%} %> </p> </td> <td> <%= subject.CutoffTime.ToShortDate()%> <br /> ?? <br /> <%= subject.EndTime.ToShortDate()%> </td> </tr> <% } %> </tbody> </table> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectST(int.MaxValue, this.Name, this.CutoffTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de