Esempio n. 1
0
    exit;
}
if (isset($_POST["UpdateUtilityStartTask"])) {
    UpdateUtilityStartTask();
    exit;
}
if (isset($_GET["webevents"])) {
    webevents_table();
    exit;
}
if (isset($_GET["web-events"])) {
    webevents_list();
    exit;
}
if (isset($_GET["dbsize"])) {
    dbsize();
    exit;
}
if (isset($_GET["js"])) {
    js();
    exit;
}
if (isset($_GET["freewebs"])) {
    frewebslist();
    exit;
}
if (isset($_GET["add-freeweb-js"])) {
    add_freeweb_js();
    exit;
}
tabs();
Esempio n. 2
0
	include_once('ressources/class.mysql.inc');	
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.cyrus.inc');
	include_once('ressources/class.cron.inc');
	
	$users=new usersMenus();
	if(!$users->AsPostfixAdministrator){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}
	
	if(isset($_GET["mysql-dir"])){mysql_dir_popup();exit;}
	if(isset($_POST["ChangeMysqlDir"])){ChangeMysqlDir();exit;}
	if(isset($_GET["dbsize"])){dbsize();exit;}
	if(isset($_GET["page"])){page();exit;}
tabs();

function tabs(){
	
	$page=CurrentPageName();
	$fontsize="font-size:16px;";
	$adduri="&font-size=18";$adduri2="?font-size={$_GET["font-size"]}";
	
	//$array["popup-instances"]="{multiple_webmail}";
	$array["status"]="{status}";
	
	$array["popup-mysql"]="{mysql_tuning}";
	
	$fontsize="font-size:18px";