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/bdb9e28f22794f246617ed718d10cfab78772182_0.file.create.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/worktime/create.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_6a3f4a02873a98_90176829',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'bdb9e28f22794f246617ed718d10cfab78772182' => 
    array (
      0 => '/var/www/clients/client1/web17/web/includes/templates/templates/worktime/create.tpl',
      1 => 1780454926,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6a3f4a02873a98_90176829 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('period', $_smarty_tpl->tpl_vars['worktime']->value->lastMonth());
$_smarty_tpl->_assignInScope('months', $_smarty_tpl->tpl_vars['worktime']->value->monthNames());
?>
<div class="container-fluid p-4">
  <div class="d-flex flex-wrap justify-content-between align-items-center mb-4">
    <h1 class="h3 mb-0">Zeitnachweise erstellen</h1>
    <a href="<?php echo @constant('SITE_URL');?>
/worktime/dashboard/" class="btn btn-outline-secondary">&larr; Kalender</a>
  </div>

  <div class="row">
    <div class="col-lg-8">
      <div class="card shadow-sm">
        <div class="card-body">
          <p class="text-muted">
            Lädt die hochgeladenen Excel-Listen, befüllt die Arbeitszeitnachweis-Vorlage
            mit den erfassten Stunden des gewählten Monats und liefert ein ZIP zum Download.
          </p>
          <form id="uploadLists" action="<?php echo @constant('SITE_URL');?>
/time/upload/upload.php" method="POST" enctype="multipart/form-data">
            <div class="row g-3">
              <div class="col-md-4">
                <label for="year" class="form-label">Jahr</label>
                <input type="number" id="year" name="year" class="form-control" value="<?php echo $_smarty_tpl->tpl_vars['period']->value['year'];?>
" required>
              </div>
              <div class="col-md-4">
                <label for="month" class="form-label">Monat</label>
                <select id="month" name="month" class="form-select" required>
                  <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['months']->value, 'name', false, 'num');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['name']->value) {
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
"<?php if ($_smarty_tpl->tpl_vars['num']->value == $_smarty_tpl->tpl_vars['period']->value['month']) {?> selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['name']->value;?>
</option>
                  <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

                </select>
              </div>
              <div class="col-md-4">
                <label for="files" class="form-label">Excel-Dateien</label>
                <input type="file" id="files" name="files[]" multiple class="form-control" required>
              </div>
            </div>
            <button type="submit" class="btn btn-primary mt-3">Starten &amp; ZIP herunterladen</button>
          </form>
        </div>
      </div>
    </div>
  </div>

  
  <div class="row mt-3" id="wt-progress-wrap" style="display:none;">
    <div class="col-lg-8">
      <div class="card shadow-sm">
        <div class="card-body">
          <div class="d-flex justify-content-between align-items-center mb-1">
            <span class="fw-bold" id="wt-progress-label">Verarbeitung läuft …</span>
            <span class="text-muted small" id="wt-progress-pct">0 %</span>
          </div>
          <div class="progress mb-3" style="height:18px;">
            <div class="progress-bar progress-bar-striped progress-bar-animated" id="wt-progress-bar" role="progressbar" style="width:0%;" aria-valuemin="0" aria-valuemax="100"></div>
          </div>
          <div id="wt-log" class="border rounded p-2 small bg-light" style="height:220px;overflow-y:auto;"></div>
        </div>
      </div>
    </div>
  </div>
</div>

<?php echo '<script'; ?>
 src="<?php echo @constant('SITE_URL');?>
/assets/js/time.js?v=<?php echo filemtime((@constant('PATH_SYSTEM')).('/assets/js/time.js'));?>
"><?php echo '</script'; ?>
>
<?php }
}

Youez - 2016 - github.com/yon3zu
LinuXploit