Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MyCollectUser.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyCollectUser" %> <div class="box well"> <div class="p_title"> <span class="title">????????????</span> </div> <div class="dataControl box"> <form id="frmCollectUserSearch" method="post" action="<%= WebUrl.Proxy() %>" style="display:none;"> <%= new HtmlHidden("Key","MyCollectUser") %> <%= new HtmlSubmit("???") %> <%= new HtmlReset("???") { Class="btn"}%> </form> <script type="text/javascript"> //?????? function CollectBatchDelete(send) { var items = $("#MyCollectData .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.PVHistoryBatchDelete", data: key, async: true, dataType: 'json', success: function (result) { $(send).val("???"); alert("?????????") Global.Disabled(send, false); $("#frmCollectUserSearch").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 CollectDelete(send, pkid) { if (confirm("???????????????") == true) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.PVHistoryDelete", data: "key=" + pkid, async: true, dataType: 'json', success: function (result) { $(send).html("???"); alert("?????????") Global.Disabled(send, false); $("#frmCollectUserSearch").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); } }); } }; </script> </div> <div id="MyCollectData" class="data"> <table cellspacing="0" cellpadding="0" width="100%"> <tbody> <tr id="dataHead" class="dataHead"> <td valign="middle">??? </td> <td valign="middle">??????</td> <td valign="middle" style="width: 100px;">???</td> </tr> <!--??? ????? ????? ?? ??????? ????? ????????? ????????? class="firstLine lastLine"--> <% for (int i = 0; i <= this.ListPVHistory.Count - 1; i++) { var pvHistory = this.ListPVHistory[i]; %> <tr class='<%= i == 0 ? "firstLine" : "" %> <%= i == this.ListPVHistory.Count - 1 ? "lastLine" : "" %>'> <td class="v"> <ul> <li> <% var user = CreateInstance.UserDao.Get(pvHistory.PVGuid); if (user != null) { %> <%= new HtmlAnchor(user.TrueName) { Href = WebUrl.Show(user.ParentDomain.Code,user.UserName), Title=user.TrueName, Target = "_blank" }%> <% } %> </li> </ul> </td> <td> <%= pvHistory.CreateTime.ToShortDate() %> </td> <td> <a href="#delete" onclick="CollectDelete(this,'<%= SetKey(pvHistory.Guid, pvHistory.Version) %>'); return false;">???</a> </td> </tr> <% } %> </tbody> </table> </div> <script type="text/javascript"> $("#MyCollectData .trselall").click(function () { if (this.checked == true) { $("#MyCollectData .trsel").attr("checked", "checked"); } else { $("#MyCollectData .trsel").removeAttr("checked"); } }) function SelectMyCollectAll() { var bool = $("#MyCollectData .trselall").attr("checked"); bool = !bool; if (bool == true) { $("#MyCollectData .trsel").attr("checked", "checked"); $("#MyCollectData .trselall").attr("checked", "checked"); } else { $("#MyCollectData .trsel").removeAttr("checked"); $("#MyCollectData .trselall").removeAttr("checked"); } } </script> <%-- <div> <a href="#" onclick="SelectMyCollectAll(); return false;">???? - ???</a> </div>--%> <%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyCollect(int.MaxValue) }.ToHtml()%> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de