96 lines
4.2 KiB
PHP
96 lines
4.2 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-07-30 14:31:23
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender3.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_66a8dd1baff1b6_72890728',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'eea5c3934b8e26a919a2a3eae6e933c9fa5712a6' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender3.tpl',
|
|
1 => 1704652129,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_66a8dd1baff1b6_72890728 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
|
|
?>
|
|
<div class="col-md-12" style="background-color:#333333; color:#fff">
|
|
<form action="" method="post">
|
|
<b> Auswahl Monat/Jahr:
|
|
|
|
<select name="monate" style="width:180px;" >
|
|
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['monate']->value['id'],'output'=>$_smarty_tpl->tpl_vars['monate']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['monate']->value['monat']),$_smarty_tpl);?>
|
|
|
|
</select>
|
|
|
|
<select name="jahre" style="width:180px;" >
|
|
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['jahre']->value['id'],'output'=>$_smarty_tpl->tpl_vars['jahre']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['jahre']->value['jahr']),$_smarty_tpl);?>
|
|
|
|
</select>
|
|
<input type="submit" name="auswahl" value="OK" >
|
|
aktuell: <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
|
|
|
|
</form>
|
|
|
|
|
|
</br>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kl_tag']->value, 'kltag');
|
|
$_smarty_tpl->tpl_vars['kltag']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kltag']->value) {
|
|
$_smarty_tpl->tpl_vars['kltag']->do_else = false;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['kltag']->value['tag'] == 1) {?> </br>Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kltag']->value['kw'];?>
|
|
- <?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];
|
|
}?>
|
|
<?php if ($_smarty_tpl->tpl_vars['kltag']->value['wt'] == "Montag") {?> </br>Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kltag']->value['kw'];?>
|
|
- <?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];
|
|
}?>
|
|
<table class="datatable" >
|
|
<thead>
|
|
<tr>
|
|
<th style="width:1000px; text-align:left" onclick="window.location='?s=kalender_fneu&tag=<?php echo $_smarty_tpl->tpl_vars['kltag']->value['tag'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['monat'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];?>
|
|
';"><?php echo $_smarty_tpl->tpl_vars['kltag']->value['tag'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['monat'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];?>
|
|
(<?php echo $_smarty_tpl->tpl_vars['kltag']->value['wt'];?>
|
|
)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kltag']->value['data'], 'data');
|
|
$_smarty_tpl->tpl_vars['data']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
|
|
$_smarty_tpl->tpl_vars['data']->do_else = false;
|
|
?>
|
|
<tr> <th style="width:1000px; text-align:left" onclick="window.location='?s=kalender_fedit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
|
|
';"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['data']->value['icon'];?>
|
|
" width="16" height="16"/> <?php echo $_smarty_tpl->tpl_vars['data']->value['kz'];?>
|
|
<?php echo $_smarty_tpl->tpl_vars['data']->value['bez'];?>
|
|
<?php echo $_smarty_tpl->tpl_vars['data']->value['info'];?>
|
|
</th> </tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</div> <?php }
|
|
}
|