<?php /* Smarty version Smarty-3.0.8, created on 2015-01-08 11:45:52
         compiled from "D:\www\possystem/tpl\edituser.html" */ ?>
<?php /*%%SmartyHeaderCode:508654adfd7005f347-28972201%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dd7a3574fafb601a3fac1981fc5b82f5d0b54af6' => 
    array (
      0 => 'D:\\www\\possystem/tpl\\edituser.html',
      1 => 1420688749,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '508654adfd7005f347-28972201',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
    <meta name="author" content="梦想瞬智网络科技技术支持" />
	<title>修改帐号</title>
<link rel="stylesheet" href="./css/bootstrap.min.css"/>
<link rel="stylesheet" href="./css/bootstrap-theme.min.css"/>
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/jquery-1.8.3.js"></script>
<script type="text/javascript">
$(document).ready(function(){ 
	$('#user').click(function(){ 
		$.getJSON("<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'myajax','a'=>'check'),$_smarty_tpl);?>
", { 'us_name': $('#us_name').val() }, function(json){
			alert (json.status); 
		}); 
	});
});
</script>
</head>
<body>
<div style="margin-top:10px;width: 98%;margin-left: auto;margin-right: auto;">
<div style="height: 35;line-height: 35px;background: #E4EEFA;margin-bottom: 10px;"><b><span style="margin-left: 10px;font-family: 微软雅黑;font-size: 18px;">修改帐号</span></b></div>
<form action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'editusergo'),$_smarty_tpl);?>
" method="POST" class="form-inline">
<table class="table  table-bordered">
  <tbody>
           <tr>
      <td style="width: 200px;">帐号权限：</td>
      <td><select name="acl">
      <option value="<?php echo $_smarty_tpl->getVariable('user')->value['acl'];?>
">不修改</option>
<option value="khmanager">客户经理</option>
<option value="cpmanager">产品经理</option>
</select><span style="color: red;">&nbsp;&nbsp;*&nbsp;&nbsp;不修改角色权限，请勿改动，默认原始</span></td>
    </tr>
                     <tr>
      <td style="width: 200px;">商户编号：</td>
      <td><input type="text" name="us_num" id="us_num" placeholder="必填" value="<?php echo $_smarty_tpl->getVariable('user')->value['us_num'];?>
"/>&nbsp;&nbsp;<span style="color: red;">*</span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="Submit2" value="检查编号是否重复" id="usernum" class="btn"/></td>
    </tr>
    <script type="text/javascript">
$(document).ready(function(){ 
	$('#usernum').click(function(){ 
		$.getJSON("<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'myajax','a'=>'checkk'),$_smarty_tpl);?>
", { 'us_num': $('#us_num').val() }, function(json){
			alert (json.status); 
		}); 
	});
});
</script>
    <tr>
      <td style="width: 200px;">帐号：</td>
      <td><input type="text" name="us_name" id="us_name" placeholder="必填" value="<?php echo $_smarty_tpl->getVariable('user')->value['us_name'];?>
"  disabled="disabled"/>&nbsp;&nbsp;<span style="color: red;">*&nbsp;&nbsp;帐号不可修改！</span></td>
    </tr>
     <tr>
      <td style="width: 200px;">密码：</td>
      <td><input type="password" name="us_password" placeholder="必填" value="<?php echo $_smarty_tpl->getVariable('user')->value['us_password'];?>
"/>&nbsp;&nbsp;<span style="color: red;">*&nbsp;&nbsp;如不需要修改，请勿改动！</span></td>
    </tr>
         <tr>
      <td style="width: 200px;">商户名：</td>
      <td><input type="text" name="us_nickname" value="<?php echo $_smarty_tpl->getVariable('user')->value['us_nickname'];?>
"/></td>
    </tr>
                 <tr>
      <td style="width: 200px;">联系人：</td>
      <td><input type="text" name="us_who" value="<?php echo $_smarty_tpl->getVariable('user')->value['us_who'];?>
"/></td>
    </tr>
  </tbody>
</table>
<input type="hidden" name="us_id" value="<?php echo $_smarty_tpl->getVariable('user')->value['us_id'];?>
"/>
<p style="text-align: center"><input type="submit" value="确认修改" class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="取消重填" class="btn"/></p>
</form>
</div>
</body>
</html>