<div class="row-fluid">
  <div class="span2">
  
<?php echo $nav_view; ?>
  
  </div>
  <div class="span10" style="padding-right:20px;">
  	<?php if(!empty($un_active_list)){ ?>
  	<legend>待审核作者</legend>
  		<table class="table table-striped">
		  <thead>
			<tr>
			  <th class="span1">用户ID</th>
			  <th class="span2">名字</th>
			  <th class="span2">中文名</th>
			  <th class="span1">性别</th>
			  <th class="span2">邮箱</th>
			  <th class="span2">注册时间</th>
			  <th class="span1">站点</th>
			  <th class="span1">操作</th>
			</tr>
		  </thead>
		  <tbody>
		  <?php foreach($un_active_list as $a){ ?>
			<tr class="info">
			  <td><?php echo $a->a_id; ?></td>
			  <td><?php echo $a->a_name; ?></td>
			  <td><?php echo $a->a_name_cn; ?></td>
			  <td><?php echo $a->a_gender; ?></td>
			  <td><a href="mailto:<?php echo $a->a_email; ?>"><?php echo $a->a_email; ?></a></td>
			  <td><?php echo date('m/d/Y',strtotime($a->a_datetime)); ?></td>
                          <td><?php echo $a->a_sitecode; ?></td>
			  <td><a href="<?php echo site_url('author/edit_author/'.$a->a_id); ?>">查看</a></td>
			</tr>
		  <?php } ?>
			
		  </tbody>
		</table>
	<?php } ?>
	<legend>已审核作者</legend>
		<table class="table table-striped">
		  <thead>
			<tr>
			  <th class="span1">用户ID</th>
			  <th class="span2">名字</th>
			  <th class="span2">中文名</th>
			  <th class="span1">性别</th>
			  <th class="span2">邮箱</th>
			  <th class="span2">注册时间</th>
			  <th class="span1">站点</th>
			  <th class="span1">操作</th>
			</tr>
		  </thead>
		  <tbody>
		  <?php foreach($author_list as $author){ ?>
			<tr>
			  <td><?php echo $author->a_id; ?></td>
			  <td><?php echo $author->a_name; ?></td>
			  <td><?php echo $author->a_name_cn; ?></td>
			  <td><?php echo $author->a_gender; ?></td>
			  <td><a href="mailto:<?php echo $author->a_email; ?>"><?php echo $author->a_email; ?></a></td>
			  <td><?php echo date('m/d/Y',strtotime($author->a_datetime)); ?></td>
			  <td><?php echo $author->a_sitecode; ?></td>
			  <td><a href="<?php echo site_url('author/edit_author/'.$author->a_id); ?>">查看</a></td>
			</tr>
		  <?php } ?>
			
		  </tbody>
		</table>    
  
  </div>

</div>





