<?php
    /*
    *
    * copyright (c) 2013-2021 Heliac Technologies
    * license http://opensource.org/licenses/gpl-license.php GNU GPL v3 
    *
    * linee guida per l'utilizzo del logo http://www.geecom.org/index.php?alias=linee-guida-per-luso-del-logo-geecom
    *
    */  
?>
<body>
    <?php 
        echo $inclusioni["fineBody"];
    ?>
    <div class="wrapper">

        <!-- Contenuto principale  -->
        <div class="d-flex flex-column w-100">
            <div class="page-wrapper">

                <main role="main" class="d-flex align-items-center mt-0 pt-4">
                    <div class="container">
                     <?php
                        UtilTemplate::stampaComponenti($geecomDb, $gestoreJavascript, $impostazioni, $impostazioniRicerca, $configurazioneAspetto, $pagina["id"], "contenuto", "si");
                    ?>
                    </div>
                </main>
            </div>
	    <?php
		include "template/include/footer.php";
	    ?>
        </div>
    </div>

    <?php
        // contiene la modal sulla legge dei cookie, la ricerca fullscreen ed eventuali
        // aggiunte del tema
        include"template/include/elementiAggiuntiviTemplate.php";
            
        if($impostazioni["accessoFacebook"]=="si") {
            include "include/facebookSdk.php";
        }

        include"include/includeJsBase.php"; 
        include"template/include/includeJsTemplate.php"; 
        
        echo $inclusioni["fineBody"];
    ?>
</body>