<?php include("config.php"); ?>
<?php include("includes/header.php"); ?>
<?php include("includes/sidebar.php"); ?>

<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4 mt-4">
    <?php
    $page = $_GET['page'] ?? 'dashboard';
    include("includes/{$page}.php");
    ?>
</main>

<?php include("includes/footer.php"); ?>
