2014-04-07 23:51:21 +03:00
|
|
|
<?php
|
2015-11-06 22:54:06 +02:00
|
|
|
error_reporting(NULL);
|
2015-11-05 03:17:43 +02:00
|
|
|
$TAB = 'BACKUP';
|
2014-04-07 23:51:21 +03:00
|
|
|
|
|
|
|
|
// Main include
|
|
|
|
|
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|
|
|
|
|
|
|
|
|
// Header
|
|
|
|
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
|
|
|
|
|
|
|
|
|
// Panel
|
|
|
|
|
top_panel($user,$TAB);
|
|
|
|
|
|
|
|
|
|
// Data
|
2015-12-11 21:14:49 +02:00
|
|
|
exec (VESTA_CMD."v-list-user-backup-exclusions $user json", $output, $return_var);
|
|
|
|
|
$data = json_decode(implode('', $output), true);
|
|
|
|
|
unset($output);
|
2014-04-07 23:51:21 +03:00
|
|
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_backup_exclusions.html');
|
|
|
|
|
|
|
|
|
|
// Back uri
|
|
|
|
|
$_SESSION['back'] = $_SERVER['REQUEST_URI'];
|
|
|
|
|
|
|
|
|
|
// Footer
|
|
|
|
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');
|