<?php
/* Smarty version 3.1.29, created on 2022-06-02 06:42:15
  from "C:\xampp_7.4.24\htdocs\deputat\templates\modern\erfassen_eingabe.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_62983fa7acac60_39138762',
  'file_dependency' => 
  array (
    '7e26d0f6b15f169cd37251d922955a78c9509bba' => 
    array (
      0 => 'C:\\xampp_7.4.24\\htdocs\\deputat\\templates\\modern\\erfassen_eingabe.html',
      1 => 1583413883,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_62983fa7acac60_39138762 ($_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">
    <link rel="stylesheet" href="jquery/jquery-ui.css">
    <?php echo '<script'; ?>
 src="jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="jquery/jquery-ui.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="jquery/globalize.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
>
    <style type="text/css">
      .spinner {
      width: 200px;
      height: 15px;
      font-size: 12px !important;
      }
    </style>
    <?php echo '<script'; ?>
>
      $( function() {
           $( ".spinner" ).spinner({
          change: function (event, ui) {
           if(this.name == 'basislvsgemlv'){
             gesvol_calc();
           }
          },
          spin: function (event, ui) {
           if(this.name == 'basislvsgemlv'){
             gesvol_calc();
           }
          },
          start: function (event, ui) {
           if(this.name == 'basislvsgemlv'){
	         gesvol_calc();
	       }
	      },
	      stop: function (event, ui) {
	        if(this.name == 'basislvsgemlv'){
	         gesvol_calc();
	        }
	      },

          step: 0.1,
          numberFormat: "i",
          min:0,
          decimals:0
        });
        Globalize.culture( "de-DE" );
      } );

         function trackKeys(evnt,regEx) {
         	var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
       	return !!String.fromCharCode(keyCode).match(regEx);
         }
       //-->
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
      $(function() {
          $(".datepicker").datepicker({
          prevText: '&#x3c; zur&uuml;ck', prevStatus: '',
          prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: '',
          changeMonth: true,
          changeYear: true,
          nextText: 'Vor &#x3e;', nextStatus: '',
          nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: '',
          currentText: 'Heute', currentStatus: '',
          todayText: 'Heute', todayStatus: '',
          clearText: '-', clearStatus: '',
          closeText: 'schlie&szlig;en', closeStatus: '',
          monthNames: ['Januar','Februar','M&auml;rz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
          monthNamesShort: ['Jan','Feb','M&auml;r','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
          dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
          dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
          dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
          weekHeader: 'Wo',
          weekStatus: 'Woche des Monats',
          showMonthAfterYear: false,
          showOn: 'focus',
          firstDay: 1,
          numberOfMonths : 1,
          showButtonPanel : true,
          altField : "#datepicker_input",
          dateFormat : "dd.mm.yy",
          showWeek: true
          });
          $.datepicker._gotoToday = function(id) {
		  $(id).datepicker('setDate', new Date()).datepicker('hide').blur();
          }

      });
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="erfassen_eingabe.js"><?php echo '</script'; ?>
>
    <style>
      .StandardTable thead th{
      background: lightgray;
      border: 1px solid #656565;
      font-size:12px;
      font-family:Arial;
      padding-top:5px;
      padding-bottom:5px;
      padding-left:5px;
      padding-right:5px;
      }
      textarea{
      border: 1px solid #888;
      height: 6.7em;
      width: 48.5em;
      }
      select{
      width:630px;
      }
    </style>
  </head>
  <body onload="show('<?php echo $_smarty_tpl->tpl_vars['erf_value_gemlv']->value;?>
','<?php echo $_smarty_tpl->tpl_vars['erf_value_art']->value;?>
', '<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_tage']->value;?>
');">
    <br />
    <br />
    <div class="header">
      <div>
        <div><?php echo $_smarty_tpl->tpl_vars['erf_titel']->value;?>
</div>
      </div>
    </div>
    <form action="?action=register" method='post' name='erfassen'>
      <div class="pat_list_box">
        <?php if ($_smarty_tpl->tpl_vars['erf_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['erf_error_text']->value;?>

            </td>
          </tr>
        </table>
        <br />
        <?php }?>
        <?php if ($_smarty_tpl->tpl_vars['erf_abschluss']->value == '0') {?>
        <fieldset>
          <legend>
            <b>Lehrveranstaltung erfassen</b>
          </legend>
          <br />
          <br />
          <table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
            <tr>
              <td width="30%">
                <?php if ($_smarty_tpl->tpl_vars['erf_studiengang_hig']->value == 1) {?><font color="red">* <?php }?>Studiengang<?php if ($_smarty_tpl->tpl_vars['erf_studiengang_hig']->value == 1) {?></font><?php }?>
              </td>
              <td>
                <select name="studiengang" id="studiengang" size=5 onchange="fetch_select();">
                <?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']++){
?>
                <option value="<?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)]['dsgid'];?>
" <?php if ($_smarty_tpl->tpl_vars['erf_value_studiengang']->value == $_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)]['dsgid']) {?> selected <?php }?> ><?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)]['bezeichnung'];?>
</option>
                <?php
}
}
if ($__section_table_data0_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data0'] = $__section_table_data0_0_saved;
}
?>
                </select>
              </td>
            </tr>
            <tr>
              <td width="30%">&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
            <tr>
              <td width="30%">
                <?php if ($_smarty_tpl->tpl_vars['erf_art_hig']->value == 1) {?><font color="red">* <?php }?>Art der LV<?php if ($_smarty_tpl->tpl_vars['erf_art_hig']->value == 1) {?></font><?php }?>
              </td>
              <td valign="top">
                <select name="art" id="art" size=5 onchange="einblenden();">
                <?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']++){
?>
                <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)]['verid'];?>
" <?php if ($_smarty_tpl->tpl_vars['erf_value_art']->value == $_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)]['verid']) {?> selected <?php }?> ><?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)]['bezeichnung'];?>
</option>
                <?php
}
}
if ($__section_table_data1_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_1_saved;
}
?>
                </select>
                <!-- Bei Master soll nur Vorlesung zur Auswahl angeboten werden-->
                <select name="art" id="art2" size=5 onchange="einblenden();">
                <option value="1" <?php if ($_smarty_tpl->tpl_vars['erf_value_art']->value == 1) {?> selected <?php }?> >Vorlesung</option>
                </select>
              </td>
            </tr>
            <tr>
              <td width="30%">&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
            <tr>
              <td width="30%">
                <?php if ($_smarty_tpl->tpl_vars['erf_titel_hig']->value == 1) {?><font color="red">* <?php }?>Titel der Lehrveranstaltung (LV)<?php if ($_smarty_tpl->tpl_vars['erf_titel_hig']->value == 1) {?></font><?php }?>
              </td>
              <td valign="top">
                <!--<textarea name="titel" id="titel" size="60"><?php echo $_smarty_tpl->tpl_vars['erf_value_titel']->value;?>
</textarea>-->
                <input type="text" name="titel"  id="titel"  size="101" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_titel']->value;?>
">
                <select id='module' name='module' onchange="fetch_select2();"></select>
                <select id='schwerpunkt' name='schwerpunkt' onchange="fetch_schwerpunkt2();"></select>
              </td>
            </tr>
            <tr>
              <td width="30%">&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
            <tr id="anz_agtage">
              <td width="30%">
                Anzahl der Arbeitsgemeinschaften (AG)
              </td>
              <td valign="top">
                <!--<textarea name="titel" id="titel" size="60"><?php echo $_smarty_tpl->tpl_vars['erf_value_titel']->value;?>
</textarea>-->
                <select id='anz_ag' name='anz_ag' onchange="fetch_anzahl();">
                <option value='1' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '1') {?> selected <?php }?>>1</option>
                <option value='2' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '2') {?> selected <?php }?>>2</option>
                <option value='3' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '3') {?> selected <?php }?>>3</option>
                <option value='4' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '4') {?> selected <?php }?>>4</option>
                <option value='5' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '5') {?> selected <?php }?>>5</option>
                <option value='6' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '6') {?> selected <?php }?>>6</option>
                <option value='7' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '7') {?> selected <?php }?>>7</option>
                <option value='8' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '8') {?> selected <?php }?>>8</option>
                <option value='9' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '9') {?> selected <?php }?>>9</option>
                <option value='10' <?php if ($_smarty_tpl->tpl_vars['erf_value_anz_ag']->value == '10') {?> selected <?php }?>>10</option>
                </select>
              </td>
            </tr>
            <tr>
              <td width="30%">&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
            <tr id="extracurr">
              <td width="30%">
                &nbsp;
              </td>
              <td valign="top">
                <table width="70%" class="errorTable">
                  <tr>
                    <td>
                      <b>Extracurricularer Klausurenkurs</b><br>
                      <ul>
                        <li>Es dürfen höchstens <?php echo $_smarty_tpl->tpl_vars['abschluss_value_max_extracur']->value;?>
 Lehrstunden (LVS) pro <?php echo $_smarty_tpl->tpl_vars['abschluss_einheit_max_extracur']->value;?>
 erfasst werden.</li>
                      </ul>
                    </td>
                  </tr>
                </table>
                <br>
              </td>
            </tr>
            <tr>
              <td width="30%">Krankheitsbedingte Merkmale
              </td>
              <td><label for="krankheit1"><input type="radio" name="krankheit" id="krankheit1" value="0" <?php if ($_smarty_tpl->tpl_vars['erf_value_krankheit']->value == 0) {?> checked <?php }?> onclick="func_krankheit(1);"> keine</label><br>
                  <label for="krankheit2"><input type="radio" name="krankheit" id="krankheit2" value="1" <?php if ($_smarty_tpl->tpl_vars['erf_value_krankheit']->value == 1) {?> checked <?php }?> onclick="func_krankheit(2);"> Lehrveranstaltung übernommen</label><br>
                  <label for="krankheit3"><input type="radio" name="krankheit" id="krankheit3" value="2" <?php if ($_smarty_tpl->tpl_vars['erf_value_krankheit']->value == 2) {?> checked <?php }?> onclick="func_krankheit(3);"> Lehrveranstaltung nachgeholt</label>
              </td>
            </tr>
            <tr>
              <td>&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
          </table>
          <fieldset id="teachingblock_field">
            <legend>Teamteaching</legend>
            <table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
              <tr id="teachingblock0">
                <td width="30%">
                  gemeinsame&nbsp;LV
                </td>
                <td valign="top">
                  <select name="gemlv" id="gemlv" onchange='felder_aktiv(0);' size=2>
                  <option value="N" <?php if ($_smarty_tpl->tpl_vars['erf_value_gemlv']->value == "N") {?> selected <?php }?> <?php if ($_smarty_tpl->tpl_vars['erf_value_gemlv']->value == '') {?> selected <?php }?>>Nein</option>
                  <option value="J" <?php if ($_smarty_tpl->tpl_vars['erf_value_gemlv']->value == "J") {?> selected <?php }?>>Ja</option>
                  </select>
                </td>
              </tr>
              <tr id="teachingblock1">
                <td width="30%">
                  fachübergreifende&nbsp;LV
                </td>
                <td valign="top">
                  <select name="fachlv" id="fachlv" disabled size=2 onchange='felder_aktiv(1);'>
                  <option value="N" <?php if ($_smarty_tpl->tpl_vars['erf_value_fachlv']->value == "N") {?> selected <?php }?> <?php if ($_smarty_tpl->tpl_vars['erf_value_fachlv']->value == '') {?> selected <?php }?>>Nein</option>
                  <option value="J" <?php if ($_smarty_tpl->tpl_vars['erf_value_fachlv']->value == "J") {?> selected <?php }?>>Ja</option>
                  </select>
                </td>
              </tr>
              <tr id="teachingblock2">
                <td width="30%">
                  <?php if ($_smarty_tpl->tpl_vars['erf_anzgemlv_hig']->value == 1) {?><font color="red">* <?php }?>Anzahl der Lehrenden<?php if ($_smarty_tpl->tpl_vars['erf_anzgemlv_hig']->value == 1) {?></font><?php }?>
                </td>
                <td valign="top">
                  <select name="anzgemlv" id="anzgemlv" disabled>
                    <option value="">Anzahl der Lehrenden</option>
                    <option value="1" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "1") {?> selected <?php }?>>1</option>
                    <option value="2" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "2") {?> selected <?php }?>>2</option>
                    <option value="3" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "3") {?> selected <?php }?>>3</option>
                    <option value="4" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "4") {?> selected <?php }?>>4</option>
                    <option value="5" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "5") {?> selected <?php }?>>5</option>
                    <option value="6" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "6") {?> selected <?php }?>>6</option>
                    <option value="7" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "7") {?> selected <?php }?>>7</option>
                    <option value="8" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "8") {?> selected <?php }?>>8</option>
                    <option value="9" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "9") {?> selected <?php }?>>9</option>
                    <option value="10" <?php if ($_smarty_tpl->tpl_vars['erf_value_anzgemlv']->value == "10") {?> selected <?php }?>>10</option>
                  </select>
                </td>
              </tr>
              <tr id="teachingblock3">
                <td width="30%">
                 <?php if ($_smarty_tpl->tpl_vars['erf_namegemlv_hig']->value == 1) {?><font color="red">* <?php }?>Namen der Lehrenden<?php if ($_smarty_tpl->tpl_vars['erf_namegemlv_hig']->value == 1) {?></font><?php }?>
                </td>
                <td valign="top">
                  <textarea name="namegemlv" id="namegemlv" disabled><?php echo $_smarty_tpl->tpl_vars['erf_value_namegemlv']->value;?>
</textarea>
                </td>
              </tr>
              <tr id="teachingblock5">
                <td width="30%">
                  <?php if ($_smarty_tpl->tpl_vars['erf_basislvsgemlv_hig']->value == 1) {?><font color="red">* <?php }?>Basiswert (LVS) der LV<?php if ($_smarty_tpl->tpl_vars['erf_basislvsgemlv_hig']->value == 1) {?></font><?php }?>
                </td>
                <td valign="top">
                  <!--<input type="number" step="0.1" name="basislvsgemlv" disabled id="basislvsgemlv" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_std']->value;?>
" onchange='gesvol_calc();'>-->
                  <!-- onchange='gesvol_calc();' funktioniert bei Spinner nicht. Das muss oben in das javascript rein-->
                  <input type="text" class="spinner" name="basislvsgemlv" disabled id="basislvsgemlv" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_std']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);">
                </td>
              </tr>
              <tr id="teachingblock4">
                <td width="30%">
                  <?php if ($_smarty_tpl->tpl_vars['erf_teamteaching_hig']->value == 1) {?><font color="red">* <?php }?>Teachingfaktor<?php if ($_smarty_tpl->tpl_vars['erf_teamteaching_hig']->value == 1) {?></font><?php }?>
                </td>
                <td valign="top">
                  <select name="teamteaching" id="teamteaching" disabled size="5" onchange='gesvol_calc();'>
                  <?php
$__section_table_data3_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3'] : false;
$__section_table_data3_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data3']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data3_2_total = $__section_table_data3_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = new Smarty_Variable(array());
if ($__section_table_data3_2_total != 0) {
for ($__section_table_data3_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] = 0; $__section_table_data3_2_iteration <= $__section_table_data3_2_total; $__section_table_data3_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']++){
?>
                  <option value="<?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)]['tid'];?>
" <?php if ($_smarty_tpl->tpl_vars['erf_value_teamteaching']->value == $_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)]['tid']) {?> selected <?php }?> ><?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)]['bezeichnung'];?>
</option>
                  <?php
}
}
if ($__section_table_data3_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = $__section_table_data3_2_saved;
}
?>
                  </select>
                </td>
              </tr>
              <tr>
                <td width="30%">
                  &nbsp;
                </td>
                <td>
                  &nbsp;
                </td>
              </tr>
              <tr id="teachingblock_hinw">
                <td width="30%">
                  &nbsp;
                </td>
                <td valign="top">
                  <table width="70%" class="errorTable">
                    <tr>
                      <td>
                        <b>Gesamtvolumen</b><br>
                        <ul>
                          <li>Der Teachingfaktor gibt vor, zu wieviel Prozent einer Lehrveranstaltung Lehrende gemeinsam lehren dürfen.</li>
                          <li>Bei einem Faktor von 0,5 dürfen also bis zu 50 % einer Veranstaltung von zwei Lehrenden miteinander gestaltet werden.</li>
                          <li>Bsp: Sind für ein Fachprojekt 56 LVS vorgesehen, gilt der Faktor 0,5.<br>
                            Das bedeutet, dass höchstens 28 LVS gemeinsam gestaltet werden dürfen.<br>
                            Daraus resultiert ein Gesamtvolumen von 56 LVS + (0,5 Faktor x 56 LVS) = 84 LVS.<br>
                            Das Gesamtvolumen steht den beiden Dozierenden zur Aufteilung (nach eigenem Ermessen) zu.<br>
                            Der einzelne Dozent darf sich aber nicht mehr als 56 LVS zurechnen
                          </li>
                          <li>Der Basiswert dient nur zur Berechnung des Gesamtvolumens.<br>Die tatsächliche LVS bitte in das Feld "Summe eigene Lehrstunden" eintragen!</li>
                        </ul>
                        <div style="float: left;">Aktuelles Gesamtvolumen:&nbsp;</div>
                        <div style="float: left;" id="gesamtvolumen_count"></div>
                      </td>
                    </tr>
                  </table>
                  <br>
                </td>
              </tr>
            </table>
          </fieldset>
          <table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
            <tr>
              <td width="30%">&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
            <tr id="exkursion1">
              <td width="30%">
                <?php if ($_smarty_tpl->tpl_vars['erf_tage_exkursion_hig']->value == 1) {?><font color="red">* <?php }?>Exkursionsstunden<?php if ($_smarty_tpl->tpl_vars['erf_tage_exkursion_hig']->value == 1) {?></font><?php }?>
              </td>
              <td valign="top">
                <label for="tage_exkursion1"><input type="radio" name="tage_exkursion" id="tage_exkursion1"value="1" checked onclick="senden_aktiv();"> Eintägig</label><br>
                <table>
                  <tr>
                    <td width=200><b>Datum:</b></td>
                    <td><input type="text" class="datepicker" name="exk_datumvon" id="exk_datumvon1"value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_datumvon']->value;?>
"></td>
                  </tr>
                  <tr>
                    <td width=200><b>Beschreibung/Ort:</b></td>
                    <td><input type="text" name="exk_beschreibung" id="exk_beschreibung1"  value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_beschreibung']->value;?>
" size="67"></td>
                  </tr>
                  <tr>
                    <td width=200><b>Stunden:</b></td>
                    <!--<td><input type="number" step="0.1" name="exk_stdanreise" id="exk_stdanreise1" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_stdanreise']->value;?>
"></td>-->
                    <td><input type="text" class="spinner" name="exk_stdanreise" id="exk_stdanreise1" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_stdanreise']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);"></td>
                  </tr>
                </table>
                <br><br>
                <label for="tage_exkursion2"><input type="radio" name="tage_exkursion"  id="tage_exkursion2" value="2" onclick="senden_aktiv();"> Mehrtägig</label><br>
                <table>
                  <tr>
                    <td width=200><b>Datum von:</b></td>
                    <td><input type="text" class="datepicker" name="exk_datumvon" id="exk_datumvon2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_datumvon']->value;?>
"></td>
                  </tr>
                  <tr>
                    <td width=200><b>Datum bis:</b></td>
                    <td><input type="text" class="datepicker" name="exk_datumbis" id="exk_datumbis2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_datumbis']->value;?>
"></td>
                  </tr>
                  <tr>
                    <td width=200><b>Beschreibung/Ort:</b></td>
                    <td><input type="text" name="exk_beschreibung" id="exk_beschreibung2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_beschreibung']->value;?>
" size="67"></td>
                  </tr>
                  <tr>
                    <td width=200><b>Stunden Anreisetag:</b></td>
                    <!--<td><input type="number" step="0.1" name="exk_stdanreise" id="exk_stdanreise2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_stdanreise']->value;?>
"></td>-->
                    <td><input type="text" class="spinner" name="exk_stdanreise" id="exk_stdanreise2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_stdanreise']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);"></td>
                  </tr>
                  <tr>
                    <td width=200><b>Stunden Abreisetag:</b></td>
                    <!--<td><input type="number" step="0.1" name="exk_stdabreise" id="exk_stdabreise2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_stdabreise']->value;?>
"></td>-->
                    <td><input type="text" class="spinner" name="exk_stdabreise" id="exk_stdabreise2" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_exk_stdabreise']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);"></td>
                  </tr>
                </table>
                <br>
                <table width="80%" class="errorTable">
                  <tr>
                    <td>
                      <b>Informationen</b><br>
                      <ul>
                        <li>Die Stunden werden mit dem Faktor <?php echo $_smarty_tpl->tpl_vars['erf_value_exk_faktor']->value;?>
 multipliziert, um die LVS zu erhalten.</li>
                        <li>Tageshöchstsatz liegt bei 10 Std. Das entspricht <?php echo $_smarty_tpl->tpl_vars['erf_value_exk_max_tag']->value;?>
 LVS.</li>
                        <li>Ganze Tage werden mit dem Höchstsatz <?php echo $_smarty_tpl->tpl_vars['erf_value_exk_max_tag']->value;?>
 LVS berechnet.</li>
                        <li>Bei mehrtägigen Exkursionen: Geben Sie immer die Stunden am Anreise- und Abreisetag an, <font color="red"<b>sonst werden diese Tage nicht berechnet!</b></font></li>
                      </ul>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr id="lehrstd1">
              <td width="30%">
                <?php if ($_smarty_tpl->tpl_vars['erf_std_hig']->value == 1) {?><font color="red">* <?php }?>Summe eigene Lehrstunden (LVS)<?php if ($_smarty_tpl->tpl_vars['erf_std_hig']->value == 1) {?></font><?php }?>
              </td>
              <td valign="top">
                <!--<input type="number" step="0.1" name="std" id="std" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_std']->value;?>
">-->
                <input type="text" class="spinner" name="std" id="std" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erf_value_std']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);">
                <input type="hidden" name="std_default" id="std_default" size="101">
              </td>
            </tr>
            <tr>
              <td>&nbsp;
              </td>
              <td>&nbsp;
              </td>
            </tr>
            <tr>
              <td width="30%">
                Hinweise
              </td>
              <td valign="top">
                <textarea name="hinweise"><?php echo $_smarty_tpl->tpl_vars['erf_value_hinweise']->value;?>
</textarea>
              </td>
            </tr>
          </table>
          <br />
          <p align='center'>
            <input type='submit' name='senden' value="Speichern">
          </p>
          <br />
        </fieldset>
    </form>
    <br />
    <br />
    <fieldset>
    <legend>
    <b>Erfasste Lehrveranstaltungen</b>
    </legend>
    <table cellspacing="0" cellpadding="2" width="100%" border="1">
    <tr>
    <td>
    <b>lfd.Nr.</b>
    </td>
    <td width=15<?php echo '%>';?>
    <b>Studiengang (LV)</b>
    </td>
    <td>
    <b>Art der LV</b>
    </td>
    <td width=20<?php echo '%>';?>
    <b>Titel der Lehrveranstaltung (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">
    <b>Summe eigene<br>Lehrstunden (LVS)</b>
    </td>
    <td>
    <b>Hinweise</b>
    </td>
    <td align="center">
    <b>Edit</b>
    </td>
    <tr>
    <?php
$__section_table_data2_3_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_3_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_3_total = $__section_table_data2_3_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_3_total != 0) {
for ($__section_table_data2_3_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_3_iteration <= $__section_table_data2_3_total; $__section_table_data2_3_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_3_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)]['studiengang'];?>

    </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)]['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)]['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">
    <?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)]['std'];?>

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

    </td>
    <td align="center">
    <a href=?edit=<?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)]['did'];?>
><img title = "Lehrveranstaltung bearbeiten" border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/edit.png"></a>&nbsp;<a href="?action=del&did=<?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)]['did'];?>
"><img title = 'Lehrveranstaltung 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_data2_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_3_saved;
}
?>
    <tr>
    <td colspan="6">&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>
    <?php }?>
    <br />
    <br />
    </div>
  </body>
</html>
<?php }
}
}
