headerhtml (); $f -> collectivite (); $f -> droit ($obj); $f -> header (1, $ent); echo "\n
\n"; if ($_SESSION ['profil'] > 0 && $_SESSION ['profil'] >= $f -> droit) { $dir = getcwd (); if (isset($langue)){ $dir = substr ($dir, 0, strlen ($dir) - 4)."/doc/".$langue; }else{ $dir = substr ($dir, 0, strlen ($dir) - 4)."/doc/"; } $dossier = opendir ($dir); $tab = array (); while ($entree = readdir ($dossier)) { if (strstr ($entree, ".html")) array_push ($tab, array ('file' => substr($entree, 0, strlen ($entree) - 5))); } asort ($tab); closedir ($dossier); $col = 0; echo ""; if (isset($langue)){ echo ""; } foreach ($tab as $elem) { $col ++; if (isset($langue)){ echo ""; }else{ echo ""; } if ($col == 3) { echo ""; $col = 0; } } echo "
".$f -> lang("traduction")." ".$f -> lang("langue")." ".$f -> lang("en_cours")."
 
\"-\"".$f -> lang($elem ['file'])."\"-\"".$elem ['file']."
"; } else { echo "
".$f->lang("attention")." ".$f->lang("droit").$f->lang("pluriel")." ".$f->lang("insuffisant").$f->lang("pluriel")." - ". $f->lang("votre_profil_est")." : [".$_SESSION['profil']."]
"; } echo "\n
\n\n"; /** * */ $f -> footer (); $f -> deconnexion (); $f -> footerhtml (); ?>