<?php if (is_ajax()) { ?>
        <div id="infoMessage"><?= htmlspecialchars($message) ?></div>
<?php } else { ?>
<div class="pageTitle">
    <h1>Permission denied</h1>
</div>

<div class="row-fluid deny-page">
    <div id="admin_content" class="tables">
        <h3 id="infoMessage"><?= htmlspecialchars($message) ?></h3>
        <p class="description">If this is not what you expected, please contact an administrator.</p>
        <p class="description"><a href="javascript:history.back()">Return to previous page</a></p>
    </div>
 </div>

<?php } ?>