コード例 #1
0
<?php

include_once('ressources/class.templates.inc');
include_once('ressources/class.cyrus.inc');
include_once('ressources/class.mysql.inc');
include_once('ressources/charts.php');

if(isset($_GET["quarantine_resend"])){quarantine_resend();exit;}
if(isset($_GET["QuaratinePie"])){build_statistics();exit;}
if(isset($_GET["main"])){main_switch();exit;}
if(isset($_GET["tab"])){main_mail_switch();exit;}
if(isset($_GET["msgbodyif"])){main_mail_Inside();exit;}

main();exit;

function main(){
	$ldap=new clladp();
	$hash=$ldap->UserDatas($_SESSION["uid"]);
	$mail=$hash["mail"];
	$Quarantine_message_number=Quarantine_message_number();	
		
$html="
<center><img src='img/bg_quarantaine.jpg'><strong style='border-bottom:1px dotted #CCCCCC'>{$_SESSION["uid"]}, $Quarantine_message_number emails</strong></center>
<div id='content_q'></div>
<input type='hidden' value='{empty_quarantine_text_mesgbox}' id='empty_quarantine_text_mesgbox'>


<script>
LoadAjax('content_q','$page?main=today');
</script>
";
コード例 #2
0
<?php

ini_set('memory_limit', '64M');
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.cyrus.inc';
include_once 'ressources/class.mysql.inc';
include_once 'ressources/charts.php';
if (isset($_GET["quarantine_resend"])) {
    quarantine_resend();
    exit;
}
if (isset($_GET["QuaratinePie"])) {
    build_statistics();
    exit;
}
if (isset($_GET["main"])) {
    main_switch();
    exit;
}
if (isset($_GET["tab"])) {
    main_mail_switch();
    exit;
}
if (isset($_GET["msgbodyif"])) {
    main_mail_Inside();
    exit;
}
main();
exit;
function main()
{