diff options
Diffstat (limited to 'controller/visitor.php')
-rw-r--r-- | controller/visitor.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/controller/visitor.php b/controller/visitor.php index fccc287..2656798 100644 --- a/controller/visitor.php +++ b/controller/visitor.php | |||
@@ -70,7 +70,6 @@ function discoVisitor() | |||
70 | //var_dump($Albums->fileList); die(); | 70 | //var_dump($Albums->fileList); die(); |
71 | 71 | ||
72 | 72 | ||
73 | |||
74 | // tri des albums avec l'année dans le .json | 73 | // tri des albums avec l'année dans le .json |
75 | 74 | ||
76 | // noms des fichiers JSON | 75 | // noms des fichiers JSON |
@@ -78,20 +77,13 @@ function discoVisitor() | |||
78 | 77 | ||
79 | //$annees = []; | 78 | //$annees = []; |
80 | for($i = 0; $i < $Albums->fileListCount; $i++) | 79 | for($i = 0; $i < $Albums->fileListCount; $i++) |
81 | { | 80 | {} |
82 | // une case supplémentaire contient le "fileCode" | ||
83 | //$albumsJSON[$i][3] = pathinfo($albumNamesJSON[$i])['filename']; | ||
84 | //$albumsJSON[$i][3] = pathinfo($Albums->fileList[$i]['fileCode'])['filename']; | ||
85 | |||
86 | //$annees[$i] = $albumsJSON[$i][1]; | ||
87 | } | ||
88 | //var_dump($annee); die(); | 81 | //var_dump($annee); die(); |
89 | 82 | ||
90 | // tri d'un tableau multidimensionnel | 83 | // tri d'un tableau multidimensionnel |
91 | //array_multisort($annees, $albumsJSON); | 84 | //array_multisort($annees, $albumsJSON); |
92 | 85 | ||
93 | 86 | ||
94 | |||
95 | // lien vers le HTML ou ancre? | 87 | // lien vers le HTML ou ancre? |
96 | /*$lienAlbum = []; | 88 | /*$lienAlbum = []; |
97 | $avecLien = []; | 89 | $avecLien = []; |