phptype."/".$langue."/".$obj.".inc"))
include ("../sql/".$f -> phptype."/".$langue."/".$obj.".inc");
}else{
if (file_exists ("../sql/".$f -> 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) {
$dir=getcwd();
if (isset($langue)){
$dir=substr($dir,0,strlen($dir)-4)."/sql/".$f -> phptype."/".$langue."/";
}else{
$dir=substr($dir,0,strlen($dir)-4)."/sql/".$f -> phptype."/";
}
$dossier = opendir($dir);
echo "
";
$col=0;
while ($entree = readdir($dossier))
{
if ($entree == "." || $entree ==".."){
continue;
}else{
$temp = explode(".",$entree);
if(!isset($temp[1])) $temp[1]="";
if($temp[1]=="inc") $temp[1]="tab";
if($temp[1]==$obj){
$col=$col+1;
echo "";
echo "";
//*
if($temp[1]=="reqmo"){
echo "";
echo $temp[0]." (".$temp[1].") | ";
}
if ($col==3){
echo "
";
$col=0;
}
}
}}
echo "
";
closedir($dossier);
}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 ();
?>