<?php if (!empty($message)) : ?>
<div class="alert alert-success alert-dismissible">
	<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
	<h4><i class="icon fa fa-check"></i> Success!</h4>
	<p><?php echo $message; ?></p>
</div>
<?php endif; ?>