コード例 #1
0
ファイル: domains.emailings.php プロジェクト: rsd/artica-1.5
<?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');
	
	}
コード例 #2
0
    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 = "\n\tfunction emailings_start_page(){\n\t\tYahooWin3('650','{$page}?popup=yes&ou={$_GET["ou"]}','{$title}');\n\t\n\t}\n\t{$start}";