<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
<?php echo $this->fetch('b2b_shop_commission/nav.html'); ?>
<div class="main-body">
 <table class="tbs">
<thead>  <tr>
   <td>shopid</td>
   <td>商家名称</td>
   <td>per</td>
   <td>stime</td>
   <td>etime</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']['shopid']; ?></td>
   <td><?php echo $this->_var['c']['shopname']; ?></td>
   <td><?php echo $this->_var['c']['per']; ?>%</td>
   <td><?php echo date("Y-m-d H:i:s",$this->_var['c']['stime']); ?></td>
   <td><?php echo date("Y-m-d H:i:s",$this->_var['c']['etime']); ?></td>
<td>
	<a href="moduleadmin.php?m=b2b_shop_commission&a=add&shopid=<?php echo $this->_var['c']['shopid']; ?>">编辑</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>