tsmmonitor/includes/overview.php

65 lines
2.1 KiB
PHP

<?php
/*
************************************************************************
This file is part of TSM Monitor.
TSM Monitor is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
TSM Monitor is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with TSM Monitor. If not, see <http://www.gnu.org/licenses/>.
************************************************************************
*/
?>
<table width=90% cellspacing="3" cellpadding="3">
<tr><td colspan="3" height='15px'></td></tr>
<tr><th colspan="3" align='center'>Quick Overview for Server <?php echo $server; ?></th></tr>
<tr><td colspan="3" height='15px'></td></tr>
<tr>
<td width='48%' valign='top'>
<table class='zebra'>
<tr><th colspan="2">Health Status</th></tr>
<?php echo get_overview_rows($configarray["infoboxarray"]["healthdata"]); ?>
</table>
</td>
<td width='4%'>
</td>
<td width='48%' valign='top'>
<table class='zebra'>
<tr><th colspan="2">TSM Database</th></tr>
<?php //echo get_overview_rows(getInfobox("database")); ?>
<?php echo get_overview_rows($configarray["infoboxarray"]["database"]); ?>
</table>
</td>
</tr>
<tr><td colspan="3" height='20px'></td></tr>
<tr>
<td width='48%' valign='top'>
<table class='zebra'>
<tr><th colspan="2">Total Data</th></tr>
<?php //echo get_overview_rows(getInfobox("totaldata")); ?>
<?php echo get_overview_rows($configarray["infoboxarray"]["totaldata"]); ?>
</table>
</td>
<td width='4%'>
</td>
<td width='48%' valign='top'>
<table class='zebra'>
<tr><th colspan="2">Schedule Status</th></tr>
<?php //echo get_overview_rows(getInfobox("schedules")); ?>
<?php echo get_overview_rows($configarray["infoboxarray"]["schedules"]); ?>
</table>
</td>
</tr>
</table>