Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\Bsk\Control\My\MySubjectParticipate.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectParticipate.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectParticipate" %> <div class="well"> <div class="p_title"> <span class="title">???????????</span> ??????<%= this.ListSubjectUser.Count %>???????? </div> <div class="dataControl box"> <form id="frmSubjectUserSearch" 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","MySubjectParticipate") %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> <%= new HtmlButton("???", "SubjectUserBatchDelete(this);")%> </form> <script type="text/javascript"> $(function () { $("#frmSubjectUserSearch [name=BeginTime]").datetimepicker({ //maxDate: new Date($("#frmSubjectUserSearch [name=EndTime]").val()), onClose: function () { $("#frmSubjectUserSearch [name=EndTime]").datetimepicker("option", "minDate", new Date(this.value)); } }); $("#frmSubjectUserSearch [name=EndTime]").datetimepicker({ //minDate: new Date($("#frmSubjectUserSearch [name=BeginTime]").val()), onClose: function () { $("#frmSubjectUserSearch [name=BeginTime]").datetimepicker("option", "maxDate", new Date(this.value)); } }); }); </script> <script type="text/javascript"> //?????? function SubjectUserBatchDelete(send) { var items = $("#MySubjectUserData .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.SubjectUserBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("???????????????") Global.Disabled(send, false); $("#frmSubjectUserSearch").submit(); }, 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 SubjectUserDelete(send, pkid) { if (confirm("??????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("???????????????") Global.Disabled(send, false); $("#frmSubjectUserSearch").submit(); }, 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); } }); } }; //??????? function SubjectChangeStatusClient(send, pkid) { if (confirm("?????????????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectChangeStatus", data: "key=" + pkid + "&Status=" + $(send).val(), async: true, dataType: 'json', success: function (result) { alert("????????????????") send.lang = send.value; Global.Disabled(send, false); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); send.value = send.lang; var message = XMLHttpRequest.responseText; Global.Error(message); } }); } else { send.value = send.lang; } }; //?????????? function SubjectUserConfirmInClient(send, pkid) { if (confirm("????????????????")) { var remark = window.prompt("???????????:", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserConfirm", data: "key=" + pkid + "&ConfirmRemark=" + encodeURIComponent(remark) + "&ConfirmStatus=1", async: true, dataType: 'json', success: function (result) { alert("???????????") $("#Status" + pkid).val(""); $("#ConfirmStatus" + pkid).html("?????"); Global.Disabled(send, false); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); $(send).val($("#Status" + pkid).val()); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; //??????????? function SubjectUserConfirmOutClient(send, pkid) { if (confirm("??????????????????")) { var remark = window.prompt("????????????:", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserConfirm", data: "key=" + pkid + "&ConfirmRemark=" + encodeURIComponent(remark) + "&ConfirmStatus=2", async: true, dataType: 'json', success: function (result) { alert("?????????????") $("#Status" + pkid).val($(send).val()); $("#ConfirmStatus" + pkid).html("?????"); Global.Disabled(send, false); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); $(send).val($("#Status" + pkid).val()); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; //??? function SubjectUserSignClient(send, pkid) { if (confirm("????????????????")) { var remark = window.prompt("???????????:", ""); $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.SubjectUserSign", data: "key=" + pkid + "&SignInRemark=" + encodeURIComponent(remark), async: true, dataType: 'json', success: function (result) { $("#Status" + pkid).val($(send).val()); $("#ConfirmStatus" + pkid).html("?????"); $("#SignInStatus" + pkid).html("?????"); Global.Disabled(send, false); alert("?????????????????"???\"?????????????????????????????????????????????????????????????????"?????????\""); window.open(result); }, beforeSend: function () { Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { Global.Disabled(send, false); $(send).val($("#Status" + pkid).val()); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } }; </script> </div> <div id="MySubjectUserData" 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"> </td> <td valign="middle" class="disabled"> ??? </td> <td valign="middle" class="disabled"> ????????? </td> <td valign="middle" class="disabled"> ?????????? </td> <td valign="middle" class="disabled" style="width: 60px;"> ??? </td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListSubjectUser.Count - 1; i++) { var subject = this.ListSubjectUser[i].ParentSubject; var subjectUser = this.ListSubjectUser[i]; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListSubjectUser.Count - 1 ? "lastLine" : "" %>'> <td class="sel"> <%= new HtmlCheckBox() { Value = SetKey(subjectUser.Guid, subjectUser.Version), Class = "trsel", Title = DefineEnum.???_????.Define() }%> </td> <td class="v"> <ul> <li> <%= new HtmlAnchor( new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { Width=100, Height=62, OnErrorImg=SettingGroup.DefaultImg} ) { Href = WebUrl.SubjectView(subject.Guid), Target = "_blank", Title = subject.Name }%> </li> </ul> </td> <td> <p> <%= new HtmlAnchor(subject.Name) { Href = WebUrl.SubjectView(subject.Guid), Target = "_blank" }%> <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() %> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum)subject.Status).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%> </p> </td> <td> <%= subjectUser.ParentUser.ParentDomain.Name %> <br /> <%= new HtmlAnchor(subjectUser.ParentUser.TrueName) { Href=WebUrl.Show(subject.ParentUser.ParentDomain.Code,subject.ParentUser.UserName) }%> ( <%= new HtmlAnchor(subjectUser.ParentUser.UserName) { Href = WebUrl.Show(subject.ParentUser.ParentDomain.Code, subject.ParentUser.UserName) }%> ) </td> <td> <%= subject.BeginTime.ToLongDate() %> <br /> ?? <br /> <%= subject.EndTime.ToLongDate() %> </td> <td> <%= subject.CutoffTime.ToLongDate() %> </td> <td> <% if (subject.ShareUpload == (int)AVA.ResourcesPlatform.Model.Pub.SubjectShareUploadEnum.??) { %> <%= new HtmlAnchor("??????") { Href = WebUrl.MySubjectUserVideo(subject.Guid) }%> <br /> <%= new HtmlAnchor("??????") { Href = WebUrl.MySubjectUserAlbum(subject.Guid) }%> <br /> <% if (SettingGroup.HasMeeting == true) { %> <%= new HtmlAnchor("??????") { Href = WebUrl.MySubjectUserMeeting(subject.Guid) }%> <br /> <% } %> <%= new HtmlAnchor("??????") { Href = WebUrl.MySubjectUserApplication(subject.Guid) }%> <% } %> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MySubjectUserData .trselall").click(function () { if (this.checked == true) { $("#MySubjectUserData .trsel").attr("checked", "checked"); } else { $("#MySubjectUserData .trsel").removeAttr("checked"); } }) function SelectMySubjectUserAll() { var bool = $("#MySubjectUserData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MySubjectUserData .trsel").attr("checked", "checked"); $("#MySubjectUserData .trselall").attr("checked", "checked"); } else { $("#MySubjectUserData .trsel").removeAttr("checked"); $("#MySubjectUserData .trselall").removeAttr("checked"); } } </script> <div> <a onclick="SelectMySubjectUserAll(); return false;" href="#">???? - ???</a> </div> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageRecordSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MySubjectParticipate(int.MaxValue, this.Name, this.BeginTime.ToString(null), this.EndTime.ToString(null)) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de