<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PasswordModify.aspx.cs"
    Inherits="YCHR.Web.person.PasswordModify" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>密码修改＿个人求职中心_易辰人才招聘系统</title>
    <link rel="stylesheet" type="text/css" href="<%=config.templatetheme%>/css/member.css" />
    <script language="JavaScript" src="<%=config.templatetheme%>/js/jquery.js"></script>
    <script type="text/javascript" src="<%=config.templatetheme%>/js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="<%=config.templatetheme%>/js/jquery.form.js"></script>
    <script type="text/javascript">
        //验证
        $(document).ready(function () {
            $("#form1").validate({
                success: function (label) {
                    label.text(" ").addClass("success")
                },
                rules: {
                    password: { required: true, minlength: 6, maxlength: 18 },
                    password1: { required: true, minlength: 6, maxlength: 18 },
                    password2: { required: true, equalTo: "#password1" }
                },
                messages: {
                    password: { required: "请填写您的旧密码", minlength: jQuery.format("填写不能小于{0}个字符"), maxlength: jQuery.format("填写不能大于{0}个字符") },
                    password1: { required: "请填写您的新密码", minlength: jQuery.format("填写不能小于{0}个字符"), maxlength: jQuery.format("填写不能大于{0}个字符") },
                    password2: { required: "请再输入一次密码", equalTo: "两次输入的密码不同" }
                },
                 
                errorElement: "span",
                errorPlacement: function (error, element) {
                    if (element.is(":radio")) error.appendTo(element.parent().next().next());
                    else if (element.is(":checkbox")) error.appendTo(element.next());
                    else error.appendTo(element.parent())
                }
            })
        });

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <!--head-->
    <!-- #include file="include/head.html" -->
    <!--nav-->
    <div class="navbox">
       <div class="navtab">
            <ul>
                <li><a href="index.aspx">求职中心</a></li>
                <li class="now"><a href="PersonInfoModify.aspx">个人资料</a></li> 
                <li><a href="/news" target="_blank">职场资讯</a></li>
        <li><a href="/jinji" target="_blank">急招职位</a></li>
                <li class="search"><a href="/search/jobsearch.aspx">职位搜索</a></li>
                <li class="add"><a href="resumeList.aspx">发布简历</a></li>
            </ul>
        </div>
    </div>
    <div class="clear">
    </div>
    <!--content-->
    <div class="box">
        <!--menu-->
        <div class="mb_menu">
            <dl>
                <dt style="margin-top: 8px" class="m3"><a href="javascript:void(0);">账户管理</a></dt>
                <dd class="w98"><a href="PersonInfoModify.aspx">我的资料修改</a></dd>
                <dd><a href="PasswordModify.aspx" class="now">登陆密码修改</a></dd>
                <dd><a href="photo.aspx">更新我的形象</a></dd>
                <dd><a href="Safety.aspx">帐号安全认证</a></dd>
            </dl>
        </div>
        <!--right-->
        <div class="navmbs">
            您的位置： <a href="/">首页</a> > <a href="Index.aspx">求职中心</a> > 帐户管理 > 密码修改</div>
        <div class="mb_infoTip" id="infotip">
            <em><a href="javascript:;" onclick="document.getElementById ('infotip').className='none'">
                关闭</a></em>
            <p>
                请牢记您的<i class="ft_red">新密码</i>，以便随时登陆到网站.</p>
        </div>
        <div class="mbbox_r">
            <div class="pad20">
                <table width="100%" cellspacing="1" cellpadding="4" border="0" class="padding3">
                    <tbody>
                        <tr>
                            <td class="ft_13" width="15%" align="right">
                                用户名：
                            </td>
                            <td width="85%">
                                <span style="font-size: 16px; font-weight: bold;">
                                    <asp:Literal ID="ltxusername" runat="server"></asp:Literal>
                                    &nbsp;</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="ft_13" width="15%" align="right">
                                <font color="#ff3300">*</font>输入原密码：
                            </td>
                            <td width="85%">
                                <input name="oldpassword" type="password" id="oldpassword" class="input250" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="ft_13" align="right">
                                <font color="#ff3300">*</font>输入新密码：
                            </td>
                            <td width="85%">
                                <input name="password1" type="password" id="password1" class="input250" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="ft_13" align="right">
                                重复新密码：
                            </td>
                            <td width="85%">
                                <input name="password2" type="password" id="password2" class="input250" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">&nbsp;
                                
                            </td>
                            <td width="85%">
                                <asp:Button ID="Button1" CssClass="btn_set" runat="server" Text="修改密码" OnClick="Button1_Click" />
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <br />
        </div>
        <div class="clear">
        </div>
        <!--content-->
        <div class="clear">
        </div>
    </div>
    <!-- #include file="include/foot.html" -->
    </form>
</body>
</html>
