Added php tags to monitor.php