示例#1
0
<div class="map" role="main">
<h1 class="entry-title">&raquo; Map a Route</h1>
<?php 
echo Bwfl_Flash::html();
?>
<p class="intro">This planning tool lets you map out your route and save it for future use. Once you’ve saved your route, and calculated your distance, go back to the <a href="/">Dashboard</a> page to log your miles.</p>
<div class="saved-routes">
  <!-- <h2>My Saved Routes:</h2> -->
<table caption="My Saved Routes:" summary="This is a summary of my tabular data." id="mySavedRoutes">
  <caption>My Saved Routes:</caption>
  <thead id="savedHead">
    <tr>
      <th id="itemcolumn" scope="col"><span>Route Name</span></th>
      <th id="col1" scope="col"><span>Miles</span></th>
      <th id="col2" scope="col"><span>Delete</span></th>
    </tr>
  </thead>
  <tfoot>
    <tr>
    <td colspan="3"></td>
    </tr>
  </tfoot>
  <tbody>
  <?php 
if (sizeof($user_routes)) {
    ?>
    <?php 
    $i = 1;
    ?>
    <?php 
    foreach ($user_routes as $route) {