"._("defunt"); 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."defunt LEFT JOIN ".DB_PREFIXE."emplacement ON defunt.emplacement=emplacement.emplacement LEFT JOIN ".DB_PREFIXE."titre_de_civilite ON defunt.titre=titre_de_civilite.titre_de_civilite "; // SELECT $champAffiche = array( 'defunt.defunt as "'._("defunt").'"', 'defunt.nature as "'._("nature").'"', 'defunt.taille as "'._("taille").'"', 'emplacement.nature as "'._("emplacement").'"', 'titre_de_civilite.libelle as "'._("titre").'"', 'defunt.nom as "'._("nom").'"', 'defunt.prenom as "'._("prenom").'"', 'defunt.marital as "'._("marital").'"', 'to_char(defunt.datenaissance ,\'DD/MM/YYYY\') as "'._("datenaissance").'"', 'to_char(defunt.datedeces ,\'DD/MM/YYYY\') as "'._("datedeces").'"', 'defunt.lieudeces as "'._("lieudeces").'"', 'to_char(defunt.dateinhumation ,\'DD/MM/YYYY\') as "'._("dateinhumation").'"', 'defunt.exhumation as "'._("exhumation").'"', 'to_char(defunt.dateexhumation ,\'DD/MM/YYYY\') as "'._("dateexhumation").'"', 'defunt.reduction as "'._("reduction").'"', 'to_char(defunt.datereduction ,\'DD/MM/YYYY\') as "'._("datereduction").'"', 'defunt.verrou as "'._("verrou").'"', ); // $champNonAffiche = array( 'defunt.observation as "'._("observation").'"', 'defunt.historique as "'._("historique").'"', ); // $champRecherche = array( 'defunt.defunt as "'._("defunt").'"', 'defunt.nature as "'._("nature").'"', 'defunt.taille as "'._("taille").'"', 'emplacement.nature as "'._("emplacement").'"', 'titre_de_civilite.libelle as "'._("titre").'"', 'defunt.nom as "'._("nom").'"', 'defunt.prenom as "'._("prenom").'"', 'defunt.marital as "'._("marital").'"', 'defunt.lieudeces as "'._("lieudeces").'"', 'defunt.exhumation as "'._("exhumation").'"', 'defunt.reduction as "'._("reduction").'"', 'defunt.verrou as "'._("verrou").'"', ); $tri="ORDER BY defunt.nature ASC NULLS LAST"; $edition="defunt"; $selection=''; if ($retourformulaire== 'emplacement') { $selection=" WHERE (defunt.emplacement ='".$idx."')"; } if ($retourformulaire== 'titre_de_civilite') { $selection=" WHERE (defunt.titre ='".$idx."')"; } $sousformulaire = array( 'operation_defunt',); ?>