1 <?php
defined('SYSPATH') OR die('No direct access allowed.'); ?
>
2 <div
class="report_block">
4 <table id
="histogram_holder">
6 <td
><div id
="histogram_graph" style
="width:800px;height:300px; margin-bottom: 15px"></div
></td
>
8 <td style
="vertical-align: bottom; padding-bottom: 30px; width: 100%;">
9 <p id
="choices" style
="padding-left:6px; margin-bottom: 7px;"><?php
echo _('Show') ?
>:</p
>
10 <div id
="overviewLegend" style
=" width: 40px"></div
>
15 <table id
="histogram_overview">
17 <th
><?php
echo _('EVENT TYPE') ?
></th
>
18 <th
><?php
echo _('MIN') ?
></th
>
19 <th
><?php
echo _('MAX') ?
></th
>
20 <th
><?php
echo _('SUM') ?
></th
>
21 <th
><?php
echo _('AVG') ?
></th
>
23 <?php
$i=0; foreach ($available_states as $state) { $i++
;?
>
24 <tr
class="<?php echo ($i%2 == 0) ? 'odd' : 'even'; ?>">
25 <td
><?php
echo $states[$state] ?
></td
>
26 <td
><?php
echo $min[$state] ?
></td
>
27 <td
><?php
echo $max[$state] ?
></td
>
28 <td
><?php
echo $sum[$state] ?
></td
>
29 <td
><?php
echo $avg[$state] ?
></td
>
38 <div
class="report_block">
39 <h3
><?php
echo (substr($options['report_type'], 0, 4) == 'host') ?
_("Included hosts") : _("Included services"); ?
></h3
>
43 foreach ($options->get_report_members() as $object) {
44 echo '<tr class="'.($i++ %
2 ?
'even' : 'odd').'"><td>'.$object.'</td></tr>';