<!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=paotui_addr">管理</a>
	 
</div>
<div class="main-body">
 <table class="tbs">
<thead>  <tr>
   <td>addrid</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']['addrid']; ?></td>
   <td><?php echo $this->_var['c']['nickname']; ?></td>
   <td><?php echo $this->_var['c']['truename']; ?></td>
   <td><?php echo $this->_var['c']['address']; ?></td>
   <td><?php echo $this->_var['c']['telephone']; ?></td>
   <td><?php if ($this->_var['c']['status'] == 1): ?>上线<?php else: ?>下线<?php endif; ?></td>
<td>
  <a href="javascript:;" class="js-delete" url="/moduleadmin.php?m=paotui_addr&a=delete&addrid=<?php echo $this->_var['c']['addrid']; ?>">删除</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>