<?php
include('./requires.inc.php');

include('./config/loadConfiguration.php');

include('./header.inc.php');
?>

<?php 
include('./navigation.inc.php');
?>

<div class="content">
    <div class="blog">
<?php 
        if ($_SESSION["admin"] == 1) {
?>
            <div class="addPost"><a href="admin-addPost.php">Add Post</a></div>
<?php
        }
        $blogDao = new BlogDAO();
        echo $blogDao->getBlogInformation()->toHTML();
?>
    </div>
</div>

<?php
include('./utilities.inc.php'); 
?>
<?php
include('./footer.inc.php');
?>
<?php
include('./requires.inc.php');

include('./config/loadConfiguration.php');

include('./header.inc.php');
?>

<?php 
include('./navigation.inc.php');
?>

<section role="main">
    <div class="blog">
<?php 
        if ($_SESSION["admin"] == 1) {
?>
            <div class="addPost"><a href="admin-addPost.php">Add Post</a></div>
<?php
        }
        $blogDao = new BlogDAO();
        echo $blogDao->getBlogInformation()->toHTML();
?>
    </div>
</section>

<?php
include('./utilities.inc.php'); 
?>
<?php
include('./footer.inc.php');
?>
Set the main section of the page to align with the responsive web design changes.
Set the main section of the page to align with the responsive web design
changes.