diff options
| author | polo <ordipolo@gmx.fr> | 2022-02-18 05:38:40 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2022-02-18 05:38:40 +0100 |
| commit | 9a1fb624fd1089087bd363551ba64f5862d9919f (patch) | |
| tree | 87f33f1b1bede404efa2cfd8f4285d32e149d986 /controller/visitor.php | |
| parent | f2c1f219dcd6e25b812d4dbed46f4c0c30541d83 (diff) | |
| download | melaine-9a1fb624fd1089087bd363551ba64f5862d9919f.tar.gz melaine-9a1fb624fd1089087bd363551ba64f5862d9919f.tar.bz2 melaine-9a1fb624fd1089087bd363551ba64f5862d9919f.zip | |
miniatures GD
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 = []; |
