2022-09-16 17:14:51 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<title>Teumbleur</title>
|
|
|
|
|
2022-09-16 17:38:01 +00:00
|
|
|
<meta property="og:title" content="Teumbleur">
|
2022-09-16 19:51:20 +00:00
|
|
|
<meta property="og:image" content="https://concepts.esenjin.xyz/teumbleur/v3/logo.png">
|
2022-09-16 17:38:01 +00:00
|
|
|
<meta property="og:description" content="Albums d'illustrations des waifus d'Esenjin.">
|
2022-09-16 17:14:51 +00:00
|
|
|
|
|
|
|
<link rel="shortcut icon" id="favicon" href="favicon.ico">
|
|
|
|
|
|
|
|
<link href='style.css' rel='stylesheet' type='text/css'>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div align="center"><img src="logo.png" /></div>
|
|
|
|
</br>
|
2022-09-16 19:51:20 +00:00
|
|
|
<center><p>Vous pouvez également aller faire un tour sur <a href="https://esenjin.xyz" target="_blank">mon blog</a>, j'y raconte de temps à autre des choses.</p></center>
|
2022-09-16 17:14:51 +00:00
|
|
|
</br></br>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$dir_nom = './img';
|
2022-09-16 22:41:44 +00:00
|
|
|
$dir = opendir($dir_nom) or die('Oups ! Le répertoire demandé semble ne pas exister.');
|
|
|
|
$fichier= array();
|
|
|
|
$dossier= array();
|
2022-09-16 17:14:51 +00:00
|
|
|
|
|
|
|
while($element = readdir($dir)) {
|
|
|
|
if($element != '.' && $element != '..') {
|
2022-09-16 22:41:44 +00:00
|
|
|
if (!is_dir($dir_nom.'/'.$element)) {
|
|
|
|
$fichier[] = $element;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
$dossier[] = $element;
|
|
|
|
}
|
2022-09-16 17:14:51 +00:00
|
|
|
}
|
2022-09-16 22:41:44 +00:00
|
|
|
closedir($dir);
|
|
|
|
|
|
|
|
if(!empty($dossier));
|
|
|
|
rsort($dossier);
|
|
|
|
foreach($dossier as $lien=>$date)
|
|
|
|
sort($fichier);
|
2022-09-16 17:14:51 +00:00
|
|
|
foreach($fichier as $lien) {
|
2022-09-16 22:41:44 +00:00
|
|
|
echo "<div align=\"center\"><img src=\"$dir_nom/$lien\"></img></div>\r
|
|
|
|
<div align=\"center\"><p>🔍 <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>";
|
2022-09-16 17:14:51 +00:00
|
|
|
}
|
2022-09-16 22:41:44 +00:00
|
|
|
|
2022-09-16 17:14:51 +00:00
|
|
|
?>
|
2022-09-16 17:38:01 +00:00
|
|
|
|
|
|
|
</br>
|
2022-09-16 17:14:51 +00:00
|
|
|
</body>
|