Пример #1
0
$HTML->header(array('title' => $Language->getText('stats_graph', 'stats', $GLOBALS['sys_name'])));
//
// BEGIN PAGE CONTENT CODE
//
echo "\n\n";
print '<DIV ALIGN="CENTER">' . "\n";
print '<span class="normal"><b>' . $Language->getText('stats_index', 'sitewide_agg_stats') . '</b></span><BR>' . "\n";
print '
<HR>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center"><B>' . $Language->getText('stats_graph', 'overview') . '</B></td>
<td align="center"><a href="projects.php">' . $Language->getText('stats_graph', 'project_stats') . '</a></td>
<td align="center"><a href="graphs.php">' . $Language->getText('stats_graph', 'site_graphs') . '</a></td>
</tr>
</table>

<HR>
';
stats_site_agregate();
print '<BR><BR>' . "\n";
stats_site_projects_daily(14);
print '<BR><BR>' . "\n";
//stats_site_projects_weekly( 52 );
print '<BR><BR>' . "\n";
print '</DIV>' . "\n";
//
// END PAGE CONTENT CODE
//
$HTML->footer(array());
Пример #2
0
<tr align="center">
<td><strong><?php 
echo _('OVERVIEW STATS');
?>
</strong></td>
<td><a href="projects.php"><?php 
echo _('PROJECT STATS');
?>
</a></td>
<td><a href="graphs.php"><?php 
echo _('SITE GRAPHS');
?>
</a></td>
</tr>
</table>

<hr />

<?php 
stats_site_aggregate();
print '<br /><br />';
stats_site_projects_daily(7);
print '<br /><br />';
stats_site_projects_monthly();
print '<br /><br />' . "\n";
print '</div>' . "\n";
echo '<p/>' . _('Other statistics:<ul><li><a href="i18n.php">I18n Statistics</a></li></ul>');
//
// END PAGE CONTENT CODE
//
$HTML->footer(array());