<?php /* Smarty version Smarty-3.0.8, created on 2015-01-08 11:54:32
         compiled from "D:\www\possystem/tpl\adduser.html" */ ?>
<?php /*%%SmartyHeaderCode:1621954adff78b81951-15407118%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dc69054601676157bc2e162df4c242e0087889c3' => 
    array (
      0 => 'D:\\www\\possystem/tpl\\adduser.html',
      1 => 1420689270,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1621954adff78b81951-15407118',
  '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'=>'addusergo'),$_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="khmanager">客户经理</option>
<option value="cpmanager">产品经理</option>
</select></td>
    </tr>
                     <tr>
      <td style="width: 200px;">商户编号：</td>
      <td><input type="text" name="us_num" id="us_num" placeholder="必填"/>&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="必填"/>&nbsp;&nbsp;<span style="color: red;">*</span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="Submit2" value="检查帐号是否重复" id="user" class="btn"/></td>
    </tr>
     <tr>
      <td style="width: 200px;">密码：</td>
      <td><input type="password" name="us_password" placeholder="必填" value="123456"/><span style="color: red;">&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;初始密码：123456</span></td>
    </tr>
         <tr>
      <td style="width: 200px;">商户名：</td>
      <td><input type="text" name="us_nickname"/></td>
    </tr>
                 <tr>
      <td style="width: 200px;">联系人：</td>
      <td><input type="text" name="us_who"/></td>
    </tr>
  </tbody>
</table>
<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>