<?php /* Smarty version 2.6.17, created on 2018-05-16 19:16:11
         compiled from admin/backUser/mp.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php if (! $this->_tpl_vars['errMsg'] || $this->_tpl_vars['errMsg']['ok'] == 1): ?>
<?php if ($this->_tpl_vars['errMsg']['ok'] == 1): ?>
<div class="tip_message_fail"><?php echo $this->_tpl_vars['errMsg']['msg']; ?>
</div>
<?php endif; ?>
<form method="post" action="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
/?c=admin_backUser&a=MP&uid=<?php echo $this->_tpl_vars['user']['uid']; ?>
" style="">
	<div class="form-group">
		<label class="control-label">用户名:</label>
		<?php echo $this->_tpl_vars['user']['name']; ?>

	</div>
	<div class="form-group">
		<label class="control-label">密码:</label>
		<input name="password" type="password" style="max-width:250px;">
	</div>
	<div class="form-group">
		<label><input name="auto_generate" type="checkbox" value="1" > 自动生成密码</label>
	</div>
	<div class="form-group">
		<div class="col-sm-offset-3 col-sm-7">
		<button class="button button-primary button-small">保存</button>
		</div>
	</div>
</form>
<?php endif; ?>
<?php if ($this->_tpl_vars['errMsg']['ok'] == 2): ?>
<div class="tip_message_success"><?php echo $this->_tpl_vars['errMsg']['msg']; ?>
</div>
<div class="form-group">
		<label class="control-label">用户名:</label>
		<?php echo $this->_tpl_vars['user']['name']; ?>

	</div>
	<div class="form-group">
		<label class="control-label">密码:</label>
		<?php echo $this->_tpl_vars['password']; ?>

	</div>
<?php endif; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>