Beispiel #1
0
    exit;
}
if (isset($_GET["popup"])) {
    parameters();
    exit;
}
if (isset($_GET["status"])) {
    status();
    exit;
}
if (isset($_POST["ZipProxyListenIpAdress"])) {
    Save();
    exit;
}
if (isset($_POST["EnableProxyCompressor"])) {
    SaveEnableProxyCompressor();
    exit;
}
if (isset($_GET["service-status"])) {
    service_status();
    exit;
}
if (isset($_GET["graph"])) {
    graph();
    exit;
}
tabs();
function tabs()
{
    $sock = new sockets();
    $results = base64_decode($sock->getFrameWork("squid.php?ziproxy-isinstalled=yes"));
Beispiel #2
0
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.tcpip.inc');
	include_once('ressources/class.highcharts.inc');
	$user=new usersMenus();
	
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["popup"])){parameters();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_POST["ZipProxyListenIpAdress"])){Save();exit;}
	if(isset($_POST["EnableProxyCompressor"])){SaveEnableProxyCompressor();exit;}
	if(isset($_GET["service-status"])){service_status();exit;}
	if(isset($_GET["graph"])){graph();exit;}
tabs();
	
function tabs(){
$sock=new sockets();

$results=base64_decode($sock->getFrameWork("squid.php?ziproxy-isinstalled=yes"));
if($results<>"TRUE"){
	echo FATAL_WARNING_SHOW_128("{the_specified_module_is_not_installed}");
	return;
}
$tpl=new templates();
$page=CurrentPageName();
$array["status"]='{status}';