Service |
Description |
Status |
' . $service['name'] . ' | ';
echo '' . $service['description'] . ' | ';
if(is_service_running($service['name'], $ps)) {
echo 'Running | ';
$running = true;
} else {
echo 'Stopped | ';
$running = false;
}
echo '';
if($running) {
echo "";
echo " ";
echo "";
echo " ";
echo "";
} else {
echo " ";
echo " ";
}
echo ' | ';
echo '';
}
} else {
echo "No services found. | ";
}
?>
|