3 * This file is the messages index in quarantine for logged in users.
4 * It provides a listing of all messages corresponding to:
13 * Copyright (C) 2005 - 2007 MailZu
14 * License: GPL, see LICENSE
17 * Include Template class
19 include_once('lib/Template.class.php');
21 * Include common output functions
23 include_once('templates/common.template.php');
25 * Include quarantine-specific output functions
27 include_once('templates/summary.template.php');
29 if (!Auth
::is_logged_in()) {
30 Auth
::print_login_msg(); // Check if user is logged in
33 $_SESSION['sessionNav'] = "Quarantine Summary";
34 $t = new Template(translate('Quarantine Summary'));
38 $t->printHTMLHeader();
42 // Break table into 2 columns, put quick links on left side and all other tables on the right
44 showQuickLinks(); // Print out My Quick Links
45 startDataDisplayCol();
47 // Print a loading message until database returns...
48 printMessage(translate('Loading Summary...'));
50 $count_array = $db->get_user_summary($_SESSION['sessionMail']);
52 showSummary( $count_array );
54 // Hide the message after the table loads.
55 hideMessage(translate('Loading Summary...'));
59 $t->printHTMLFooter();