HTML Structure

This PHP structure uses <?php include; ?> to load modular partials such as the head, menu, footer, and scripts etc... These includes are processed via the Gulp file include plugin, enabling a maintainable and scalable layout system with reusable HTML blocks across the project.


    <?= $this->include('./partials/html') ?>

<head>
    <?php echo view("./partials/page-title", array("title" => "Starter")) ?>

    <?= $this->include('./partials/head-css') ?>
</head>

<body>
    <!-- Begin page -->
    <div class="wrapper">

        <?= $this->include('./partials/menu') ?>

        <!-- ============================================================== -->
        <!-- Start Main Content -->
        <!-- ============================================================== -->

        <div class="content-page">

            <div class="container-fluid">
                
                <?php echo view("./partials/page-title", array("subtitle" => "Pages"), array("title" => "Starter")) ?>

            </div>
            <!-- container -->

            <?= $this->include('./partials/footer') ?>

        </div>

        <!-- ============================================================== -->
        <!-- End of Main Content -->
        <!-- ============================================================== -->

    </div>
    <!-- END wrapper -->

    <?= $this->include('./partials/customizer') ?>
    
    <?= $this->include('./partials/footer-scripts') ?>

</body>

</html>

                        
© 2014 - Inspinia By WebAppLayers
10GB of 250GB Free.