5 * Copyright 2004 (c) GForge LLC
8 * @author Tim Perdue tim@gforge.org
11 * This file is part of GForge.
13 * GForge is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * GForge is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with GForge; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 require_once('../env.inc.php');
29 require_once $gfwww.'include/pre.php';
30 require_once $gfcommon.'reporting/report_utils.php';
31 require_once $gfcommon.'reporting/Report.class.php';
34 if ($report->isError()) {
35 exit_error('Error',$report->getErrorMessage());
38 $SPAN = getStringFromRequest('SPAN');
39 $start = getStringFromRequest('start');
40 $end = getStringFromRequest('end');
43 $z =& $report->getMonthStartArr();
44 $start = $z[count($z)-1];
47 session_require( array('group'=>$sys_stats_group) );
49 echo report_header(_('Users Added'));
52 <h3><?php echo _('Users Added'); ?></h3>
54 <form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="get">
56 <td><strong><?php echo _('Type'); ?>:</strong><br /><?php echo report_span_box('SPAN',$SPAN); ?></td>
57 <td><strong><?php echo _('Start'); ?>:</strong><br /><?php echo report_months_box($report, 'start', $start); ?></td>
58 <td><strong><?php echo _('End'); ?>:</strong><br /><?php echo report_months_box($report, 'end', $end); ?></td>
59 <td><input type="submit" name="submit" value="<?php echo _('Refresh'); ?>"></td>
63 <img src="useradded_graph.php?<?php echo "SPAN=$SPAN&start=$start&end=$end"; ?>" width="640" height="480">
71 // c-file-style: "bsd"