| 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/search.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a3f4a028adaa6_52920247',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0cbec7c6060098dbdaae8984b46842d94d7a5924' =>
array (
0 => '/var/www/clients/client1/web17/web/includes/templates/templates/search.tpl',
1 => 1780446042,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a3f4a028adaa6_52920247 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('q', (($tmp = @$_GET['q'])===null||$tmp==='' ? '' : $tmp));
$_smarty_tpl->_assignInScope('res', $_smarty_tpl->tpl_vars['search']->value->query($_smarty_tpl->tpl_vars['q']->value,100));
$_smarty_tpl->_assignInScope('list', $_smarty_tpl->tpl_vars['res']->value['results']);
?>
<div class="container-fluid p-4">
<div class="page-header">
<div class="page-header-row d-flex justify-content-between align-items-center flex-wrap gap-2">
<div>
<div class="stat-label">Suche</div>
<h1 class="h3 mb-0">Ergebnisse für „<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['q']->value, ENT_QUOTES, 'UTF-8', true);?>
"</h1>
</div>
<span class="text-muted small"><?php echo count($_smarty_tpl->tpl_vars['list']->value);?>
Treffer<?php if ($_smarty_tpl->tpl_vars['res']->value['hasMore']) {?>+ (verfeinern für genauere Treffer)<?php }?></span>
</div>
</div>
<div class="card search-page">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value, 'r');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['r']->value) {
?>
<a class="sr-item" href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['r']->value->invoice_id;?>
">
<span class="sr-plate license-plate"><?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['r']->value->plate)===null||$tmp==='' ? '---' : $tmp), ENT_QUOTES, 'UTF-8', true);?>
</span>
<span class="sr-main">
<span class="sr-name"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['r']->value->name, ENT_QUOTES, 'UTF-8', true);?>
</span>
<span class="sr-sub"><?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['r']->value->event)===null||$tmp==='' ? '—' : $tmp), ENT_QUOTES, 'UTF-8', true);?>
· <?php echo $_smarty_tpl->tpl_vars['r']->value->von;?>
–<?php echo $_smarty_tpl->tpl_vars['r']->value->bis;?>
· <?php echo $_smarty_tpl->tpl_vars['r']->value->typ;?>
· <?php echo $_smarty_tpl->tpl_vars['r']->value->booking_no;
if ($_smarty_tpl->tpl_vars['r']->value->invoice_no) {?> · <?php echo $_smarty_tpl->tpl_vars['r']->value->invoice_no;
}?></span>
</span>
<span class="sr-meta">
<span class="sr-badge <?php if ($_smarty_tpl->tpl_vars['r']->value->source == 'AIDA') {?>aida<?php } else { ?>seaside<?php }?>"><?php echo $_smarty_tpl->tpl_vars['r']->value->source;?>
</span>
<span class="sr-flags">
<?php if ($_smarty_tpl->tpl_vars['r']->value->checkedin) {?><span class="ok"><i class="material-icons">check_circle</i> angereist</span><?php }?>
<?php if (!$_smarty_tpl->tpl_vars['r']->value->paid) {?><span class="open"><i class="material-icons">euro</i> offen</span><?php }?>
</span>
</span>
</a>
<?php
}
} else {
?>
<div class="sr-empty py-5"><?php if (count($_smarty_tpl->tpl_vars['q']->value) > 0 || $_smarty_tpl->tpl_vars['q']->value != '') {?>Keine Treffer für „<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['q']->value, ENT_QUOTES, 'UTF-8', true);?>
".<?php } else { ?>Bitte einen Suchbegriff eingeben.<?php }?></div>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</div>
</div>
<?php }
}