Esempio n. 1
0
    exit;
}
if (isset($_GET["form-database"])) {
    database_form();
    exit;
}
if (isset($_GET["howto"])) {
    howto();
    exit;
}
if (isset($_GET["dbindex"])) {
    database_save();
    exit;
}
if (isset($_GET["dbindexDelete"])) {
    database_delete();
    exit;
}
if (isset($_GET["postfix-ldap-databases"])) {
    database_list();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{remote_users_databases}");
    if (is_base64_encoded($_GET["ou"])) {
        $ou = base64_decode($_GET["ou"]);
    } else {
Esempio n. 2
0
<?php
	include_once('ressources/class.emailings.inc');
	
	if(isset($_GET["popup-js"])){popup_js();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["popup-tabs"])){popup_tabs();exit;}
	if(isset($_GET["databases"])){main_databases();exit;}
	if(isset($_GET["emailing-templates"])){main_templates();exit;}
	if(isset($_GET["database-infos"])){database_infos();exit;}
	if(isset($_GET["delete-db"])){database_delete();exit;}
	if(isset($_GET["database-migrate"])){database_migrate_popup();exit;}
	if(isset($_GET["database-migrate-perform"])){database_migrate_perform();exit;}
	if(isset($_GET["emailing-search"])){emailing_search();exit;}
	if(isset($_GET["make-unique-table"])){database_make_unique();exit;}
	js();
	
	

	
function js(){
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body("{email_campaigns}");
	$start="emailings_start_page();";
	$ou=$_GET["ou"];
	
	$html="
	function emailings_start_page(){
		YahooWin3('650','$page?popup=yes&ou={$_GET["ou"]}','$title');
	
	}
Esempio n. 3
0
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.maincf.multi.inc');
	include_once('ressources/class.status.inc');
	if(isset($_GET["org"])){$_GET["ou"]=$_GET["org"];}
	
	if(!PostFixMultiVerifyRights()){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["form-database"])){database_form();exit;}
	if(isset($_GET["howto"])){howto();exit;}
	if(isset($_GET["dbindex"])){database_save();exit;}
	if(isset($_GET["dbindexDelete"])){database_delete();exit;}
	if(isset($_GET["postfix-ldap-databases"])){database_list();exit;}
	
js();


function js(){
$page=CurrentPageName();
$tpl=new templates();
$title=$tpl->_ENGINE_parse_body("{remote_users_databases}");
if(is_base64_encoded($_GET["ou"])){$ou=base64_decode($_GET["ou"]);}else{$ou=$_GET["ou"];}
$hostname=$_GET["hostname"];
$add=$tpl->_ENGINE_parse_body("{add}");
$howto=$tpl->_ENGINE_parse_body("{howto}");
$html="
		echo "window.location.href ='logoff.php';";die();
	}	
	include_once('ressources/class.emailings.inc');
	if(isset($_GET["popup"])){popup();exit;}
	
	
	
	if(isset($_GET["imap"])){imap();exit;}
	if(isset($_GET["imap-account-delete"])){imap_account_delete();exit;}
	if(isset($_GET["imap-account-save"])){imap_account_save();exit;}
	if(isset($_GET["imap-account-popup"])){imap_account_popup();exit;}
	if(isset($_GET["imap-account"])){imap_account_js();exit;}
	
	if(isset($_GET["database"])){database_popup();exit;}
	if(isset($_GET["database-search"])){database_search();exit;}
	if(isset($_GET["database-blacklist-delete"])){database_delete();exit;}
	if(isset($_GET["database-blacklist-add"])){database_add();exit;}
	
	if(isset($_GET["events"])){events_popup();exit;}
	if(isset($_GET["events-search"])){events_list();exit;}
	js();
	
	

	
function js(){
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body("{bad_mails}");
	$start="emailings_badmail_start_page();";
	$ou=$_GET["ou"];