"._("bureau"); 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."bureau LEFT JOIN ".DB_PREFIXE."canton ON bureau.canton=canton.canton "; // SELECT $champAffiche = array( 'bureau.bureau as "'._("bureau").'"', 'bureau.libelle as "'._("libelle").'"', 'canton.libelle as "'._("canton").'"', 'bureau.adresse1 as "'._("adresse1").'"', 'bureau.adresse2 as "'._("adresse2").'"', 'bureau.cp as "'._("cp").'"', 'bureau.ville as "'._("ville").'"', ); // $champNonAffiche = array( ); // $champRecherche = array( 'bureau.bureau as "'._("bureau").'"', 'bureau.libelle as "'._("libelle").'"', 'canton.libelle as "'._("canton").'"', 'bureau.adresse1 as "'._("adresse1").'"', 'bureau.adresse2 as "'._("adresse2").'"', 'bureau.cp as "'._("cp").'"', 'bureau.ville as "'._("ville").'"', ); $tri="ORDER BY bureau.libelle ASC NULLS LAST"; $edition="bureau"; $selection=''; if ($retourformulaire== 'canton') { $selection=" WHERE (bureau.canton ='".$idx."')"; } $sousformulaire = array( 'affectation', 'candidature',); ?>