Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["fqdncache_size"])) {
    main_save_array();
    exit;
}
if (isset($_GET["parameters"])) {
    parameters_main();
    exit;
}
if (isset($_GET["RebduildCaches"])) {
    cache_rebuild();
    exit;
}
if (isset($_GET["ReConstructCaches"])) {
    cache_reconstruct();
    exit;
}
if (isset($_GET["DeleteCache"])) {
    cache_delete();
    exit;
}
if (isset($_GET["add-cache"])) {
    cache_edit();
    exit;
}
if (isset($_GET["cache_directory"])) {
    cache_save();
    exit;
}
if (isset($_GET["cache_control"])) {
Ejemplo n.º 2
0
	header("Cache-Control: no-cache, must-revalidate");
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.groups.inc');
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.system.network.inc');
	
	if(isset($_GET["caches"])){caches_main();exit;}
	if(isset($_GET["caches-list"])){caches_list();exit;}
	if(isset($_GET["fqdncache_size"])){main_save_array();exit;}
	if(isset($_GET["parameters"])){parameters_main();exit;}
	if(isset($_GET["RebduildCaches"])){cache_rebuild();exit;}
	if(isset($_GET["ReConstructCaches"])){cache_reconstruct();exit;}
	if(isset($_GET["DeleteCache"])){cache_delete();exit;}
	if(isset($_GET["add-cache"])){cache_edit();exit();}
	if(isset($_GET["cache_directory"])){cache_save();exit;}
	if(isset($_GET["cache_control"])){cache_control();exit;}
	if(isset($_GET["main_parameters"])){main_parameters();exit;}
	if(isset($_GET["js"])){js();exit;}
	
	tabs();
	
	
function js(){
	$page=CurrentPageName();
	echo "<script>$('#BodyContent').load('$page');</script>";
}