<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
<?php echo $this->fetch('pinche_line/nav.html'); ?>
<div class="main-body">
 <table class="tbs">
<thead>  <tr>
   <td>lineid</td>
   <td>路线名称</td>
   <td>basemoney</td>
   <td>开始地址</td>
   <td>开始纬度</td>
   <td>开始精度</td>
   <td>接车费用</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']['lineid']; ?></td>
   <td><?php echo $this->_var['c']['title']; ?></td>
   <td><?php echo $this->_var['c']['basemoney']; ?></td>
   <td><?php echo $this->_var['c']['start_addr']; ?></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']['sendmoney']; ?></td>
   <td><?php echo $this->_var['c']['end_addr']; ?></td>
   <td><?php echo $this->_var['c']['end_lat']; ?></td>
   <td><?php echo $this->_var['c']['end_lng']; ?></td>
   <td><img src="<?php echo images_site($this->_var['c']['imgurl']); ?>.100x100.jpg" class="wh-40" /> </td>
   <td><?php echo $this->_var['c']['description']; ?></td>
<td>
	<a href="/moduleadmin.php?m=pinche_line_addr&a=line&stype=1&lineid=<?php echo $this->_var['c']['lineid']; ?>">起点列表</a>
	<a href="/moduleadmin.php?m=pinche_line_addr&a=line&stype=2&lineid=<?php echo $this->_var['c']['lineid']; ?>">终点列表</a> 
	
	<br/>
 <a href="moduleadmin.php?m=pinche_line&a=add&lineid=<?php echo $this->_var['c']['lineid']; ?>">编辑</a>
 <a href="javascript:;" class="js-delete" url="moduleadmin.php?m=pinche_line&a=delete&ajax=1&lineid=<?php echo $this->_var['c']['lineid']; ?>">删除</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>