"._("agent"); 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."agent LEFT JOIN ".DB_PREFIXE."grade ON agent.grade=grade.grade LEFT JOIN ".DB_PREFIXE."service ON agent.service=service.service "; // SELECT $champAffiche = array( 'agent.agent as "'._("agent").'"', 'agent.nom as "'._("nom").'"', 'agent.prenom as "'._("prenom").'"', 'agent.adresse as "'._("adresse").'"', 'agent.cp as "'._("cp").'"', 'agent.ville as "'._("ville").'"', 'agent.telephone as "'._("telephone").'"', 'service.libelle as "'._("service").'"', 'agent.telephone_pro as "'._("telephone_pro").'"', 'grade.libelle as "'._("grade").'"', ); // $champNonAffiche = array( ); // $champRecherche = array( 'agent.agent as "'._("agent").'"', 'agent.nom as "'._("nom").'"', 'agent.prenom as "'._("prenom").'"', 'agent.adresse as "'._("adresse").'"', 'agent.cp as "'._("cp").'"', 'agent.ville as "'._("ville").'"', 'agent.telephone as "'._("telephone").'"', 'service.libelle as "'._("service").'"', 'agent.telephone_pro as "'._("telephone_pro").'"', 'grade.libelle as "'._("grade").'"', ); $tri="ORDER BY agent.nom ASC NULLS LAST"; $edition="agent"; $selection=''; if ($retourformulaire== 'grade') { $selection=" WHERE (agent.grade ='".$idx."')"; } if ($retourformulaire== 'service') { $selection=" WHERE (agent.service ='".$idx."')"; } $sousformulaire = array( 'candidature',); ?>