services fixes

git-svn-id: http://www.observium.org/svn/observer/trunk@1222 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-06-20 19:20:56 +00:00
parent 5bdb0f31e4
commit 64628bd1fb
2 changed files with 5 additions and 6 deletions

View File

@@ -7,8 +7,6 @@ echo("<a href='".$config['base_url']."/services/details/'>Details</a>");
print_optionbar_end();
print_r($_GET);
if($_GET['status'] == '0') { $where = " AND service_status = '0'"; } else { unset ($where); }
echo("<div style='margin: 5px;'><table cellpadding=7 border=0 cellspacing=0 width=100%>");
@@ -39,7 +37,7 @@ if ($_SESSION['userlevel'] >= '5') {
$periods = array('day', 'week', 'month', 'year');
echo('<tr style="background-color: $bg; padding: 5px;"><td colspan=6>');
echo('<tr style="background-color: '.$bg.'; padding: 5px;"><td colspan=6>');
foreach($periods as $period) {
$graph_array['from'] = $$period;