| 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/booking/edit.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a029b9176_37105348',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0fede994d7c185ad1c2d239e10866308f5ba3ff2' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/booking/edit.tpl',
1 => 1780434062,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a029b9176_37105348 (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';
if (!empty($_smarty_tpl->tpl_vars['page']->value->query['http']['post'])) {?>
<?php echo $_smarty_tpl->tpl_vars['data']->value->save("pacim_booking","booking_id",$_smarty_tpl->tpl_vars['page']->value->query['http']['get']['booking_id']);?>
<?php $_smarty_tpl->_assignInScope('booking', $_smarty_tpl->tpl_vars['data']->value->booking($_smarty_tpl->tpl_vars['page']->value->query['http']['get']['booking_id']));
?>
<div class="alert alert-success">
Änderungen wurden erfolgreich übernommen!
<div style="margin-top:10px;">
<a class="btn btn-success btn-sm" href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['booking']->value->booking_invoice;?>
">zur Buchungsübersicht</a>
</div>
</div>
<?php } else { ?>
<?php $_smarty_tpl->_assignInScope('booking', $_smarty_tpl->tpl_vars['data']->value->booking($_smarty_tpl->tpl_vars['page']->value->query['http']['get']['booking_id']));
}?>
<div class="row">
<div class="col-sm-12">
<h1 class="h2">Buchungs-Nr.: <?php echo $_smarty_tpl->tpl_vars['booking']->value->booking_no;?>
</h1>
</div>
<div class="col-md-12">
<hr style="margin-bottom:30px;margin-top:0;" />
</div>
<div class="col-sm-12">
<form method="POST" action="">
<div class="card" style="margin-bottom:25px;">
<div class="card-body">
<div class="row">
<div class="col-md-3">
<h6>Kennzeichen</h6>
<input type="text" name="booking_serial" value="<?php echo $_smarty_tpl->tpl_vars['booking']->value->booking_serial;?>
" style="text-transform:uppercase;" />
</div>
<div class="col-md-3">
<h6>Begin</h6>
<input type="text" class="datepicker" name="booking_begin" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->booking_begin,"%Y-%m-%d");?>
" />
</div>
<div class="col-md-3">
<h6>Ende</h6>
<input type="text" class="datepicker" name="booking_end" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->booking_end,"%Y-%m-%d");?>
" />
</div>
<div class="col-md-3">
<h6>Schiff</h6>
<select name="booking_event">
<option<?php if ($_smarty_tpl->tpl_vars['booking']->value->booking_event == '') {?> selected<?php }?>>-</option>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value->ships(), 'ship', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['ship']->value) {
?>
<option<?php if ($_smarty_tpl->tpl_vars['booking']->value->booking_event == $_smarty_tpl->tpl_vars['ship']->value->title) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['ship']->value->title;?>
</option>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</select>
</div>
</div>
<button class="btn btn-primary" type="submit">Speichern</button>
</div>
</div>
</form>
</div>
</div><?php }
}