403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /tmp/sc/c01e04e0a0f5ff9576b39b9d874476e38a2ac9bb_0.file.carlist.tpl.php
<?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/day/carlist.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_6a3f4a02b18110_91140442',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'c01e04e0a0f5ff9576b39b9d874476e38a2ac9bb' => 
    array (
      0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/day/carlist.tpl',
      1 => 1782347807,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6a3f4a02b18110_91140442 (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';
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 $_smarty_tpl->_assignInScope('dd', $_smarty_tpl->tpl_vars['page']->value->query['http']['get']['date']);
if (!$_smarty_tpl->tpl_vars['cars']->value) {
$_smarty_tpl->_assignInScope('cars', array());
}
if (!$_smarty_tpl->tpl_vars['plan']->value) {
$_smarty_tpl->_assignInScope('plan', array());
}?>


<?php $_smarty_tpl->_assignInScope('tripSet', array());
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cars']->value, 'c');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['c']->value) {
?>
  <?php $_smarty_tpl->_assignInScope('td', round(((strtotime($_smarty_tpl->tpl_vars['c']->value->booking_end)-strtotime($_smarty_tpl->tpl_vars['c']->value->booking_begin))/86400)));
?>
  <?php if (!in_array($_smarty_tpl->tpl_vars['td']->value,$_smarty_tpl->tpl_vars['tripSet']->value)) {
$_tmp_array = isset($_smarty_tpl->tpl_vars['tripSet']) ? $_smarty_tpl->tpl_vars['tripSet']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[] = $_smarty_tpl->tpl_vars['td']->value;
$_smarty_tpl->_assignInScope('tripSet', $_tmp_array);
}
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

<?php if ($_smarty_tpl->tpl_vars['mode']->value == 1) {
$_smarty_tpl->_assignInScope('ships', $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->arrivals_events);
} else {
$_smarty_tpl->_assignInScope('ships', $_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->departures_events);
}?>

<div class="card daylist-card">
  <div class="card-header daylist-toolbar">
    <div class="daylist-search-box">
      <svg class="s-icon" width="15" height="15" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="7" cy="7" r="5"/><path d="M11 11l3.5 3.5"/></svg>
      <input type="text" class="daylist-search" data-search="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" placeholder="In dieser Liste suchen …" aria-label="Liste durchsuchen" autocomplete="off">
    </div>
    <div class="daylist-filter">
      <span class="small text-muted text-nowrap" data-filter-info="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
"></span>
      <select id="<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
" class="list-filter-select" multiple="multiple" data-placeholder="Filter …">
        <optgroup label="Stellplatz">
          <option value="pp_hall">Halle</option>
          <option value="pp_outside">Außen</option>
        </optgroup>
        <optgroup label="Valet">
          <option value="pp_valet">Valet</option>
          <option value="pp_novalet">ohne Valet</option>
        </optgroup>
        <?php if ($_smarty_tpl->tpl_vars['mode']->value == 1) {?>
        <optgroup label="Status">
          <option value="open">Offen (nicht angereist)</option>
        </optgroup>
        <?php }?>
        <?php if (($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->all->aida_fahrzeuge) > 0 && ($_smarty_tpl->tpl_vars['day']->value->{$_smarty_tpl->tpl_vars['dd']->value}->all->pas_fahrzeuge) > 0) {?>
        <optgroup label="Quelle">
          <option value="aida_lead">AIDA</option>
          <option value="pas_lead">Parken-am-Schiff.de</option>
        </optgroup>
        <?php }?>
        <?php if (!empty($_smarty_tpl->tpl_vars['ships']->value) && (count($_smarty_tpl->tpl_vars['ships']->value)) > 1) {?>
        <optgroup label="Schiff">
          <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ships']->value, '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 if ((count($_smarty_tpl->tpl_vars['tripSet']->value)) > 1) {?>
        <optgroup label="Reiselänge">
          <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tripSet']->value, 'td');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['td']->value) {
?><option value="trip_<?php echo $_smarty_tpl->tpl_vars['td']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['td']->value;?>
 Tage</option><?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

        </optgroup>
        <?php }?>
      </select>
    </div>
  </div>

  <div class="table-responsive">
    <table class="table align-middle mb-0 daylist">
      <thead>
        <tr>
          <th style="width:140px;">Kennzeichen</th>
          <th>Kunde</th>
          <th>Schiff · Stellplatz</th>
          <th>Leistungen</th>
          <?php if ($_smarty_tpl->tpl_vars['mode']->value == 1) {?><th>Check-in</th><?php }?>
          <th class="text-end">Preis</th>
        </tr>
      </thead>
      <tbody data-filter-list="#<?php echo $_smarty_tpl->tpl_vars['template_id']->value;?>
">
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['cars']->value, 'car');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['car']->value) {
?>
          <?php $_smarty_tpl->_assignInScope('tripDays', round(((strtotime($_smarty_tpl->tpl_vars['car']->value->booking_end)-strtotime($_smarty_tpl->tpl_vars['car']->value->booking_begin))/86400)));
?>
          <?php $_smarty_tpl->_assignInScope('isAida', ($_smarty_tpl->tpl_vars['car']->value->customer_source == "AIDA"));
?>
          <?php $_smarty_tpl->_assignInScope('isValet', ($_smarty_tpl->tpl_vars['car']->value->booking_valet == 8 || $_smarty_tpl->tpl_vars['car']->value->booking_valet == 10));
?>
          <?php $_smarty_tpl->_assignInScope('payOpen', (!$_smarty_tpl->tpl_vars['isAida']->value && ($_smarty_tpl->tpl_vars['car']->value->invoice_payment == 0 || $_smarty_tpl->tpl_vars['car']->value->invoice_payment == 4)));
?>
          <?php $_smarty_tpl->_assignInScope('carFilter', 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['isValet']->value) {
$_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);
} 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_novalet';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>
          <?php if ($_smarty_tpl->tpl_vars['isAida']->value) {
$_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 $_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[] = "trip_".((string)$_smarty_tpl->tpl_vars['tripDays']->value);
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
?>
          <?php if ($_smarty_tpl->tpl_vars['mode']->value == 1 && $_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[] = 'open';
$_smarty_tpl->_assignInScope('carFilter', $_tmp_array);
}?>

          <?php $_smarty_tpl->_assignInScope('rowClass', '');
?>
          <?php if ($_smarty_tpl->tpl_vars['mode']->value == 1) {?>
            <?php if ($_smarty_tpl->tpl_vars['car']->value->booking_checkin !== NULL) {
$_smarty_tpl->_assignInScope('rowClass', 'row-arrived');
?>
            <?php } elseif ($_smarty_tpl->tpl_vars['payOpen']->value) {
$_smarty_tpl->_assignInScope('rowClass', 'row-payment');
?>
            <?php } else {
$_smarty_tpl->_assignInScope('rowClass', 'row-ready');
}?>
          <?php }?>

          <tr class="<?php echo $_smarty_tpl->tpl_vars['rowClass']->value;?>
" href="<?php echo @constant('SITE_URL');?>
/booking/view/?invoice_id=<?php echo $_smarty_tpl->tpl_vars['car']->value->invoice_id;?>
" data-filter-status="<?php echo implode('-',$_smarty_tpl->tpl_vars['carFilter']->value);?>
" data-search-extra="<?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['searchIdx']->value[$_smarty_tpl->tpl_vars['car']->value->invoice_id])===null||$tmp==='' ? '' : $tmp), ENT_QUOTES, 'UTF-8', true);?>
">
            <td><span class="plate js-hl"><?php if (empty($_smarty_tpl->tpl_vars['car']->value->booking_serial)) {?>---<?php } else {
echo $_smarty_tpl->tpl_vars['car']->value->booking_serial;
}?></span></td>
            <td>
              <div class="fw-bold js-hl"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['car']->value->customer_lastname, ENT_QUOTES, 'UTF-8', true);?>
