deputat/templates_c/9b76be132390308f57a6e41752f7d45e7c465d8e_0.file.erfassen_sonstige.html.php
2023-04-25 13:25:59 +02:00

403 lines
16 KiB
PHP
Executable File

<?php
/* Smarty version 3.1.29, created on 2022-06-02 07:01:38
from "C:\xampp_7.4.24\htdocs\deputat\templates\modern\erfassen_sonstige.html" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_629844323fe015_64812170',
'file_dependency' =>
array (
'9b76be132390308f57a6e41752f7d45e7c465d8e' =>
array (
0 => 'C:\\xampp_7.4.24\\htdocs\\deputat\\templates\\modern\\erfassen_sonstige.html',
1 => 1583413883,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_629844323fe015_64812170 ($_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({
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'; ?>
>
<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>
<br />
<br />
<div class="header">
<div>
<div><?php echo $_smarty_tpl->tpl_vars['erfs_titel']->value;?>
</div>
</div>
</div>
<form action="?action=register" method='post' name='erfassen'>
<div class="pat_list_box">
<?php if ($_smarty_tpl->tpl_vars['erfs_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['erfs_error_text']->value;?>
</td>
</tr>
</table>
<br />
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['erfs_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>
Titel der Lehrveranstaltung (LV)
</td>
<td valign="top">
<!--<textarea name="titel" id="titel" size="60"><?php echo $_smarty_tpl->tpl_vars['erfs_value_titel']->value;?>
</textarea>-->
<input type="text" name="titel" id="titel" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erfs_value_titel']->value;?>
">
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<?php echo '<script'; ?>
language="javascript" type="text/javascript">
function einblenden ($verid) {
/* Bei Exkursionen Erfassungsfeld einblenden*/
if (document.getElementById("art").value == "5") {
document.getElementById("exkursion1").style.visibility = "visible";
document.getElementById("lehrstd1").style.visibility = "hidden";
document.getElementById("exk_datumvon2").disabled = true;
document.getElementById("exk_datumbis2").disabled = true;
document.getElementById("exk_beschreibung2").disabled = true;
document.getElementById("exk_stdanreise2").disabled = true;
document.getElementById("exk_stdabreise2").disabled = true;
//<![CDATA[
$(document).ready(function(){
var id = "exkursion1";
var id2 = "lehrstd1";
var id3 = "extracurr";
$("#" + id).fadeIn("slow");
$("#" + id2).fadeOut("slow");
$("#" + id3).fadeOut("slow");
});
//]]>
}else{
document.getElementById("exkursion1").style.visibility = "hidden";
document.getElementById("lehrstd1").style.visibility = "visible";
//<![CDATA[
$(document).ready(function(){
var id = "exkursion1";
var id2 = "lehrstd1";
var id3 = "extracurr";
$("#" + id).fadeOut("slow");
$("#" + id2).fadeIn("slow");
$("#" + id3).fadeOut("slow");
});
//]]>
}
if (document.getElementById("art").value == "6") {
/*Hinweis zu Extracurricularer Klausurenkurs einblenden*/
//<![CDATA[
$(document).ready(function(){
var id = "exkursion1";
var id2 = "lehrstd1";
var id3 = "extracurr";
$("#" + id).fadeOut("slow");
$("#" + id2).fadeIn("slow");
$("#" + id3).fadeIn("slow");
});
//]]>
}
}
<?php echo '</script'; ?>
>
<tr>
<td>
Art der LV
</td>
<td valign="top">
<select name="art" id="art" size=5 onchange="einblenden();">
<?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)]['verid'];?>
" <?php if ($_smarty_tpl->tpl_vars['erfs_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_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
</select>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr id="lehrstd1">
<td>
Summe eigene Lehrstunden (LVS)
</td>
<td valign="top">
<!--<input type="number" step="0.1" name="std" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erfs_value_std']->value;?>
">-->
<input type="text" class="spinner" name="std" id="std" size="101" value="<?php echo $_smarty_tpl->tpl_vars['erfs_value_std']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);">
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Hinweise
</td>
<td valign="top">
<textarea name="hinweise"><?php echo $_smarty_tpl->tpl_vars['erfs_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>
<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">
<b>Summe eigene Lehrstunden (LVS)</b>
</td>
<td>
<b>Hinweise</b>
</td>
<td align="center">
<b>Edit</b>
</td>
<tr>
<?php
$__section_table_data2_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_1_total = $__section_table_data2_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_1_total != 0) {
for ($__section_table_data2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_1_iteration <= $__section_table_data2_1_total; $__section_table_data2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_1_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">
<?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>
<?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)]['dsid'];?>
><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&dsid=<?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)]['dsid'];?>
"><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_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_1_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>
<?php }?>
<br />
<br />
</div>
</body>
</html>
<?php }?>
<?php }
}