<?php
/* Smarty version 3.1.29, created on 2022-07-15 11:41:59
  from "C:\xampp_7.4.24\htdocs\deputat\templates\modern\jahresabschluss.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_62d136675d4379_49124251',
  'file_dependency' => 
  array (
    '8c7b6024f61c243469a584cacfbdcb027c13022a' => 
    array (
      0 => 'C:\\xampp_7.4.24\\htdocs\\deputat\\templates\\modern\\jahresabschluss.html',
      1 => 1657878115,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_62d136675d4379_49124251 ($_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">
    <style type='text/css'>
      .nextprev:link, .nextprev:visited {
      background-color: #D6DFF7;
      color: black;
      font-weight:bold;
      text-decoration: none;
      width: 99%;
      display: block;
      font-size: 8pt;
      text-align: center;
      padding: 1px;
      }
      .nextprev:active, .nextprev:hover {
      background-color: #6487DC;
      color: #FFFFFF;
      font-weight:bold;
      text-decoration: none;
      width: 99%;
      display: block;
      font-size: 8pt;
      text-align: center;
      padding: 1px;
      }
    </style>
  </head>
  <body>
    <br />
    <br />
    <div class="header">
      <div>
        <div><?php echo $_smarty_tpl->tpl_vars['jaabschl_titel']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['jaabschl_jahrgang']->value;?>
</div>
      </div>
    </div>
    <form action="?action=register" method='post' name='erfassen'>
      <div class="pat_list_box">
        <?php if ($_smarty_tpl->tpl_vars['jaabschl_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['jaabschl_error_text']->value;?>

            </td>
          </tr>
        </table>
        <?php }?>
        <br />
        <fieldset>
          <legend>
            <b>Erfasste Ermäßigungen</b>
          </legend>
          <table cellspacing="0" cellpadding="5" width="100%" border="1">
            <tr>
              <td width=20>
                <b>lfd.Nr.</b>
              </td>
              <td>
                <b>Art</b>
              </td>
              <td>
                <b>Hinweis</b>
              </td>
              <td>
                <b>Beginn</b>
              </td>
              <td>
                <b>Ende</b>
              </td>
              <td align="right">
                <b>Berechnungszeitraum</b>
              </td>
              <td>
                <b>SWS</b>
              </td>
              <td align="right">
                <b>Ermäßigung in LVS</b>
              </td>
              <td align="right" width="20%">
                <b>Berechnung (Soll-LVS: <?php echo $_smarty_tpl->tpl_vars['erf_value_soll_lvs']->value;?>
)</b>
              </td>
            <tr>
              <?php
$__section_table_data0_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0'] : false;
$__section_table_data0_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data0']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data0_0_total = $__section_table_data0_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data0'] = new Smarty_Variable(array());
if ($__section_table_data0_0_total != 0) {
for ($__section_table_data0_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] = 0; $__section_table_data0_0_iteration <= $__section_table_data0_0_total; $__section_table_data0_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['rownum'] = $__section_table_data0_0_iteration;
?>
              <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['rownum'] : null) != '') {?>
            <tr>
              <td>
                <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['rownum'] : null);?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['art'];?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['hinweis'];?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['beginn_form'];?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['ende_form'];?>

              </td>
              <td align="right">
                <?php if ($_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['monate'] > 0) {?>
                  <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['monate'];?>
 Monat(e)
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['tage'] > 0) {?>
                  <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['tage'];?>
 Tag(e)
                <?php }?>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['sws'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['anz_lvs'];?>

              </td>

              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['cur_lvs'];?>
 - <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['ber_lvs'];?>
 = <?php echo $_smarty_tpl->tpl_vars['table_data0']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data0']->value['index'] : null)]['erg_lvs'];?>

              </td>
            </tr>
            <?php }?>
            <?php
}
}
if ($__section_table_data0_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data0'] = $__section_table_data0_0_saved;
}
?>
            </tr>
            <tr>
              <td colspan="7" rowspan=2>&nbsp;</td>
              <td align="right">
              <b>Summe: <?php echo $_smarty_tpl->tpl_vars['erf_value_summe_jahr_erm']->value;?>
</b>
              </td>
              <td align="right">
              <font color="red"><b>Zu leistende LVS: <?php echo $_smarty_tpl->tpl_vars['erf_value_zu_leisten']->value;?>
</b></font><br>
              <i><small>(Rechenweg: <?php echo $_smarty_tpl->tpl_vars['erf_value_soll_lvs']->value;?>
 - <?php echo $_smarty_tpl->tpl_vars['erf_value_summe_jahr_erm']->value;?>
)</small></i>
              </td>
            </tr>
            <tr>

            </tr>
          </table>
        </fieldset>
        <br />
        <br />
        <fieldset>
          <legend>
            <b>Erfasste Lehrveranstaltungen</b>
          </legend>
          <table cellspacing="0" cellpadding="2" width="100%" border="1">
            <tr>
              <td width=20>
                <b>lfd.Nr.</b>
              </td>
              <td>
                <b>Titel der Lehrveranstaltung (LV)</b>
              </td>
              <td>
                <b>Art der LV</b>
              </td>
              <td>
                <b>Krankheitsbedingte Merkmale</b>
              </td>
              <td>
                <b>gemeinsame&nbsp;LV</b>
              </td>
              <!--
                <td>
                <b>Anzahl der Lehrenden</b>
                </td>
                <td>
                <b>Maß der<br>Lehrbeteiligung (%)</b>
                </td>
                <td>
                <b>Namen der Lehrenden</b>
                </td>
                <td>
                <b>Teachingfaktor</b>
                </td>
                -->
              <td align="right" width="20%">
                <b>Summe eigene Lehrstunden (LVS)</b>
              </td>
              <td width="20%">
                <b>Hinweise</b>
              </td>
            <tr>
              <?php
$__section_table_data1_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_1_total = $__section_table_data1_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_1_total != 0) {
for ($__section_table_data1_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_1_iteration <= $__section_table_data1_1_total; $__section_table_data1_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_1_iteration;
?>
              <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null) != '') {?>
            <tr>
              <td>
                <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>

              </td>
              <td>
                <?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)]['titel'];?>

              </td>
              <td>
                <?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)]['veranstaltung'];?>

              </td>
              <td>
                <?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)]['krankheitsmerkmal'];?>

              </td>
              <td>
                <?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)]['gemlv_form'];?>

              </td>
              <!--
                <td>
                <?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)]['anzgemlv'];?>

                </td>
                <td>
                <?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)]['massgemlv'];?>
%
                </td>
                <td>
                <?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)]['namegemlv'];?>

                </td>
                <td>
                <?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)]['teamteaching_form'];?>

                </td>
                -->
              <td align="right" width="20%">
                <?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)]['std'];?>

              </td>
              <td width="20%">
                <?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)]['hinweise'];?>

              </td>
            </tr>
            <?php }?>
            <?php
}
}
if ($__section_table_data1_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_1_saved;
}
?>
            <tr>
              <td colspan="5">&nbsp;</td>
              <td align="right"><b>Summe: <?php echo $_smarty_tpl->tpl_vars['erf_value_summe_jahr']->value;?>
</b></td>
              <td colspan="2">&nbsp;</td>
            </tr>
          </table>
        </fieldset>
        <br />
        <br />
        <fieldset>
          <legend>
            <b>Sonstige Lehrveranstaltungen</b>
          </legend>
          <table cellspacing="0" cellpadding="2" width="100%" border="1">
            <tr>
              <td width=20>
                <b>lfd.Nr.</b>
              </td>
              <td>
                <b>Titel der Lehrveranstaltung (LV)</b>
              </td>
              <td>
                <b>Art der LV</b>
              </td>
              <!--
                <td>
                <b>Krankheitsbedingte Merkmale</b>
                </td>
                <td>
                <b>gemeinsame&nbsp;LV</b>
                </td>
                  <td>
                  <b>Anzahl der Lehrenden</b>
                  </td>
                  <td>
                  <b>Maß der<br>Lehrbeteiligung (%)</b>
                  </td>
                  <td>
                  <b>Namen der Lehrenden</b>
                  </td>
                  <td>
                  <b>Teachingfaktor</b>
                  </td>
                  -->
              <td align="right" width="20%">
                <b>Summe eigene Lehrstunden (LVS)</b>
              </td>
              <td width="20%">
                <b>Hinweise</b>
            <tr>
              <?php
$__section_table_data2_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_2_total = $__section_table_data2_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_2_total != 0) {
for ($__section_table_data2_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_2_iteration <= $__section_table_data2_2_total; $__section_table_data2_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_2_iteration;
?>
              <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null) != '') {?>
            <tr>
              <td>
                <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null);?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['titel'];?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['veranstaltung'];?>

              </td>
              <!--
                <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['krankheitsmerkmal'];?>

                </td>
                <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['gemlv_form'];?>

                </td>
                  <td>
                  <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['anzgemlv'];?>

                  </td>
                  <td>
                  <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['massgemlv'];?>
%
                  </td>
                  <td>
                  <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['namegemlv'];?>

                  </td>
                  <td>
                  <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['teamteaching_form'];?>

                  </td>
                  -->
              <td align="right" width="20%">
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['lvs'];?>

              </td>
              <td width="20%">
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['hinweise'];?>

              </td>
            </tr>
            <?php }?>
            <?php
}
}
if ($__section_table_data2_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_2_saved;
}
?>
            <tr>
              <td colspan="3">&nbsp;</td>
              <td align="right"><b>Summe: <?php echo $_smarty_tpl->tpl_vars['erfs_value_summe_jahr']->value;?>
</b></td>
              <td colspan="2">&nbsp;</td>
            </tr>
          </table>
        </fieldset>
        <br />
        <br />
        <fieldset>
          <legend>
            <b>Erfasste Abschlussarbeiten</b>
          </legend>
          <table cellspacing="0" cellpadding="2" width="100%" border="1">
            <tr>
              <td width=20>
                <b>lfd.Nr.</b>
              </td>
              <td>
                <b>Name</b>
              </td>
              <td>
                <b>Art</b>
              </td>
              <td>
                <b>Semester</b>
              </td>
              <td align="right" width="20%">
                <b>LVS</b>
              </td>
              <td width="20%">
                &nbsp;
              </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>
                <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum'] : null);?>

              </td>
              <td>
                <?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)]['name'];?>

              </td>
              <td>
                <?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)]['abschlussarbeit'];?>

              </td>
              <td>
                <?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)]['semesterbez'];?>

              </td>
              <td align="right" width="20%">
                <?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)]['lvs'];?>

              </td>
              <td width="20%">
                &nbsp;
              </td>
            </tr>
            <?php }?>
            <?php
}
}
if ($__section_table_data3_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = $__section_table_data3_3_saved;
}
?>
            <tr>
              <td colspan="4">&nbsp;</td>
              <td align="right"><b>Summe: <?php echo $_smarty_tpl->tpl_vars['abschluss_value_summe_lvs']->value;?>
</b></td>
              <td>&nbsp;</td>
            </tr>
          </table>
        </fieldset>
        <br>
        <br>
        <fieldset>
          <legend>
            <b>Gesamtbetrachtung</b>
          </legend>
          <table cellspacing="0" cellpadding="2" width="100%" border="1">
            <tr>
              <td>
                Erfasste Deputate
              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['erf_value_summe_jahr']->value;?>

              </td>
              <td width="20%">&nbsp;</td>
            </tr>
            <tr>
              <td>
                Sonstige Deputate
              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['erfs_value_summe_jahr']->value;?>

              </td>
              <td width="20%">&nbsp;</td>
            </tr>
            <tr>
              <td>
                Erfasste Abschlussarbeiten
              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['abschluss_value_summe_lvs']->value;?>

              </td>
              <td width="20%">&nbsp;</td>
            </tr>
            <tr>
              <td>
                <b>Jahressumme</b>
              </td>
              <td align="right" width="20%">
                <b><?php echo $_smarty_tpl->tpl_vars['abschluss_gesamt']->value;?>
</b>
              </td>
              <td width="20%">&nbsp;</td>
            </tr>
          </table>
        </fieldset>
        <br>
        <br>
        <fieldset>
          <legend>
            <b>Synopse <?php echo $_smarty_tpl->tpl_vars['jaabschl_jahrgang']->value;?>
</b>
          </legend>
          <table cellspacing="0" cellpadding="2" width="100%" border="1">
            <tr>
              <td>
                <b>Jahr</b>
              </td>
              <td>
                <b>Anfangsstand</b>
              </td>
              <td>
                <b>Deputatsumme Soll</b>
              </td>
              <td>
                <b>Deputatsumme Ist</b>
              </td>
              <td>
                <b>Über-/Unterdeputat im aktuellen Jahr</b>
              </td>
              <td>
                <b>Abbau Unterdeputat durch Überdeputat Vorjahre</b>
              </td>
              <td>
                <b>Verfall aus Jahr</b>
              </td>
              <td>
                <b>Verfallene Std</b>
              </td>
              <td>
                <b>Über- Unterdeputat des Jahres</b>
              </td>
              <td>
                <b>Übertrag Folgejahr</b>
              </td>
            </tr>
            <tr>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_jahrgang']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_endwert_vorjahr']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_soll']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_ist']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_uber_unter_jahr']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_abbau_jahr']->value;?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_verfall_jahr']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_dep_verfall']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_dep_gesamt']->value;?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['jaabschl_dep_gesamt_nach_verfall']->value;?>

              </td>
            </tr>
            <tr>
              <td colspan=10>
                <br>
                <b>Veränderungen der Vorjahre durch das aktuelle Jahr</b>
              </td>
            </tr>
            <tr>
              <td>
                <b>Jahr</b>
              </td>
              <td>
                <b>Jahresendstand bisher</b>
              </td>
              <td>
                <b>Deputatsumme Soll</b>
              </td>
              <td>
                <b>Deputatsumme Ist</b>
              </td>
              <td>
                <b>Über-/Unterdeputat im aktuellen Jahr</b>
              </td>
              <td>
                <b>Abbau Unterdeputat durch Überdeputat Vorjahre</b>
              </td>
              <td>
                <b>Verfall aus Jahr</b>
              </td>
              <td>
                <b>Verfallene Std</b>
              </td>
              <td>
                <b>Über- Unterdeputat des Jahres alt</b>
              </td>
              <td>
                <b>Über- Unterdeputat des Jahres neu</b>
              </td>
            </tr>
            <?php
$__section_table_data4_4_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4'] : false;
$__section_table_data4_4_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data4']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data4_4_total = $__section_table_data4_4_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data4'] = new Smarty_Variable(array());
if ($__section_table_data4_4_total != 0) {
for ($__section_table_data4_4_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] = 0; $__section_table_data4_4_iteration <= $__section_table_data4_4_total; $__section_table_data4_4_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']++){
?>
            <tr>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['vorjahr'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['dep_gesamt_nach_verfall'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['soll'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['ist'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['uber_unter_jahr'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['differenz'];?>

              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['dep_verfall_jahr'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['dep_verfall'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['dep_gesamt'];?>

              </td>
              <td align="right">
                <?php echo $_smarty_tpl->tpl_vars['table_data4']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data4']->value['index'] : null)]['endwert'];?>

              </td>
            </tr>
            <?php
}
}
if ($__section_table_data4_4_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data4'] = $__section_table_data4_4_saved;
}
?>
            <tr>
          </table>
        </fieldset>
        <br>
        <?php if ($_smarty_tpl->tpl_vars['jaabschl_closed']->value == 0) {?>
        <table valign='middle' style='border-top: 2px solid #6487DC; border-bottom: 2px solid #6487DC;' width='100%' align='center' border='0' cellpadding='0' cellspacing='0'>
          <tbody>
            <tr>
              <td valign='middle' width='100%' height='30px' class='nextprev'>
                <a href='?action=abschluss' class='nextprev'><font size='3'>&nbsp;</font>Studienjahr abschließen und absenden<font size='3'>&nbsp;</font></a>
              </td>
            </tr>
          </tbody>
        </table>
        <?php }?>
        <br>
        <br
      </div>
  </body>
</html>
<?php }
if ($_smarty_tpl->tpl_vars['action']->value == 'abschluss') {?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
</head>
<body>
<br />
<br />
<div class="header">
<div>
<div>Jahrgang abschließen</div>
</div>
</div>
<form action=?action=abschluss2 method="POST">
<div class="pat_list_box">
<p align="center">
Sind Sie sicher, dass sie das aktuelle Jahr <?php echo $_smarty_tpl->tpl_vars['jaabschl_jahrgang']->value;?>
 abschließen möchten?
<br>
Danach sind keine Änderungen mehr möglich!
<br>
<br>
<input type="button" onclick="location.href='?action=abschluss2';" value="Ja" />&nbsp;<input type="button" onclick="location.href='?';" value="Nein" />
</form>
<br />
</fieldset>
</form>
<br />
</div>
</body>
</html>
<?php }
if ($_smarty_tpl->tpl_vars['action']->value == 'abschluss2') {?>
<html>
  <head>
    <link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  </head>
  <body>
    <br />
    <br />
    <div class="header">
      <div>
        <div>Jahrgang abschließen</div>
      </div>
    </div>
    <form action=?action=abschluss2 method="POST">
      <div class="pat_list_box">
        <p align="center">
          Der Jahrgang <?php echo $_smarty_tpl->tpl_vars['jaabschl_jahrgang']->value;?>
 wurde gespeichert!
          <br>
          <br>
    </form>
    <br />
    </fieldset>
    </form>
    <br />
    </div>
  </body>
</html>
<?php }
}
}
