예제 #1
0
<?php

include_once dirname(__FILE__) . '/ressources/class.templates.inc';
include_once dirname(__FILE__) . '/ressources/class.mysql.inc';
if (isset($_GET["delete-js"])) {
    delete_js();
    exit;
}
if (isset($_GET["message-id"])) {
    JS_MESSAGE_ID();
    exit;
}
if (isset($_GET["message_id"])) {
    echo backup_show();
    exit;
}
if (isset($_GET["release-mail-send"])) {
    release_mail_send();
    exit;
}
if (!GetRights()) {
    $tpl = new templates();
    $error = "{ERROR_NO_PRIVS}";
    echo $tpl->_ENGINE_parse_body("alert('{$error}')");
    die;
}
if (isset($_GET["js"])) {
    echo backup_script();
    exit;
}
if (isset($_GET["popup"])) {
예제 #2
0
<?php
include_once(dirname(__FILE__).'/ressources/class.templates.inc');
include_once(dirname(__FILE__).'/ressources/class.mysql.inc');




if(isset($_GET["delete-js"])){delete_js();exit;}
if(isset($_GET["message-id"])){JS_MESSAGE_ID();exit;}
if(isset($_GET["message_id"])){echo quarantine_show();exit;}
if(isset($_GET["message-id-source"])){quarantine_show_source();exit;}
if(isset($_GET["message-id-html"])){quarantine_show_html();exit;}


if(isset($_GET["release-mail-send"])){release_mail_send();exit;}
if(isset($_POST["LiberLigneQueue"])){release_all_mail_send();exit;}
if(isset($_GET["LiberLignePerform"])){quarantine_create_queue();exit;}
if(isset($_GET["LiberLigneText"])){quarantine_create_queue_text();exit;}

if(!GetRights()){
			$tpl=new templates();
			$error="{ERROR_NO_PRIVS}";
			echo $tpl->_ENGINE_parse_body("alert('$error')");
			die();
	}
	
	
if(isset($_GET["js"])){echo quarantine_script();exit;}
if(isset($_GET["popup"])){echo quarantine_index();exit;}
if(isset($_GET["query"])){echo quarantine_query();exit;}