<?php
if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);}
include_once('ressources/class.templates.inc');
session_start();
include_once('ressources/class.html.pages.inc');
include_once('ressources/class.cyrus.inc');
include_once('ressources/class.main_cf.inc');
include_once('ressources/charts.php');
include_once('ressources/class.syslogs.inc');
include_once('ressources/class.system.network.inc');
include_once('ressources/class.os.system.inc');
include_once('ressources/class.tcpip.inc');

include_once(dirname(__FILE__)."/ressources/class.mysql.squid.builder.php");

if(isset($_GET["myhome1"])){myhome1();exit;}
if(isset($_GET["myhome2"])){myhome2();exit;}
if(isset($_GET["myhome3"])){myhome3();exit;}
if(isset($_POST["update-public-ip"])){task_update_public_ip();exit;}

if(isset($_GET["UpdatePublicIPBox"])){UpdatePublicIPBox();exit;}
if(isset($_POST["UpdatePublicIPBoxSave"])){UpdatePublicIPBoxSave();exit;}
page();



function page(){
	$tpl=new templates();
	$page=CurrentPageName();	
	$html="<div class=form>
	<div style='font-size:18px'>{welcome_title} {$_SESSION["email"]}</div>
Esempio n. 2
0
    ini_set('error_prepend_string', null);
    ini_set('error_append_string', null);
}
include_once 'ressources/class.templates.inc';
session_start();
include_once 'ressources/class.html.pages.inc';
include_once 'ressources/class.cyrus.inc';
include_once 'ressources/class.main_cf.inc';
include_once 'ressources/charts.php';
include_once 'ressources/class.syslogs.inc';
include_once 'ressources/class.system.network.inc';
include_once 'ressources/class.os.system.inc';
include_once 'ressources/class.tcpip.inc';
include_once dirname(__FILE__) . "/ressources/class.mysql.squid.builder.php";
if (isset($_GET["myhome1"])) {
    myhome1();
    exit;
}
if (isset($_GET["myhome2"])) {
    myhome2();
    exit;
}
if (isset($_GET["myhome3"])) {
    myhome3();
    exit;
}
if (isset($_POST["update-public-ip"])) {
    task_update_public_ip();
    exit;
}
if (isset($_GET["UpdatePublicIPBox"])) {