get_existe()) $acces_nav="jeune"; elseif($MyConseiller->get_existe()) $acces_nav="conseiller"; if($navigation_[$lg][$id_nav]['acces']!="" && $navigation_[$lg][$id_nav]['acces']!=$acces_nav) echo ""; else { $cpt_modules=0; include("include/filtre_modele_fonctions.php"); $res_navigation_module=query(" select * from `".$tbl['site_assoc_navigation_module']."` where `id_navigation`=\"".$id_nav."\" and `id_structure`=\"".$id_structure."\" and `en_ligne`=\"1\" order by position ",$link); while($row_navigation_module=mysql_fetch_array($res_navigation_module)) { $affiche_module=0; $res_module=query(" select * from `".$tbl['site_module']."` where `id`=\"".$row_navigation_module['id_module']."\" ",$link); $row_module=mysql_fetch_assoc($res_module); if($row_module['table']==$tbl['module_selection']) { $type_module="bibliotheque"; $affiche_module=1; } elseif($row_module['table']!="") { $type_module="independant"; $res_dates=query(" select `date_debut_affichage`, `date_fin_affichage` from `".$row_module['table']."` where 1 and `id`=\"".$row_navigation_module['id_table']."\" ",$link); $row_dates=mysql_fetch_assoc($res_dates); if($row_dates['date_debut_affichage']<=$today && $row_dates['date_fin_affichage']>=$today) $affiche_module=1; } else $affiche_module=1; if($row_module['fichier']=="") $affiche_module=0; if($affiche_module==1) { include("include/".$row_module['fichier']); $cpt_modules++; } } } ?>