exit; } if (isset($_GET["main"])) { main_switch(); exit; } if (isset($_GET["fqdncache_size"])) { main_save_array(); exit; } if (isset($_GET["applysquid"])) { applysquid(); exit; } if (isset($_GET["add-cache"])) { cache_edit(); exit; } if (isset($_GET["cache_directory"])) { cache_save(); exit; } if (isset($_GET["wait-finish"])) { exit; } if (isset($_GET["cache-list"])) { echo cache_list(); exit; } if (isset($_GET["DeleteCache"])) { cache_delete();
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>"; } function tabs(){ $page=CurrentPageName();