<div style="width:90%;margin:30px auto;">
	<div class="panel panel-primary">
	    <div class="panel-heading">
	    	<h3 class="panel-title">订单列表</h3>
	    </div>
    	<div class="panel-body">
    		<table class="table table-striped"  style="text-align:center;">
  				<thead>
  					<tr>
  						<th style="text-align:center;">序号</th>
  						<th style="text-align:center;">订单号</th>
  						<th style="text-align:center;">车次</th>
  						<th style="text-align:center;">出发</th>
  						<th style="text-align:center;">到达</th>
  						<th style="text-align:center;">状态</th>
  						<th style="text-align:center;">金额</th>
  						<th style="text-align:center;">提交时间</th>
  						<th style="text-align:center;">操作</th>
  					</tr>
  				</thead>
  				<tbody>
  					<?php $num=0; foreach($data as $v):?>
  					<tr>
  						<td><?php echo ++$num;?></td>
  						<td><?php echo $v["order_num"];?></td>
  						<td><?php echo $v["train_code"];?></td>
  						<td><?php echo $v["from_station"];?></td>
  						<td><?php echo $v["to_station"];?></td>
  						<td><?php echo $v["info"];?></td>
  						<td><?php echo $v["price"];?></td>
  						<td><?php echo date("Y-m-d H:i:s",$v["sub_time"]);?></td>
  						<td><a target="_blank" href="order?order=<?php echo $v['order_num']?>">详情</a></td>
  					</tr>
  				<?php endforeach;?>
  				</tbody>
			</table>
    	</div>
	</div>
</div>