deputat/templates_c/d17db3aca0c396c7f98ea5127f1b46f87682dcaa_0.file.teilzeit.html.php
2023-04-25 13:25:59 +02:00

252 lines
12 KiB
PHP
Executable File

<?php
/* Smarty version 3.1.29, created on 2019-07-26 06:57:24
from "D:\xampp\htdocs\kurs\utf8\deputat\templates\modern\teilzeit.html" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_5d3a8834837d15_25138896',
'file_dependency' =>
array (
'd17db3aca0c396c7f98ea5127f1b46f87682dcaa' =>
array (
0 => 'D:\\xampp\\htdocs\\kurs\\utf8\\deputat\\templates\\modern\\teilzeit.html',
1 => 1564117031,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5d3a8834837d15_25138896 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
<?php echo '<script'; ?>
type="text/javascript" src="jquery/jquery-1.9.1.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src='iframe-resizer-master/js/iframeResizer.contentWindow.min.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>
<form action="?action=save" method='post' name='erfassen'>
<?php if ($_smarty_tpl->tpl_vars['tz_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['tz_error_text']->value;?>
</td>
</tr>
</table>
<br />
<br />
<?php }?>
<fieldset>
<legend>
<b>Teilzeit erfassen</b>
</legend>
<br />
<br />
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
<tr>
<td>
Prozent
</td>
<td valign="top">
<select size="1" id='umfang' name='umfang'>
<option value="1.00" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "1.00") {?> selected <?php }?>>100&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.95" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.95") {?> selected <?php }?>>95&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.90" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.90") {?> selected <?php }?>>90&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.85" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.85") {?> selected <?php }?>>85&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.80" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.80") {?> selected <?php }?>>80&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.75" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.75") {?> selected <?php }?>>75&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.70" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.70") {?> selected <?php }?>>70&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.65" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.65") {?> selected <?php }?>>65&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.60" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.60") {?> selected <?php }?>>60&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.55" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.55") {?> selected <?php }?>>55&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.50" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.50") {?> selected <?php }?>>50&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.45" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.45") {?> selected <?php }?>>45&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.40" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.40") {?> selected <?php }?>>40&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.35" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.35") {?> selected <?php }?>>35&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.30" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.30") {?> selected <?php }?>>30&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.25" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.25") {?> selected <?php }?>>25&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.20" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.20") {?> selected <?php }?>>20&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.15" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.15") {?> selected <?php }?>>15&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.10" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.10") {?> selected <?php }?>>10&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.05" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.05") {?> selected <?php }?>>5&nbsp;%&nbsp;&nbsp;&nbsp;</option>
<option value="0.00" <?php if ($_smarty_tpl->tpl_vars['tz_value_umfang']->value == "0.00") {?> selected <?php }?>>0&nbsp;%&nbsp;&nbsp;&nbsp;</option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Beginn der Funktion
</td>
<td>
<input type="date" name="beginn_teilzeit" id="beginn_teilzeit" value="<?php echo $_smarty_tpl->tpl_vars['tz_value_beginn']->value;?>
" onchange='calc_erm_78();'>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
<tr>
<tr id="erm_freist_hinweis">
<td width="30%">
&nbsp;
</td>
<td valign="top">
<table width="70%" class="errorTable">
<tr>
<td>
<b>Hinweis</b><br>
<ul>
<li>Eine ältere Teilzeit endet dann, wenn eine neue Teilzeit erfasst wird.</li>
<li>Es wird immer der Monatserste als Beginntag festgelegt!</li>
<li>Betrachtet werden Zeiträume des Studienjahres: 01.09 - 31.08</li>
</ul>
</td>
</tr>
</table>
<br>
</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>
<br>
<b>Basiswert der Lehrveranstaltungsstunden in diesem Studienjahr: <?php echo $_smarty_tpl->tpl_vars['tz_baselvs']->value;?>
</b>
<br>
<table cellspacing="0" cellpadding="2" width="100%" border="1">
<tr>
<td>
<b>lfd.Nr.</b>
</td>
<td align="right">
<b>Beginn</b>
</td>
<td align="right">
<b>Prozent</b>
</td>
<td align="center">
<b>Edit</b>
</td>
<tr>
<?php
$__section_table_data2_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_0_total = $__section_table_data2_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_0_total != 0) {
for ($__section_table_data2_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_0_iteration <= $__section_table_data2_0_total; $__section_table_data2_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_0_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)]['beginn'];?>
</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)]['prozent'];?>
</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)]['dad'];?>
><img title = "Teilzeit bearbeiten" border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/edit.png"></a>
&nbsp;
<?php if ($_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)]['nodel'] != 1) {?>
<a href="?action=del&dad=<?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)]['dad'];?>
"><img title = 'Teilzeit l&ouml;schen' border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop.png"></a>
<?php } else { ?>
<!-- Es wird immer einen Startwert gesetzt beim anlegen einer Teilzeit, dieser darf nicht gelöscht werden für die Berechnung-->
<img title = 'Teilzeit l&ouml;schen' border="0" height=10 src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop_grey.png">
<?php }?>
</td>
</tr>
<?php }?>
<?php
}
}
if ($__section_table_data2_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_0_saved;
}
?>
<tr>
<td colspan="2">&nbsp;</td>
<td align="right">EVTL FALSCH. Reihenfolge für Abzüge berücksichtigen. Haug 25.7.19<b>Lehrveranstaltungsstunden: <?php echo $_smarty_tpl->tpl_vars['tz_value_lvs']->value;?>
</b></td>
<td>&nbsp;</td>
</tr>
</table>
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }
}
}