, <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['car']->value->customer_firstname, ENT_QUOTES, 'UTF-8', true);?>
</div>
              <div class="small text-muted"><?php if ($_smarty_tpl->tpl_vars['isAida']->value) {?>AIDA<?php } else { ?>SeaSide<?php }
if ($_smarty_tpl->tpl_vars['tripDays']->value > 0) {?> · <?php echo $_smarty_tpl->tpl_vars['tripDays']->value;?>
 Tage<?php }?></div>
            </td>
            <td>
              <div class="fw-bold"><?php echo htmlspecialchars((($tmp = @$_smarty_tpl->tpl_vars['car']->value->booking_event)===null||$tmp==='' ? '—' : $tmp), ENT_QUOTES, 'UTF-8', true);?>
</div>
              <div class="small text-muted text-uppercase"><?php echo $_smarty_tpl->tpl_vars['car']->value->booking_parkplatz;?>
</div>
            </td>
            <td>
              <?php if ($_smarty_tpl->tpl_vars['isValet']->value) {?><span class="svc-badge svc-valet"><i class="material-icons">directions_boat</i><?php if ($_smarty_tpl->tpl_vars['mode']->value == 2) {?>Terminal<?php } else { ?>Valet<?php }?></span><?php }?>
              <?php if (!empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {
$_smarty_tpl->_assignInScope('sp', explode(",",$_smarty_tpl->tpl_vars['car']->value->booking_special));
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sp']->value, 'special');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['special']->value) {
?><span class="svc-badge svc-special"><i class="material-icons"><?php if ($_smarty_tpl->tpl_vars['special']->value == 5) {?>settings<?php } elseif ($_smarty_tpl->tpl_vars['special']->value == 11) {?>all_inclusive<?php } else { ?>local_car_wash<?php }?></i><?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><?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
}?>
              <?php if (!$_smarty_tpl->tpl_vars['isValet']->value && empty($_smarty_tpl->tpl_vars['car']->value->booking_special)) {?><span class="text-muted">—</span><?php }?>
            </td>
            <?php if ($_smarty_tpl->tpl_vars['mode']->value == 1) {?>
              <td class="text-nowrap">
                <?php if ($_smarty_tpl->tpl_vars['car']->value->booking_checkin !== NULL) {?>
                  <span class="ci-time"><i class="material-icons sm text-success">check_circle</i> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['car']->value->booking_checkin,"%H:%M");?>
</span>
                  <div class="small text-success">angereist</div>
                <?php } else { ?>
                  <span class="ci-time"><i class="material-icons sm text-secondary">schedule</i> <?php echo (($tmp = @$_smarty_tpl->tpl_vars['plan']->value[$_smarty_tpl->tpl_vars['car']->value->invoice_id])===null||$tmp==='' ? '—' : $tmp);?>
</span>
                  <div class="small text-muted">geplant</div>
                <?php }?>
              </td>
            <?php }?>
            <td class="text-end text-nowrap">
              <div class="fw-bold"><?php echo number_format($_smarty_tpl->tpl_vars['car']->value->price,2,",",".");?>
 €</div>
              <?php if ($_smarty_tpl->tpl_vars['isAida']->value) {?><div class="small text-muted">bezahlt</div>
              <?php } elseif ($_smarty_tpl->tpl_vars['payOpen']->value) {?><div class="small text-warning fw-bold">offen</div>
              <?php } else { ?><div class="small text-muted">bezahlt</div><?php }?>
            </td>
          </tr>
        <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

        <tr class="no-results"<?php if ((count($_smarty_tpl->tpl_vars['cars']->value)) > 0) {?> style="display:none;"<?php }?>>
          <td colspan="<?php if ($_smarty_tpl->tpl_vars['mode']->value == 1) {?>6<?php } else { ?>5<?php }?>" class="text-center text-muted py-4">– keine Einträge für <?php echo $_smarty_tpl->tpl_vars['template_title']->value;?>
 –</td>
        </tr>
      </tbody>
    </table>
  </div>
</div>
<?php }
}

Youez - 2016 - github.com/yon3zu
LinuXploit