  <TMPL_INCLUDE NAME="header.tmpl">
  <div class="content">
   <p>Mirrors list:</p>
   <TMPL_IF NAME="MirrorsNo">
   <table class="sheet">
    <thead>
     <tr>
      <td>id</td>
      <td>Name</td>
      <td>Contact</td>
      <td>Active</td>
      <td>Running</td>
      <td>Description</td>
      <td>Operations</td>
     </tr>
    </thead>
    <tdata>
     <TMPL_LOOP NAME="Mirrors">
      <tr class="<TMPL_IF NAME="__ODD__"> odd</TMPL_IF><TMPL_UNLESS NAME="__ODD__"> even</TMPL_UNLESS>">
       <td><TMPL_VAR NAME="id"></td>
       <td><TMPL_VAR NAME="Name"></td>
       <td><TMPL_VAR NAME="Contact"></td>
       <td class="center"><TMPL_IF NAME="Active">yes<TMPL_ELSE>no</TMPL_IF></td>
       <td class="center"><TMPL_IF NAME="InProgress">yes<TMPL_ELSE>no</TMPL_IF></td>
       <td class="center"><TMPL_IF NAME="Description">yes<TMPL_ELSE>no</TMPL_IF></td>
       <td class="number">
        <a href="simba.cgi?action=mod_mirror&id=<TMPL_VAR NAME="id">">
         <img title="Modify this mirror" src="/simba-img/comment.gif" />
        </a>
        <a href="simba.cgi?action=drop_mirror&id=<TMPL_VAR NAME="id">">
         <img title="Delete this mirror" src="/simba-img/delete.gif" alt="delete" />
        </a>
       </td>
      </tr>
     </TMPL_LOOP>
    </tdata>
   </table>
   <TMPL_ELSE>
    <p>No mirrors found in database</p>
   </TMPL_IF>
   <form method="get" action="simba.cgi">
    <input type="hidden" name="action" value="add_new_mirror" />
    <input type="submit" value="add new mirror" />
   </form>
  </div>
 </body>
</html>
