"._("scrutin"); 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."scrutin LEFT JOIN ".DB_PREFIXE."canton ON scrutin.canton=canton.canton "; // SELECT $champAffiche = array( 'scrutin.scrutin as "'._("scrutin").'"', 'scrutin.libelle as "'._("libelle").'"', 'scrutin.tour as "'._("tour").'"', 'canton.libelle as "'._("canton").'"', 'to_char(scrutin.date_scrutin ,\'DD/MM/YYYY\') as "'._("date_scrutin").'"', "case scrutin.solde when 't' then 'Oui' else 'Non' end as \""._("solde")."\"", 'scrutin.convocation_agent as "'._("convocation_agent").'"', 'scrutin.convocation_president as "'._("convocation_president").'"', ); // $champNonAffiche = array( ); // $champRecherche = array( 'scrutin.scrutin as "'._("scrutin").'"', 'scrutin.libelle as "'._("libelle").'"', 'scrutin.tour as "'._("tour").'"', 'canton.libelle as "'._("canton").'"', 'scrutin.convocation_agent as "'._("convocation_agent").'"', 'scrutin.convocation_president as "'._("convocation_president").'"', ); $tri="ORDER BY scrutin.libelle ASC NULLS LAST"; $edition="scrutin"; $selection=''; if ($retourformulaire== 'canton') { $selection=" WHERE (scrutin.canton ='".$idx."')"; } $sousformulaire = array( 'affectation', 'candidat', 'candidature',); ?>