first commit
This commit is contained in:
@ -0,0 +1,158 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.29, created on 2020-11-07 12:38:59
|
||||
from "F:\xampp_7.4.4\htdocs\gdregister\templates\modern\admin\unzugeordnet.html" */
|
||||
|
||||
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
|
||||
'has_nocache_code' => false,
|
||||
'version' => '3.1.29',
|
||||
'unifunc' => 'content_5fa687534ca606_30673792',
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'd21d0e9d3e5b5c732913391cedd99882d10c88fc' =>
|
||||
array (
|
||||
0 => 'F:\\xampp_7.4.4\\htdocs\\gdregister\\templates\\modern\\admin\\unzugeordnet.html',
|
||||
1 => 1604749129,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_5fa687534ca606_30673792 ($_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_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><?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_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_inner']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner'] : false;
|
||||
$__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
|
||||
}
|
||||
}
|
||||
if ($__section_inner_1_saved) {
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_inner'] = $__section_inner_1_saved;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
if ($__section_table_data1_0_saved) {
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</form>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
Reference in New Issue
Block a user