include_once('ressources/class.squid.inc'); include_once('ressources/class.tcpip.inc'); include_once('ressources/class.system.network.inc'); $user=new usersMenus(); if($user->AsSquidAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_POST["StreamCacheBindHTTP"])){save_parameters();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["services-videocache-status"])){status_videocache();exit;} if(isset($_GET["videocache-graph1"])){status_videocache_graph1();exit;} if(isset($_GET["videocache-graph2"])){status_videocache_graph2();exit;} if(isset($_GET["videocache-graph3"])){status_videocache_graph3();exit;} if(isset($_GET["websites"])){websites();exit;} if(isset($_POST["reinstall"])){reinstall();exit;} if(isset($_POST["EnableStreamCache"])){EnableStreamCache();exit;} if(isset($_GET["parameters"])){parameters();exit;} if(isset($_GET["stats"])){statistics();exit;} if(isset($_GET["reinstall-js"])){reinstall_js();exit;} tabs(); function tabs(){ $tpl=new templates(); $q=new mysql_squid_builder();
exit; } if (isset($_GET["status"])) { status(); exit; } if (isset($_GET["services-videocache-status"])) { status_videocache(); exit; } if (isset($_GET["videocache-graph1"])) { status_videocache_graph1(); exit; } if (isset($_GET["videocache-graph2"])) { status_videocache_graph2(); exit; } if (isset($_GET["videocache-graph3"])) { status_videocache_graph3(); exit; } if (isset($_GET["websites"])) { websites(); exit; } if (isset($_POST["reinstall"])) { reinstall(); exit; } if (isset($_POST["EnableStreamCache"])) {