<?php
/* Smarty version 3.1.29, created on 2020-07-20 08:46:01
  from "F:\xampp_7.4.4\htdocs\bpm\templates\modern\admin\dokverw.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5f153da9b27923_97308838',
  'file_dependency' => 
  array (
    '47241d3918afeb51382a8e2667dd4975ca078ee3' => 
    array (
      0 => 'F:\\xampp_7.4.4\\htdocs\\bpm\\templates\\modern\\admin\\dokverw.html',
      1 => 1589520537,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5f153da9b27923_97308838 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
  <html>
    <head>
      <link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
      <?php echo '<script'; ?>
 type='text/javascript' src='../ckeditor5/build/ckeditor.js'><?php echo '</script'; ?>
>
      <!-- Add jQuery library -->
      <?php echo '<script'; ?>
 type="text/javascript" src="../fancybox-2.1.7/lib/jquery-1.10.2.min.js"><?php echo '</script'; ?>
>
      <!-- Add mousewheel plugin (this is optional) -->
      <?php echo '<script'; ?>
 type="text/javascript" src="../fancybox-2.1.7/lib/jquery.mousewheel.pack.js?v=3.1.3"><?php echo '</script'; ?>
>
      <!-- Add fancyBox main JS and CSS files -->
      <?php echo '<script'; ?>
 type="text/javascript" src="../fancybox-2.1.7/source/jquery.fancybox.pack.js?v=2.1.5"><?php echo '</script'; ?>
>
      <link rel="stylesheet" type="text/css" href="../fancybox-2.1.7/source/jquery.fancybox.css?v=2.1.5" media="screen" />
      <?php echo '<script'; ?>
 type="text/javascript">
        $(document).ready(function() {
            $('.box').fancybox({
                'width'                : '100%',
                'height'               : '100%',
                'autoScale'            : true,
                'transitionIn'         : 'elastic',
                'transitionOut'        : 'elastic',
                'type'                 : 'iframe',
        helpers: {
          overlay : {
             closeClick: true
          }
        }
        });
        });
      <?php echo '</script'; ?>
>

    <style>
        .ck-editor__editable {
          min-height: 300px;
        }
        p {
		   margin: 0;
		  }
      .ButtonAnzeigen {
        box-shadow: 0px 10px 14px -7px #3e7327;
        background:linear-gradient(to bottom, #77b55a 5%, #72b352 100%);
        background-color:#77b55a;
        border-radius:4px;
        border:1px solid #4b8f29;
        display:inline-block;
        cursor:pointer;
        color:#ffffff;
        font-family:Arial;
        font-size:13px;
        font-weight:bold;
        padding:0px 20px;
        text-decoration:none;
        text-shadow:0px 1px 0px #5b8a3c;
      }
      .ButtonAnzeigen:hover {
        background:linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
        background-color:#72b352;
      }
      .ButtonAnzeigen:active {
        position:relative;
        top:1px;
      }
      .ButtonDel {
        box-shadow: 0px 10px 14px -7px #3e7327;
        background:linear-gradient(to bottom, #e4685d 5%, #eb675e 100%);
        background-color:#e4685d;
        border-radius:4px;
        border:1px solid #98051D;
        display:inline-block;
        cursor:pointer;
        color:#ffffff;
        font-family:Arial;
        font-size:13px;
        font-weight:bold;
        padding:6px 12px;
        text-decoration:none;
        text-shadow:0px 1px 0px #b23e35;
      }
      .ButtonDel:hover {
        background:linear-gradient(to bottom, #eb675e 5%, #e4685d 100%);
        background-color:#eb675e;
      }
      .ButtonDel:active {
        position:relative;
        top:1px;
      }
    </style>
    </head>
    <body>
        <?php if ($_smarty_tpl->tpl_vars['news_error']->value == '1') {?>
        <table width="70%" class="errorTable" align="center">
          <tr>
            <td>
              <img src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_gross.gif">
            </td>
            <td><b>Achtung!</b><br>
              <?php echo $_smarty_tpl->tpl_vars['news_error_text']->value;?>

            </td>
          </tr>
        </table>
        <br />
        <?php }?>

      <fieldset>
        <legend>
          <b>Dokumentenverwaltung</b>
        </legend>
        <br />
        <br />
          <h2>Dateien, die in der Datenbank sind, werden werden geprüft, ob sie auf dem Server vorhanden sind</h2>
          <table width="100%" border="1"  cellspacing="0" cellpadding="0" rules="all">
            <tr>
              <td height="40" style="padding-left:5px" width='20%'>
                <b>Name</b>
              </td>
              <td height="40" style="padding-left:5px" width='60%'>
                <b>Datei</b>
              </td>
              <td height="40" style="padding-left:5px" width='20%'>
                <b>Existenz (Anzahl: <?php echo $_smarty_tpl->tpl_vars['dokverw_anzdb']->value;?>
)</b>
              </td>
            </tr>

            <?php
$__section_table_data1_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_0_total = $__section_table_data1_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_0_total != 0) {
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
?>
            <tr>
              <td height="40" style="padding-left:5px" width='20%'>
                <?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['nachname'];?>
, <?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['vorname'];?>

              </td>
              <td height="40" style="padding-left:5px" width='60%'>
                <?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['file'];?>

              </td>
              <td height="40" style="padding-left:5px" width='20%'>
                <?php if ($_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['exists'] == 0) {?>
                 <a href="?action=deldb&up_id=<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['up_id'];?>
" class="ButtonDel">Auf DB löschen</a>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['exists'] == 1) {?>
                 vorhanden
                <?php }?>
              </td>
            </tr>
            <?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
          </table>
          </p>

          <h2>Dateien, die auf dem Server liegen, werden geprüft, ob sie in der Datenbank bekannt sind</h2>
          <table width="100%" border="1"  cellspacing="0" cellpadding="0" rules="all">
            <tr>
              <td height="40" style="padding-left:5px" width='20%'>
                <b>Name</b>
              </td>
              <td height="40" style="padding-left:5px" width='60%'>
                <b>Datei</b>
              </td>
              <td height="40" style="padding-left:5px" width='20%'>
                <b>Existenz (Anzahl: <?php echo $_smarty_tpl->tpl_vars['dokverw_anzserver']->value;?>
)</b>
              </td>
            </tr>

            <?php
$__section_table_data2_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_1_total = $__section_table_data2_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_1_total != 0) {
for ($__section_table_data2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_1_iteration <= $__section_table_data2_1_total; $__section_table_data2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
?>
            <tr>
              <td height="40" style="padding-left:5px" width='20%'>
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['nachname'];?>
, <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['vorname'];?>

              </td>
              <td height="40" style="padding-left:5px" width='60%'>
                <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['file'];?>

              </td>
              <td height="40" style="padding-left:5px" width='20%'>
                <?php if ($_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['exists'] == 0) {?>
                 <a href="?action=delserver&file=<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['file'];?>
" class="ButtonDel">Auf Server löschen</a>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['exists'] == 1) {?>
                 vorhanden
                <?php }?>
              </td>
            </tr>
            <?php
}
}
if ($__section_table_data2_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_1_saved;
}
?>
          </table>
          <br />
          <br />
      </fieldset>
      <br />
      <br />
    </body>
  </html>
  <?php }
}
}