%PDF- %PDF-
Direktori : /home/alliance/domains/congress-eldw.eu/public_html/ |
Current File : /home/alliance/domains/congress-eldw.eu/public_html/index.php |
<?php ini_set('display_errors','on'); error_reporting(E_ALL); include_once("inc/config.php"); include_once("inc/functions.php"); include_once("inc/init.php"); include_once("inc/classes/Module.php"); include_once("inc/classes/Homepage.php"); $module = new Module; $acc = true; $page = new Page; //affichage du html include("theme/html.php"); //affichage des metas include("theme/meta.php"); echo "\n<title>".$trad->t('Home','global',$lang->id())." - ".$info_titresite."</title>\n"; //affichage du header include("theme/header.php"); //colonne de droite include("theme/droite.php"); ?> <div class="corp_page"> <? $homepage=new Homepage(); $blocs=$homepage->getBlocks(); foreach($blocs as $unblock){ if($unblock['type']=="news"){ echo $module->afficher_actus(); ?> <a href="<?=$lang->getlang()?>/news.html" class="bouton w100 mt10"><?=$trad->t('Toutes les actualites','global',$lang->getlang());?></a> <?php } else{ $result = $page->liste_blocs($unblock['id_page']); if($result != null) { ?> <article class="blanc padding mt10"> <?php foreach ($result as $bloc){ $page->afficher_bloc($bloc, "page"); } ?> </article> <?php } } } ?> </div> <?php //affichage du footer include("theme/footer.php"); ?>