<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
<div class="tabs-border">
	<a class="item <?php if (get ( 'a' ) == 'default'): ?>active<?php endif; ?>" href="<?php echo $this->_var['appadmin']; ?>?m=exue_student">管理</a>
 
</div>
<div class="main-body">
	<form action="/moduleadmin.php" class="search-form">
		<input type="hidden" name="m" value="exue_student" />
		<div class="flex flex-ai-center">
			名字：<input value="<?php echo $this->_var['keyword']; ?>" class="w150" type="text" name="keyword" />
			<button class="btn-small">搜一下</button>
		</div>
		
	</form>
 <table class="tbs">
<thead>  <tr>
   <td>stid</td>
	<td>姓名</td>
   <td>性别</td>
   <td>电话</td>
   
   
   <td>照片</td>
   <td>状态</td>
    
   <td>积分</td>
  
   <td>生日</td>
<td>操作</td></tr>
  </tr>
</thead> <?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
<tr>
   <td><?php echo $this->_var['c']['stid']; ?></td>
    <td><?php echo $this->_var['c']['truename']; ?></td>
    
   <td><?php if ($this->_var['c']['gender'] == 1): ?>男<?php else: ?>女<?php endif; ?></td>
   <td><?php echo $this->_var['c']['telephone']; ?></td>
    
  
   <td>
   	   <?php if ($this->_var['c']['imgurl']): ?><img  src="<?php echo images_site($this->_var['c']['imgurl']); ?>.100x100.jpg" width="60" /><?php endif; ?>
   </td>
   <td><?php if ($this->_var['c']['status'] == 1): ?>上线<?php else: ?>下线<?php endif; ?></td>
    
   <td><?php echo $this->_var['c']['grade']; ?></td>
   
   <td><?php echo $this->_var['c']['age']; ?></td>
<td><a href="moduleadmin.php?m=exue_student&a=add&stid=<?php echo $this->_var['c']['stid']; ?>">编辑</a> 
 
<a href="javascript:;" class="js-delete" url="moduleadmin.php?m=exue_student&a=delete&ajax=1&stid=<?php echo $this->_var['c']['stid']; ?>">删除</a></td>
  </tr>
   <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
 </table>
<div><?php echo $this->_var['pagelist']; ?></div>
</div> 
<?php echo $this->fetch('footer.html'); ?>
</body>
</html>