Ejemplo n.º 1
0
    exit;
}
if (isset($_POST["DELETE-ALL"])) {
    schedules_delete();
    exit;
}
if (isset($_POST["DELETE-STORE"])) {
    storage_remove();
    exit;
}
if (isset($_POST["storage-delete"])) {
    storage_delete();
    exit;
}
if (isset($_GET["storage-view-search"])) {
    storage_view_search();
    exit;
}
if (isset($_POST["delete-extracted"])) {
    storage_view_delete();
    exit;
}
if (isset($_POST["LogRotateCompress"])) {
    settings_save();
    exit;
}
if (isset($_GET["settings-popup"])) {
    settings_popup();
    exit;
}
if (isset($_GET["log-retention-time-js"])) {
Ejemplo n.º 2
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.mysql.syslogs.inc');

	
$usersmenus=new usersMenus();
if(!$usersmenus->AsWebStatisticsAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}

if(isset($_GET["log-js"])){storage_view_js();exit;}
if(isset($_GET["storage-view-search"])){storage_view_search();exit;}
if(isset($_GET["storage-popup"])){storage_view_popup();exit;}
if(isset($_POST["extract-file"])){storage_view_extract();exit;}
if(isset($_POST["storage-delete"])){storage_delete();exit;}
if(isset($_POST["delete-extracted"])){storage_view_delete();exit;}

if(isset($_GET["status"])){status();exit;}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["popup"])){tableau();exit;}
if(isset($_GET["search-store"])){search_store();exit;}

if(isset($_GET["nas-settings-js"])){nas_settings_js();exit;}
if(isset($_GET["nas-settings"])){nas_settings();exit;}

if(isset($_POST["BackupSquidLogsUseNas"])){nas_settings_save();exit;}