'.$instancename.' - Home'; ?>
'.$instancename.''; ?>
Some Systems may not work at the moment
'; } else if(sMaintenance()) { echo '
Systems currently under maintenance
'; } else { echo '
All Systems operational!
'; } ?>
Autoreload
'; } ?>
'.$grouplist['name'].'
'; mysqli_data_seek($services, 0); while($servicelist = mysqli_fetch_array($services)){ if($grouplist['id'] == $servicelist['groupid']) { if($servicelist['status'] == "Online") { echo '
'.$servicelist['name'].'
'; } else if($servicelist['status'] == "Maintenance") { echo '
'.$servicelist['name'].'
'; } else if($servicelist['status'] == "Offline") { echo '
'.$servicelist['name'].'
'; } } } echo '
'; } ?>
'.str_replace("-", ".", $incidentlist['date']).'
Affected Services:
'; $servicearray = explode(",", $incidentlist['services']); foreach ($servicearray as $index) { echo '
'.getName($index).'
'; } echo '
'; if(strpos($incidentlist['status'], "new") !== false) { echo '
'.$incidentlist['text'].'
'; } else if(strpos($incidentlist['status'], "working") !== false) { echo '
'.$incidentlist['text'].' '; } else if(strpos($incidentlist['status'], "update") !== false) { echo '
'.$incidentlist['text'].' '; } else if(strpos($incidentlist['status'], "finished") !== false) { echo '
'.$incidentlist['text'].' '; } mysqli_data_seek($incidents2, 0); while($incidentlist2 = mysqli_fetch_array($incidents2)){ if(strpos($incidentlist['id'], $incidentlist2['childof']) !== false) { echo '
'; if(strpos($incidentlist2['status'], "new") !== false) { echo '
'.$incidentlist2['text'].'
'; } else if(strpos($incidentlist2['status'], "working") !== false) { echo '
'.$incidentlist2['text'].' '; } else if(strpos($incidentlist2['status'], "update") !== false) { echo '
'.$incidentlist2['text'].' '; } else if(strpos($incidentlist2['status'], "finished") !== false) { echo '
'.$incidentlist2['text'].' '; } } } echo ''; } } } ?>
Annoucement
Update
Working on a fix
Finished / No Problems
Maintenance
Last time down
Offline / Problems
'; } ?>