ninja4nagios
By: a guest | Apr 3rd, 2009 | Syntax:
PHP | Size: 1.10 KB | Hits: 316 | Expires: Never
<?php defined('SYSPATH') OR
die('No direct access allowed.'); ?>
<div class="widget movable collapsable removable closeconfirm" id="widget-network_health">
<div class="widget-header">
<strong><?php echo $title ?></strong>
</div>
<div class="widget-editbox">
<!--Edit the widget here-->
</div>
<div class="widget-content">
<!--This is widget content:<br /><br />-->
<table cellpadding="0" cellspacing="0" id="netw_health">
<tr>
<td valign="bottom" id="host_health" align="center">
<div class="netw_health_label"><?php echo $host_value ?> %</div>
<div>
<?php echo html
::image($host_image, array('height' => $host_value, 'width' => '100%')) ?></div>
<div class="netw_health_label"><?php echo $host_label ?></div>
</td>
<td valign="bottom" id="service_health" align="center">
<div class="netw_health_label"><?php echo $service_value ?> %</div>
<div>
<?php echo html
::image($service_image, array('height' => $service_value, 'width' => '100%')) ?></div>
<div class="netw_health_label"><?php echo $service_label ?></div>
</td>
</tr>
</table>
</div>