gottesdienst/templates_c/9ee5ee67bf8c072895ec946011edb037975478f1_0.file.parameter.html.php
2023-03-14 07:16:04 +01:00

167 lines
5.8 KiB
PHP

<?php
/* Smarty version 3.1.29, created on 2020-11-07 09:36:52
from "F:\xampp_7.4.4\htdocs\gdregister\templates\modern\admin\parameter.html" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_5fa65ca4a3e125_25408463',
'file_dependency' =>
array (
'9ee5ee67bf8c072895ec946011edb037975478f1' =>
array (
0 => 'F:\\xampp_7.4.4\\htdocs\\gdregister\\templates\\modern\\admin\\parameter.html',
1 => 1604738209,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5fa65ca4a3e125_25408463 ($_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">
<style>
input{
width:330px;
}
.row_0 {
background-color: #FFFFFF;
}
.row_1 {
background-color: #E1E8F1;
}
</style>
</head>
<body>
<form action="?action=save" method='post' name='save'>
<?php if ($_smarty_tpl->tpl_vars['termine_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['termine_error_text']->value;?>
</td>
</tr>
</table>
<br />
<?php }?>
<fieldset>
<legend>
<b>Systemparameter</b>
</legend>
<br />
<br />
<table width="100%" cellspacing="0" cellpadding="0">
<?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']++){
?>
<tr>
<td min-width="40%" class="row_<?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)]['zaehler'];?>
" height='30'>
<?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)]['beschreibung'];?>
</td>
<td class="row_<?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)]['zaehler'];?>
" height='30'>
<input align="right" type="text" name="<?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)]['pid'];?>
" 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)]['wert'];?>
">
</td>
</tr>
<?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
</table>
</p>
<br />
<p align='center'>
<input type='submit' name='senden' value="speichern">
</p>
<br />
</fieldset>
</form>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'save') {
if ($_smarty_tpl->tpl_vars['parameter_inserterr']->value == '1') {?>
<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>
<fieldset>
<legend>Fehler beim der Speicherung</legend>
<br />
<br />
Es traten folgende Fehler auf:
<br />
<?php echo $_smarty_tpl->tpl_vars['parameter_reason']->value;?>
<br />
</fieldset>
</form>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['parameter_inserterr']->value == '2') {?>
<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>
<fieldset>
<legend>Speicherung</legend>
<br />
<br />
<p align="center">
Die Daten wurden übernommen.
</p>
<br />
<br />
</fieldset>
</form>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }
}
}
}