<?php
/* Smarty version 3.1.29, created on 2020-01-28 09:30:51
  from "/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/modern/edit_ausschussmitglieder.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5e2ff13bcbdf45_95253901',
  'file_dependency' => 
  array (
    'ec37c34ecc8749407dc3fab34d62975146737ab0' => 
    array (
      0 => '/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/modern/edit_ausschussmitglieder.html',
      1 => 1558945367,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5e2ff13bcbdf45_95253901 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>

<html>
<head>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  <?php echo '<script'; ?>
 type="text/javascript">
     function show(id) {
      if(document.getElementById) {
          var mydiv = document.getElementById(id);

          // Umschaltung
		  if (mydiv.style.display === "none"){
		  	mydiv.style.display = "block"
		  }else {
		  	mydiv.style.display = "none"
		  }
      }
     }
  <?php echo '</script'; ?>
>


</head>

<body>
<br />
<br />

  <div class="header">
     <div>
        <div><?php echo $_smarty_tpl->tpl_vars['edit_ausschuss_titel']->value;?>
</div>
     </div>
  </div>
  <form action="?action=step2" method='post' name='erfassen'>
  <div class="pat_list_box">



   <fieldset>
    <legend>
      <b>Ausschussmitglieder bestellen (Nur registrierte Benutzer)</b>
    </legend>
    <br />
    <br />
     <table cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
           <td width=20<?php echo '%>';?>
             <strong><?php echo $_smarty_tpl->tpl_vars['edit_ausschuss_mitgl_ausw']->value;?>
</strong>
           </td>
           <td>
              <select name="mitglied">
 	           <option value="">Bitte ausw&auml;hlen</option>
 	           <?php
$__section_table_data1_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_0_total = $__section_table_data1_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_0_total != 0) {
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
?>
                  <option value="<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['imtuid'];?>
"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['vorname'];?>
 <?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['nachname'];?>
</option>
 	           <?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
 	         </select>
 	       </td>
 	     </tr>
         <tr>
           <td >
             <strong><?php echo $_smarty_tpl->tpl_vars['edit_ausschuss_mitgl_vertreter']->value;?>
</strong>
           </td>
           <td>
             <input type="checkbox" name="vertreter" value="Y" onclick="javascript:show('divvertr');" >
 	       </td>
 	     </tr>
         <tr>
           <td colspan="2" align="center">
             &nbsp;
           </td>
         </tr>
       </table>

        <div style="display: none" id="divvertr">
        <table cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
           <td width=20<?php echo '%>';?>
             <strong><?php echo $_smarty_tpl->tpl_vars['edit_ausschuss_mitgl_vertreter_text']->value;?>
</strong>
           </td>
           <td>
              <select name="vertreten_von">
 	           <?php
$__section_table_data2a_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2a']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2a'] : false;
$__section_table_data2a_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2a']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2a_1_total = $__section_table_data2a_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2a'] = new Smarty_Variable(array());
if ($__section_table_data2a_1_total != 0) {
for ($__section_table_data2a_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index'] = 0; $__section_table_data2a_1_iteration <= $__section_table_data2a_1_total; $__section_table_data2a_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index']++){
?>
                  <option value="<?php echo $_smarty_tpl->tpl_vars['table_data2a']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index'] : null)]['imtuid'];?>
"><?php echo $_smarty_tpl->tpl_vars['table_data2a']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index'] : null)]['vorname'];?>
 <?php echo $_smarty_tpl->tpl_vars['table_data2a']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2a']->value['index'] : null)]['nachname'];?>
</option>
 	           <?php
}
}
if ($__section_table_data2a_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2a'] = $__section_table_data2a_1_saved;
}
?>
 	         </select>
 	       </td>
 	     </tr>
 	     </table>
        </div>

        <br />
        <br />

        <input type="submit" name="senden" value="Mitglied hinzuf&uuml;gen">
    </fieldset>
    </form>
    <br />
    <br />
   <fieldset>
    <legend>
      <b>Bestellte Ausschussmitglieder</b>
    </legend>
     <table cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
           <td width=80<?php echo '%>';?>
             <b>Mitglied</b>
           </td>
           <td width=20<?php echo '%>';?>
              <b>L&ouml;schen</b>
 	       </td>
 	     <tr>
         <?php
$__section_table_data2b_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2b']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2b'] : false;
$__section_table_data2b_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2b']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2b_2_total = $__section_table_data2b_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2b'] = new Smarty_Variable(array());
if ($__section_table_data2b_2_total != 0) {
for ($__section_table_data2b_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index'] = 0; $__section_table_data2b_2_iteration <= $__section_table_data2b_2_total; $__section_table_data2b_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['rownum'] = $__section_table_data2b_2_iteration;
?>
         <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['rownum'] : null) != '') {?>
         <tr>
           <td width=80<?php echo '%>';?>
             <?php echo $_smarty_tpl->tpl_vars['table_data2b']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index'] : null)]['vorname'];?>
 <?php echo $_smarty_tpl->tpl_vars['table_data2b']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index'] : null)]['nachname'];?>

           </td>
           <td width=20<?php echo '%>';?>
              <a href="?action=step3&rolle=4&imtuid=<?php echo $_smarty_tpl->tpl_vars['table_data2b']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2b']->value['index'] : null)]['imtuid'];?>
"><img title = "Mitglied l&ouml;schen" border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop.png"></a>
 	       </td>
 	     </tr>
 	     <?php }?>
 	     <?php
}
}
if ($__section_table_data2b_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2b'] = $__section_table_data2b_2_saved;
}
?>
 	  </table>
   </fieldset>
    <br />
    <br />
   <fieldset>
    <legend>
      <b>Vertreter der Ausschussmitglieder</b>
    </legend>
     <table cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
           <td width=40<?php echo '%>';?>
             <b>Vertreter</b>
           </td>
           <td width=40<?php echo '%>';?>
              <b>Vertritt Ausschussmitglied</b>
 	       </td>
           <td width=20<?php echo '%>';?>
              <b>L&ouml;schen</b>
 	       </td>
 	     <tr>

         <?php
$__section_table_data3_3_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3'] : false;
$__section_table_data3_3_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data3']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data3_3_total = $__section_table_data3_3_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = new Smarty_Variable(array());
if ($__section_table_data3_3_total != 0) {
for ($__section_table_data3_3_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] = 0; $__section_table_data3_3_iteration <= $__section_table_data3_3_total; $__section_table_data3_3_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum'] = $__section_table_data3_3_iteration;
?>
         <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum'] : null) != '') {?>
         <tr>
           <td width=40<?php echo '%>';?>
             <?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['vorname'];?>
 <?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['nachname'];?>

           </td>
           <td width=40<?php echo '%>';?>
             <?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['ver_von_vorname'];?>
 <?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['ver_von_nachname'];?>

           </td>
           <td>
              <a href="?action=step3&rolle=5&imtuid=<?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['imtuid'];?>
"><img title = 'Vertreter l&ouml;schen' border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop.png"></a>
 	       </td>
 	     </tr>
 	     <?php }?>
 	     <?php
}
}
if ($__section_table_data3_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = $__section_table_data3_3_saved;
}
?>
 	  </table>
   </fieldset>
    <br />
    <br />
  </div>

</body>
</html>
<?php }
}
}
