SELECT `folder` AS `type`,`element` AS `name`,`params` AS `params`,`extension_id` AS `id`
FROMjos_extensionsWHERE enabled = 1 AND type = 'plugin' AND state IN (0,1) AND access IN (1,1)
ORDERBY ordering

SELECT sf.id,u.username,u.name,sf.prenom,u.email,sf.affMail,photo,s.nomSport,specialite,nomClassement,a.annee,nomDepartement,listeJeuneSport,emploiTps,niveau,objectif,volumeEntrainement,entraineur,compet,cl.nomClub as clubEntrain,clu.nomClub,sf.annee AS diplome,sf.entreprise
FROMjos_sportifAS sf INNERJOINjos_sportAS s ON idSport=s.id INNERJOINjos_classement as c ON sf.idClassement=c.id INNERJOINjos_departement as d ON sf.idDepartement=d.id INNERJOINjos_clubAS cl ON cl.id=sf.idClubEntrainement INNERJOINjos_clubAS clu ON clu.id=sf.idClubCompet INNERJOINjos_anneeAS a ON sf.an=a.id INNERJOINjos_usersAS u ON u.username=sf.username WHERE sf.id=275