please use <?php only where needed:
ex: <div id="message" class=" <?php echo $status; ?> "><strong><?php echo $message ?></strong></div>