%PDF- %PDF-
Direktori : /home/alliance/domains/congress-pact1in5.eu/public_html/ |
Current File : /home/alliance/domains/congress-pact1in5.eu/public_html/index.php |
<?php include_once("inc/config.php"); include_once("inc/functions.php"); include_once("inc/init.php"); $actu = new Actu; $stats = new Stats; $acc = true; $homeban = true; //affichage du html include("theme/html.php"); //affichage des metas include("theme/meta.php"); echo "\n<title>Accueil - ".$info_titresite."</title>\n"; //affichage du header include("theme/header.php"); $this_edition=$edition->getCurrentEdition("front",$lang->getlangid()); $liste_pays=$pays->getPays($lang->getlangid()); $liste_pays=$pays->getDrapeauEdition($this_edition['id'],$lang->getlangid()); ?> <div id="homeban"> <div id="homebanback"> <div class="main2"> <h1><?=lang("txtban1") ?></h1> <h2><?=lang("txtban2") ?></h2> <div class="presentation"> <?=$admtext->getText("textepres",$lang->getlangid());?> </div> </div> </div> </div> <section id="corps"> <div class="main"> <? //colonne de droite include("theme/droite.php"); ?> <div style="overflow: auto;"> <?php foreach ($liste_pays as $unpays):?> <div class="pays"> <a href="<?=$lang->getlang()?>/<?=$unpays['id'];?>-pays.html" class="flag"><img src="images/icons/<?=strtolower($unpays['code_iso']);?>.png" alt="<?=$unpays['name'];?>"/></a> <a class="name pays_<?=$unpays['id'];?>" href="<?=$lang->getlang()?>/<?=$unpays['id'];?>-pays.html"><?=$unpays['name'];?></a> </div> <?endforeach; $profil = new Profil; ?> </div> <?php $db = new BaseOps; if($db->getparam("affiche_stats") == 1) { if($stats->getStats($this_edition['id'],'all','all','nb') != 0) { ?> <div style="margin-left: 10px; margin-right: 10px;"> <h3 class="acttitre bg_profil_1"><?=$admtext->getText("quelques_chiffres",$lang->getlangid())?> :</h3> <div class="bloctexte"> <ul> <li><?=$stats->getStats($this_edition['id'],'all','all','nb') ?> <?=strtolower($admtext->getText("partenaire",$lang->getlangid()))?>s <?=strtolower($admtext->getText("dont",$lang->getlangid()))?> <?=$stats->getStats($this_edition['id'],'all',1,'nb')?> <?=strtolower($profil->getLibelle(1))?> <?=strtolower($admtext->getText("and",$lang->getlangid()))?> <?=$stats->getStats($this_edition['id'],'all',3,'nb')?> <?=strtolower($profil->getLibelle(3))?></li> <li><?=count($liste_pays) ?> <?=strtolower($admtext->getText("country",$lang->getlangid()))?></li> <li><?=$stats->getStats($this_edition['id'],'all','all','activites')?> <?=strtolower($admtext->getText("activites",$lang->getlangid()))?></li> <li><?=number_format($stats->getStats($this_edition['id'],'all','all','population'),0,'.',' ')?> <?=strtolower($admtext->getText("citizens",$lang->getlangid()))?></li> </ul> </div> </div> <? } } //affichage du footer include("theme/footer.php"); ?>