409 lines
20 KiB
PHP
Executable File
409 lines
20 KiB
PHP
Executable File
<?php
|
|
/* Smarty version 3.1.29, created on 2020-01-03 11:23:48
|
|
from "/srv/www/htdocs-hvf/kurs/deputat/templates/modern/erf_fz.html" */
|
|
|
|
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
|
|
'has_nocache_code' => false,
|
|
'version' => '3.1.29',
|
|
'unifunc' => 'content_5e0f1634cf9d42_64651944',
|
|
'file_dependency' =>
|
|
array (
|
|
'f3231dc846c774d27afdeeee5817ac782ff60a26' =>
|
|
array (
|
|
0 => '/srv/www/htdocs-hvf/kurs/deputat/templates/modern/erf_fz.html',
|
|
1 => 1523256400,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_5e0f1634cf9d42_64651944 ($_smarty_tpl) {
|
|
?>
|
|
<?php 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">
|
|
</head>
|
|
<body>
|
|
<br />
|
|
<br />
|
|
<div class="header">
|
|
<div>
|
|
<div><?php echo $_smarty_tpl->tpl_vars['fz_titel']->value;?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<form action="?action=lbfzerf" method='post' name='erfassen'>
|
|
<div class="pat_list_box">
|
|
<fieldset>
|
|
<legend>
|
|
<b>Funktion auswählen</b>
|
|
</legend>
|
|
<br />
|
|
<br />
|
|
<p align="center">
|
|
<select size="10" id='funktion' name='funktion'>
|
|
<?php
|
|
$__section_table_data_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data'] : false;
|
|
$__section_table_data_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
|
|
$__section_table_data_0_total = $__section_table_data_0_loop;
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
|
|
if ($__section_table_data_0_total != 0) {
|
|
for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_0_iteration <= $__section_table_data_0_total; $__section_table_data_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
|
|
?>
|
|
<option value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['kfid'];?>
|
|
"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['bezeichnung'];?>
|
|
</option>
|
|
<?php
|
|
}
|
|
}
|
|
if ($__section_table_data_0_saved) {
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = $__section_table_data_0_saved;
|
|
}
|
|
?>
|
|
</select>
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<input type="submit" name="senden" value="Weiter">
|
|
</p>
|
|
<br />
|
|
</fieldset>
|
|
</form>
|
|
<br />
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<?php }?>
|
|
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'lbfzerf') {?>
|
|
<html>
|
|
<head>
|
|
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/css/styles_refill.css">
|
|
<!-- Kalender Beginn // -->
|
|
<link rel='stylesheet' href='./datepicker/dynCalendar.css' type='text/css' media='screen'>
|
|
<?php echo '<script'; ?>
|
|
src='./datepicker/browserSniffer.js' type='text/javascript' language='javascript'><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
src='./datepicker/dynCalendar.js' type='text/javascript' language='javascript'><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
type='text/javascript'>
|
|
|
|
<!--
|
|
// Calendar callback. When a date is clicked on the calendar
|
|
// this function is called so you can do as you want with it
|
|
function calendarCallback(date, month, year, pos)
|
|
{
|
|
if(date<10){date='0'+date;}
|
|
if(month<10){month='0'+month;}
|
|
date_tag = date;
|
|
date_mon = month;
|
|
date_jahr = year;
|
|
document.getElementById('tag'+pos).value = date_tag;
|
|
document.getElementById('mon'+pos).value = date_mon;
|
|
document.getElementById('jahr'+pos).value = date_jahr;
|
|
}
|
|
|
|
// -->
|
|
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<!-- Kalender Ende // -->
|
|
<?php echo '<script'; ?>
|
|
language='JavaScript' type='text/javascript'>
|
|
<!--
|
|
function start() {
|
|
if (document.adm_anleg)
|
|
document.adm_anleg.atelier.focus();
|
|
return false;
|
|
}
|
|
//-->
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</head>
|
|
<body onload="start();">
|
|
<br />
|
|
<br />
|
|
<div class="header">
|
|
<div>
|
|
<div><?php echo $_smarty_tpl->tpl_vars['fz_titel']->value;?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="pat_list_box">
|
|
<form action=?action=save method="POST" name="adm_anleg">
|
|
<fieldset>
|
|
<legend><b>Erfassung</b></legend>
|
|
<br>
|
|
<table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber1" height="194">
|
|
<tr>
|
|
<td width="40%">
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_betrag']->value;?>
|
|
*</b>
|
|
</td>
|
|
<td width="60%">
|
|
<input align="right" type="number" min="0.00" step="0.01" name="wert" value='<?php echo $_smarty_tpl->tpl_vars['fz_wert']->value;?>
|
|
'> €
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="40%">
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_starttag']->value;?>
|
|
*</b>
|
|
</td>
|
|
<td width="60%">
|
|
<input type='text' name='tag1' id='tag1' value='<?php echo $_smarty_tpl->tpl_vars['fz_startdat_tag']->value;?>
|
|
' size=1>.<input type='text' name='mon1' id='mon1' value='<?php echo $_smarty_tpl->tpl_vars['fz_startdat_mon']->value;?>
|
|
' size=1>.<input type='text' name='jahr1' id='jahr1' value='<?php echo $_smarty_tpl->tpl_vars['fz_startdat_jahr']->value;?>
|
|
' size=3>
|
|
<?php echo '<script'; ?>
|
|
language='JavaScript' type='text/javascript'>
|
|
<!--
|
|
startdat = new dynCalendar('startdat', 'calendarCallback', './datepicker/images/', '', '1');
|
|
//-->
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="40%">
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_endtag']->value;?>
|
|
</b>
|
|
</td>
|
|
<td width="60%">
|
|
<input type='text' name='tag3' id='tag3' value='<?php echo $_smarty_tpl->tpl_vars['fz_enddat_tag']->value;?>
|
|
' size=1>.<input type='text' name='mon3' id='mon3'value='<?php echo $_smarty_tpl->tpl_vars['fz_enddat_mon']->value;?>
|
|
' size=1>.<input type='text' name='jahr3' id='jahr3' value='<?php echo $_smarty_tpl->tpl_vars['fz_enddat_jahr']->value;?>
|
|
' size=3>
|
|
<?php echo '<script'; ?>
|
|
language='JavaScript' type='text/javascript'>
|
|
<!--
|
|
endtag = new dynCalendar('endtag', 'calendarCallback', './datepicker/images/', '', '3');
|
|
//-->
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</td>
|
|
<tr>
|
|
|
|
<tr>
|
|
<td width="40%">
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_prof']->value;?>
|
|
</b>
|
|
</td>
|
|
<td width="60%">
|
|
<select size="5" id='prof' name='prof'>
|
|
<?php
|
|
$__section_table_data3_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3'] : false;
|
|
$__section_table_data3_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data3']->value) ? count($_loop) : max(0, (int) $_loop));
|
|
$__section_table_data3_1_total = $__section_table_data3_1_loop;
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = new Smarty_Variable(array());
|
|
if ($__section_table_data3_1_total != 0) {
|
|
for ($__section_table_data3_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] = 0; $__section_table_data3_1_iteration <= $__section_table_data3_1_total; $__section_table_data3_1_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)]['imtuid'];?>
|
|
" <?php if ($_smarty_tpl->tpl_vars['fz_imtuid']->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)]['imtuid']) {?> 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)]['titel'];?>
|
|
<?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)]['nachname'];?>
|
|
, <?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)]['vorname'];?>
|
|
</option>
|
|
<?php
|
|
}
|
|
}
|
|
if ($__section_table_data3_1_saved) {
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = $__section_table_data3_1_saved;
|
|
}
|
|
?>
|
|
</select>
|
|
</td>
|
|
<tr>
|
|
|
|
<tr>
|
|
<td width="40%">
|
|
* = Pflichtfelder
|
|
</td>
|
|
<td width="60%">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
<br>
|
|
<fieldset>
|
|
<legend><b>Gespeicherte Zulagen</b></legend>
|
|
<table width='100%' border='0'>
|
|
<tr>
|
|
<td>
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_starttag']->value;?>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_betrag']->value;?>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_name']->value;?>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_endtag']->value;?>
|
|
</b>
|
|
</td>
|
|
<td align='center'>
|
|
<b><?php echo $_smarty_tpl->tpl_vars['fz_field_aktionen']->value;?>
|
|
</b>
|
|
</td>
|
|
<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']++){
|
|
?>
|
|
<tr>
|
|
<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)]['startdat_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)]['wert'];?>
|
|
€
|
|
</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)]['name'];?>
|
|
|
|
</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)]['enddat_form'];?>
|
|
|
|
</td>
|
|
<td align='center'>
|
|
<a href="?action=lbfzerf&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)]['lbfzid'];?>
|
|
"><img title = "Daten bearbeiten" border="0" height=10 src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/edit.png"></a>
|
|
|
|
<a href="?action=del&lbfzid=<?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)]['lbfzid'];?>
|
|
"><img title = "Daten löschen" border="0" height=10 src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/drop.png"></a>
|
|
</td>
|
|
<tr>
|
|
<?php
|
|
}
|
|
}
|
|
if ($__section_table_data2_2_saved) {
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_2_saved;
|
|
}
|
|
?>
|
|
</table>
|
|
<br>
|
|
</fieldset>
|
|
<p align='center'>
|
|
<input type="submit" value="Speichern" name="B1">
|
|
</p>
|
|
</form>
|
|
<br />
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
if ($_smarty_tpl->tpl_vars['action']->value == 'save') {?>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/css/styles_pc.php" type="text/css">
|
|
<title><?php echo $_smarty_tpl->tpl_vars['fz_inserterr_titel']->value;?>
|
|
</title>
|
|
</head>
|
|
<body>
|
|
<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
|
|
<tr>
|
|
<td>
|
|
<div align="center">
|
|
<table cellspacing="0" cellpadding="0" width="550" border="0">
|
|
<tr>
|
|
<td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_e1.gif">
|
|
<img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="22">
|
|
</td>
|
|
<td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_top.gif" valign="top"></td>
|
|
<td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_top.gif">
|
|
<img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="1"><br>
|
|
<span class="sh"><?php echo $_smarty_tpl->tpl_vars['fz_save_titel']->value;?>
|
|
</span><br>
|
|
<img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="1">
|
|
</td>
|
|
<td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_e2.gif">
|
|
<img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="22">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_l.gif">
|
|
<img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="22">
|
|
</td>
|
|
<td colspan="2">
|
|
<br>
|
|
<p align="left"><b><?php echo $_smarty_tpl->tpl_vars['fz_save_text']->value;?>
|
|
</b></p>
|
|
<p align="center"><a href="?">
|
|
<img border="0" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/zurueck.gif" width="77" height="22"></a><br>
|
|
</p>
|
|
<p></p>
|
|
<p></p>
|
|
<p></p>
|
|
<p></p>
|
|
<p><br>
|
|
</p>
|
|
</td>
|
|
<td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_r.gif">
|
|
<img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="22">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_e3.gif">
|
|
<img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="22">
|
|
</td>
|
|
<td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_bottom.gif" colspan="2">
|
|
<img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="8">
|
|
</td>
|
|
<td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/box_e4.gif">
|
|
<img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/images/blank.gif" width="22">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
<?php }?>
|
|
|
|
<?php }
|
|
}
|