Your IP : 216.73.217.64
<?php
//$Id$
//gen openMairie le 05/09/2014 12:15
$DEBUG=0;
$serie=15;
$ico="../img/ico_application.png";
$ent = _("application")." -> "._("intervenant");
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."intervenant
LEFT JOIN ".DB_PREFIXE."civilite
ON intervenant.civilite=civilite.civilite ";
// SELECT
$champAffiche = array(
'intervenant.intervenant as "'._("intervenant").'"',
'civilite.libelle as "'._("civilite").'"',
'intervenant.nom as "'._("nom").'"',
'intervenant.prenom as "'._("prenom").'"',
'intervenant.rivoli as "'._("rivoli").'"',
'intervenant.numero as "'._("numero").'"',
'intervenant.complement as "'._("complement").'"',
'intervenant.adresse as "'._("adresse").'"',
'intervenant.complement_adresse as "'._("complement_adresse").'"',
'intervenant.cp as "'._("cp").'"',
'intervenant.ville as "'._("ville").'"',
'intervenant.mail as "'._("mail").'"',
'intervenant.telephone1 as "'._("telephone1").'"',
'intervenant.telephone2 as "'._("telephone2").'"',
"case intervenant.archive when 't' then 'Oui' else 'Non' end as \""._("archive")."\"",
);
//
$champNonAffiche = array(
);
//
$champRecherche = array(
'intervenant.intervenant as "'._("intervenant").'"',
'civilite.libelle as "'._("civilite").'"',
'intervenant.nom as "'._("nom").'"',
'intervenant.prenom as "'._("prenom").'"',
'intervenant.rivoli as "'._("rivoli").'"',
'intervenant.numero as "'._("numero").'"',
'intervenant.complement as "'._("complement").'"',
'intervenant.adresse as "'._("adresse").'"',
'intervenant.complement_adresse as "'._("complement_adresse").'"',
'intervenant.cp as "'._("cp").'"',
'intervenant.ville as "'._("ville").'"',
'intervenant.mail as "'._("mail").'"',
'intervenant.telephone1 as "'._("telephone1").'"',
'intervenant.telephone2 as "'._("telephone2").'"',
);
$tri="ORDER BY civilite.libelle ASC NULLS LAST";
$edition="intervenant";
$selection='';
if ($retourformulaire== 'civilite') {
$selection=" WHERE (intervenant.civilite ='".$idx."')";
}
$sousformulaire = array(
'evenement',);
?>