Your IP : 216.73.217.64


Current Path : /home3/gp97/resultats2020.mlb.97gp.net/r2020/sql/pgsql/
Upload File :
Current File : //home3/gp97/resultats2020.mlb.97gp.net/r2020/sql/pgsql/participation_election.inc.php

<?php
//$Id$ 
//gen openMairie le 05/06/2019 15:59

include "../gen/sql/pgsql/participation_election.inc.php";
if (in_array($retourformulaire, $foreign_keys_extended["election"])) {
	$tab_actions['corner']['ajouter'] = null;    
}



$tri=" order by tranche.ordre ";
        
$table = DB_PREFIXE."participation_election
    LEFT JOIN ".DB_PREFIXE."election 
        ON participation_election.election=election.election 
    LEFT JOIN ".DB_PREFIXE."tranche 
        ON participation_election.tranche=tranche.tranche 
    LEFT JOIN ".DB_PREFIXE."participation_election_votant 
        on participation_election.participation_election=participation_election_votant.participation_election  ";        
// SELECT 
$champAffiche = array(
    'participation_election.participation_election as "'.__("id").'"',
    'election.libelle as "'.__("election").'"',
    'tranche.libelle as "'.__("tranche").'"',
    'participation_election_votant.votant as "'.__("votant").'"',
    "case participation_election.envoi_aff when 't' then '<img src=../app/img/arrive.png>' else '<img src=../app/img/nonarrive.png>' end as \"".__("aff")."\"",
    "case participation_election.envoi_web when 't' then '<img src=../app/img/arrive.png>' else '<img src=../app/img/nonarrive.png>' end as \"".__("web")."\"",
    );