    <div class="l-center">
      <div class="l-sort clearfix noselect">
        <div class="l-unit-toolbar__buttonstrip">
          <a href="/schedule/backup/?token=<?=$_SESSION['token']?>" class="ui-button cancel" title="<?=__('Create Backup')?>"><i class="fas fa-plus-circle status-icon green"></i> <?=__('Create Backup')?></a>
          <a href="/list/backup/exclusions/" class="ui-button cancel" title="<?=__('backup exclusions')?>"><i class="fas fa-folder-minus status-icon orange"></i> <?=__('backup exclusions')?></a>
        </div>
        <div class="l-sort-toolbar clearfix">
          <table>
            <tr>
              <td class="l-sort-toolbar__search-box">
                <form action="/search/" method="get">
                  <input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
                  <input type="text" name="q" class="search-input" value="<? echo isset($_POST['q']) ? htmlspecialchars($_POST['q']) : '' ?>" />
                  <button type="submit" class="l-sort-toolbar__filter-apply" onclick="return doSearch('/search/')" value=""><i class="fas fa-search"></i></button>
                </form>
              </td>
              <td>
                <form action="/bulk/backup/" method="post" id="objects">
                <input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
                <div class="l-select">
                  <select name="action" id="">
                    <option value=""><?=__('apply to selected')?></option>
                    <option value="delete"><?php print __('delete') ?></option>
                  </select>
                </div>
                <button type="submit" class="l-sort-toolbar__filter-apply" value=""><i class="fas fa-arrow-right"></i></button>
              </td>
            </tr>
          </table>
        </div>
      </div>
    </div>

    <div class="l-separator"></div>

    <div class="l-center units animated fadeIn">
        <div class="header table-header">
            <div class="l-unit__col l-unit__col--right">
              <div>
                  <div class="clearfix l-unit__stat-col--left super-compact">
                      <input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" onChange="checkedAll('objects');">
                  </div>
                  <div class="clearfix l-unit__stat-col--left wide-3"><b><?php print __('File Name');?></b></div>
                  <div class="clearfix l-unit__stat-col--left compact-4 text-right"><b>&nbsp;</b></div>
                  <div class="clearfix l-unit__stat-col--left text-center wide"><b><?php print __('Date');?></b></div>
                  <div class="clearfix l-unit__stat-col--left text-center"><b><?php print __('Size');?></b></div>
                  <div class="clearfix l-unit__stat-col--left text-center"><b><?php print __('Type');?></b></div>
                  <div class="clearfix l-unit__stat-col--left text-center"><b><?php print __('Runtime');?></b></div>
              </div>
             </div>
          </div>
      <?
        foreach ($data as $key => $value) {
          ++$i;
          $web = __('no');
          $dns = __('no');
          $mail = __('no');
          $db = __('no');
          $cron = __('no');
          $udir = __('no');

          if (!empty($data[$key]['WEB'])) $web = __('yes');
          if (!empty($data[$key]['DNS'])) $dns = __('yes');
          if (!empty($data[$key]['MAIL'])) $mail = __('yes');
          if (!empty($data[$key]['DB'])) $db = __('yes');
          if (!empty($data[$key]['CRON'])) $cron = __('yes');
          if (!empty($data[$key]['UDIR'])) $udir = __('yes');

      ?>

      <div class="l-unit<? if($status == 'suspended') echo ' l-unit--outdated';?>">
            <div class="l-unit__col l-unit__col--right">
              <div>
                  <div class="clearfix l-unit__stat-col--left super-compact">
                    <input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" name="backup[]" value="<?php echo $key ?>">
                  </div>
                  <div class="clearfix l-unit__stat-col--left wide-3"><b><a href="/list/backup/?backup=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=__('restore')?>"><?=$key?></a></b></div>
                  <!-- START QUICK ACTION TOOLBAR AREA -->
                  <div class="clearfix l-unit__stat-col--left compact-4 text-right">
                    <div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
                      <div class="actions-panel clearfix">
                        <div class="actions-panel__col actions-panel__download shortcut-d" key-action="href"><a href="/download/backup/?backup=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=__('download')?>"><i class="fas fa-file-download status-icon lightblue status-icon dim"></i></a></div>
                        <div class="actions-panel__col actions-panel__list shortcut-enter" key-action="href"><a href="/list/backup/?backup=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=__('restore')?>"><i class="fas fa-undo status-icon green status-icon dim"></i></a></div>
                        <div class="actions-panel__col actions-panel__delete shortcut-delete" key-action="js">
                          <a id="delete_link_<?=$i?>" class="data-controls do_delete" title="<?=__('delete')?>">
                            <i class="fas fa-trash status-icon red status-icon dim do_delete"></i>
                            <input type="hidden" name="delete_url" value="/delete/backup/?backup=<?=$key?>&token=<?=$_SESSION['token']?>" />
                            <div id="delete_dialog_<?=$i?>" class="confirmation-text-delete hidden" title="<?=__('Confirmation')?>">
                              <p class="confirmation"><?=__('DELETE_BACKUP_CONFIRMATION',$key)?></p>
                            </div>
                          </a>
                        </div>
                      </div>
                    </div>
                  </div>
                  <!-- END QUICK ACTION TOOLBAR AREA -->
                  <div class="clearfix l-unit__stat-col--left text-center wide"><b><?=translate_date($data[$key]['DATE'])?></b></div>
                  <div class="clearfix l-unit__stat-col--left text-center"><b><?=humanize_usage_size($data[$key]['SIZE'])?></b> <span class="text-small"><?=humanize_usage_measure($data[$key]['SIZE'])?></span></div>
                  <div class="clearfix l-unit__stat-col--left text-center"><?=$data[$key]['TYPE']?></div>
                  <div class="clearfix l-unit__stat-col--left text-center"><?=humanize_time($data[$key]['RUNTIME'])?></div>
               </div>
             </div>

         </div>
         <?}?>
       </div>

    <div id="vstobjects">
      <div class="l-separator"></div>
      <div class="l-center">
        <div class="l-unit-ft">
          <table class='data'></table>
          <div class="data-count l-unit__col l-unit__col--right clearfix">
            <?php
              if ( $i == 1) {
                echo __('1 backup');
              } else {
                echo __('%s backups',$i);
              }
            ?>
          </div>
        </div>
      </div>
    </div>
