'; foreach ($dbs as $file) { $file = basename($file); echo '
  • '; $date_string = substr($file, 13, 10); $time_string = substr($file, 24, 8); $date = $date_string . ' ' . str_replace('-', ':', $time_string); $bkdate = $this->sma->hrld($date); //echo $bkdate; echo '' . lang('backup_on') . ' ' . $bkdate . '
    ' . anchor('settings/download_database/' . substr($file, 0, -4), ' ' . lang('download'), 'class="btn btn-primary"') . ' ' . anchor('settings/restore_database/' . substr($file, 0, -4), ' ' . lang('restore'), 'class="btn btn-warning restore_db"') . ' ' . anchor('settings/delete_database/' . substr($file, 0, -4), ' ' . lang('delete'), 'class="btn btn-danger delete_file"') . '
    '; echo '
  • '; } echo ''; } ?>
    '; foreach ($files as $file) { $file = basename($file); echo '
  • '; $date_string = substr($file, 12, 10); $time_string = substr($file, 23, 8); $date = $date_string . ' ' . str_replace('-', ':', $time_string); $bkdate = $this->sma->hrld($date); echo '' . lang('backup_on') . ' ' . $bkdate . '
    ' . anchor('settings/download_backup/' . substr($file, 0, -4), ' ' . lang('download'), 'class="btn btn-primary"') . ' ' . anchor('settings/restore_backup/' . substr($file, 0, -4), ' ' . lang('restore'), 'class="btn btn-warning restore_backup"') . ' ' . anchor('settings/delete_backup/' . substr($file, 0, -4), ' ' . lang('delete'), 'class="btn btn-danger delete_file"') . '
    '; echo '
  • '; } echo ''; } ?>