| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" | 
					
						
							|  |  |  |  |     CodeFile="AuthorityMain.aspx.cs" Inherits="ajax.Dict.AuthorityMain" %> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> | 
					
						
							|  |  |  |  | <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" | 
					
						
							|  |  |  |  |     Namespace="System.Web.UI" TagPrefix="asp" %> | 
					
						
							|  |  |  |  | <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> | 
					
						
							|  |  |  |  |     <table width="100%" class="Table_NoBorder"> | 
					
						
							|  |  |  |  |         <tr> | 
					
						
							|  |  |  |  |             <td> | 
					
						
							|  |  |  |  |                 <table width="100%" class="Table_Border"> | 
					
						
							|  |  |  |  |                     <tr> | 
					
						
							|  |  |  |  |                         <td width="100" height="200" align="left" valign="top" > | 
					
						
							|  |  |  |  |                             <asp:TreeView ID="TreeAuth" runat="server" ShowLines="True" ImageSet="Arrows"  OnSelectedNodeChanged="TreeAuth_SelectedNodeChanged1"> | 
					
						
							|  |  |  |  |                                 <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" /> | 
					
						
							|  |  |  |  |                                 <Nodes> | 
					
						
							|  |  |  |  |                                     <asp:TreeNode Text="<22><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>" Selected="True" Value="0" Expanded="True"></asp:TreeNode> | 
					
						
							|  |  |  |  |                                 </Nodes> | 
					
						
							|  |  |  |  |                             </asp:TreeView> | 
					
						
							|  |  |  |  |                         </td> | 
					
						
							|  |  |  |  |                         <td width="1" class="VLine"> | 
					
						
							|  |  |  |  |                         </td> | 
					
						
							|  |  |  |  |                         <td width="85%" align="left" valign="top"> | 
					
						
							|  |  |  |  |                             <!------ THE DATA GRID AREA ------> | 
					
						
							|  |  |  |  |                             <asp:Label ID="lbDataGridTitle" Visible="false" runat="server" CssClass="Label" Text="Ȩ<><C8A8>ά<EFBFBD><CEAC>" /> | 
					
						
							|  |  |  |  |                             <asp:Label ID="lbEdit" runat="server" CssClass="Label" Visible="false" Text="" /> | 
					
						
							|  |  |  |  |                             <asp:GridView ID="GridView1" CssClass="DataGrid" PageSize="10" PagerStyle-HorizontalAlign="Right" | 
					
						
							|  |  |  |  |                                 runat="server" AutoGenerateColumns="False" DataKeyNames="ID" OnRowDeleting="GridView1_RowDeleting" | 
					
						
							|  |  |  |  |                                 AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnSorting="GridView1_Sorting" | 
					
						
							|  |  |  |  |                                 OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Width="100%" ShowFooter="True" | 
					
						
							|  |  |  |  |                                 EmptyDataText='û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>' OnRowDataBound="GridView1_RowDataBound1"> | 
					
						
							|  |  |  |  |                                 <SelectedRowStyle CssClass="SelectedItemStyle"></SelectedRowStyle> | 
					
						
							|  |  |  |  |                                 <HeaderStyle CssClass="HeaderStyle" HorizontalAlign="Center"></HeaderStyle> | 
					
						
							|  |  |  |  |                                 <RowStyle CssClass="ItemStyle" HorizontalAlign="Center"></RowStyle> | 
					
						
							|  |  |  |  |                                 <AlternatingRowStyle CssClass="AlternatingItemStyle"></AlternatingRowStyle> | 
					
						
							|  |  |  |  |                                 <Columns> | 
					
						
							|  |  |  |  |                                     <asp:BoundField ReadOnly="True" DataField="ID" Visible="false" HeaderText="Ȩ<><C8A8>id" | 
					
						
							|  |  |  |  |                                         SortExpression="ID"></asp:BoundField> | 
					
						
							|  |  |  |  |                                     <asp:BoundField DataField="AUTH_NAME" HeaderText="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SortExpression="DEP_NAME"> | 
					
						
							|  |  |  |  |                                      <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							|  |  |  |  |                                   | 
					
						
							|  |  |  |  |                                     <asp:BoundField DataField="AUTH_LINK" HeaderText="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SortExpression="AUTH_LINK"> | 
					
						
							|  |  |  |  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							|  |  |  |  |                                      <asp:BoundField DataField="AUTH_CLASS" HeaderText="<22>Ӵ<EFBFBD><D3B4><EFBFBD><EFBFBD><EFBFBD>" SortExpression="AUTH_CLASS"> | 
					
						
							|  |  |  |  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							|  |  |  |  |                                     <asp:BoundField DataField="AUTH_PUBLIC" HeaderText="<22><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>" SortExpression="AUTH_PUBLIC"> | 
					
						
							|  |  |  |  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							|  |  |  |  |                                      <asp:BoundField DataField="AUTH_SPECIAL" HeaderText="<22><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>" SortExpression="AUTH_SPECIAL"> | 
					
						
							|  |  |  |  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							| 
									
										
										
										
											2024-03-06 20:48:05 +08:00
										 |  |  |  |                                        <asp:BoundField DataField="AUTH_ORDER" HeaderText="Ȩ<>ޱ<EFBFBD><DEB1><EFBFBD>" SortExpression="DEP_CODE"> | 
					
						
							|  |  |  |  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |                                        <asp:BoundField DataField="AUTH_DESC" HeaderText="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" SortExpression="DEP_CODE"> | 
					
						
							|  |  |  |  |                                         <ItemStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                         <HeaderStyle Wrap="False" HorizontalAlign="Center"/> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							|  |  |  |  |                                     <asp:BoundField DataField="dr" HeaderText="<22><><EFBFBD><EFBFBD>" SortExpression="dr" Visible="False"> | 
					
						
							|  |  |  |  |                                     </asp:BoundField> | 
					
						
							|  |  |  |  |                                     <asp:CommandField HeaderText="<22>ࡡ<EFBFBD><E0A1A1>" ShowDeleteButton="True"  DeleteText=""   | 
					
						
							|  |  |  |  |                                         ShowHeader="True" ShowSelectButton="True" SelectText="<img src=../Images/edit.gif border=0 title=<3D><EFBFBD>  >"> | 
					
						
							|  |  |  |  |                                         <HeaderStyle HorizontalAlign="Center" Wrap="False" /> | 
					
						
							|  |  |  |  |                                         <ItemStyle HorizontalAlign="Center" Wrap="False" /> | 
					
						
							|  |  |  |  |                                         | 
					
						
							|  |  |  |  |                                     </asp:CommandField> | 
					
						
							|  |  |  |  |                                 </Columns>  | 
					
						
							|  |  |  |  |                                 <PagerStyle HorizontalAlign="Right" /> | 
					
						
							|  |  |  |  |                                 <EmptyDataTemplate> | 
					
						
							|  |  |  |  |                                     û<><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD></EmptyDataTemplate> | 
					
						
							|  |  |  |  |                             </asp:GridView><!--DeleteText="" <img src=../Images/Delete.gif border=0 title=ɾ<><C9BE> onclick='return delete_click()'>--> | 
					
						
							|  |  |  |  |                             <asp:Button ID="btn_addNew" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼" CssClass="Button" OnClick="btnAddnew_Click" /> | 
					
						
							|  |  |  |  |                             <asp:Panel ID="DataDetail" runat="server" Width="100%" Visible="false"> | 
					
						
							|  |  |  |  |                                 <!------ THE ADD /DELETE AREA ------> | 
					
						
							|  |  |  |  |                                 <table class="Table_NoBorder" width="90%"> | 
					
						
							|  |  |  |  |                                     <tr> | 
					
						
							|  |  |  |  |                                         <td colspan="6" class="ALine"> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                     </tr> | 
					
						
							|  |  |  |  |                                     <tr> | 
					
						
							|  |  |  |  |                                         <td nowrap> | 
					
						
							|  |  |  |  |                                             <asp:Label ID="Label2" runat="server" CssClass="Label" Text="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Label> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td> | 
					
						
							|  |  |  |  |                                             <asp:TextBox ID="txtName" runat="server" CssClass="TextBox" MaxLength="25"></asp:TextBox> | 
					
						
							|  |  |  |  |                                             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName" | 
					
						
							|  |  |  |  |                                                 ErrorMessage="*"><3E><></asp:RequiredFieldValidator> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td nowrap> | 
					
						
							|  |  |  |  |                                             <asp:Label ID="Label5" runat="server" CssClass="Label" Text="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Label> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td > | 
					
						
							|  |  |  |  |                                             <asp:TextBox ID="txtLink" CssClass="TextBox" runat="server" MaxLength="400" Width="200px"></asp:TextBox> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td nowrap> | 
					
						
							|  |  |  |  |                                             <asp:Label ID="Label4" runat="server" CssClass="Label" Text="<22>Ӵ<EFBFBD><D3B4><EFBFBD><EFBFBD><EFBFBD>"></asp:Label> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td > | 
					
						
							|  |  |  |  |                                             <asp:TextBox ID="txtFormClass" CssClass="TextBox" runat="server" MaxLength="200" Width="200px"></asp:TextBox> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                     </tr> | 
					
						
							|  |  |  |  |                                     <tr> | 
					
						
							|  |  |  |  |                                         | 
					
						
							|  |  |  |  |                                         <td> | 
					
						
							|  |  |  |  |                                                <asp:CheckBox ID="chkPublic" Text="<22><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>" runat="server"></asp:CheckBox> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td> | 
					
						
							|  |  |  |  |                                              | 
					
						
							|  |  |  |  |                                                 <asp:CheckBox ID="chkSpecial" runat="server"   Text="<22><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>" ></asp:CheckBox> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td> | 
					
						
							|  |  |  |  |                                             <asp:Label ID="Label1" runat="server" CssClass="Label" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ"></asp:Label> | 
					
						
							|  |  |  |  |                                          | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td> | 
					
						
							|  |  |  |  |                                             <asp:CheckBox ID="chkPublicInfo" runat="server" OnCheckedChanged="chkPublicInfo_CheckedChanged" | 
					
						
							|  |  |  |  |                                                 AutoPostBack="true"></asp:CheckBox> | 
					
						
							|  |  |  |  |                                             <asp:CheckBox ID="chkAlert" runat="server" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:CheckBox> | 
					
						
							| 
									
										
										
										
											2024-03-06 20:48:05 +08:00
										 |  |  |  |                                                <asp:CheckBox ID="chkEnable" runat="server" Text="<22><><EFBFBD><EFBFBD>"></asp:CheckBox> | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                          <td> | 
					
						
							|  |  |  |  |                                             <asp:Label ID="Label3" runat="server" CssClass="Label" Text="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"></asp:Label> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td  > | 
					
						
							|  |  |  |  |                                             <asp:TextBox ID="txtDesc" CssClass="Long_TextBox" runat="server" MaxLength="50"  | 
					
						
							|  |  |  |  |                                                 Width="200px" ></asp:TextBox> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                     </tr> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |                                     <tr> | 
					
						
							|  |  |  |  |                                          | 
					
						
							|  |  |  |  |                                          <td> | 
					
						
							|  |  |  |  |                                             <asp:Label ID="Label6" runat="server" CssClass="Label" Text="<22><>ǩ<EFBFBD><C7A9><EFBFBD><EFBFBD>"></asp:Label> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td  > | 
					
						
							|  |  |  |  |                                             <asp:TextBox ID="txtOrder" CssClass="TextBox" runat="server" MaxLength="5"  | 
					
						
							|  |  |  |  |                                                 Width="100px" ></asp:TextBox> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                         <td colspan="4" class="ALine"> | 
					
						
							|  |  |  |  |                                     </tr> | 
					
						
							|  |  |  |  |                                     <tr> | 
					
						
							|  |  |  |  |                                         <td colspan="6" class="ALine"> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                     </tr> | 
					
						
							|  |  |  |  |                                     <tr> | 
					
						
							|  |  |  |  |                                         <td align="center" colspan="6"> | 
					
						
							|  |  |  |  |                                              <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnSubmit_Click" /> | 
					
						
							|  |  |  |  |                                         </td> | 
					
						
							|  |  |  |  |                                     </tr> | 
					
						
							|  |  |  |  |                                 </table> | 
					
						
							|  |  |  |  |                             </asp:Panel> | 
					
						
							|  |  |  |  |                         </td> | 
					
						
							|  |  |  |  |                     </tr> | 
					
						
							|  |  |  |  |                 </table> | 
					
						
							|  |  |  |  |             </td> | 
					
						
							|  |  |  |  |         </tr> | 
					
						
							|  |  |  |  |     </table> | 
					
						
							|  |  |  |  | </asp:Content> |