<?php
/* Smarty version 4.3.4, created on 2025-03-11 14:48:12
  from '/www/htdocs/w015818d/kurse-wbi-bwl.de/admin/layout/templates/overview/loginlog.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.4',
  'unifunc' => 'content_67d03f1c3c4494_52325860',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'f8de02fa88f3614f13d3f480120e5b269a055c55' => 
    array (
      0 => '/www/htdocs/w015818d/kurse-wbi-bwl.de/admin/layout/templates/overview/loginlog.html',
      1 => 1741679649,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_67d03f1c3c4494_52325860 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['log_enabled']->value == 0) {?>

<h3>Die Protokollierung wurde deaktiviert</h3>
Die Protokollierung der Login- und Logoutvorgänge ist derzeit deaktviert! Es werden daher 
keine Auswertungen angezeigt. Die Einstellungen können Sie 
<a class="ajaxlink" href="index.php?action=settings&amp;hardlink=file_system_sonstiges">hier</a> ändern.

<?php } else { ?>
<h3>Loginlog</h3>

<p>
  Hier werden alle Login- und Logoutvorgänge nach Datum gruppiert angezeigt. Klicken Sie 
  bitte auf die gewünschten Einträge um eine Detailansicht zu erhalten. 
</p>

  <div class="quartal-select">
    <div class="lbl">Anzuzeigendes Quartal:</div>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['quartale']->value, 'quartal');
$_smarty_tpl->tpl_vars['quartal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['quartal']->value) {
$_smarty_tpl->tpl_vars['quartal']->do_else = false;
?>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;quartal=<?php echo $_smarty_tpl->tpl_vars['quartal']->value;?>
" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktquartal']->value == $_smarty_tpl->tpl_vars['quartal']->value) {?>active<?php }?>" title="Quartal <?php echo $_smarty_tpl->tpl_vars['quartal']->value;?>
 anzeigen"><?php echo $_smarty_tpl->tpl_vars['quartal']->value;?>
</a> &nbsp; 
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
  </div>
  <div class="anzahleintraege">
    <div class="lbl">Anzahl pro Seite:</div>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;anzahl=10" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktanzahl']->value == 10) {?>active<?php }?>">10</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;anzahl=20" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktanzahl']->value == 20) {?>active<?php }?>">20</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;anzahl=50" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktanzahl']->value == 50) {?>active<?php }?>">50</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;anzahl=100" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktanzahl']->value == 100) {?>active<?php }?>">100</a>
  </div>
  <div class="filter_modul">
    <div class="lbl">Modul:</div>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;modul=alle" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktmodul']->value == 'alle') {?>active<?php }?>">Alle</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;modul=kufertools" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktmodul']->value == 'kufertools') {?>active<?php }?>">KuferTools</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;modul=webadmin" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktmodul']->value == 'webadmin') {?>active<?php }?>">Webadmin</a>
  </div>
  <div class="filter_art">
    <div class="lbl">Vorgang:</div>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;vorgang=alle" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktvorgang']->value == 'alle') {?>active<?php }?>">Alle</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;vorgang=login" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktvorgang']->value == 'login') {?>active<?php }?>">Login</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;vorgang=logout" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktvorgang']->value == 'logout') {?>active<?php }?>">Logout</a> &nbsp;
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;vorgang=loginerr" class="ajaxlink <?php if ($_smarty_tpl->tpl_vars['aktvorgang']->value == 'loginerr') {?>active<?php }?>">Fehlgeschlagene Logins</a>
  </div>
  <div class="filter_login">
    <div class="lbl">Login:</div>
      <input type="text" name="filterlogin" class="filter_login_input" value="<?php echo $_smarty_tpl->tpl_vars['aktloginname']->value;?>
"></input>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
" class="ajaxlink filter_login_a">&nbsp;</a>
  </div>
      
<?php if ($_smarty_tpl->tpl_vars['seiten']->value >= 2) {?>
  <div class="seitenauswahl">
    <?php if ($_smarty_tpl->tpl_vars['aktseite']->value-1 >= 1) {?>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;seite=<?php echo $_smarty_tpl->tpl_vars['aktseite']->value-1;?>
" class="ajaxlink">&lt; zur&uuml;ck</a>
    <?php }?>
    Seite <?php echo $_smarty_tpl->tpl_vars['aktseite']->value;?>
 von <?php echo $_smarty_tpl->tpl_vars['seiten']->value;?>

    <?php if ($_smarty_tpl->tpl_vars['aktseite']->value != $_smarty_tpl->tpl_vars['seiten']->value) {?>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;seite=<?php echo $_smarty_tpl->tpl_vars['aktseite']->value+1;?>
" class="ajaxlink">n&auml;chste &gt;</a>
    <?php }?>
  </div>
<?php }?>
<div>
  <input class="webadmin-button" type="button" value="Alle aufklappen" id="log_alle_aufklappen" />
</div>
  <div class="log">
    <h3>Quartal: <?php echo $_smarty_tpl->tpl_vars['aktquartal']->value;?>
</h3>
    <?php if ($_smarty_tpl->tpl_vars['anzahl']->value > 0) {?>
    <div class="quartal">
      <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'line');
$_smarty_tpl->tpl_vars['line']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['line']->value) {
$_smarty_tpl->tpl_vars['line']->do_else = false;
?>
        <div class="logeintrag">
          <div class="header"><?php echo $_smarty_tpl->tpl_vars['line']->value['time'];
if ($_smarty_tpl->tpl_vars['line']->value['type'] != '') {?>: <?php echo $_smarty_tpl->tpl_vars['line']->value['type'];
}?></div>
          <div class="logmsg">
            <?php if ($_smarty_tpl->tpl_vars['line']->value['text'] != '') {?>
              <p class="logmsg"><?php echo $_smarty_tpl->tpl_vars['line']->value['text'];?>
</p>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['line']->value['error'] != '') {?>
             <p><?php echo $_smarty_tpl->tpl_vars['line']->value['error'];?>
</p>
            <?php }?>
          </div>
        </div>
     <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    </div>
    <?php } else { ?>
    <div class="noLog">
      <p>Es wurden keine Eintr&auml;ge mit den angegebenen Einstellungen gefunden.</p>
    </div>
    <?php }?>
  </div>
<?php if ($_smarty_tpl->tpl_vars['seiten']->value >= 2) {?>
  <div class="seitenauswahl">
    <?php if ($_smarty_tpl->tpl_vars['aktseite']->value-1 >= 1) {?>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;seite=<?php echo $_smarty_tpl->tpl_vars['aktseite']->value-1;?>
" class="ajaxlink">&lt; zur&uuml;ck</a>
    <?php }?>
    Seite <?php echo $_smarty_tpl->tpl_vars['aktseite']->value;?>
 von <?php echo $_smarty_tpl->tpl_vars['seiten']->value;?>

    <?php if ($_smarty_tpl->tpl_vars['aktseite']->value != $_smarty_tpl->tpl_vars['seiten']->value) {?>
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
&amp;seite=<?php echo $_smarty_tpl->tpl_vars['aktseite']->value+1;?>
" class="ajaxlink">n&auml;chste &gt;</a>
    <?php }?>
  </div>
<?php }
}
}
}
