<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>
        <?php echo $title;?> - Beam 
        </title>

        <?php include('../end/topstyle.php');?>    
        <script src="../js/vendors.bundle.js"></script>        
        <style>
            .current {
            z-index: 1;
            color: #fff;
            background-color: #677841;
            border-color: #5c6b3a;
            }
            body {
              font-family: century gothic;
            }
        </style>
    </head>

    <body class="mod-bg-1 nav-function-top header-function-fixed nav-function-fixed">
        <!-- DOC: script to save and load page settings -->
        
        <!-- BEGIN Page Wrapper -->
        <div class="page-wrapper">
            <div class="page-inner">
                <!-- BEGIN Left Aside -->               
                <?php include '../end/navmenu.php';?>
                <!-- END Left Aside -->
                <div class="page-content-wrapper" style="border-top: 3px solid #eee;background: #343434 url(../img/back.png) repeat;">
                    <?php include '../end/temphead.php';?>
                    <!-- BEGIN Page Content -->
                    <!-- the #js-page-content id is needed for some plugins to initialize -->
                    <main id="js-page-content" role="main" class="page-content">
                        
                    <?php 
                        require_once $pg; 
                    ?>                    
                    </main>
                    <!-- this overlay is activated only when mobile menu is triggered -->
                    <div class="page-content-overlay" data-action="toggle" data-class="mobile-nav-on"></div> <!-- END Page Content -->
                   
                    <!-- BEGIN Page Footer -->
                   <?php include '../end/tfoot.php';?>
                    <!-- END Page Footer -->

                </div>
            </div>
        </div>
        <!-- END Page Wrapper -->

         <!-- BEGIN Page Settings -->
         <?php include('../end/pwd.php');?> 
        <!-- END Page Settings -->
        <?php include('../end/bootscript.php');?> 
    </body>
</html>
