/** * @var DateTime $page['page_created_date'] * @var DateTime $page['page_updated_date'] * */ SystemNotifier_New($page['page_title'], SYS_LVL_NOTIFIER_PRIORITY_SUCCESS); require_once VIEWS_TEMPLATE . '/page_start.php'; ?> <?php if (empty($page) || !$page) { ?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Gee Wilikers!</strong> That page can't be found. <a href="<?php echo esr(); ?> ">Home</a>. </div> <?php } else { ?> <h2 class="page-title"><?php echo e($page['page_title']); ?> </h2> <div class="container"> <?php echo e($page['page_content']); ?> </div>
?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Oh snap!</strong> The pages seem to be hiding. Try looking again later. </div> <?php } else { ?> <table class="table table-striped table-hover text-center" style="width:250px;margin:0 auto;"> <tbody> <?php foreach ($pages as $page) { ?> <tr> <td><a href="<?php esr(); ?> /page.php?page=<?php echo e($page['page_slug']); ?> "><?php echo e($page['page_label']); ?> </a></td> </tr> <?php } ?> </tbody> </table> <?php