<?php echo $content; ?>


<?php if(isset($footer) && ! is_null($footer)): ?>
    <br>
    <?php echo $footer; ?>

<?php endif; ?>