154 lines
9.1 KiB
PHP
154 lines
9.1 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2022-01-27 09:07:20
|
|
from '/var/www/web360/htdocs/gottesdienst/templates/modern/admin/unzugeordnet.html' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_61f252b888f6a3_61409974',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'3c9a1ade5c7c65686369576415cfb5710f043955' =>
|
|
array (
|
|
0 => '/var/www/web360/htdocs/gottesdienst/templates/modern/admin/unzugeordnet.html',
|
|
1 => 1641979297,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_61f252b888f6a3_61409974 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?><html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<title>Sitzplan</title>
|
|
<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_login.css" type="text/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>
|
|
.legend1 {
|
|
display: block;
|
|
padding-left: 30px;
|
|
padding-right: 30px;
|
|
border: none;
|
|
}
|
|
fieldset {
|
|
margin-left: 2em;
|
|
margin-right: 2em;
|
|
margin-bottom: 2em;
|
|
border: 1px solid #888;
|
|
border-right: 1px solid #666;
|
|
border-bottom: 1px solid #666;
|
|
}
|
|
</style>
|
|
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
function save_platz(selectObject) {
|
|
|
|
var reihe_platz = selectObject.value;
|
|
var lfd_tid = selectObject.name;
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: 'save_platz.php',
|
|
data: {
|
|
get_reiheplatz: reihe_platz,
|
|
get_lfdtid: lfd_tid
|
|
},
|
|
success: function (response) {
|
|
var iframe = parent.document.getElementById(response);
|
|
iframe.src = iframe.src;
|
|
window.location.reload();
|
|
}
|
|
});
|
|
}
|
|
<?php echo '</script'; ?>
|
|
>
|
|
|
|
</head>
|
|
<body>
|
|
<fieldset>
|
|
<legend class="legend1" align="center">
|
|
<b>Nicht zugeordnete Personen</b>
|
|
</legend>
|
|
<form action=?action=save method="POST" name="save">
|
|
<table width="100%" border="1" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Name</b></td>
|
|
<td><b>Mögliche Sitzplätze</b></td>
|
|
</tr>
|
|
<?php
|
|
$__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><?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)]['nachname'];?>
|
|
, <?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)]['vorname'];?>
|
|
(<?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)]['Anz'];?>
|
|
<?php if ($_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)]['Anz'] == 1) {?> Person<?php } else { ?> Personen<?php }?>)</td>
|
|
<td>
|
|
<select 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)]['lfd_haushalt'];?>
|
|
|<?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)]['tid'];?>
|
|
" id="<?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)]['lfd_haushalt'];?>
|
|
|<?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)]['tid'];?>
|
|
" onchange="save_platz(this);">
|
|
<option>Bitte Platz auswählen</option>
|
|
<?php
|
|
$__section_inner_1_loop = (is_array(@$_loop=$_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)]['inner']) ? count($_loop) : max(0, (int) $_loop));
|
|
$__section_inner_1_total = $__section_inner_1_loop;
|
|
$_smarty_tpl->tpl_vars['__smarty_section_inner'] = new Smarty_Variable(array());
|
|
if ($__section_inner_1_total !== 0) {
|
|
for ($__section_inner_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] = 0; $__section_inner_1_iteration <= $__section_inner_1_total; $__section_inner_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_inner']->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)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['reihe'];?>
|
|
|<?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)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['platz'];?>
|
|
"><?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)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['reihe'];?>
|
|
<?php if ($_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)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['platz'] != '') {?>/ <?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)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['platz'];
|
|
}?></option>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
<option value="Sonntagschule|">Sonntagschule</option>
|
|
<option value="Vorsonntagschule|">Vorsonntagschule</option>
|
|
</select>
|
|
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
</table>
|
|
</form>
|
|
</fieldset>
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
}
|