<?php
/* Smarty version 3.1.29, created on 2022-07-21 07:59:22
  from "/srv/www/htdocs-hvf/kurs/deputat/templates/modern/ermaessigung.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_62d8eb3a40b414_39222634',
  'file_dependency' => 
  array (
    '01eb22abcc1db312d1b9f4ca589b8955a2d0b402' => 
    array (
      0 => '/srv/www/htdocs-hvf/kurs/deputat/templates/modern/ermaessigung.html',
      1 => 1658378536,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_62d8eb3a40b414_39222634 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<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'; ?>
 src='iframe-resizer-master/js/iframeResizer.min.js'><?php echo '</script'; ?>
>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
      .accordion {
      background-color: #eee;
      color: #444;
      cursor: pointer;
      padding: 10px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 15px;
      transition: 0.4s;
      margin-bottom: 5px;
      }
      .active, .accordion:hover {
      background-color: #277DA8;
      color: white;
      }
      .accordion:after {
      content: '\02795'; /* Unicode character for "plus" sign (+) */
      font-size: 13px;
      color: white;
      float: right;
      margin-left: 5px;
      }
      .active:after {
      content: "\2796"; /* Unicode character for "minus" sign (-) */
      color: white;
      }
      .panel {
      padding: 0 18px;
      background-color: white;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.2s ease-out;
      }
    </style>
  </head>
  <body>
    <br />
    <br />
    <div class="header">
      <div>
        <div>Ermäßigungen <?php echo $_smarty_tpl->tpl_vars['erm_jahrgang']->value;?>
</div>
      </div>
    </div>
    <div class="pat_list_box">
        <?php if ($_smarty_tpl->tpl_vars['erm_error']->value == '1') {?>
        <table width="70%" class="errorTable" align="center">
          <tr>
            <td>
              <img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_gross.gif">
            </td>
            <td><b>Achtung!</b><br>
              <?php echo $_smarty_tpl->tpl_vars['erm_error_text']->value;?>

            </td>
          </tr>
        </table>
        <br />
        <?php }?>
        <?php if ($_smarty_tpl->tpl_vars['erm_abschluss']->value == '0') {?>
          <p>Indem Sie auf die Überschriften klicken können Sie die Teilbereiche auf- und zuklappen.</p>
          <button class="accordion">1) Ruhestand während des Studienjahres</button>
          <div class="panel">
            <iframe src='erm_ruhestand.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">2) Forschungssemester/Praxissemester/Abordnungen</button>
          <div class="panel">
            <iframe src='erm_abordnung.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">3) Schwerbehinderung</button>
          <div class="panel">
            <iframe src='erm_behinderung.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">4) Teilzeit</button>
          <div class="panel">
            <iframe src='erm_teilzeit.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">5) Mutterschutz/Elternzeit</button>
          <div class="panel">
            <iframe src='erm_mutterschutz.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">6) Ermäßigung/Freistellung Rektorat/Dekanat (§§ 7, 8 LVVO)</button>
          <div class="panel">
            <iframe src='erm_freist_rektorat_dekanat.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">7) Deputatsermäßigung aufgrund einer Funktion/Beauftragung (§ 11 LVVO)</button>
          <div class="panel">
            <iframe src='erm_freist_funktion.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">8) Deputatsermäßigung aufgrund von Forschungs- und Entwicklungsaufgaben (§ 2 Abs. 8, 9 LVVO)</button>
          <div class="panel">
            <iframe src='erm_freist_forschung.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">9) Abweichender Lehrbedarf</button>
          <div class="panel">
            <iframe src='erm_abw_lehrbedarf.php' width='100%'  frameborder='0' ></iframe>
          </div>
          <button class="accordion">10) Krankheit</button>
          <div class="panel">
            <iframe src='' width='100%'  frameborder='0' ></iframe>
          </div>
        <?php }?>
      <br>
      <br>
    </div>
    <?php echo '<script'; ?>
>
      var acc = document.getElementsByClassName("accordion");
      var i;

      for (i = 0; i < acc.length; i++) {
        acc[i].addEventListener("click", function() {
          this.classList.toggle("active");
          var panel = this.nextElementSibling;
          if (panel.style.maxHeight){
            panel.style.maxHeight = null;
          } else {
            panel.style.maxHeight = panel.scrollHeight + "px";
          }
        });
      }
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
>iFrameResize({
    log                     : false,                  // Enable console logging
    heightCalculationMethod : 'documentElementOffset',
    autoResize              : true,
    scrolling               : true,
    tolerance               : 1000,
    sizeHeight              : true,
    });<?php echo '</script'; ?>
>

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