<?php /* Smarty version 2.6.18, created on 2007-06-10 18:56:16
         compiled from testImport.tpl */ ?>
<h3>Importovanie testov</h3>
<div class="indent">
  <?php if ($this->_tpl_vars['informationText'] != ""): ?>
    <?php echo $this->_tpl_vars['informationText']; ?>

    <br />
    <br />
  <?php endif; ?>
  <form action="index.php?site=testImport&amp;action=import&amp;courseID=<?php echo $this->_tpl_vars['courseID']; ?>
" method="post" enctype="multipart/form-data">
    <table>
      <tr>
        <td>Termín skúšky: </td>
        <td>
          <select name="examID">
            <?php $_from = $this->_tpl_vars['examList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menuItem']):
?>
              <option value="<?php echo $this->_tpl_vars['menuItem']['id']; ?>
"><?php echo $this->_tpl_vars['menuItem']['date']; ?>
</option>
            <?php endforeach; endif; unset($_from); ?>
          </select>
        </td>
      </tr>
      <tr> 
        <td>XML súbor: </td>
        <td><input name="xml" type="file" accept="text/xml" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><input type="submit" value="OK" /></td>
      </tr>
    </table>
  </form>
</div>
