Example #1
0
}
include_once 'ressources/class.emailings.inc';
if (isset($_GET["edit-template-js"])) {
    template_edit_js();
    exit;
}
if (isset($_GET["edit-template-perf"])) {
    template_edit_save();
    exit;
}
if (isset($_GET["add-template-js"])) {
    template_add_js();
    exit;
}
if (isset($_GET["template-add-popup"])) {
    template_add_popup();
    exit;
}
if (isset($_GET["add-template-perf"])) {
    template_add_perform();
    exit;
}
if (isset($_GET["delete-template-perf"])) {
    template_del_perform();
    exit;
}
if (isset($_GET["template-edit-popup"])) {
    template_edit_popup();
    exit;
}
if (isset($_GET["tinymce"])) {
<?php
	if(isset($_POST["template_content_post"])){$_GET["tinymce"]=$_POST["template_content_post"];$_GET["ou"]=$_POST["ou"];}
	include_once('ressources/class.emailings.inc');
	if(isset($_GET["edit-template-js"])){template_edit_js();exit;}
	if(isset($_GET["edit-template-perf"])){template_edit_save();exit;}
	
	if(isset($_GET["add-template-js"])){template_add_js();exit;}
	if(isset($_GET["template-add-popup"])){template_add_popup();exit;}
	if(isset($_GET["add-template-perf"])){template_add_perform();exit;}
	if(isset($_GET["delete-template-perf"])){template_del_perform();exit;}
	
	
	if(isset($_GET["template-edit-popup"])){template_edit_popup();exit;}
	if(isset($_GET["tinymce"])){template_tinymce();exit;}
	
	
	if(isset($_GET["template-css"])){template_tinymce_css();exit;}
	if(isset($_GET["template-css-popup"])){template_css_edit();exit;}
	if(isset($_GET["template-css-save"])){template_css_save();exit;}
	
	if(isset($_GET["template-keyword-popup"])){template_keyword_popup();exit;}
	
	if(isset($_GET["template-advopts-popup"])){template_advopts_popup();exit;}
	if(isset($_GET["template-advopts-display"])){template_advopts_display();exit;}
	if(isset($_GET["X-headers-save"])){template_advopts_save();exit;}
	
	if(isset($_GET["template-attached-files-popup"])){template_attach_edit();exit;}
	if(isset($_GET["template-attached-files-iframe"])){template_attach_iframe();exit;}
	if(isset($_GET["template-attached-files-delete"])){template_attach_delete();exit;}
	if(isset($_GET["template-attached-files-show"])){echo template_attach_list($_GET["template-attached-files-show"]);exit;}
	if( isset($_POST['upload']) ){template_attach_uploaded();}