3 * This file is the messages index in quarantine for the entire site.
4 * It provides a listing of all messages corresponding to:
10 * @author Jeremy Fowler <jfowler06@users.sourceforge.net>
14 * Copyright (C) 2005 - 2007 MailZu
15 * License: GPL, see LICENSE
18 * Include Template class
20 include_once('lib/Template.class.php');
22 * Include common output functions
24 include_once('templates/common.template.php');
26 * Include quarantine-specific output functions
28 include_once('templates/summary.template.php');
30 if (!Auth
::is_logged_in()) {
31 Auth
::print_login_msg(); // Check if user is logged in
34 $_SESSION['sessionNav'] = "Site Quarantine Summary";
35 $t = new Template(translate('Site Quarantine Summary'));
39 $t->printHTMLHeader();
43 // Break table into 2 columns, put quick links on left side and all other tables on the right
45 showQuickLinks(); // Print out My Quick Links
46 startDataDisplayCol();
48 if (! Auth
::isMailAdmin() ||
! $conf['app']['siteSummary']) {
49 CmnFns
::do_error_box(translate('Access Denied'));
53 // Print a loading message until database returns...
54 printMessage(translate('Loading Summary...'));
56 $count_array = $db->get_site_summary();
58 showSummary( $count_array );
60 // Hide the message after the table loads.
61 hideMessage(translate('Loading Summary...'));
67 $t->printHTMLFooter();