5 * Copyright 1999-2001 (c) VA Linux Systems
6 * Copyright 2010 (c) FusionForge Team
7 * Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
8 * Copyright 2013, Franck Villaume - TrivialDev
9 * http://fusionforge.org
11 * This file is part of FusionForge. FusionForge is free software;
12 * you can redistribute it and/or modify it under the terms of the
13 * GNU General Public License as published by the Free Software
14 * Foundation; either version 2 of the Licence, or (at your option)
17 * FusionForge is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 require_once '../env.inc.php';
28 require_once $gfcommon.'include/pre.php';
29 require_once $gfwww.'stats/site_stats_utils.php';
31 session_require_global_perm ('forge_stats', 'read') ;
33 html_use_jqueryjqplotpluginCanvas();
34 html_use_jqueryjqplotpluginhighlighter();
36 $HTML->header(array('title'=>sprintf(_('%1$s Sitewide Statistics Graphs'), forge_get_config ('forge_name'))));
41 <table class="fullwidth">
42 <tr class="align-center">
43 <td><a href="index.php"><?php echo _('OVERVIEW STATS'); ?></a></td>
44 <td><a href="projects.php"><?php echo _('PROJECT STATS'); ?></a></td>
45 <td><strong><?php echo _('SITE GRAPHS'); ?></strong></td>
50 <p class="information" ><?php echo _('Displayed data: only last 24 months.'); ?></p>
51 <p class="align-center">
52 <?php views_graph(1); ?>
54 <p class="align-center">
55 <?php users_graph(); ?>
59 $HTML->footer( array() );