<!-- <?php 
    
/* $header = "<h1>Welcome to Our Custom CMS</h1>";

    $content = "<div class='welcome-container'>" .
                    $header . 
                    "<p>
                        Manage your content effortlessly with our intuitive and powerful Content Management System.  
                        Whether you're updating pages, managing posts, or organizing your website structure,  
                        our CMS makes it easy and efficient.
                    </p>
                    <div class='features'>
                        <h2>Why Use Our CMS?</h2>
                        <ul>
                            <li>Easy-to-use interface</li>
                            <li>Fast and secure database integration</li>
                            <li>Fully customizable content management</li>
                            <li>Mobile-friendly design</li>
                            <li>Seamless navigation and editing</li>
                        </ul>
                    </div>
                </div>";

    echo $content; */
    
?> -->

<?php
    
require_once 'Functions/get_content.php';
    
    
$pageName 'welcome';
    
$pageData getPageContent($dbc$pageName);
    
    if (
$pageData) {
        echo 
$pageData['header'];
        echo 
$pageData['content'];
    } else {
        include_once 
"Pages/page_not_found.php";
    }
?>