ouvrir('menu.html'); $index = new template(); $index->ouvrir('acces.html'); $tableau_a_remplacer['{menu}'] = $tpl->fichier; $tableau_a_remplacer['{meta}'] = $meta; foreach($tablink AS $cle => $val){ $tableau_a_remplacer[$cle] = $val; } $index->remplacer($tableau_a_remplacer, $index->fichier); echo($index->fichier_remplacer); ?>