<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
<?php echo $this->fetch('pinche_order/nav.html'); ?>
<div class="main-body">
 <table class="tbs">
<thead>  <tr>
   <td>orderid</td>
   <td>下单人</td>
   <td>金额</td>
   <td>支付</td>
   <td>人数</td>
   <td>状态</td>
   <td>司机</td>
   <td>成团</td>
   <td>创建时间</td>
   <td>start_lat</td>
   <td>start_lng</td>
   <td>end_addrid</td>
   <td>lineid</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']['orderid']; ?></td>
   <td><?php echo $this->_var['c']['userid']; ?></td>
   <td><?php echo $this->_var['c']['money']; ?></td>
   <td><?php echo $this->_var['c']['ispay']; ?></td>
   <td><?php echo $this->_var['c']['usernum']; ?></td>
   <td><?php echo $this->_var['c']['status']; ?></td>
   <td><?php echo $this->_var['c']['driverid']; ?></td>
   <td><?php echo $this->_var['c']['gid']; ?></td>
   <td><?php echo date("Y-m-d",$this->_var['c']['dateline']); ?></td>
   <td><?php echo $this->_var['c']['start_lat']; ?></td>
   <td><?php echo $this->_var['c']['start_lng']; ?></td>
   <td><?php echo $this->_var['c']['end_addrid']; ?></td>
   <td><?php echo $this->_var['c']['lineid']; ?></td>
<td><a href="moduleadmin.php?m=pinche_order&a=add&orderid=<?php echo $this->_var['c']['orderid']; ?>">编辑</a> <a href="/module.php?m=pinche_order&a=show&orderid=<?php echo $this->_var['c']['orderid']; ?>">查看</a> <a href="javascript:;" class="js-delete" url="moduleadmin.php?m=pinche_order&a=delete&ajax=1&orderid=<?php echo $this->_var['c']['orderid']; ?>">删除</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>