Example #1
0
    exit;
}
if (isset($_POST["MySQLNgnixType"])) {
    MySQLNgnixType_save();
    exit;
}
if (isset($_POST["ListenPort"])) {
    MySQLNgnixType_save();
    exit;
}
if (isset($_POST["apply"])) {
    apply();
    exit;
}
if (isset($_POST["RemotePort"])) {
    remote_save();
    exit;
}
if (isset($_GET["Next1"])) {
    Next1();
    exit;
}
if (isset($_GET["Next2"])) {
    Next2();
    exit;
}
if (isset($_GET["Next3"])) {
    Next3();
    exit;
}
js();
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.clamav.inc');

	$user=new usersMenus();
	if($user->AsSystemAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["CloseWizard"])){CloseWizard();exit;}
	if(isset($_POST["RoundCubeMySQLServiceType"])){MySQLSyslogType_save();exit;}
	if(isset($_POST["ListenPort"])){MySQLSyslogType_save();exit;}
	if(isset($_POST["apply"])){apply();exit;}
	if(isset($_POST["RemotePort"])){remote_save();exit;}
	
	if(isset($_GET["Next1"])){Next1();exit;}
	if(isset($_GET["Next2"])){Next2();exit;}
	if(isset($_GET["Next3"])){Next3();exit;}
js();
	
function js(){
	$usersmenus=new usersMenus();
	$tpl=new templates();
	$page=CurrentPageName();		
	header("content-type: application/x-javascript");
	$title=$tpl->_ENGINE_parse_body("{APP_ROUNDCUBE_DB}");
	echo "YahooWin3('700','$page?popup=yes','$title')";
	
}