| 1 |
<style type="text/css">
|
| 2 |
@import url(modules/test/statistics_trends/statistics_trends.css);
|
| 3 |
</style>
|
| 4 |
|
| 5 |
<div width="50%">
|
| 6 |
<?php
|
| 7 |
$target = variable_get('statistics_trends_target', 0);
|
| 8 |
$output = '';
|
| 9 |
$output .= _statistics_trends_display(60, 10, 'minutes back', $target/1440);
|
| 10 |
$output .= _statistics_trends_display(60*60, 12, 'hours back', $target/24);
|
| 11 |
$output .= _statistics_trends_display(60*60*24, 14, 'days back', $target);
|
| 12 |
$output .= _statistics_trends_display(60*60*24*7, 10, 'weeks back', $target*7);
|
| 13 |
$output .= _statistics_trends_display(60*60*24*30, 4, 'months back', $target*30);
|
| 14 |
|
| 15 |
print $output;
|
| 16 |
?>
|
| 17 |
</div>
|
| 18 |
|
| 19 |
<p>
|
| 20 |
Graph representing traffic trends on this blog, this graph displays realtime updated data. The red line is set at 10 full page hits per minute</p>
|