diff --git a/api/lib/ScoreScanner.php b/api/lib/ScoreScanner.php new file mode 100644 index 0000000..f0b1a0a --- /dev/null +++ b/api/lib/ScoreScanner.php @@ -0,0 +1,194 @@ +scoresPath = $path; + } + + public function getAllScores() { + $scores = []; + $directories = scandir($this->scoresPath); + + foreach ($directories as $dir) { + if ($dir === '.' || $dir === '..') continue; + + $scorePath = $this->scoresPath . $dir; + if (!is_dir($scorePath)) continue; + + $score = $this->getScoreInfo($dir); + if ($score) { + $scores[] = $score; + } + } + + // Trier par ID + usort($scores, function($a, $b) { + return intval($a['id']) - intval($b['id']); + }); + + return $scores; + } + + public function getScoreInfo($id) { + $scoreDir = $this->scoresPath . $id; + $iniFile = $scoreDir . '/score.ini'; + + if (!file_exists($iniFile)) { + return null; + } + + $ini = parse_ini_file($iniFile); + + return [ + 'id' => $id, + 'name' => $ini['name'] ?? 'Inconnu', + 'compositor' => $ini['compositor'] ?? 'Inconnu' + ]; + } + + public function getScoreDetail($id) { + $scoreDir = $this->scoresPath . $id; + + if (!is_dir($scoreDir)) { + return null; + } + + $basicInfo = $this->getScoreInfo($id); + if (!$basicInfo) { + return null; + } + + $instruments = []; + $entries = scandir($scoreDir); + + foreach ($entries as $entry) { + if ($entry === '.' || $entry === '..' || $entry === 'score.ini') continue; + + $instrumentPath = $scoreDir . '/' . $entry; + if (!is_dir($instrumentPath)) continue; + + $instrument = $this->getInstrumentInfo($id, $entry); + if ($instrument) { + $instruments[] = $instrument; + } + } + + // Trier instruments par nom + usort($instruments, function($a, $b) { + return strcmp($a['title'], $b['title']); + }); + + return array_merge($basicInfo, ['instruments' => $instruments]); + } + + private function getInstrumentInfo($scoreId, $instrumentId) { + $instrumentPath = $this->scoresPath . $scoreId . '/' . $instrumentId; + + if (!is_dir($instrumentPath)) { + return null; + } + + $title = $this->getInstrumentName($instrumentId); + $parts = []; + + $entries = scandir($instrumentPath); + foreach ($entries as $entry) { + if ($entry === '.' || $entry === '..') continue; + + $partPath = $instrumentPath . '/' . $entry; + if (!is_dir($partPath)) continue; + + $part = $this->getPartInfo($scoreId, $instrumentId, $entry); + if ($part) { + $parts[] = $part; + } + } + + // Trier les parties par numéro + usort($parts, function($a, $b) { + return intval($a['id']) - intval($b['id']); + }); + + if (empty($parts)) { + return null; + } + + return [ + 'id' => $instrumentId, + 'title' => $title, + 'parts' => $parts + ]; + } + + private function getPartInfo($scoreId, $instrumentId, $partId) { + $partPath = $this->scoresPath . $scoreId . '/' . $instrumentId . '/' . $partId; + + if (!is_dir($partPath)) { + return null; + } + + $files = []; + $entries = scandir($partPath); + + foreach ($entries as $entry) { + if ($entry === '.' || $entry === '..') continue; + + $filePath = $partPath . '/' . $entry; + if (!is_file($filePath)) continue; + + // Vérifier que c'est un PDF + if (strtolower(pathinfo($entry, PATHINFO_EXTENSION)) !== 'pdf') continue; + + $files[] = [ + 'name' => pathinfo($entry, PATHINFO_FILENAME), + 'filename' => $entry, + 'path' => $scoreId . '/' . $instrumentId . '/' . $partId . '/' . $entry + ]; + } + + if (empty($files)) { + return null; + } + + // Trier les fichiers par nom + usort($files, function($a, $b) { + return strcmp($a['name'], $b['name']); + }); + + return [ + 'id' => $partId, + 'files' => $files + ]; + } + + private function getInstrumentName($code) { + $names = [ + 'cla' => 'Clarinette', + 'flu' => 'Flûte', + 'trb' => 'Trombone', + 'pic' => 'Piccolo', + 'per' => 'Percussions', + 'htb' => 'Hautbois', + 'trp' => 'Trompette', + 'dir' => 'Direction', + 'sax' => 'Sax Alto', + 'sat' => 'Sax Ténor', + 'sab' => 'Sax Baryton', + 'cor' => 'Cor', + 'eup' => 'Euphonium', + 'bas' => 'Basson', + 'cba' => 'Contrebasse', + 'crn' => 'Cornet', + 'coa' => 'Cor Anglais', + 'clb' => 'Clarinette Basse', + 'har' => 'Harpe', + 'pia' => 'Piano', + 'tub' => 'Tuba', + 'sup' => 'Parties supplémentaires', + 'par' => 'Parties' + ]; + + return $names[$code] ?? $code; + } +} diff --git a/Imgs/AFFICHE Concert CODO 2008 .jpg b/legacy/Imgs/AFFICHE Concert CODO 2008 .jpg similarity index 100% rename from Imgs/AFFICHE Concert CODO 2008 .jpg rename to legacy/Imgs/AFFICHE Concert CODO 2008 .jpg diff --git a/Imgs/Affiche SPA.jpg b/legacy/Imgs/Affiche SPA.jpg similarity index 100% rename from Imgs/Affiche SPA.jpg rename to legacy/Imgs/Affiche SPA.jpg diff --git a/Imgs/CONCERT STE CECILE 2008.jpg b/legacy/Imgs/CONCERT STE CECILE 2008.jpg similarity index 100% rename from Imgs/CONCERT STE CECILE 2008.jpg rename to legacy/Imgs/CONCERT STE CECILE 2008.jpg diff --git a/Imgs/Fantome-logo.jpg b/legacy/Imgs/Fantome-logo.jpg similarity index 100% rename from Imgs/Fantome-logo.jpg rename to legacy/Imgs/Fantome-logo.jpg diff --git a/Imgs/JS-logo.jpg b/legacy/Imgs/JS-logo.jpg similarity index 100% rename from Imgs/JS-logo.jpg rename to legacy/Imgs/JS-logo.jpg diff --git a/Imgs/JacouMontpellier.png b/legacy/Imgs/JacouMontpellier.png similarity index 100% rename from Imgs/JacouMontpellier.png rename to legacy/Imgs/JacouMontpellier.png diff --git a/Imgs/JeanBastida.jpg b/legacy/Imgs/JeanBastida.jpg similarity index 100% rename from Imgs/JeanBastida.jpg rename to legacy/Imgs/JeanBastida.jpg diff --git a/Imgs/Plan Salle du Parc Bocaud.jpg b/legacy/Imgs/Plan Salle du Parc Bocaud.jpg similarity index 100% rename from Imgs/Plan Salle du Parc Bocaud.jpg rename to legacy/Imgs/Plan Salle du Parc Bocaud.jpg diff --git a/Imgs/SalleRepetition.png b/legacy/Imgs/SalleRepetition.png similarity index 100% rename from Imgs/SalleRepetition.png rename to legacy/Imgs/SalleRepetition.png diff --git a/Imgs/affiche_mini.jpg b/legacy/Imgs/affiche_mini.jpg similarity index 100% rename from Imgs/affiche_mini.jpg rename to legacy/Imgs/affiche_mini.jpg diff --git a/Imgs/back.gif b/legacy/Imgs/back.gif similarity index 100% rename from Imgs/back.gif rename to legacy/Imgs/back.gif diff --git a/Imgs/bouton_modifier.gif b/legacy/Imgs/bouton_modifier.gif similarity index 100% rename from Imgs/bouton_modifier.gif rename to legacy/Imgs/bouton_modifier.gif diff --git a/Imgs/center.gif b/legacy/Imgs/center.gif similarity index 100% rename from Imgs/center.gif rename to legacy/Imgs/center.gif diff --git a/Imgs/concert_codo.jpg b/legacy/Imgs/concert_codo.jpg similarity index 100% rename from Imgs/concert_codo.jpg rename to legacy/Imgs/concert_codo.jpg diff --git a/Imgs/download_small.gif b/legacy/Imgs/download_small.gif similarity index 100% rename from Imgs/download_small.gif rename to legacy/Imgs/download_small.gif diff --git a/Imgs/evita-logo.jpg b/legacy/Imgs/evita-logo.jpg similarity index 100% rename from Imgs/evita-logo.jpg rename to legacy/Imgs/evita-logo.jpg diff --git a/Imgs/fond.gif b/legacy/Imgs/fond.gif similarity index 100% rename from Imgs/fond.gif rename to legacy/Imgs/fond.gif diff --git a/Imgs/fond.jpg b/legacy/Imgs/fond.jpg similarity index 100% rename from Imgs/fond.jpg rename to legacy/Imgs/fond.jpg diff --git a/Imgs/fond.png b/legacy/Imgs/fond.png similarity index 100% rename from Imgs/fond.png rename to legacy/Imgs/fond.png diff --git a/Imgs/forum_email.gif b/legacy/Imgs/forum_email.gif similarity index 100% rename from Imgs/forum_email.gif rename to legacy/Imgs/forum_email.gif diff --git a/Imgs/forward.gif b/legacy/Imgs/forward.gif similarity index 100% rename from Imgs/forward.gif rename to legacy/Imgs/forward.gif diff --git a/Imgs/home.gif b/legacy/Imgs/home.gif similarity index 100% rename from Imgs/home.gif rename to legacy/Imgs/home.gif diff --git a/Imgs/icon_puce_over.gif b/legacy/Imgs/icon_puce_over.gif similarity index 100% rename from Imgs/icon_puce_over.gif rename to legacy/Imgs/icon_puce_over.gif diff --git a/Imgs/index.html b/legacy/Imgs/index.html similarity index 100% rename from Imgs/index.html rename to legacy/Imgs/index.html diff --git a/Imgs/jeunes_maries.jpg b/legacy/Imgs/jeunes_maries.jpg similarity index 100% rename from Imgs/jeunes_maries.jpg rename to legacy/Imgs/jeunes_maries.jpg diff --git a/Imgs/logo1Jacou.gif b/legacy/Imgs/logo1Jacou.gif similarity index 100% rename from Imgs/logo1Jacou.gif rename to legacy/Imgs/logo1Jacou.gif diff --git a/Imgs/logo1Jacou.png b/legacy/Imgs/logo1Jacou.png similarity index 100% rename from Imgs/logo1Jacou.png rename to legacy/Imgs/logo1Jacou.png diff --git a/Imgs/logoJacou.gif b/legacy/Imgs/logoJacou.gif similarity index 100% rename from Imgs/logoJacou.gif rename to legacy/Imgs/logoJacou.gif diff --git a/Imgs/logoJacou.png b/legacy/Imgs/logoJacou.png similarity index 100% rename from Imgs/logoJacou.png rename to legacy/Imgs/logoJacou.png diff --git a/Imgs/logoMontpellier.jpg b/legacy/Imgs/logoMontpellier.jpg similarity index 100% rename from Imgs/logoMontpellier.jpg rename to legacy/Imgs/logoMontpellier.jpg diff --git a/Imgs/logoOHMJ.png b/legacy/Imgs/logoOHMJ.png similarity index 100% rename from Imgs/logoOHMJ.png rename to legacy/Imgs/logoOHMJ.png diff --git a/Imgs/miserables-logo.jpg b/legacy/Imgs/miserables-logo.jpg similarity index 100% rename from Imgs/miserables-logo.jpg rename to legacy/Imgs/miserables-logo.jpg diff --git a/Imgs/missSaigon-logo.jpg b/legacy/Imgs/missSaigon-logo.jpg similarity index 100% rename from Imgs/missSaigon-logo.jpg rename to legacy/Imgs/missSaigon-logo.jpg diff --git a/Imgs/ombre_centre.gif b/legacy/Imgs/ombre_centre.gif similarity index 100% rename from Imgs/ombre_centre.gif rename to legacy/Imgs/ombre_centre.gif diff --git a/Imgs/ombre_haut_bas.gif b/legacy/Imgs/ombre_haut_bas.gif similarity index 100% rename from Imgs/ombre_haut_bas.gif rename to legacy/Imgs/ombre_haut_bas.gif diff --git a/Imgs/ombre_haut_bas_main.gif b/legacy/Imgs/ombre_haut_bas_main.gif similarity index 100% rename from Imgs/ombre_haut_bas_main.gif rename to legacy/Imgs/ombre_haut_bas_main.gif diff --git a/Imgs/panneau.gif b/legacy/Imgs/panneau.gif similarity index 100% rename from Imgs/panneau.gif rename to legacy/Imgs/panneau.gif diff --git a/Imgs/presse.gif b/legacy/Imgs/presse.gif similarity index 100% rename from Imgs/presse.gif rename to legacy/Imgs/presse.gif diff --git a/Imgs/raye10.gif b/legacy/Imgs/raye10.gif similarity index 100% rename from Imgs/raye10.gif rename to legacy/Imgs/raye10.gif diff --git a/Imgs/snf-logo.jpg b/legacy/Imgs/snf-logo.jpg similarity index 100% rename from Imgs/snf-logo.jpg rename to legacy/Imgs/snf-logo.jpg diff --git a/Imgs/titre.gif b/legacy/Imgs/titre.gif similarity index 100% rename from Imgs/titre.gif rename to legacy/Imgs/titre.gif diff --git a/Imgs/top.gif b/legacy/Imgs/top.gif similarity index 100% rename from Imgs/top.gif rename to legacy/Imgs/top.gif diff --git a/Imgs/un_pixel_blanc.gif b/legacy/Imgs/un_pixel_blanc.gif similarity index 100% rename from Imgs/un_pixel_blanc.gif rename to legacy/Imgs/un_pixel_blanc.gif diff --git a/Imgs/un_pixel_trans.gif b/legacy/Imgs/un_pixel_trans.gif similarity index 100% rename from Imgs/un_pixel_trans.gif rename to legacy/Imgs/un_pixel_trans.gif diff --git a/Imgs/voeux_2009.jpeg b/legacy/Imgs/voeux_2009.jpeg similarity index 100% rename from Imgs/voeux_2009.jpeg rename to legacy/Imgs/voeux_2009.jpeg diff --git a/Imgs/winampbutton.gif b/legacy/Imgs/winampbutton.gif similarity index 100% rename from Imgs/winampbutton.gif rename to legacy/Imgs/winampbutton.gif diff --git a/Scripts/AdminStats.php b/legacy/Scripts/AdminStats.php similarity index 100% rename from Scripts/AdminStats.php rename to legacy/Scripts/AdminStats.php diff --git a/Scripts/AlbumPhotos.php b/legacy/Scripts/AlbumPhotos.php similarity index 100% rename from Scripts/AlbumPhotos.php rename to legacy/Scripts/AlbumPhotos.php diff --git a/Scripts/AnnuAgenda.php b/legacy/Scripts/AnnuAgenda.php similarity index 100% rename from Scripts/AnnuAgenda.php rename to legacy/Scripts/AnnuAgenda.php diff --git a/Scripts/AnnuRepertoire.php b/legacy/Scripts/AnnuRepertoire.php similarity index 100% rename from Scripts/AnnuRepertoire.php rename to legacy/Scripts/AnnuRepertoire.php diff --git a/Scripts/AnnuUsers.php b/legacy/Scripts/AnnuUsers.php similarity index 100% rename from Scripts/AnnuUsers.php rename to legacy/Scripts/AnnuUsers.php diff --git a/Scripts/Annuaire.php b/legacy/Scripts/Annuaire.php similarity index 100% rename from Scripts/Annuaire.php rename to legacy/Scripts/Annuaire.php diff --git a/Scripts/Archi.php b/legacy/Scripts/Archi.php similarity index 100% rename from Scripts/Archi.php rename to legacy/Scripts/Archi.php diff --git a/Scripts/Cookie.php b/legacy/Scripts/Cookie.php similarity index 100% rename from Scripts/Cookie.php rename to legacy/Scripts/Cookie.php diff --git a/Scripts/ErreurConnect.php b/legacy/Scripts/ErreurConnect.php similarity index 100% rename from Scripts/ErreurConnect.php rename to legacy/Scripts/ErreurConnect.php diff --git a/Scripts/Haut.html b/legacy/Scripts/Haut.html similarity index 100% rename from Scripts/Haut.html rename to legacy/Scripts/Haut.html diff --git a/Scripts/HautAdmin.html b/legacy/Scripts/HautAdmin.html similarity index 100% rename from Scripts/HautAdmin.html rename to legacy/Scripts/HautAdmin.html diff --git a/Scripts/Livredor.php b/legacy/Scripts/Livredor.php similarity index 100% rename from Scripts/Livredor.php rename to legacy/Scripts/Livredor.php diff --git a/Scripts/Livredor_disabled.php b/legacy/Scripts/Livredor_disabled.php similarity index 100% rename from Scripts/Livredor_disabled.php rename to legacy/Scripts/Livredor_disabled.php diff --git a/Scripts/NousSommesLe.php b/legacy/Scripts/NousSommesLe.php similarity index 100% rename from Scripts/NousSommesLe.php rename to legacy/Scripts/NousSommesLe.php diff --git a/Scripts/PenseeDuChef.php b/legacy/Scripts/PenseeDuChef.php similarity index 100% rename from Scripts/PenseeDuChef.php rename to legacy/Scripts/PenseeDuChef.php diff --git a/Scripts/Stats.php b/legacy/Scripts/Stats.php similarity index 100% rename from Scripts/Stats.php rename to legacy/Scripts/Stats.php diff --git a/Scripts/Video.php b/legacy/Scripts/Video.php similarity index 100% rename from Scripts/Video.php rename to legacy/Scripts/Video.php diff --git a/Scripts/album.php b/legacy/Scripts/album.php similarity index 100% rename from Scripts/album.php rename to legacy/Scripts/album.php diff --git a/Scripts/browser_list.txt b/legacy/Scripts/browser_list.txt similarity index 100% rename from Scripts/browser_list.txt rename to legacy/Scripts/browser_list.txt diff --git a/Scripts/cadre.php b/legacy/Scripts/cadre.php similarity index 100% rename from Scripts/cadre.php rename to legacy/Scripts/cadre.php diff --git a/Scripts/calendar.php3 b/legacy/Scripts/calendar.php3 similarity index 100% rename from Scripts/calendar.php3 rename to legacy/Scripts/calendar.php3 diff --git a/Scripts/compteur.php b/legacy/Scripts/compteur.php similarity index 100% rename from Scripts/compteur.php rename to legacy/Scripts/compteur.php diff --git a/Scripts/conf.php b/legacy/Scripts/conf.php similarity index 100% rename from Scripts/conf.php rename to legacy/Scripts/conf.php diff --git a/Scripts/download.php b/legacy/Scripts/download.php similarity index 100% rename from Scripts/download.php rename to legacy/Scripts/download.php diff --git a/Scripts/homeAdmin.php b/legacy/Scripts/homeAdmin.php similarity index 100% rename from Scripts/homeAdmin.php rename to legacy/Scripts/homeAdmin.php diff --git a/Scripts/img2.php3 b/legacy/Scripts/img2.php3 similarity index 100% rename from Scripts/img2.php3 rename to legacy/Scripts/img2.php3 diff --git a/Scripts/index.html b/legacy/Scripts/index.html similarity index 100% rename from Scripts/index.html rename to legacy/Scripts/index.html diff --git a/Scripts/lib_print01_ajem.php b/legacy/Scripts/lib_print01_ajem.php similarity index 100% rename from Scripts/lib_print01_ajem.php rename to legacy/Scripts/lib_print01_ajem.php diff --git a/Scripts/lib_print_admin.php b/legacy/Scripts/lib_print_admin.php similarity index 100% rename from Scripts/lib_print_admin.php rename to legacy/Scripts/lib_print_admin.php diff --git a/Scripts/lib_print_ajem.php b/legacy/Scripts/lib_print_ajem.php similarity index 100% rename from Scripts/lib_print_ajem.php rename to legacy/Scripts/lib_print_ajem.php diff --git a/Scripts/lib_print_ajem1.php b/legacy/Scripts/lib_print_ajem1.php similarity index 100% rename from Scripts/lib_print_ajem1.php rename to legacy/Scripts/lib_print_ajem1.php diff --git a/Scripts/log.txt b/legacy/Scripts/log.txt similarity index 100% rename from Scripts/log.txt rename to legacy/Scripts/log.txt diff --git a/Scripts/log_func.php3 b/legacy/Scripts/log_func.php3 similarity index 100% rename from Scripts/log_func.php3 rename to legacy/Scripts/log_func.php3 diff --git a/Scripts/login.php b/legacy/Scripts/login.php similarity index 100% rename from Scripts/login.php rename to legacy/Scripts/login.php diff --git a/Scripts/login.php.orig b/legacy/Scripts/login.php.orig similarity index 100% rename from Scripts/login.php.orig rename to legacy/Scripts/login.php.orig diff --git a/Scripts/logout.php b/legacy/Scripts/logout.php similarity index 100% rename from Scripts/logout.php rename to legacy/Scripts/logout.php diff --git a/Scripts/menu.php b/legacy/Scripts/menu.php similarity index 100% rename from Scripts/menu.php rename to legacy/Scripts/menu.php diff --git a/Scripts/menuEntries.php b/legacy/Scripts/menuEntries.php similarity index 100% rename from Scripts/menuEntries.php rename to legacy/Scripts/menuEntries.php diff --git a/Scripts/msg_french.inc.php3 b/legacy/Scripts/msg_french.inc.php3 similarity index 100% rename from Scripts/msg_french.inc.php3 rename to legacy/Scripts/msg_french.inc.php3 diff --git a/Scripts/news.php b/legacy/Scripts/news.php similarity index 100% rename from Scripts/news.php rename to legacy/Scripts/news.php diff --git a/Scripts/os_list.txt b/legacy/Scripts/os_list.txt similarity index 100% rename from Scripts/os_list.txt rename to legacy/Scripts/os_list.txt diff --git a/Scripts/read.php3 b/legacy/Scripts/read.php3 similarity index 100% rename from Scripts/read.php3 rename to legacy/Scripts/read.php3 diff --git a/Scripts/redirect.php b/legacy/Scripts/redirect.php similarity index 100% rename from Scripts/redirect.php rename to legacy/Scripts/redirect.php diff --git a/Scripts/scores.php b/legacy/Scripts/scores.php similarity index 100% rename from Scripts/scores.php rename to legacy/Scripts/scores.php diff --git a/Scripts/showhtml.php b/legacy/Scripts/showhtml.php similarity index 100% rename from Scripts/showhtml.php rename to legacy/Scripts/showhtml.php diff --git a/Scripts/style1.css b/legacy/Scripts/style1.css similarity index 100% rename from Scripts/style1.css rename to legacy/Scripts/style1.css diff --git a/Scripts/test.html b/legacy/Scripts/test.html similarity index 100% rename from Scripts/test.html rename to legacy/Scripts/test.html diff --git a/Textes/PenseesDuChef.neodoc b/legacy/Textes/PenseesDuChef.neodoc similarity index 100% rename from Textes/PenseesDuChef.neodoc rename to legacy/Textes/PenseesDuChef.neodoc diff --git a/Textes/index.html b/legacy/Textes/index.html similarity index 100% rename from Textes/index.html rename to legacy/Textes/index.html diff --git a/Textes/musicals.html b/legacy/Textes/musicals.html similarity index 100% rename from Textes/musicals.html rename to legacy/Textes/musicals.html diff --git a/Textes/presse.neodoc b/legacy/Textes/presse.neodoc similarity index 100% rename from Textes/presse.neodoc rename to legacy/Textes/presse.neodoc diff --git a/Textes/realteam.neodoc b/legacy/Textes/realteam.neodoc similarity index 100% rename from Textes/realteam.neodoc rename to legacy/Textes/realteam.neodoc diff --git a/api/config/database.php b/legacy/api/config/database.php similarity index 100% rename from api/config/database.php rename to legacy/api/config/database.php diff --git a/api/objects/score.php b/legacy/api/objects/score.php similarity index 100% rename from api/objects/score.php rename to legacy/api/objects/score.php diff --git a/api/score/read.php b/legacy/api/score/read.php similarity index 100% rename from api/score/read.php rename to legacy/api/score/read.php diff --git a/fpdf/font/courier.php b/legacy/fpdf/font/courier.php similarity index 100% rename from fpdf/font/courier.php rename to legacy/fpdf/font/courier.php diff --git a/fpdf/font/helvetica.php b/legacy/fpdf/font/helvetica.php similarity index 100% rename from fpdf/font/helvetica.php rename to legacy/fpdf/font/helvetica.php diff --git a/fpdf/font/helveticab.php b/legacy/fpdf/font/helveticab.php similarity index 100% rename from fpdf/font/helveticab.php rename to legacy/fpdf/font/helveticab.php diff --git a/fpdf/font/helveticabi.php b/legacy/fpdf/font/helveticabi.php similarity index 100% rename from fpdf/font/helveticabi.php rename to legacy/fpdf/font/helveticabi.php diff --git a/fpdf/font/helveticai.php b/legacy/fpdf/font/helveticai.php similarity index 100% rename from fpdf/font/helveticai.php rename to legacy/fpdf/font/helveticai.php diff --git a/fpdf/font/makefont/cp1250.map b/legacy/fpdf/font/makefont/cp1250.map similarity index 100% rename from fpdf/font/makefont/cp1250.map rename to legacy/fpdf/font/makefont/cp1250.map diff --git a/fpdf/font/makefont/cp1251.map b/legacy/fpdf/font/makefont/cp1251.map similarity index 100% rename from fpdf/font/makefont/cp1251.map rename to legacy/fpdf/font/makefont/cp1251.map diff --git a/fpdf/font/makefont/cp1252.map b/legacy/fpdf/font/makefont/cp1252.map similarity index 100% rename from fpdf/font/makefont/cp1252.map rename to legacy/fpdf/font/makefont/cp1252.map diff --git a/fpdf/font/makefont/cp1253.map b/legacy/fpdf/font/makefont/cp1253.map similarity index 100% rename from fpdf/font/makefont/cp1253.map rename to legacy/fpdf/font/makefont/cp1253.map diff --git a/fpdf/font/makefont/iso-8859-1.map b/legacy/fpdf/font/makefont/iso-8859-1.map similarity index 100% rename from fpdf/font/makefont/iso-8859-1.map rename to legacy/fpdf/font/makefont/iso-8859-1.map diff --git a/fpdf/font/makefont/iso-8859-15.map b/legacy/fpdf/font/makefont/iso-8859-15.map similarity index 100% rename from fpdf/font/makefont/iso-8859-15.map rename to legacy/fpdf/font/makefont/iso-8859-15.map diff --git a/fpdf/font/makefont/iso-8859-16.map b/legacy/fpdf/font/makefont/iso-8859-16.map similarity index 100% rename from fpdf/font/makefont/iso-8859-16.map rename to legacy/fpdf/font/makefont/iso-8859-16.map diff --git a/fpdf/font/makefont/iso-8859-2.map b/legacy/fpdf/font/makefont/iso-8859-2.map similarity index 100% rename from fpdf/font/makefont/iso-8859-2.map rename to legacy/fpdf/font/makefont/iso-8859-2.map diff --git a/fpdf/font/makefont/iso-8859-5.map b/legacy/fpdf/font/makefont/iso-8859-5.map similarity index 100% rename from fpdf/font/makefont/iso-8859-5.map rename to legacy/fpdf/font/makefont/iso-8859-5.map diff --git a/fpdf/font/makefont/iso-8859-7.map b/legacy/fpdf/font/makefont/iso-8859-7.map similarity index 100% rename from fpdf/font/makefont/iso-8859-7.map rename to legacy/fpdf/font/makefont/iso-8859-7.map diff --git a/fpdf/font/makefont/koi8-r.map b/legacy/fpdf/font/makefont/koi8-r.map similarity index 100% rename from fpdf/font/makefont/koi8-r.map rename to legacy/fpdf/font/makefont/koi8-r.map diff --git a/fpdf/font/makefont/makefont.php b/legacy/fpdf/font/makefont/makefont.php similarity index 100% rename from fpdf/font/makefont/makefont.php rename to legacy/fpdf/font/makefont/makefont.php diff --git a/fpdf/font/symbol.php b/legacy/fpdf/font/symbol.php similarity index 100% rename from fpdf/font/symbol.php rename to legacy/fpdf/font/symbol.php diff --git a/fpdf/font/times.php b/legacy/fpdf/font/times.php similarity index 100% rename from fpdf/font/times.php rename to legacy/fpdf/font/times.php diff --git a/fpdf/font/timesb.php b/legacy/fpdf/font/timesb.php similarity index 100% rename from fpdf/font/timesb.php rename to legacy/fpdf/font/timesb.php diff --git a/fpdf/font/timesbi.php b/legacy/fpdf/font/timesbi.php similarity index 100% rename from fpdf/font/timesbi.php rename to legacy/fpdf/font/timesbi.php diff --git a/fpdf/font/timesi.php b/legacy/fpdf/font/timesi.php similarity index 100% rename from fpdf/font/timesi.php rename to legacy/fpdf/font/timesi.php diff --git a/fpdf/font/zapfdingbats.php b/legacy/fpdf/font/zapfdingbats.php similarity index 100% rename from fpdf/font/zapfdingbats.php rename to legacy/fpdf/font/zapfdingbats.php diff --git a/fpdf/fpdf.css b/legacy/fpdf/fpdf.css similarity index 100% rename from fpdf/fpdf.css rename to legacy/fpdf/fpdf.css diff --git a/fpdf/fpdf.php b/legacy/fpdf/fpdf.php similarity index 100% rename from fpdf/fpdf.php rename to legacy/fpdf/fpdf.php diff --git a/fpdf/repertoire.php b/legacy/fpdf/repertoire.php similarity index 100% rename from fpdf/repertoire.php rename to legacy/fpdf/repertoire.php diff --git a/fpdf/tuto1.php b/legacy/fpdf/tuto1.php similarity index 100% rename from fpdf/tuto1.php rename to legacy/fpdf/tuto1.php diff --git a/frontend/score/.gitignore b/legacy/frontend/score/.gitignore similarity index 100% rename from frontend/score/.gitignore rename to legacy/frontend/score/.gitignore diff --git a/frontend/score/README.md b/legacy/frontend/score/README.md similarity index 100% rename from frontend/score/README.md rename to legacy/frontend/score/README.md diff --git a/frontend/score/babel.config.js b/legacy/frontend/score/babel.config.js similarity index 100% rename from frontend/score/babel.config.js rename to legacy/frontend/score/babel.config.js diff --git a/frontend/score/package-lock.json b/legacy/frontend/score/package-lock.json similarity index 100% rename from frontend/score/package-lock.json rename to legacy/frontend/score/package-lock.json diff --git a/frontend/score/package.json b/legacy/frontend/score/package.json similarity index 100% rename from frontend/score/package.json rename to legacy/frontend/score/package.json diff --git a/frontend/score/public/favicon.ico b/legacy/frontend/score/public/favicon.ico similarity index 100% rename from frontend/score/public/favicon.ico rename to legacy/frontend/score/public/favicon.ico diff --git a/frontend/score/public/index.html b/legacy/frontend/score/public/index.html similarity index 100% rename from frontend/score/public/index.html rename to legacy/frontend/score/public/index.html diff --git a/frontend/score/src/App.vue b/legacy/frontend/score/src/App.vue similarity index 100% rename from frontend/score/src/App.vue rename to legacy/frontend/score/src/App.vue diff --git a/frontend/score/src/assets/logo.png b/legacy/frontend/score/src/assets/logo.png similarity index 100% rename from frontend/score/src/assets/logo.png rename to legacy/frontend/score/src/assets/logo.png diff --git a/frontend/score/src/main.js b/legacy/frontend/score/src/main.js similarity index 100% rename from frontend/score/src/main.js rename to legacy/frontend/score/src/main.js diff --git a/frontend/score/src/plugins/bootstrap-vue.js b/legacy/frontend/score/src/plugins/bootstrap-vue.js similarity index 100% rename from frontend/score/src/plugins/bootstrap-vue.js rename to legacy/frontend/score/src/plugins/bootstrap-vue.js diff --git a/frontend/score/vue.config.js b/legacy/frontend/score/vue.config.js similarity index 100% rename from frontend/score/vue.config.js rename to legacy/frontend/score/vue.config.js diff --git a/index.php b/legacy/index.php similarity index 100% rename from index.php rename to legacy/index.php