"._("dossier"); if(!isset($premier)) $premier=''; if(!isset($recherche1)) $recherche1=''; if(!isset($tricolsf)) $tricolsf=''; if(!isset($premiersf)) $premiersf=''; if(!isset($selection)) $selection=''; if(!isset($retourformulaire)) $retourformulaire=''; if (isset($idx) && $idx != ']' && trim($idx) != '') { $ent .= "-> ".$idx." "; } if (isset($idz) && trim($idz) != '') { $ent .= " ".strtoupper($idz)." "; } // FROM $table = DB_PREFIXE."dossier LEFT JOIN ".DB_PREFIXE."emplacement ON dossier.emplacement=emplacement.emplacement "; // SELECT $champAffiche = array( 'dossier.dossier as "'._("dossier").'"', 'dossier.fichier as "'._("fichier").'"', 'to_char(dossier.datedossier ,\'DD/MM/YYYY\') as "'._("datedossier").'"', 'dossier.typedossier as "'._("typedossier").'"', ); // $champNonAffiche = array( 'dossier.emplacement as "'._("emplacement").'"', 'dossier.observation as "'._("observation").'"', ); // $champRecherche = array( 'dossier.dossier as "'._("dossier").'"', 'dossier.fichier as "'._("fichier").'"', 'dossier.typedossier as "'._("typedossier").'"', ); $tri="ORDER BY emplacement.nature ASC NULLS LAST"; $edition="dossier"; $selection=''; if ($retourformulaire== 'emplacement') { $selection=" WHERE (dossier.emplacement ='".$idx."')"; } ?>