}
    }
    echo "</table>\n";
}
?>
</td><th valign=top>
<h3>Interface Traffic</h3><p>
<?php 
StatusIf('it');
StatusIf('ot');
?>
</th><th valign=top>
<h3>Interface Errors</h3><p>
<?php 
StatusIf('ie');
StatusIf('oe');
?>
</th><th valign=top>
<h3>System</h3><p>

<?php 
StatusSys('cpu');
StatusSys('mem');
StatusSys('tmp');
?>
</th></tr></table>
<p>
<table width=100%>
<tr><th width=20% valign=top>
<h2>Message Statistics</h2>
<?php 
예제 #2
0
파일: mh.php 프로젝트: pl0o0f/nedi-puppet
    if ($m[0]) {
        echo "<p><b><img src=\"img/32/batt.png\" title=\"{$m['0']} PoE IF\">{$m['1']} W</b>\n";
    }
    DbFreeResult($res);
} else {
    print DbError($link);
}
?>

</td>
<td valign="top" align="center">

<?php 
StatusIf($loc, 'brup');
StatusIf($loc, 'brdn');
StatusIf($loc, 'bdis');
?>

</td>
<td valign="top" align="center">

<?php 
StatusCpu($loc);
StatusMem($loc);
StatusTmp($loc);
?>

</td></tr>
<tr><td colspan="4">

<h2><?php