<?php echo $this->fetch('admin_head.htm'); ?>
<?php echo $this->fetch('nav.htm'); ?>

<div class="span10">
	  
		  <div class="page-header">
            <h3>新建用户</h3>
          </div>
		  
          <div class="row-fluid">
            <div class="span12">
	  
	  
	  
	  <form class="form-horizontal" method="post" action="?action=user&do=add">
	  
			<div class="control-group">
            <label for="input01" class="control-label">用户名：</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="username">
            </div>
          </div>
			
		<div class="control-group">
            <label for="input01" class="control-label">用户组：</label>
            <div class="controls">
              <select name="roleid">
				<option value ="2">普通用户</option>
				<option value="1">管理员</option>
			  </select>
            </div>
          </div>

          <div class="control-group">
            <label for="input01" class="control-label">密&nbsp;&nbsp;&nbsp;码：</label>
            <div class="controls">
              <input type="password" id="input01" class="input-xlarge" name="password">
            </div>
          </div>


		   <div class="control-group">
            <label for="input01" class="control-label">再次密码：</label>
            <div class="controls">
              <input type="password" id="input01" class="input-xlarge" name="password2">
            </div>
          </div>
		  
			<div class="form-actions">
            <button class="btn btn-success" type="submit">保存</button>
			   <a class="btn" href="?action=user"><i class="icon-share"></i> 返回</a>		
          </div>   	
      </form>
		  
		  
	   
            </div>
          </div>
		  
		  
        </div>

		
<?php echo $this->fetch('admin_foot.htm'); ?>