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