<?php

session_start();
include_once dirname(__FILE__) . "/ressources/class.templates.inc";
include_once dirname(__FILE__) . "/ressources/class.mysql.inc";
include_once dirname(__FILE__) . "/ressources/class.functions.inc";
if ($_GET["uid"] == null) {
    $_GET["uid"] = $_SESSION["uid"];
}
if (!Verifrights()) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');";
    die;
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["hour_execution"])) {
    save();
    exit;
}
if (isset($_GET["sendnow"])) {
    send();
    exit;
}
js();
function js()
{
    $tpl = new templates();
<?php
session_start();
include_once(dirname(__FILE__)."/ressources/class.templates.inc");
include_once(dirname(__FILE__)."/ressources/class.mysql.inc");
include_once(dirname(__FILE__)."/ressources/class.functions.inc");

if($_GET["uid"]==null){$_GET["uid"]=$_SESSION["uid"];}

if(!Verifrights()){$tpl=new templates();echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";die();exit();}




if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["hour_execution"])){save();exit;}
if(isset($_GET["sendnow"])){send();exit;}

js();

function js(){
	
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body("{quarantine_email_report}");
	
	$html="
	
	function quarantine_report_start(){
		YahooWin2('400','$page?popup=yes&uid={$_GET["uid"]}','$title');
	
	}