| 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/_customer.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a02932653_14700366',
'has_nocache_code' => false,
'file_dependency' =>
array (
'951eef0dd83dff361f62fbb10d3907e2bbef2bb7' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/booking/_customer.tpl',
1 => 1780695014,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a02932653_14700366 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('cust', $_smarty_tpl->tpl_vars['booking']->value->customer);
?>
<form class="js-customer-form">
<input type="hidden" name="mysql[table]" value="pacim_customer">
<input type="hidden" name="mysql[where]" value="customer_id = <?php echo $_smarty_tpl->tpl_vars['cust']->value->customer_id;?>
">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center">
<span class="fw-bold">Kundendaten</span>
<button type="submit" class="btn btn-sm btn-primary"><i class="material-icons sm">save</i> Speichern</button>
</div>
<div class="card-body">
<div class="row g-3">
<div class="col-12">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="cust-company"<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_gender == 3) {?> checked<?php }?>>
<label class="form-check-label" for="cust-company">Firma / Unternehmen <span class="text-muted">(als Rechnungsempfänger)</span></label>
</div>
<input type="hidden" name="content[customer_gender]" id="cust-gender" value="<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_gender == 3) {?>3<?php } else { ?>1<?php }?>">
</div>
<div class="col-12 js-company-field"<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_gender != 3) {?> style="display:none;"<?php }?>>
<label class="form-label">Firmenname <span class="text-muted">(Rechnungsempfänger)</span></label>
<input type="text" class="form-control" name="content[customer_name]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_name, ENT_QUOTES, 'UTF-8', true);?>
" placeholder="z. B. SeaSide Travel GmbH"<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_gender != 3) {?> disabled<?php }?>>
</div>
<div class="col-md-6">
<label class="form-label">Vorname<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_gender == 3) {?> <span class="text-muted">(Ansprechpartner)</span><?php }?></label>
<input type="text" class="form-control" name="content[customer_firstname]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_firstname, ENT_QUOTES, 'UTF-8', true);?>
">
</div>
<div class="col-md-6">
<label class="form-label">Nachname<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_gender == 3) {?> <span class="text-muted">(Ansprechpartner)</span><?php }?></label>
<input type="text" class="form-control" name="content[customer_lastname]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_lastname, ENT_QUOTES, 'UTF-8', true);?>
">
</div>
<div class="col-md-6">
<label class="form-label">Straße & Hausnummer</label>
<input type="text" class="form-control" name="content[customer_street]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_street, ENT_QUOTES, 'UTF-8', true);?>
" autocomplete="off" data-addr-street data-addr-zip="[name='content[customer_zipcode]']" data-addr-city="[name='content[customer_city]']" data-addr-country="[name='content[customer_country]']">
</div>
<div class="col-md-2">
<label class="form-label">PLZ</label>
<input type="text" class="form-control" name="content[customer_zipcode]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_zipcode, ENT_QUOTES, 'UTF-8', true);?>
">
</div>
<div class="col-md-4">
<label class="form-label">Ort</label>
<input type="text" class="form-control" name="content[customer_city]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_city, ENT_QUOTES, 'UTF-8', true);?>
">
</div>
<div class="col-md-4">
<label class="form-label">Land</label>
<input type="text" class="form-control" name="content[customer_country]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_country, ENT_QUOTES, 'UTF-8', true);?>
">
</div>
<div class="col-md-4">
<label class="form-label">Telefon</label>
<input type="text" class="form-control" name="content[customer_phone]" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_phone, ENT_QUOTES, 'UTF-8', true);?>
">
</div>
<div class="col-md-4">
<label class="form-label">E-Mail</label>
<input type="email" class="form-control" name="content[customer_email]" value="<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_email != '0') {
echo htmlspecialchars($_smarty_tpl->tpl_vars['cust']->value->customer_email, ENT_QUOTES, 'UTF-8', true);
}?>">
</div>
<div class="col-12">
<div class="form-check">
<input type="hidden" name="content[customer_newsletter]" value="0">
<input class="form-check-input" type="checkbox" id="cust-news" name="content[customer_newsletter]" value="1"<?php if ($_smarty_tpl->tpl_vars['cust']->value->customer_newsletter == 1) {?> checked<?php }?>>
<label class="form-check-label" for="cust-news">Newsletter abonniert</label>
</div>
</div>
</div>
<div class="js-save-status small mt-3"></div>
</div>
</div>
</form>
<?php }
}