コード例 #1
0
		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}"));
		return;
	}
	
コード例 #2
0
    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_ERROR_SHOW_128("{module_in_squid_not_installed}<hr>{EnableStreamCache_text}"));
        return;
    }
    $page = CurrentPageName();
    $array["status"] = '{status}';