Exemple #1
0
</div>

<hr />

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr align="center">
<td><a href="index.php"><?php 
echo _('OVERVIEW STATS');
?>
</a></td>
<td><strong><?php 
echo _('PROJECT STATS');
?>
</strong></td>
<td><a href="graphs.php"><?php 
echo _('SITE GRAPHS');
?>
</a></td>
</tr>
</table>

<hr />
	<div align="center">
	<br /><br />
	<?php 
stats_site_projects($report, $orderby, $projects, $trovecatid);
?>
	<br /><br />
	</div>
	<?php 
$HTML->footer(array());
Exemple #2
0
    if (isset($trovecatid) && $trovecatid > 0) {
        $project_list = stats_generate_trove_grouplist($trovecatid);
    }
    if ($span < 1) {
        $span = 21;
    }
    if (!isset($offset)) {
        $offset = 0;
    }
    if ($projects != "") {
        $project_list = explode(" ", $projects);
        $trovecatid = -1;
    }
    if ($trovecatid == 0) {
        $project_list = 0;
    }
    // Print the form, passing it the params, so it can save state.
    stats_site_projects_form($span, $orderby, $offset, $projects, $trovecatid);
    print '<DIV ALIGN="CENTER">' . "\n";
    print '<BR><BR>' . "\n";
    stats_site_projects($span, $orderby, $offset, $project_list, $trovecatid);
    print '<BR><BR>' . "\n";
    print '</DIV>' . "\n";
} else {
    // Print the form, passing it the params, so it can save state.
    stats_site_projects_form($span, $orderby, $offset, $projects, $trovecatid);
}
//
// END PAGE CONTENT CODE
//
$HTML->footer(array());