Compare commits

..

No commits in common. "26d98a5319c46e293247bf53697d5e3e6af9034b" and "7fdee72682e68c2b34e68dfa8771d513aa645bd1" have entirely different histories.

7 changed files with 12 additions and 18 deletions

View File

Before

Width:  |  Height:  |  Size: 769 KiB

After

Width:  |  Height:  |  Size: 769 KiB

BIN
img/263.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

BIN
img/264.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
img/266.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
img/270.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 KiB

BIN
img/278.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -19,31 +19,25 @@
</br></br>
<?php
$dir_nom = './img';
$dir = opendir($dir_nom) or die('Oups ! Le répertoire demandé semble ne pas exister.');
$fichier= array();
$dossier= array();
$dir = opendir($dir_nom) or die('Erreur : le répertoire indiqué n\'existe pas');
$fichier = array();
while($element = readdir($dir)) {
if($element != '.' && $element != '..') {
if (!is_dir($dir_nom.'/'.$element)) {
$fichier[] = $element;
}
} else {
$dossier[] = $element;
}
if (!is_dir($dir_nom.'/'.$element)) {$fichier[] = $element;}
}
}
closedir($dir);
if(!empty($dossier));
rsort($dossier);
foreach($dossier as $lien=>$date)
sort($fichier);
if(!empty($fichier)){
rsort($fichier);
foreach($fichier as $lien) {
echo "<div align=\"center\"><img src=\"$dir_nom/$lien\" loading=\"lazy\"></img></div>\r
<div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/img/$lien\" target=\_blank>source</a></p></div>\r\r </br></br>";
echo "<div align=\"center\"><a href=\"$dir_nom/$lien\" target=\"_blank\"><img src=\"$dir_nom/$lien\"></a></div>\r
<div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/img/$lien\" target=\_blank>source</a></p></div>\r\r </br></br>";
}
}
?>
</br>