phptype."/".$obj.".inc")) include ("../sql/".$f -> phptype."/".$obj.".inc"); $f -> headerhtml (); $f -> collectivite (); $f -> droit ($obj); $f -> header (1, $ent, $ico, $obj); echo "\n
\n"; if ($_SESSION ['profil'] >= $f -> droit) { echo "
"; echo "
".$f->lang("generation").""; $dir=getcwd(); $dir=substr($dir,0,strlen($dir)-4)."/rec/"; $dossier = opendir($dir); echo ""; $col=0; $tab=array(); while ($entree = readdir($dossier)) { if (strstr ($entree, "import") and $entree !="import_script.php") array_push ($tab, array ('file' => substr($entree, 7, strlen ($entree) - 11))); } asort ($tab); foreach ($tab as $elem) { $col=$col+1; echo ""; $col=0; } } closedir($dossier); echo "
"; echo "
" . "".lang($elem ['file'])."
"; if ($col==3){ echo "
"; echo "
"; echo "

"; }else{ echo "
".$f->lang("attention")." ".$f->lang("droit")." ".$f->lang("non").$f->lang("suffisant")." - ". $f->lang("profil")." : [".$_SESSION['profil']."]
"; } echo "\n
\n\n"; /** * */ $f -> footer (); $f -> deconnexion (); $f -> footerhtml (); ?>