<?php /* Smarty version 2.6.10, created on 2010-02-07 16:28:22
         compiled from addstructures.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);
 ?>


  <form method="post" action="addstructure.php">
  <div>
    <input name="pos_id" value="<?php echo $this->_tpl_vars['pos_id']; ?>
" type="hidden" />
    <input name="amount" value="1" type="hidden" />
    <table>
    <?php $_from = $this->_tpl_vars['structs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['structure']):
?>
      <tr>
        <td><?php echo $this->_tpl_vars['structure']['name']; ?>
</td>
        <td><input type="text" size="5" name="s_id<?php echo $this->_tpl_vars['structure']['id']; ?>
" value="0" /></td>
      </tr>
    <?php endforeach; endif; unset($_from); ?>
      <tr>
        <td><hr /></td>
      </tr>
      <tr>
        <td><input type="submit" name="action" value="Done" /></td>
      </tr>
    </table>
  </div>
  </form>


<?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);
 ?>