<?php /* Smarty version 2.6.10, created on 2010-02-07 21:27:49
         compiled from outpost.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

  <table class="mcenter tracktable" style="width:100%;" cellspacing="0">
  <tbody>
    <tr class="trackheader">
      <td>Outpost Name</td>
            <td>Last Update</td>
      <td>Status</td>
      <td>Action</td>

    </tr>

  <?php $_from = $this->_tpl_vars['outposts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['outpost']):
?>
    <tr style="background-color:<?php echo $this->_tpl_vars['pos']['bgcolor']; ?>
;">
      <td><?php echo $this->_tpl_vars['outpost']['outpost_name']; ?>
</td>
            <td><?php echo $this->_tpl_vars['outpost']['lastupdate']; ?>
</td>
      <td><?php echo $this->_tpl_vars['outpost']['outpostdaycalc']; ?>
</td>
      <td><button type="button" onclick="window.location.href='viewoutpost.php?i=<?php echo $this->_tpl_vars['outpost']['outpost_id']; ?>
'">View</button><button type="button" onclick="window.location.href='editoutpost.php?i=<?php echo $this->_tpl_vars['outpost']['outpost_id']; ?>
'">Edit</button><button type="button" onclick="window.location.href='outpost.php?i=<?php echo $this->_tpl_vars['outpost']['outpost_id']; ?>
'">Delete</button></td>
    </tr>

  <?php endforeach; endif; unset($_from); ?>

  </tbody>
  </table>

  <div class="mcenter"><a href="addoutpost.php" title="Add a new Outpost">Add a New Outpost</a></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>