Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MySubjectSignup.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectSignup" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.?????? }.ToHtml()%>--%> <div class="flat data-box"> <div class="head"> <span class="title">???<%= this.ListSubjectUserApply.Count %>????????</span> <span>???????1??????????? </span><span class="f_r"></span> </div> <div class="dataControl "> <form id="frmSubjectSignupSearch" method="post" action="<%= WebUrl.Proxy() %>"> ???????? <%= new HtmlText("Name", this.Name) { Width = 120 }%> ????? <%= new HtmlText("BeginTime", this.BeginTime.ToLongDate()) { Width = 80 }%> ?? <%= new HtmlText("EndTime", this.EndTime.ToLongDate()) { Width = 80 }%> <%= new HtmlHidden("Key","MySubjectSingnup") %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("???", "SubjectUserApplyBatchDelete(this);"){ Class="btn btn-danger pull-right" }%> </form></div> <script type="text/javascript"> $(function () { $("#frmSubjectSignupSearch [name=BeginTime]").datepicker({ maxDate: new Date($("#frmSubjectSignupSearch [name=EndTime]").val()), onClose: function () { $("#frmSubjectSignupSearch [name=EndTime]").datepicker("option", "minDate", new Date(this.value)); } }); $("#frmSubjectSignupSearch [name=EndTime]").datepicker({ minDate: new Date($("#frmSubjectSignupSearch [name=BeginTime]").val()), onClose: function () { $("#frmSubjectSignupSearch [name=BeginTime]").datepicker("option", "maxDate", new Date(this.value)); } }); }); </script> <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"><%= Define.Get("Client_???") %>??????? </td> <td valign="middle" class="disabled">???????????? </td> <td valign="middle" class="disabled">?????? </td> <td valign="middle" class="disabled">???? </td> <td valign="middle" class="disabled">??? </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.ToShortDate()%> <br /> ?? <br /> <%= subjectUserApply.ParentSubject.EndTime.ToShortDate()%> </td> <td> <%= subjectUserApply.ParentSubject.CutoffTime.ToShortDate()%> </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() { flash("???????????"); 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("???????????<%= Define.Get("Client_???") %>?????????") == 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("???"); flash("<%= Define.Get("Client_??????") %>?????????") 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 { flash("???????????<%= Define.Get("Client_???") %>????????"); } }; //?????? function SubjectUserApplyDelete(send, pkid) { if (confirm("?????????<%= Define.Get("Client_???") %>?????????") == 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("???"); flash("<%= Define.Get("Client_??????") %>?????????") 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