<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>修改密码</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<link href="<?php echo HOME_PUC ?>css/index.css?v=197" rel="stylesheet" />
        <script type="text/javascript"  src="/salary/Public/laydate/jquery.min.js"></script>
        <style>
		  .title{
			  width:25%;
			  font-size:13px;
              text-align:right;
			  height:45px;
			  }
		   .info{
			  width:75%;
			  height:45px;
			   }
          .info input{
			  width:90%;
			  outline:none;
			  border:none;
			  height:27px;
			  padding-left:10px;
			  }
			  
		  input::-webkit-input-placeholder {
              /* WebKit browsers */
              text-align: left;
              }
          input:-moz-placeholder {
              /* Mozilla Firefox 4 to 18 */
              text-align: left;
              }
          input:-ms-input-placeholder {
               /* Internet Explorer 10 */
               text-align: left;
              }
          input::placeholder {
              text-align: left;
			  padding-left:10px;
              }

			  
		  .tijiao{
			  width:80px;
			  height:30px;
			  font-size:12px;
			  border:none;
			  outline:none;
			  border-radius:5px;
			  background:#ff5900;
			  color:#ffffff;
			  margin-top:15px;
			  }  
        </style>
        <script>
           function checkkey(){
			    if(fkey.value!=skey.value){
					alert("密码不一致");
					fkey.value="";
					skey.value="";
					}
			   }
        
        </script>
	</head>

	<body style="text-align:center">
		
			<div class="h-bg"><a href="/salary/index.php/Home/admin/logout"><img src="<?php echo HOME_PUC ?>img/out.png"/></a></div>
			<div class="h-bt">
			   <ul>
			   	  <li><a href="/salary/index.php/Home/Index/index" style="text-decoration:none;color:#ffffff;"><b>我的首页</b></a></li>
			      <li><a href="/salary/index.php/Home/Index/lst" style="text-decoration:none;color:#ffffff;"><b>工资查询</b></a></li>
                  <li><a href="/salary/index.php/Home/Admin/index" style="text-decoration:none;color:#ffffff;"><b>修改密码</b></a></li>
			   </ul>
			</div>
            <form action="" method="post" enctype="multipart/form-data">
               <input type="hidden" name="mem_id" value="<?php echo ($result["mem_id"]); ?>"/>
			<div class="gzzs">
               <table style="width:100%">
                  <tr>
                    <td class="title">新&nbsp;密&nbsp;码</td>
                    <td class="info"><input type="text" placeholder="请输入新密码" name="old_password" id="fkey" value="" /></td>
                  </tr>
                  <tr>
                    <td class="title">确认新密码</td>
                    <td class="info"><input type="text" placeholder="确认新密码"  name="mem_password" id="skey" value=""  onblur=""/></td>
                  </tr>
               </table>
               <input type="submit" value="确认修改" class="tijiao" />
			</div>
            </form>
	</body>

</html>
<script type="text/javascript">

    $(document).ready(function(){  
        $(".h-bt li a").each(function(){  
            $this = $(this);  
            if($this[0].href==String(window.location)){ 
                $(".h-bt li").removeClass("activee");
                $this.parent().addClass("activee");  //active表示被选中效果的类名   
            } 
        });  
    }); 
</script>