136 lines
4.7 KiB
PHP
136 lines
4.7 KiB
PHP
<?php
|
|
/* Smarty version 4.3.0, created on 2024-05-30 12:29:01
|
|
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender2.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '4.3.0',
|
|
'unifunc' => 'content_665854edac2949_53117893',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'a38fbfe99334248ba59b71091ed378fffc034339' =>
|
|
array (
|
|
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender2.tpl',
|
|
1 => 1704652077,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_665854edac2949_53117893 (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',),));
|
|
?>
|
|
|
|
|
|
<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" >
|
|
|
|
</form>
|
|
|
|
|
|
</br>
|
|
</br>
|
|
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kltag']->value, 'kl_tag');
|
|
$_smarty_tpl->tpl_vars['kl_tag']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kl_tag']->value) {
|
|
$_smarty_tpl->tpl_vars['kl_tag']->do_else = false;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['kl_tag']->value['tag'] == 1) {?>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" align="left">Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['kw'];?>
|
|
- <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
|
|
</div>
|
|
<table class="table-hover">
|
|
<tbody>
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['kl_tag']->value['wt'] == "Montag") {?>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" align="left">Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['kw'];?>
|
|
- <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
|
|
</div>
|
|
<table class="table-hover">
|
|
<tbody>
|
|
|
|
<?php }?>
|
|
<tr>
|
|
<td style="width:150px; text-align:left" onclick="window.location='?s=kalender_neu&tag=<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['tag'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['monat'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
|
|
';"><?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['tag'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['monat'];?>
|
|
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
|
|
(<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['tw'];?>
|
|
)</td>
|
|
</tr>
|
|
<tr>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kl_tag']->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;
|
|
?>
|
|
<td nowrap align="left" style="width:200px;font-size:11pt">
|
|
<b> </b>
|
|
</td>
|
|
|
|
<td style="width:200px; text-align:left" onclick="window.location='?s=kalender_edit&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['name'];?>
|
|
|
|
</td>
|
|
|
|
<td style="width:200px; text-align:left" onclick="window.location='?s=kalender_edit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
|
|
';"><?php echo $_smarty_tpl->tpl_vars['data']->value['bez'];?>
|
|
|
|
</td>
|
|
<td style="width:300px; text-align:left" onclick="window.location='?s=kalender_edit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
|
|
';"><img <?php echo $_smarty_tpl->tpl_vars['data']->value['info'];?>
|
|
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
|
|
|
|
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php }
|
|
}
|