<?php $page="Blog"; ?>
<?php include "../routes/blog.php"; ?>
<?php include "../layout/header.php"; ?>
<?php include "../layout/socialbar.php"; ?>
<?php include "../layout/navbar.php"; ?>
<body style="background-color: #f2f2f2;">
    <?php if (isset($_GET['url'])) { 
        include "../blog/view.php";
    } else {
        include "../pages/blog.php"; 
    } ?>
</body>
<?php include "../layout/footer.php"; ?>
<?php include "../sections/scripts.php"; ?>