| 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/widgets/booking/cars.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02c42d22_30195827',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5adb07243ac96178af073c4539c54763d0e05893' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/booking/cars.tpl',
1 => 1780434062,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02c42d22_30195827 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_modifier_replace')) require_once '/var/www/clients/client1/web17/web/includes/plugins/smarty-3.1.30/plugins/modifier.replace.php';
?>
<div class="card overview-head rounded-0">
<div class="p-0 rounded-0">
<div class="row">
<div class="col-8">
<h4 class="m-0 px-3 py-2">
<?php echo $_smarty_tpl->tpl_vars['template_title']->value;?>
</h4>
</div>
<div class="col-4 text-end p-1 px-4">
<?php if (isset($_smarty_tpl->tpl_vars['show_filter']->value)) {?>
<div class="row g-0 mx-0">
<div class="col me-1" data-filter-info="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
"></div>
<select id="<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" class="col m-0 rounded-0 border list-filter-select" multiple="multiple">
<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 1) {?>
<optgroup label="Status">
<option value="arrived">Angereist (<?php echo ($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->fahrzeuge)-($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->wait_checkin);?>
)</option>
<option value="waiting">Offen (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->wait_checkin;?>
)</option>
</optgroup>
<?php if (!empty($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->arrivals_events)) {?>
<optgroup label="Schiff">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->arrivals_events, 'ship');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['ship']->value) {
?>
<option value="<?php echo smarty_modifier_replace(mb_strtolower($_smarty_tpl->tpl_vars['ship']->value->title, 'UTF-8')," ","_");?>
"><?php echo $_smarty_tpl->tpl_vars['ship']->value->title;?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</optgroup>
<?php }?>
<optgroup label="Leistung">
<option value="pp_hall">Halle (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->halle;?>
)</option>
<option value="pp_outside">Außen (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->aussen;?>
)</option>
<option value="pp_valet">VALET (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->valet;?>
)</option>
<option value="pp_special">Zusatzleistungen (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->specials;?>
)</option>
</optgroup>
<?php if (($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->aida_fahrzeuge) > 0) {?>
<optgroup label="Lead">
<option value="aida_lead">MyAIDA (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->aida_fahrzeuge;?>
)</option>
<option value="pas_lead">Parken-am-Schiff.de (<?php echo $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->all->pas_fahrzeuge;?>
)</option>
</optgroup>
<?php }?>
<?php } elseif ($_smarty_tpl->tpl_vars['show_filter']->value == 2) {?>
<optgroup label="Leistung">
<option value="pp_hall">Halle</option>
<option value="pp_outside">Außen</option>
<option value="pp_valet">Terminalübergabe</option>
<option value="pp_special">Zusatzleistungen</option>
</optgroup>
<?php if (!empty($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->departures_events)) {?>
<optgroup label="Schiff">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']}->departures_events, 'ship');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['ship']->value) {
?>
<option value="<?php echo smarty_modifier_replace(mb_strtolower($_smarty_tpl->tpl_vars['ship']->value->title, 'UTF-8')," ","_");?>
"><?php echo $_smarty_tpl->tpl_vars['ship']->value->title;?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</optgroup>
<?php }?>
<?php }?>
<optgroup label="Zahlungsart">
<option value="pay_cash">Barzahlung</option>
<option value="pay_card">EC-Karte</option>
<option value="pay_wired">Überweisung</option>
<option value="pay_pmcheck">Prüfen</option>
</optgroup>
</select>
</div>
<?php }?>
</div>
</div>
</div>
</div>
<div class="card border-0">
<div data-filter-list="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" class="striped-rows">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cars']->value, 'car', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['car']->value) {
?>
<?php $_smarty_tpl->_assignInScope('carFilter', array());
?>
<?php if (isset($_smarty_tpl->tpl_vars['show_filter']->value)) {?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->customer_source == "AIDA") {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'aida_lead';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
} else {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pas_lead';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_event)) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = (smarty_modifier_replace(mb_strtolower($_smarty_tpl->tpl_vars['car']->value->booking_event, 'UTF-8')," ","_"));
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_valet == 8) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pp_valet';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pp_special';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_parkplatz == "Halle") {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pp_hall';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
} else {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pp_outside';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 3) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pay_cash';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 2) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pay_card';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 1 && $_smarty_tpl->tpl_vars['car']->value->customer_source != "AIDA") {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pay_wired';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 4) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'pay_pmcheck';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 1) {?>
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_checkin !== NULL) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'arrived';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
} else {
$_tmp_array = isset($_smarty_tpl->tpl_vars['carFilter']) ? $_smarty_tpl->tpl_vars['carFilter']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = 'waiting';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 2) {?>
<?php }?>
<?php }?>
<div class="row g-0 p-3" data-filter-status="<?php echo implode('-',$_smarty_tpl->tpl_vars['carFilter']->value);?>
">
<div class="col-3">
<a href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['car']->value->invoice_id;?>
" class="d-block text-dark" title="zur Buchung von <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_lastname;?>
, <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_firstname;?>
gehen">
<span class="license-plate d-block lh-100" style="font-size:26px;font-weight:800 !important;"><?php if (empty($_smarty_tpl->tpl_vars['car']->value->booking_serial)) {?>---<?php } else {
echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;
}?></span>
<h5 class="m-0 text-secondary"><?php echo $_smarty_tpl->tpl_vars['car']->value->customer_lastname;?>
, <?php echo $_smarty_tpl->tpl_vars['car']->value->customer_firstname;?>
</h5>
</a>
</div>
<div class="ps-4 col-3">
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_end == $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']) {?>
<h4 class="product-name mb-0"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_event;?>
</strong></h4>
<h6 class="product-name m-0 text-secondary text-uppercase"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</h6>
<?php } else { ?>
<h4 class="product-name mb-0 text-uppercase"><strong><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</strong></h4>
<h6 class="product-name m-0 text-secondary"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_event;?>
</h6>
<?php }?>
</div>
<div class="col">
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_valet)) {?>
<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 1 && $_smarty_tpl->tpl_vars['car']->value->booking_valet == 8) {?>
<span class="badge bg-info p-1 ps-2 m-1 lh-100">
<i style="font-size: 32px;" class="material-icons float-start">directions_boat</i>
<span style="font-size:24px;" class="float-end ms-2 text-uppercase bg-light text-info px-2 py-1 rounded">VALET</span>
</span>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 2 && in_array($_smarty_tpl->tpl_vars['car']->value->booking_valet,array(8,10))) {?>
<span class="badge bg-info p-1 ps-2 m-1 lh-100">
<i style="font-size: 32px;" class="material-icons float-start">directions_boat</i>
<span style="font-size:24px;" class="float-end ms-2 text-uppercase bg-light text-info px-2 py-1 rounded">Terminal</span>
</span>
<?php }?>
<?php }?>
<?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {?>
<?php $_smarty_tpl->_assignInScope('specialProducts', explode(",",$_smarty_tpl->tpl_vars['car']->value->booking_special));
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['specialProducts']->value, 'special');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['special']->value) {
?>
<span class="badge badge-<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 2) {?>primary<?php } else { ?>secondary<?php }?> p-1 ps-2 m-1 lh-100">
<i style="font-size: 32px;" class="material-icons text-white float-start">
<?php if ($_smarty_tpl->tpl_vars['special']->value == 4) {?>
local_car_wash
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 5) {?>
settings
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 6) {?>
local_car_wash
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 7) {?>
local_car_wash
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 11) {?>
all_inclusive
<?php }?>
</i>
<span style="font-size:24px;" class="float-end ms-2 text-<?php if ($_smarty_tpl->tpl_vars['show_filter']->value == 2) {?>primary<?php } else { ?>secondary<?php }?> text-uppercase bg-light px-2 py-1 rounded">
<?php if ($_smarty_tpl->tpl_vars['special']->value == 4) {?>
Politur
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 5) {?>
Werkstatt
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 6) {?>
Innen
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 7) {?>
Wäsche
<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 11) {?>
Transfer
<?php }?>
</span>
</span>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<?php }?>
</div>
<div class="col-2 text-end lh-100">
<span class="d-inline-block w-75 shadow-none btn btn-outline-<?php if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 0) {?>danger<?php } else {
if ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 4) {?>warning<?php } else { ?>success<?php }
}?> border-0 p-2">
<i style="font-size:2rem;" class="material-icons float-start">euro_symbol</i>
<span class="lh-100 fw-bold float-end" style="font-size: 32px;">
<?php echo number_format($_smarty_tpl->tpl_vars['car']->value->price,2,",",".");?>
</span>
</span>
</div>
<div class="col-md-auto text-end ms-3">
<?php if ($_smarty_tpl->tpl_vars['car']->value->booking_checkin === NULL) {?>
<?php if (in_array($_smarty_tpl->tpl_vars['car']->value->invoice_payment,array(0,4))) {?>
<span class="w-100 shadow-none btn btn-primary px-3 lh-100 admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode(array('invoice_id'=>$_smarty_tpl->tpl_vars['car']->value->invoice_id,'price'=>$_smarty_tpl->tpl_vars['car']->value->price)));?>
" data-template="invoice/payment.tpl" data-headline="Zahlung erfassen">
<i style="font-size:2rem;" class="material-icons">payment</i>
</span>
<?php } else { ?>
<span class="w-100 shadow-none btn btn-outline-dark px-3 lh-100">
<i style="font-size:2rem;" class="material-icons">input</i>
</span>
<?php }?>
<?php } else { ?>
<span class="w-100 shadow-none btn text-primary px-3 lh-100">
<i style="font-size:2rem;" class="material-icons">done_all</i>
</span>
<?php }?>
</div>
</div>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<div class="row g-0 no-results"<?php if ((count($_smarty_tpl->tpl_vars['cars']->value)) > 0) {?> style="display:none;"<?php }?>>
<div class="col-12 text-center py-2">
<strong>- keine Fahrzeuge für <?php echo $_smarty_tpl->tpl_vars['template_title']->value;?>
gefunden -</strong>
</div>
</div>
</div>
<div class="overview-footer border-0 p-2 text-end">
<?php echo count($_smarty_tpl->tpl_vars['cars']->value);?>
<?php if ((count($_smarty_tpl->tpl_vars['cars']->value)) != 1) {?>Einträge<?php } else { ?>Eintrag<?php }?>
</div>
</div>
<?php }
}