<?php
if (str_starts_with($message, "?!HTML::"))
    $message = substr($message, 8);
else
    $message = htmlentities($message);
?>
<div class="alert alert-danger" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<?= $message; ?>
</div>