Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MySubjectSignup.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectSignup" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.?????? }.ToHtml()%>--%> <div class="box well"> <div class="p_title"> <span class="title">????????</span>?????? <span>???????1??????????? </span><span class="f_r"></span> </div> <div class="dataControl box"> <%= new HtmlButton("???", "SubjectUserApplyBatchDelete(this);")%> </div> <div id="MySubjectUserApplyData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle" class="sel" style="width: 20px;"> <input type="checkbox" class="trselall" /> </td> <td valign="middle">?????? </td> <td valign="middle" class="disabled">?????????? </td> <td valign="middle" class="disabled">????????? </td> <td valign="middle" class="disabled">?????? </td> <td valign="middle" class="disabled" width="55px">???? </td> <td valign="middle" class="disabled" width="40px">??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListSubjectUserApply.Count - 1; i++) { var subjectUserApply = this.ListSubjectUserApply[i]; var subject = subjectUserApply.ParentSubject; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListSubjectUserApply.Count - 1 ? "lastLine" : "" %>'> <td> <%= new HtmlCheckBox() { Value = SetKey(subjectUserApply.Guid, subjectUserApply.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td> <% if(subject.Status==(int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.???) { %> <%= new HtmlAnchor(subjectUserApply.ParentSubject.Name) { Href = "#", OnClick= "CheckStatus()" }%> <% } else { %> <%= new HtmlAnchor(subjectUserApply.ParentSubject.Name) { Target = "_blank", Href = WebUrl.SubjectView(subjectUserApply.ParentSubject.Guid) }%> <% } %> <br /> <% var classExamine = ""; if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.??????) { classExamine = "pass"; } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.????????) { } else { classExamine = ""; } %> <span class="<%=classExamine %>"> <nobr> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum)subject.Examine).Define() %> </nobr> </span> <% if (subject.LockSubject == (int)AVA.ResourcesPlatform.Model.Pub.SubjectLockSubjectEnum.???) { %> <%= new HtmlSpan("???") { Title = subject.ParentLockUser.UserName + " " + subject.LockDateTime + " " + subject.LockDescription }.Style(new { Color = "Red" })%> <% } %> <% if (subject.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.SubjectShareUploadEnum.??) { %> <br /> ?????? <% } %> <br /> ?????<%= subject.VideoView%> ?????<%= subject.CommentCount%> </td> <td> <%= subjectUserApply.ParentSubject.BeginTime.ToLongDate()%> <br /> ?? <br /> <%= subjectUserApply.ParentSubject.EndTime.ToLongDate()%> </td> <td> <%= subjectUserApply.ParentSubject.CutoffTime.ToLongDate()%> </td> <td> <%= subjectUserApply.ApplyTime.ToLongDate() %> <br /> <%= new HtmlSpan(subjectUserApply.ApplyRemark) { Size=30, WideWord=true, Suffix="..." }%> </td> <td> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectUserApplyApplyStatusEnum)subjectUserApply.ApplyStatus).Define()%> <br /> <% if (subjectUserApply.ConfirmTime != null) { %> <%=subjectUserApply.ConfirmTime%> <br /> <%= new HtmlSpan(subjectUserApply.ConfirmRemark) { Size=30, WideWord=true, Suffix="..." }%> <% } %> </td> <td> <a href="#delete" onclick="SubjectUserApplyDelete(this,'<%= SetKey(subjectUserApply.Guid, subjectUserApply.Version) %>'); return false;">???</a> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MySubjectUserApplyData .trselall").click(function () { if (this.checked == true) { $("#MySubjectUserApplyData .trsel").attr("checked", "checked"); } else { $("#MySubjectUserApplyData .trsel").removeAttr("checked"); } }) function SelectMySubjectUserApplyAll() { var bool = $("#MySubjectUserApplyData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MySubjectUserApplyData .trsel").attr("checked", "checked"); $("#MySubjectUserApplyData .trselall").attr("checked", "checked"); } else { $("#MySubjectUserApplyData .trsel").removeAttr("checked"); $("#MySubjectUserApplyData .trselall").removeAttr("checked"); } } </script> <script type="text/javascript"> function CheckStatus() { alert("???????????"); return false; } //?????? function SubjectUserApplyBatchDelete(send) { var items = $("#MySubjectUserApplyData .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("???????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserApplyBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("???????????????") Global.Disabled(send, false); window.location.href = window.location.href; }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } } else { alert("?????????????????????"); } }; //?????? function SubjectUserApplyDelete(send, pkid) { if (confirm("?????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserApplyDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("???????????????") Global.Disabled(send, false); window.location.href = window.location.href; }, beforeSend: function () { $(send).html("?????"); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).html("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; </script> <div> <a onclick="SelectMySubjectUserApplyAll(); return false;" href="#">???? - ???</a> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de