"._("destination_shon"); 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."destination_shon LEFT JOIN ".DB_PREFIXE."destination ON destination_shon.destination=destination.destination LEFT JOIN ".DB_PREFIXE."dossier ON destination_shon.dossier=dossier.dossier "; // SELECT $champAffiche = array( 'destination_shon.destination_shon as "'._("destination_shon").'"', 'destination.libelle as "'._("destination").'"', 'destination_shon.shon as "'._("shon").'"', 'destination_shon.shon_anterieure as "'._("shon_anterieure").'"', 'destination_shon.shon_demolie as "'._("shon_demolie").'"', 'destination_shon.shon_anterieure_supprimee as "'._("shon_anterieure_supprimee").'"', 'destination_shon.shon_nouvelle_transformee as "'._("shon_nouvelle_transformee").'"', 'destination_shon.shon_nouvelle as "'._("shon_nouvelle").'"', 'destination_shon.shon_shob_transformee as "'._("shon_shob_transformee").'"', 'dossier.nature as "'._("dossier").'"', ); // $champNonAffiche = array( ); // $champRecherche = array( 'destination_shon.destination_shon as "'._("destination_shon").'"', 'destination.libelle as "'._("destination").'"', 'destination_shon.shon as "'._("shon").'"', 'destination_shon.shon_anterieure as "'._("shon_anterieure").'"', 'destination_shon.shon_demolie as "'._("shon_demolie").'"', 'destination_shon.shon_anterieure_supprimee as "'._("shon_anterieure_supprimee").'"', 'destination_shon.shon_nouvelle_transformee as "'._("shon_nouvelle_transformee").'"', 'destination_shon.shon_nouvelle as "'._("shon_nouvelle").'"', 'destination_shon.shon_shob_transformee as "'._("shon_shob_transformee").'"', 'dossier.libelle as "'._("dossier").'"', ); $tri="ORDER BY destination.libelle ASC NULLS LAST"; $edition="destination_shon"; $selection=''; if ($retourformulaire== 'destination') { $selection=" WHERE (destination_shon.destination ='".$idx."')"; } if ($retourformulaire== 'dossier') { $selection=" WHERE (destination_shon.dossier ='".$idx."')"; } ?>