Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Notice\List.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Notice.List" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gIbx"> <div class="mContent"> <div id="dvToolbar_inbox" class="g-toolbar"> <div class="btngrp"> <div style="margin-top: 5px;"> <form id="frmSearch" action="" onsubmit="return false;"> <%# Define.Get("Notice_DomainName_??????").HtmlEncode() %>?? <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Domain")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%= new HtmlText("$FieldValue", null) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <%# Define.Get("Notice_DomainCode_??????").HtmlEncode() %>?? <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Domain")%> <%= new HtmlHidden("$Field", "Code")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%= new HtmlText("$FieldValue", null) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <%# Define.Get("Notice_???").HtmlEncode() %>?? <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "Title")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%= new HtmlText("$FieldValue", null) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <%= new HtmlSubmit(null, null) { OnClick = "GoSearch(this);" }.Style(new { Display = "none" })%> </form> <form id="frmQuery" action="" onsubmit="return false;"> <%= new HtmlHidden("PageIndex", "1") %> <%= new HtmlHidden("PageSize", SettingGroup.ManagerDefine.ListCount)%> <%= new HtmlHidden("Orders", null)%> <%= new HtmlHidden("", null) { ID = "SearchParameter" }%> </form> </div> </div> <div class="btngrp"> <div onclick="GoSearch(this);" class="btn btn-dft btn-dft-gl"> <span> <%= DefineEnum.???.Define() %></span></div> <div title="" onclick="GoAdvancedSearch(this);" class="btn btn-dft btn-dft-gr"> <span> <%= DefineEnum.??????.Define() %></span></div> </div> <div class="btngrp btngrp-ext"> <div class="btngrp"> <div class="btn btn-dft btn-dft-gl btn-dft-icon" title="" onclick="GoAdd()"> <span> <%= DefineEnum.????.Define() %><b class="ico ico-add"></b></span> </div> <div class="btn btn-dft btn-dft-gr btn-dft-pd" title="" onclick="GoBatchDelete()"> <span> <%= DefineEnum.????.Define() %></span> </div> </div> <div title="" onclick="GoColumn()" class="btn btn-dft"> <span> <%= DefineEnum.?????.Define() %></span></div> </div> </div> <div style="clear: both"> </div> <div class="ln-thin ln-c-mid"> </div> <div id="dvTitleinbox"> <div class="g-title-1"> <div class="fn-fle"> <h2> <%= Title %> </h2> <span class="txt-info"> <%= DefineEnum._???__strong__span_id____pageRecord____span___strong__.Define() %></span> </div> <div class="title-ext"> <a id="pageFirst" hidefocus="true"> <%= DefineEnum.???.Define() %></a> <a id="pagePrev" hidefocus="true"> <%= DefineEnum.?????.Define()%></a> <a id="pageNext" hidefocus="true"> <%= DefineEnum.?????.Define()%></a> <a id="pageLast" hidefocus="true"> <%= DefineEnum.???.Define()%></a> <select id="pageList"> </select> </div> </div> </div> <div class="gIbx-tablayout"> <div class="txt-12 listContainer" id="list" style="overflow-y: hidden; overflow-x: auto; padding-bottom: 10px"> </div> </div> </div> </div> </div> <div style="clear: both"> </div> <div id="divViewDefine" class="gSys-msg-win" style="display: none; right: 10px; top: 45px;"> <div class="fn-bgx bg-main-2 hd" style="cursor: default"> <h4> <%= DefineEnum.????????????????????????.Define() %> </h4> <a title="<%= DefineEnum.???.Define() %>" hidefocus="true" class="fn-bg Aclose" href="#close" onclick="this.parentNode.parentNode.style.display='none';return false;"> <%= DefineEnum.???.Define() %></a> </div> <div class="cont bdr-c-dark"> <div class="gSys-inner-dict"> <form id="frmViewDefine" action="" onsubmit="return false;"> <div class="result bdr-c-mid"> <div class="inside"> <%= new HtmlHidden("KEY",KEY) %> <ul id="ulViewDefine"> <% Type t = typeof(AVA.ResourcesPlatform.AdminUI.Pub.Notice.List1); var list = UserControlDefine.GetListViewDefine(UserCode, t.FullName, AVA.ResourcesPlatform.AdminUI.Pub.Notice.List1.LISTRPT); foreach (var item in list) { %> <li> <%= new HtmlHidden("Column", item.ColumnName)%> <%= new HtmlCheckBox() { Name = "Sel", Checked = item.Selected, Value=1, UnValue=0, Disabled = item.Require }%> <%= new HtmlHidden() { Name = "Sort", Value=item.SortNumber }%> <%= item.ColumnDescription %> </li> <% } %> </ul> </div> </div> <div class="ft bdr-c-dark bg-cont"> <div class="sup"> </div> <div class="opt"> <div onclick="ViewDefine(this);" class="btn btn-dft btn-dft-impt"> <span> <%= DefineEnum.????.Define() %></span></div> <div onclick="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display='none';return false;" class="btn btn-dft"> <span id="txtMsgBoxOk"> <%= DefineEnum.????.Define() %></span></div> </div> </div> </form> </div> </div> </div> <div style="clear: both"> </div> <div id="divSearch" class="gSys-msg-win search" style="display: none; top: 72px; margin: 0 auto;"> <div id="dvMsgHead" class="fn-bgx bg-main-2 hd"> <h4> <%= DefineEnum.????????.Define() %></h4> <a title="<%= DefineEnum.????.Define() %>" hidefocus="true" class="fn-bg Aclose" id="A1" href="#close" onclick="this.parentNode.parentNode.style.display='none';return false;"> <%= DefineEnum.???.Define() %></a> </div> <div class="cont bdr-c-dark"> <div class="gSys-inner-dict"> <form id="frmAdvancedQuery" action="" onsubmit="return false;"> <div class="result bdr-c-mid"> <div class="inside"> <div> <table style="width: 100%" cellpadding="0px" cellspacing="0px" class="g-table-comm"> <tr class="thead"> <th style="border-left-width: 0px;"> ??? </th> <th> ??? </th> <th> ??? </th> <th> ???? </th> <th> ??? </th> <th> ??? </th> <th align="left" style="width: 120px; text-align: left;"> <div title="" onclick="AddQueryParameter(this);" class="btn btn-dft"> <span> <%= DefineEnum.???.Define() %></span></div> </th> </tr> </table> </div> </div> </div> <div class="ft bdr-c-dark bg-cont"> <div class="sup"> </div> <div class="opt"> <%= new HtmlSubmit("Send", null, "AdvancedSearch(this);") { Class = "hidden" }%> <div title="" onclick="AdvancedSearch(this);" class="btn btn-dft btn-dft-impt"> <span> <%= DefineEnum.????.Define() %></span></div> <div id="Div2" title="" onclick="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display='none';return false;" class="btn btn-dft"> <span id="Span1"> <%= DefineEnum.????.Define() %></span></div> </div> </div> </form> </div> </div> </div> </div></div></div></div></body> </html> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/Global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/NoticeAjax.js")%> <%= Import.Script("js", "/Ajax/Sys/ManagerViewDefineAjax.js")%> <script type="text/javascript"> //?????? </script> <script type="text/javascript"> function GetAdvancedQueryParams(send) { $("#frmSearch [name='$FieldValue']").val(""); $("#SearchParameter").val(Global.GetFormValue($("#frmAdvancedQuery"))); Search(); } function AddQueryParameter(send) { Global.HtmlControl("/Pub/Notice/QueryParameterContainer", null, send, function (result) { $(send).parent().parent().after(result.Html); }); } function GetQueryParamter(send) { Global.HtmlControl("/Pub/Notice/QueryParameter", "Key=" + encodeURIComponent(send.value), send, function (result) { $(send).parent().find("div").html(result.Html); Global.HtmlControl("/QueryTypeContainer", "Key=" + encodeURIComponent($(send).parent().find("div [name='$FieldType']").val()), send, function (resultFieldType) { $(send).parent().parent().find(".queryTypeContainer").html(resultFieldType.Html); }); var dicKey = $(send).find("option:selected").attr("lang"); if (typeof(dicKey) != "undefined" && dicKey != "") { Global.HtmlControl("/Pub/Notice/QueryParameterDictionary", "Key=" + encodeURIComponent(dicKey), send, function (resultDictionary) { $(send).parent().parent().find(".fieldContainer").html(resultDictionary.Html); }); } else { $(send).parent().parent().find(".fieldContainer").html("<input type=\"text\" name=\"$FieldValue\" />"); } }); } function DeleteQueryParameter(send) { $(send).parent().parent().remove(); } </script> <script type="text/javascript"> //??????AJAX??? //??? function GoSearch(send) { $("#SearchParameter").val(Global.GetFormValue($("#frmSearch"))); Search(send); } function AdvancedSearch(send) { $("#frmSearch [name='$FieldValue']").val(""); $("#SearchParameter").val(Global.GetFormValue($("#frmAdvancedQuery"))); Search(); } function Search(send) { $("#divSearch").hide(); var params = $("#SearchParameter").val(); if (params != null && params != "") { params += "&"; } params += Global.GetFormValue($("#frmQuery")); $("#list").html(Global.LodingHtml); Global.UserControl("/Pub/Notice/List", params, send, function (result) { $("#list").html(result.Html); YKPage(result.Data); ListInit(); }); }; //??? function Delete(send) { var key = send.getAttribute("key"); NoticeAjax.Delete(key, send, function () { Search(); }); }; //?????? function BatchDelete(send, key) { NoticeAjax.BatchDelete(key, null, function () { Search(); }); }; </script> <script type="text/javascript"> //?????? </script> <script type="text/javascript"> //?????? </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de