prognose_kehl/templates/standard/funktionen_bearbeiten.html
2023-01-30 08:01:11 +01:00

419 lines
22 KiB
HTML
Executable File

{if $action == ''}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="./templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$funkt_bearb_titel}</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="800" border="0">
<tr>
<td width="10" background="./templates/{$global_template}/images/box_e1.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td width="95%" background="./templates/{$global_template}/images/box_top.gif">
<img height="10" src="./templates/{$global_template}/images/blank.gif" width="1"><br>
<font class="hd">{$funkt_bearb_titel}</font><br>
<td nowrap="nowrap" align="left" width="3%" background="./templates/{$global_template}/images/box_top.gif" valign="top"></td>
<img height="5" src="./templates/{$global_template}/images/blank.gif" width="1"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e2.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td width="1%" background="./templates/{$global_template}/images/box_l.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td colspan="2"><br><p align="left">
<!-- hier inhalt -->
<form action=?action=grcreate method="POST">
<p align="center">
<b>{$funkt_bearb_text}</b>
<br>
<br>
<select size="10" id='funktion' name='funktion'>
<option value="new">Funktion anlegen&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option style="font-weight:bold;font-style: italic;" disabled>&nbsp;</option>
{section name=table_data loop=$table_data}
<option value="{$table_data[table_data].kfid}">{$table_data[table_data].bezeichnung}&nbsp;&nbsp;&nbsp;&nbsp;</option>
{/section}
</select>
<br><br>
<p align='center'>
<input type="submit" value="Weiter" name="B1">
</p>
</p>
</form>
<!-- hier inhalt Ende -->
</td>
<td width="1%" background="./templates/{$global_template}/images/box_r.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="./templates/{$global_template}/images/box_e3.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="98%" background="./templates/{$global_template}/images/box_bottom.gif" colspan="2">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="8"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e4.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{if $action == 'grcreate'}
{if $funkt_bearb_mandatory_auswahl == '1'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="./templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$funkt_bearb_mandatory_auswahl_titel}</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/{$global_template}/images/box_e1.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="3%" background="./templates/{$global_template}/images/box_top.gif" valign="top"></td>
<td width="95%" background="./templates/{$global_template}/images/box_top.gif">
<img height="10" src="./templates/{$global_template}/images/blank.gif" width="1"><br>
<span class="sh">{$funkt_bearb_mandatory_auswahl_titel}</span><br>
<img height="5" src="./templates/{$global_template}/images/blank.gif" width="1"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e2.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td width="1%" background="./templates/{$global_template}/images/box_l.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td colspan="2"><br>
<p align="center"><b>{$funkt_bearb_mandatory_auswahl_text}</b>
</p>
<p align="center"><a href="?">
<img border="0" src="./templates/{$global_template}/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/{$global_template}/images/box_r.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="./templates/{$global_template}/images/box_e3.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="98%" background="./templates/{$global_template}/images/box_bottom.gif" colspan="2">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="8"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e4.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{if $funkt_bearb_mandatory_auswahl == '2'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="./templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$funkt_bearb_titel}</title>
<style>
select{
width: 250px;
}
</style>
<script language='JavaScript' type='text/javascript'>
<!--
function start() {
if (document.adm_anleg)
document.adm_anleg.atelier.focus();
return false;
}
//-->
</script>
<script type='text/javascript' src='./overlib/overlib.js'></script>
<script type='text/javascript' src='./overlib/overlib_centerpopup.js'></script>
<!-- Kalender Beginn // -->
<link rel='stylesheet' href='./datepicker/dynCalendar.css' type='text/css' media='screen'>
<script src='./datepicker/browserSniffer.js' type='text/javascript' language='javascript'></script>
<script src='./datepicker/dynCalendar.js' type='text/javascript' language='javascript'></script>
<script type='text/javascript'>
{literal}
<!--
// 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;
}
// -->
{/literal}
</script>
</head>
<body onload="start();">
<div id="overDiv" style="position: absolute; visibility: hidden; z-index: 1000; left: 10px; top: 0px; background-image: none;"></div>
<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="80%" border="0">
<tr>
<td width="10" background="./templates/{$global_template}/images/box_e1.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="98%" background="./templates/{$global_template}/images/box_top.gif" valign="top">
<img height="10" src="./templates/{$global_template}/images/blank.gif" width="1"><br>
<font class="hd">{$funkt_bearb_titel}</font><br>
<img height="5" src="./templates/{$global_template}/images/blank.gif" width="1"></font></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e2.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td width="1%" background="./templates/{$global_template}/images/box_l.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td>
<br>
<form action=?action=save method="POST" name="adm_anleg">
<fieldset>
<legend><b>Funktionsdefinition</b></legend>
<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>{$funkt_bearb_field_funktionnbez}*</b>
</td>
<td width="60%">
<input type="text" name="funktion" value="{$funkt_bearb_bez_funktion}" size="40">
</td>
</tr>
<tr>
<td width="40%">
<b>{$funkt_bearb_field_gueltig_ab}</b>
</td>
<td width="60%">
<input type='text' name='tag_ab' id='tag1' value='{$funkt_bearb_gueltig_ab_tag}' size=1>.<input type='text' name='mon_ab' id='mon1' value='{$funkt_bearb_gueltig_ab_mon}' size=1>.<input type='text' name='jahr_ab' id='jahr1' value='{$funkt_bearb_gueltig_ab_jahr}' size=3>
<script language='JavaScript' type='text/javascript'>
<!--
gueltig_ab = new dynCalendar('gueltig_ab', 'calendarCallback', './datepicker/images/', '', '1');
//-->
</script>
</td>
</tr>
<tr>
<td width="40%">
<b>{$funkt_bearb_field_gueltig_bis}</b>
</td>
<td width="60%">
<input type='text' name='tag_bis' id='tag2' value='{$funkt_bearb_gueltig_bis_tag}' size=1>.<input type='text' name='mon_bis' id='mon2' value='{$funkt_bearb_gueltig_bis_mon}' size=1>.<input type='text' name='jahr_bis' id='jahr2' value='{$funkt_bearb_gueltig_bis_jahr}' size=3>
<script language='JavaScript' type='text/javascript'>
<!--
gueltig_bis = new dynCalendar('gueltig_bis', 'calendarCallback', './datepicker/images/', '', '2');
//-->
</script>
</td>
</tr>
<tr>
<td width="40%">
&nbsp;
</td>
<td width="60%">
&nbsp;
</td>
</tr
<tr>
<td width="40%">
* = Pflichtfelder
</td>
<td width="60%">
&nbsp;
</td>
</tr>
</table>
</fieldset>
<p align='center'>
<input type="submit" value="Speichern" name="B1">
</p>
</form>
</td>
<td width="1%" background="./templates/{$global_template}/images/box_r.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="./templates/{$global_template}/images/box_e3.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="98%" background="./templates/{$global_template}/images/box_bottom.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="8"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e4.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{/if}
{if $action == 'save'}
<!-- Wird nicht verwendet, es wird nach 0 Sekunden weitergeleitet auf die grcreate-->
{if $funkt_bearb_inserterr == '1'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="./templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$funkt_bearb_inserterr_titel}</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/{$global_template}/images/box_e1.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="3%" background="./templates/{$global_template}/images/box_top.gif" valign="top"></td>
<td width="95%" background="./templates/{$global_template}/images/box_top.gif">
<img height="10" src="./templates/{$global_template}/images/blank.gif" width="1"><br>
<span class="sh">{$funkt_bearb_inserterr_titel}</span><br>
<img height="5" src="./templates/{$global_template}/images/blank.gif" width="1"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e2.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td width="1%" background="./templates/{$global_template}/images/box_l.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td colspan="2"><br>
<p align="left"><b>{$funkt_bearb_inserterr_text}</b>
<br><br>
{$funkt_bearb_reason}
</p>
<p align="center"><a href="?action=overview">
<img border="0" src="./templates/{$global_template}/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/{$global_template}/images/box_r.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="./templates/{$global_template}/images/box_e3.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="98%" background="./templates/{$global_template}/images/box_bottom.gif" colspan="2">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="8"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e4.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{if $funkt_bearb_inserterr == '2'}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="./templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$funkt_bearb_returnmail_titel}</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/{$global_template}/images/box_e1.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="3%" background="./templates/{$global_template}/images/box_top.gif" valign="top"></td>
<td width="95%" background="./templates/{$global_template}/images/box_top.gif">
<img height="10" src="./templates/{$global_template}/images/blank.gif" width="1"><br>
<span class="sh">{$funkt_bearb_returnmail_titel}</span><br>
<img height="5" src="./templates/{$global_template}/images/blank.gif" width="1"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e2.gif">
<img height="40" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td width="1%" background="./templates/{$global_template}/images/box_l.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td colspan="2"><br>
{$funkt_bearb_returnmal_text1}
<br><br>
{if $funkt_bearb_mailsuccess == '2'}
{$funkt_bearb_returnmal_text2}: {$funkt_bearb_returnmailadr}
{/if}
{if $funkt_bearb_mailsuccess == '1'}
{$funkt_bearb_returnmal_text3}
{/if}
</p>
<p align="center"><a href="?new=1">
<img border="0" src="./templates/{$global_template}/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/{$global_template}/images/box_r.gif">
<img height="1" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
</tr>
<tr>
<td nowrap="nowrap" align="left" width="1%" background="./templates/{$global_template}/images/box_e3.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"></td>
<td nowrap="nowrap" align="left" width="98%" background="./templates/{$global_template}/images/box_bottom.gif" colspan="2">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="8"></td>
<td nowrap="nowrap" align="right" width="1%" background="./templates/{$global_template}/images/box_e4.gif">
<img height="16" src="./templates/{$global_template}/images/blank.gif" width="22"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
{/if}
{/if}