<table width="100%" border="0" cellspacing="0" cellpadding="0" class="adminlist">
<thead>
  <tr>
    <th>序号</th>
    <th>订单号</th>
    <th>日期</th>
    <th>操作</th>
  </tr>
</thead>
<tbody>
<?php $i=1; foreach($orders as $order){?>
  <tr>
    <td><?=$i++?></td>
    <td><?=$order->order_number?></td>
    <td><?=date("Y-m-d H:i:s",$order->times)?></td>
    <td>
    	<a href="<?=BASEURI?>orderform/view/<?=$order->orderid?>">查看</a>
    	<a href="<?=BASEURI?>orderform/delete/<?=$order->orderid?>">删除</a>
    </td>
  </tr>
<?php }?>
<tbody>
<tfoot>
  <tr>
    <td colspan="4" align="right"><?=$this->pagination->render("digg")?></td>
  </tr>
</tfoot>
</table>
