<?php if (isset($report) && $report['message'] != '') { ?>
    <div class="alert alert-<?php echo $report['error'] ? 'danger' : 'success'; ?> alert-dismissable">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <?php echo $report['message']; ?>
    </div>
<?php }
