exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["main"])) { main(); exit; } if (isset($_POST["servername-edit"])) { Save(); exit; } if (isset($_GET["main_parameters"])) { main_parameters(); exit; } if (isset($_GET["destination-none"])) { destination_none(); exit; } js(); function js() { $servername = $_GET["servername"]; $servername_enc = urlencode($_GET["servername"]); header("content-type: application/x-javascript"); $page = CurrentPageName(); $tpl = new templates(); $title = $tpl->javascript_parse_text("{settings}:: {$servername}");
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(); $array["caches"]='{caches}'; $array["parameters"]='{parameters}'; $array["cache_control"]='{cache_control}';