"._("operation_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."operation_defunt LEFT JOIN ".DB_PREFIXE."defunt ON operation_defunt.defunt=defunt.defunt LEFT JOIN ".DB_PREFIXE."titre_de_civilite ON operation_defunt.defunt_titre=titre_de_civilite.titre_de_civilite LEFT JOIN ".DB_PREFIXE."operation ON operation_defunt.operation=operation.operation "; // SELECT $champAffiche = array( 'operation_defunt.operation_defunt as "'._("operation_defunt").'"', 'operation.numdossier as "'._("operation").'"', 'defunt.nature as "'._("defunt").'"', 'titre_de_civilite.libelle as "'._("defunt_titre").'"', 'operation_defunt.defunt_nom as "'._("defunt_nom").'"', 'operation_defunt.defunt_marital as "'._("defunt_marital").'"', 'operation_defunt.defunt_prenom as "'._("defunt_prenom").'"', 'to_char(operation_defunt.defunt_datenaissance ,\'DD/MM/YYYY\') as "'._("defunt_datenaissance").'"', 'to_char(operation_defunt.defunt_datedeces ,\'DD/MM/YYYY\') as "'._("defunt_datedeces").'"', 'operation_defunt.defunt_lieudeces as "'._("defunt_lieudeces").'"', 'operation_defunt.defunt_nature as "'._("defunt_nature").'"', ); // $champNonAffiche = array( ); // $champRecherche = array( 'operation_defunt.operation_defunt as "'._("operation_defunt").'"', 'operation.numdossier as "'._("operation").'"', 'defunt.nature as "'._("defunt").'"', 'titre_de_civilite.libelle as "'._("defunt_titre").'"', 'operation_defunt.defunt_nom as "'._("defunt_nom").'"', 'operation_defunt.defunt_marital as "'._("defunt_marital").'"', 'operation_defunt.defunt_prenom as "'._("defunt_prenom").'"', 'operation_defunt.defunt_lieudeces as "'._("defunt_lieudeces").'"', 'operation_defunt.defunt_nature as "'._("defunt_nature").'"', ); $tri="ORDER BY operation.numdossier ASC NULLS LAST"; $edition="operation_defunt"; $selection=''; if ($retourformulaire== 'defunt') { $selection=" WHERE (operation_defunt.defunt ='".$idx."')"; } if ($retourformulaire== 'titre_de_civilite') { $selection=" WHERE (operation_defunt.defunt_titre ='".$idx."')"; } if ($retourformulaire== 'operation') { $selection=" WHERE (operation_defunt.operation ='".$idx."')"; } ?>