5 * Copyright 1999-2001 (c) VA Linux Systems
6 * Copyright 2010 (c) FusionForge Team
7 * Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
8 * http://fusionforge.org
10 * This file is part of FusionForge. FusionForge is free software;
11 * you can redistribute it and/or modify it under the terms of the
12 * GNU General Public License as published by the Free Software
13 * Foundation; either version 2 of the Licence, or (at your option)
16 * FusionForge is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License along
22 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 require_once('../env.inc.php');
27 require_once $gfcommon.'include/pre.php';
28 require_once $gfwww.'stats/site_stats_utils.php';
30 $report=getStringFromRequest('report');
31 $orderby=getStringFromRequest('orderby');
32 $projects=getIntFromRequest('projects');
33 $trovecatid=getIntFromRequest('trovecatid');
35 session_require_global_perm ('forge_stats', 'read') ;
37 $HTML->header(array('title'=>sprintf(_('%1$s Site Project Statistical Comparisons'), forge_get_config ('forge_name'))));
43 <table width="100%" cellpadding="0" cellspacing="0" border="0">
45 <td><a href="index.php"><?php echo _('OVERVIEW STATS'); ?></a></td>
46 <td><strong><?php echo _('PROJECT STATS'); ?></strong></td>
47 <td><a href="graphs.php"><?php echo _('SITE GRAPHS'); ?></a></td>
55 stats_site_projects( $report, $orderby, $projects, $trovecatid );
60 $HTML->footer( array() );