<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PasswordChange.aspx.cs" Inherits="K2.Web.Admin.PasswordChange" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
 <head><title>
	新建导航菜单
</title><link href="css/admin.css" type="text/css" rel="stylesheet" charset="utf-8" />
     <link type="text/css" href="js/msgbox/css/msgbox.css" rel="stylesheet" charset="utf-8" />
    <script type="text/javascript" src="js/msgbox/script/msgbox.js"></script>

    
</head>
<body>
    <form id="form1" runat="server">
    <div class="newslistabout">
        <div class="newslist_title">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="borderkuang">
                <tr>
                    <td bgcolor="#FFFFFF" class="newstitle">
                        添加导航菜单
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF" class="newstitlebody">
                       您可以新增导航菜单
                    </td>
                </tr>
            </table>
        </div>
        <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
            <tr>
                <td class="tdbg">
                    <table cellspacing="0" cellpadding="3" width="100%" border="0">
                        
                        <tr>
                            <td class="td_class">
                                请输入原密码：
                            </td>
                            <td>
                                 <asp:TextBox ID="TxtPWY" runat="server" style="height:21px;width:400px;" TextMode="Password" MaxLength="16"></asp:TextBox>
                            </td>
                        </tr>
                          <tr>
                            <td class="td_class">
                                新密码：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtPW1" runat="server" style="height:21px;width:400px;" TextMode="Password" MaxLength="16"></asp:TextBox>
                            </td>
                        </tr>
                       
                       
                        <tr>
                            <td class="td_class">
                               新密码确认：
                            </td>
                            <td>
                                
                                  <asp:TextBox ID="TxtPW2" runat="server" style="height:21px;width:400px;" TextMode="Password" MaxLength="16"></asp:TextBox>
                            </td>
                        </tr>
                        
                        
                      
                       
                       
                        
                        <tr>
                            <td class="td_class">
                            </td>
                            <td height="25">

                                <asp:Button ID="BtnSave" runat="server" Text="确定" class="adminsubmit_short"  OnClientClick=" return check()"
                                    onclick="BtnSave_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <br />
    </div>
    <script  type="text/javascript">
    function check()
    {
    
        var pw=document.getElementById('TxtPWY').value;
        var pw1=document.getElementById('TxtPW1').value;
        var pw2=document.getElementById('TxtPW2').value;
        if(pw=="")
        {
            ShowFailTip("原密码不可以为空");
            return false;
        }
         if(pw1=="")
        {
            ShowFailTip("新密码不可以为空");
            return false;
        }
         if(pw2=="")
        {
            ShowFailTip("新密码确认不可以为空");
            return false;
        }
        if(pw1!=pw2)
        {
            ShowFailTip("两次密码输入不相同，请重新输入。");
            return false;
        }
        
        return true;
        
    }
    </script>
    </form>
</body>
</html>
