<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin__Admin_AdminPassword, WebApp_deploy" title="管理员密码修改" enableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<script src="Js/tabpane.js"  type="text/javascript"></script> 
<table class="adminheading" border="0">                       
   <tr>
      <th class="user" nowrap="nowrap">
         修改密码</th>
   </tr>                        
</table>
    
  <div class="tab-page" id="AdminAdministrator">  
    <script type="text/javascript">
       var tabPane1 = new WebFXTabPane( document.getElementById( "AdminAdministrator" ), 1 )
    </script> 
   
         
      <div class="tab-page" id="chanagepwd" style="top:0;">
           <h2 class="tab">修改密码</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "chanagepwd" ) );
            </script>

            <table border="0" class="nick" style="clear:both">
            <tr>
              <td class="ltd">管理员名：</td>
              <td class="rtd"><asp:Literal ID="AdminName"  runat="server" /></td>                      
            </tr>
            <tr>
               <td class="ltd">请输入原密码：</td>
               <td class="rtd"><asp:TextBox ID="OldPassword" runat="server" TextMode="Password" /></td>
            </tr>
            <tr>
              <td class="ltd">请输入新密码：</td>
              <td class="rtd"> 
                  <asp:TextBox ID="PassWord1" runat="server"  CssClass="text_area" TextMode="Password"/> 
               </td>                      
            </tr>                  
            <tr>
              <td class="ltd">再次输入密码：</td>
              <td class="rtd">
                  <asp:TextBox ID="PassWord2" runat="server" CssClass="text_area" TextMode="Password"/>
                   <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToValidate="PassWord2" 
                        ControlToCompare="PassWord1"
                        Operator="Equal"
                        ErrorMessage="密码不相同!"/>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="PassWord2"
                        ErrorMessage="请输入确认密码!" />                      
              </td>
            </tr>
            <tr>                      
               <td colspan="2" class="btm">
                   <asp:Button ID="UpdateButton" runat="server" CausesValidation="True"  
                      Text="更新" OnClick="UpdateButton_Click"    />             
                   <input id="UpdateCancelButton" value="取消" type="button" onclick="history.back()"/>
                </td>                       
             </tr>
          </table>
       </div>  
          
       
  
                
</asp:Content>

