Example #1
0
	

	$user=new usersMenus();
	if($user->AsAnAdministratorGeneric==false){die('alert("no privileges")');}

if($_GET["dar-index-tab"]=="dar"){echo index_dar();exit;}	
if($_GET["dar-index-tab"]=="rsync"){echo index_rsync();exit;}
if(isset($_GET["perform-run-backup"])){run_backup_perform();exit;}

	
if(isset($_GET["js"])){echo js();exit;}
if(isset($_GET["js-logs"])){echo js();exit;}
if(isset($_GET["index-page"])){echo index();exit;}
if(isset($_GET["dar-settings"])){echo global_settings();exit;}
if(isset($_GET["dar-target"])){echo WhatToBackup();exit;}
if(isset($_GET["dar-params"])){echo dar_settings();exit;}

if(isset($_GET["exclude-types"])){echo dar_exclude_types();exit;}
if(isset($_GET["hsched"])){echo SaveBackupSettings();exit;}
if(isset($_GET["dar_file"])){echo SaveGeneralSettings();exit;}


if(isset($_GET["shares_folders"])){echo SaveBackupSettings();exit;}
if(isset($_GET["exclude-shared-folders"])){echo samba_excludes_shared();exit;}
if(isset($_GET["exclude-homes-folders"])){echo homes_excludes();exit;}

if(isset($_GET["ExcludeSMBFolder"])){samba_excludes_shared_save();exit;}
if(isset($_GET["ExcludeHomesFolder"])){homes_excludes_save();exit;}


if(isset($_GET["minimal_compress"])){echo SaveBackupSettings();exit;}
Example #2
0
    exit;
}
if (isset($_GET["index-page"])) {
    echo index();
    exit;
}
if (isset($_GET["dar-settings"])) {
    echo global_settings();
    exit;
}
if (isset($_GET["dar-target"])) {
    echo WhatToBackup();
    exit;
}
if (isset($_GET["dar-params"])) {
    echo dar_settings();
    exit;
}
if (isset($_GET["exclude-types"])) {
    echo dar_exclude_types();
    exit;
}
if (isset($_GET["hsched"])) {
    echo SaveBackupSettings();
    exit;
}
if (isset($_GET["dar_file"])) {
    echo SaveGeneralSettings();
    exit;
}
if (isset($_GET["shares_folders"])) {