<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="passwordmod.aspx.cs" Inherits="YCHR.Web.newhr.passwordmod" %>
<!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>密码修改-<%=config.sitename %></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: { oldpassword: { required: true, minlength: 6, maxlength: 18 },
                    password1: { required: true, minlength: 6, maxlength: 18 },
                    password2: { required: true, equalTo: "#password1" }
                },
                messages: {

                    oldpassword: { 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>
<!--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="companyinfomodify.aspx">企业资料</a></li>
      <li><a href="account.aspx">我的账户</a></li>
      <li><a href="server_buy.aspx">增值服务</a></li>
      <li><a href="/resume" target="_blank">最新人才库</a></li>
      <li class="search"><a href="resumesearch.aspx">简历搜索</a></li>
      <li class="add"><a href="addjobs.aspx">发布职位</a></li>
    </ul>
  </div>
</div>
<div class="clear"> </div>
<!--content-->
<div class="box">
  <!--menu-->
  <div class="mb_menu">
    <dl>
      <dt class="m1"><a href="javascript:void(0);">我的资料</a></dt>
      <dd> <a href="companyinfomodify.aspx">基本资料</a></dd>
      <dd> <a href="CompanyLicence.aspx">营业执照</a></dd>
      <dd> <a href="Companylogo.aspx">企业标志</a></dd>
      <dd> <a href="linkman.aspx">联系人管理</a></dd>
      <dd> <a href="baidumap.aspx">电子地图</a></dd>
      <dd> <a href="passwordmod.aspx" class="now">密码修改</a></dd>
    </dl>
    <div class="ad200"> <img src="<%=config.templatetheme%>/images/member/ad2.gif" width="198" height="70" alt="ad2" /></div>
  </div>
  <!--right-->
  <div class="navmbs"> 您的位置： <a href="/">网站首页</a> > <a href="/hr">招聘中心</a> > 密码修改</div>
  <div class="mbbox_r">
    <h3> <em>请牢记您的新密码</em> <strong>密码修改</strong></h3>
    <form id="form1" name="form1" method="post">
      <table width="100%" cellspacing="10" cellpadding="0" border="0" bgcolor="#ffffff"
                class="tab">
        <tbody>
          <tr>
            <td width="15%" align="right" class="ft_13"> 用户名 </td>
            <td width="85%"><span style="font-size: 16px; font-weight: bold;"><%=page_username%></span></td>
          </tr>
          <tr>
            <td width="15%" align="right" class="ft_13"><font color="#ff3300">* </font>输入原密码 </td>
            <td width="85%"><input type="password" id="oldpassword" name="oldpassword" class="input250" value=""></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="right" class="ft_13"><font color="#ff3300">*</font> 输入新密码 </td>
            <td width="85%"><input type="password" id="password1" name="password1" class="input250" value=""></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="right" class="ft_13"> 重复新密码 </td>
            <td width="85%"><input type="password" id="password2" name="password2" class="input250" value=""></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td width="15%" align="right" class="ft_13">&nbsp;</td>
            <td width="85%"><input id="btnsave" class="btn_blue" name="btnsave" type="submit" value="修改密码" /></td>
          </tr>
        </tbody>
      </table>
    </form>
    <br />
    <!--content-->
  </div>
  <div class="clear"> </div>
</div>
<!-- #include file="include/foot.html" -->
</body>
</html>
