Some fix and addon on Medias
Update bdd.sql
Little fix on default template