| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/sc/ |
Upload File : |
<?php
/* Smarty version 3.1.30, created on 2026-06-27 05:56:50
from "/var/www/clients/client1/web17/web/includes/templates/templates/tasks/_day_detail.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a027e2db0_29057462',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f5b5afd4cf1ce596d5429073e3d3fabe1a62d6c7' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/tasks/_day_detail.tpl',
1 => 1780601521,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a027e2db0_29057462 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once '/var/www/clients/client1/web17/web/includes/plugins/smarty-3.1.30/plugins/modifier.date_format.php';
?>
<?php if (!$_smarty_tpl->tpl_vars['day']->value) {?>
<div class="page-header mb-3">
<h1 class="h3 mb-0"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['dayDate']->value,"%d.%m.%Y");?>
</h1>
<div class="text-muted small mt-1">Keine Anreisen an diesem Tag</div>
</div>
<div class="card"><div class="card-body text-center text-muted py-5">
<i class="material-icons" style="font-size:42px;opacity:.35;">event_busy</i>
<div class="mt-2">Für diesen Tag sind keine Anreisen erfasst.</div>
</div></div>
<?php } else { ?>
<?php $_smarty_tpl->_assignInScope('ot', $_smarty_tpl->tpl_vars['day']->value->overview_total);
?>
<?php $_smarty_tpl->_assignInScope('g', $_smarty_tpl->tpl_vars['ot']->value['gesamt']);
?>
<?php $_smarty_tpl->_assignInScope('t3', $_smarty_tpl->tpl_vars['ot']->value['halle']+$_smarty_tpl->tpl_vars['ot']->value['aussen']+$_smarty_tpl->tpl_vars['ot']->value['valet']);
?>
<div class="d-flex justify-content-between align-items-start flex-wrap gap-3 mb-3">
<div>
<h1 class="h3 mb-1"><?php echo $_smarty_tpl->tpl_vars['day']->value->weekday;?>
<?php if ($_smarty_tpl->tpl_vars['day']->value->relative) {?><span class="badge bg-success align-middle ms-1"><?php echo $_smarty_tpl->tpl_vars['day']->value->relative;?>
</span><?php }?>
</h1>
<div class="dash-subline text-muted small d-flex flex-wrap gap-3">
<span><i class="material-icons sm">groups</i> <?php echo number_format($_smarty_tpl->tpl_vars['day']->value->guests,0,",",".");?>
Gäste</span>
<?php if ($_smarty_tpl->tpl_vars['day']->value->early->all > 0) {?><span><i class="material-icons sm">bolt</i> <?php echo $_smarty_tpl->tpl_vars['day']->value->early->all;?>
Early Check In</span><?php }?>
<span><i class="material-icons sm">directions_boat</i> <?php echo $_smarty_tpl->tpl_vars['day']->value->shipCount;?>
Schiff<?php if ($_smarty_tpl->tpl_vars['day']->value->shipCount != 1) {?>e<?php }?></span>
<span><i class="material-icons sm">directions_car</i> <?php echo $_smarty_tpl->tpl_vars['g']->value;?>
Fahrzeuge gesamt</span>
</div>
</div>
<div class="d-flex flex-column gap-2 align-items-stretch">
<a href="<?php echo @constant('SITE_URL');?>
/tasks/day/?date=<?php echo $_smarty_tpl->tpl_vars['day']->value->date;?>
&show=arrivals" class="btn btn-primary"><i class="material-icons sm">groups</i> Zur Anreiseliste</a>
<a href="<?php echo @constant('SITE_URL');?>
/tasks/day/?date=<?php echo $_smarty_tpl->tpl_vars['day']->value->date;?>
" class="btn btn-outline-secondary btn-sm"><i class="material-icons sm">today</i> Tag anzeigen</a>
</div>
</div>
<div class="row g-3 mb-3">
<div class="col-6 col-xl-3"><div class="card h-100"><div class="dash-kpi">
<div class="dash-kpi-ico green"><i class="material-icons">directions_car</i></div>
<div><div class="stat-label">Fahrzeuge</div><div class="dash-kpi-val"><?php echo $_smarty_tpl->tpl_vars['g']->value;?>
</div></div>
</div></div></div>
<div class="col-6 col-xl-3"><div class="card h-100"><div class="dash-kpi">
<div class="dash-kpi-ico yellow"><i class="material-icons">local_parking</i></div>
<div><div class="stat-label">Seaside</div><div class="dash-kpi-val"><?php echo $_smarty_tpl->tpl_vars['day']->value->overview_pas['gesamt'];?>
</div></div>
</div></div></div>
<div class="col-6 col-xl-3"><div class="card h-100"><div class="dash-kpi">
<div class="dash-kpi-ico purple"><i class="material-icons">list_alt</i></div>
<div><div class="stat-label">Vorbucher</div><div class="dash-kpi-val"><?php echo $_smarty_tpl->tpl_vars['day']->value->overview_aida['gesamt'];?>
</div></div>
</div></div></div>
<div class="col-6 col-xl-3"><div class="card h-100"><div class="dash-kpi">
<div class="dash-kpi-ico teal"><i class="material-icons">groups</i></div>
<div><div class="stat-label">Gäste</div><div class="dash-kpi-val"><?php echo number_format($_smarty_tpl->tpl_vars['day']->value->guests,0,",",".");?>
</div></div>
</div></div></div>
</div>
<div class="card mb-3"><div class="card-body">
<div class="fw-bold mb-3">Parkplatzverteilung</div>
<div class="row text-center g-3 mb-3 dash-stat-row">
<div class="col-3"><div class="stat-label">Halle</div><div class="dash-dist-val text-danger"><?php echo $_smarty_tpl->tpl_vars['ot']->value['halle'];?>
</div><div class="text-muted small"><?php if ($_smarty_tpl->tpl_vars['g']->value > 0) {
echo number_format(($_smarty_tpl->tpl_vars['ot']->value['halle']/$_smarty_tpl->tpl_vars['g']->value*100),1,",",".");
} else { ?>0<?php }?> %</div></div>
<div class="col-3"><div class="stat-label">Außen</div><div class="dash-dist-val text-success"><?php echo $_smarty_tpl->tpl_vars['ot']->value['aussen'];?>
</div><div class="text-muted small"><?php if ($_smarty_tpl->tpl_vars['g']->value > 0) {
echo number_format(($_smarty_tpl->tpl_vars['ot']->value['aussen']/$_smarty_tpl->tpl_vars['g']->value*100),1,",",".");
} else { ?>0<?php }?> %</div></div>
<div class="col-3"><div class="stat-label">Valet</div><div class="dash-dist-val text-primary"><?php echo $_smarty_tpl->tpl_vars['ot']->value['valet'];?>
</div><div class="text-muted small"><?php if ($_smarty_tpl->tpl_vars['g']->value > 0) {
echo number_format(($_smarty_tpl->tpl_vars['ot']->value['valet']/$_smarty_tpl->tpl_vars['g']->value*100),1,",",".");
} else { ?>0<?php }?> %</div></div>
<div class="col-3"><div class="stat-label">Gesamt</div><div class="dash-dist-val"><?php echo $_smarty_tpl->tpl_vars['g']->value;?>
</div><div class="text-muted small">100 %</div></div>
</div>
<div class="dash-bar">
<div class="dash-bar-seg" style="width:<?php if ($_smarty_tpl->tpl_vars['t3']->value > 0) {
echo number_format(($_smarty_tpl->tpl_vars['ot']->value['halle']/$_smarty_tpl->tpl_vars['t3']->value*100),2,".",'');
} else { ?>0<?php }?>%;background:var(--red);"></div>
<div class="dash-bar-seg" style="width:<?php if ($_smarty_tpl->tpl_vars['t3']->value > 0) {
echo number_format(($_smarty_tpl->tpl_vars['ot']->value['aussen']/$_smarty_tpl->tpl_vars['t3']->value*100),2,".",'');
} else { ?>0<?php }?>%;background:var(--green);"></div>
<div class="dash-bar-seg" style="width:<?php if ($_smarty_tpl->tpl_vars['t3']->value > 0) {
echo number_format(($_smarty_tpl->tpl_vars['ot']->value['valet']/$_smarty_tpl->tpl_vars['t3']->value*100),2,".",'');
} else { ?>0<?php }?>%;background:var(--blue);"></div>
</div>
</div></div>
<div class="row g-3">
<div class="col-12 col-xl-8">
<div class="fw-bold mb-2">Schiffe (<?php echo $_smarty_tpl->tpl_vars['day']->value->shipCount;?>
)</div>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['day']->value->ships, 'ship');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['ship']->value) {
?>
<div class="card mb-3"><div class="card-body">
<div class="d-flex justify-content-between align-items-start flex-wrap gap-2 mb-3">
<div>
<div class="h5 mb-1"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ship']->value->title, ENT_QUOTES, 'UTF-8', true);?>
</div>
<div class="text-muted small">
<?php if ($_smarty_tpl->tpl_vars['ship']->value->end_date) {?>Reise bis <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ship']->value->end_date,"%d.%m.%Y");
}?>
<?php if ($_smarty_tpl->tpl_vars['ship']->value->trip_label) {?> · <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ship']->value->trip_label, ENT_QUOTES, 'UTF-8', true);
}?>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['ship']->value->logo) {?><img src="<?php echo @constant('SITE_URL');?>
/assets/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ship']->value->logo, ENT_QUOTES, 'UTF-8', true);?>
" alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ship']->value->title, ENT_QUOTES, 'UTF-8', true);?>
" style="height:40px;"><?php }?>
</div>
<div class="row g-3">
<div class="col-12 col-md-6">
<div class="dash-ship-box">
<div class="dash-ship-head"><i class="material-icons sm">local_parking</i> Parken am Schiff</div>
<div class="row text-center g-2">
<div class="col-3"><div class="stat-label">Halle</div><div class="dash-ship-val"><?php echo $_smarty_tpl->tpl_vars['ship']->value->pas_stats['halle'];?>
</div></div>
<div class="col-3"><div class="stat-label">Außen</div><div class="dash-ship-val"><?php echo $_smarty_tpl->tpl_vars['ship']->value->pas_stats['aussen'];?>
</div></div>
<div class="col-3"><div class="stat-label">Valet</div><div class="dash-ship-val"><?php echo $_smarty_tpl->tpl_vars['ship']->value->pas_stats['valet'];?>
</div></div>
<div class="col-3"><div class="stat-label">Gesamt</div><div class="dash-ship-val fw-bold"><?php echo $_smarty_tpl->tpl_vars['ship']->value->pas_stats['gesamt'];?>
</div></div>
</div>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['ship']->value->is_aida_ship) {?>
<div class="col-12 col-md-6">
<div class="dash-ship-box aida">
<div class="dash-ship-head text-primary"><i class="material-icons sm">list_alt</i> AIDA Vorbucherliste</div>
<div class="row text-center g-2">
<div class="col-3"><div class="stat-label">Halle</div><div class="dash-ship-val"><?php echo $_smarty_tpl->tpl_vars['ship']->value->aida_stats['halle'];?>
</div></div>
<div class="col-3"><div class="stat-label">Außen</div><div class="dash-ship-val"><?php echo $_smarty_tpl->tpl_vars['ship']->value->aida_stats['aussen'];?>
</div></div>
<div class="col-3"><div class="stat-label">Valet</div><div class="dash-ship-val"><?php echo $_smarty_tpl->tpl_vars['ship']->value->aida_stats['valet'];?>
</div></div>
<div class="col-3"><div class="stat-label">Gesamt</div><div class="dash-ship-val fw-bold"><?php echo $_smarty_tpl->tpl_vars['ship']->value->aida_stats['gesamt'];?>
</div></div>
</div>
</div>
</div>
<?php }?>
</div>
</div></div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<a href="<?php echo @constant('SITE_URL');?>
/tasks/day/?date=<?php echo $_smarty_tpl->tpl_vars['day']->value->date;?>
" class="btn btn-light border w-100 mb-3">Anreisetag öffnen <i class="material-icons sm">arrow_forward</i></a>
</div>
<div class="col-12 col-xl-4">
<div class="card"><div class="card-header fw-bold">Hinweise für den Tag</div>
<div class="list-group list-group-flush">
<div class="list-group-item d-flex align-items-center gap-2">
<span class="dash-hint-ico teal"><i class="material-icons sm">hourglass_bottom</i></span>
<div><div class="fw-bold small">Early Check In</div><div class="text-muted small"><?php echo $_smarty_tpl->tpl_vars['day']->value->early->all;?>
Fahrzeug<?php if ($_smarty_tpl->tpl_vars['day']->value->early->all != 1) {?>e<?php }?></div></div>
</div>
<div class="list-group-item d-flex align-items-center gap-2">
<span class="dash-hint-ico purple"><i class="material-icons sm">vpn_key</i></span>
<div><div class="fw-bold small">Valet Service</div><div class="text-muted small"><?php echo $_smarty_tpl->tpl_vars['ot']->value['valet'];?>
Fahrzeug<?php if ($_smarty_tpl->tpl_vars['ot']->value['valet'] != 1) {?>e<?php }?></div></div>
</div>
<div class="list-group-item d-flex align-items-center gap-2">
<span class="dash-hint-ico green"><i class="material-icons sm">local_parking</i></span>
<div><div class="fw-bold small">Hauptauslastung</div><div class="text-muted small"><?php if ($_smarty_tpl->tpl_vars['ot']->value['aussen'] >= $_smarty_tpl->tpl_vars['ot']->value['halle']) {?>Außenparkplatz<?php } else { ?>Hallenparkplatz<?php }?></div></div>
</div>
<?php if ($_smarty_tpl->tpl_vars['day']->value->ships[0]->end_date) {?>
<div class="list-group-item d-flex align-items-center gap-2">
<span class="dash-hint-ico blue"><i class="material-icons sm">directions_boat</i></span>
<div><div class="fw-bold small">Abfahrt Schiff</div><div class="text-muted small"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day']->value->ships[0]->end_date,"%d.%m.%Y");?>
</div></div>
</div>
<?php }?>
</div>
</div>
</div>
</div>
<?php }
}
}