<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>管理员修改</title>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/common.css?v=677"/>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/right.css?v=77"/>
        <script type="text/javascript" src="/salary/Public/style/js/jquery.min.js"></script> 
        <script type="text/ecmascript" src="<?php echo ADMIN_PUC ?>/js/common.js"></script>
		  <style type="text/css">
			
			   .lanmu-content textarea{
             	float: left;
             	width: 800px;
             	height: 500px;
             	outline: none;
           }
		   
		  .keyshow{
				 width:30px;
				 height:35px;
				 background-image:url(<?php echo ADMIN_PUC ?>/img/noeye.png);border:none;outline:none;                
				 background-color:#ffffff;
				 margin-left:5px;
				 }  

		   
		</style>
	</head>
	<body>
		<div class="content">
			<div class="column-name">
				<div class="lmlb">
                  <span style="display:inline-block;float:left;width:7px;height:20px;background:#0096ca;margin-right:7px;"></span>
                  <span>管理员修改</span>
                </div>
		</div>
	   <form method="post" action="" enctype="multipart/form-data">
        <input type="hidden" name="ad_id" value="<?php echo ($conf["ad_id"]); ?>"/> 
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="lanmu-title" width="10%">管理员名称</td>
				<td class="lanmu-luru"><input type="text" name="ad_name" id="" value="<?php echo ($conf["ad_name"]); ?>" style="cursor:text;"/></td>
			</tr>
			<tr>
				<td class="lanmu-title" width="10%">管理员密码</td>
				<td class="lanmu-luru"  style="text-align:left;">
                <input type="password" name="ad_password" id="password" value="<?php echo ($conf["ad_password"]); ?>" style="cursor:text;"/>
                <button type="button" id="show" class="keyshow"></button>
                </td>
			</tr>
            <tr>
				<td colspan="2" class="tijiao" style="text-align:center;">
                  <input id="inp_name" class="input_out" type="submit" value="确定修改"  onmousemove="this.className='input_move'" 
onmouseout="this.className='input_out'" style="outline:none;"></input>
                </td>
		   </tr>
		</table>
      </form>
	</body>
</html>
<script>
  my$("show").onclick=function(){
	  if(my$("password").type!="text"){
		  my$("password").type="text";
		  my$("show").style.backgroundImage="url('<?php echo ADMIN_PUC ?>img/eye.png')";
		  }else{
		  my$("password").type="password";
		  my$("show").style.backgroundImage="url('<?php echo ADMIN_PUC ?>img/noeye.png')";	  
			  }
	  };

</script>