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();
	$sock=new sockets();
	
	$status=trim($sock->getFrameWork("squid.php?videocache-streamsquidcache=yes"));
	
	if($status<>"TRUE"){
		echo $tpl->_ENGINE_parse_body(FATAL_WARNING_SHOW_128("{module_in_squid_not_installed}<hr>{EnableStreamCache_text}"));
Beispiel #2
0
    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();