Teumbleur/waifus/Elaina/index.php

54 lines
1.9 KiB
PHP
Raw Permalink Normal View History

2022-09-16 17:14:51 +00:00
<head>
<meta charset="utf-8">
<title>Teumbleur - Elaina</title>
2022-09-16 17:14:51 +00:00
<meta property="og:title" content="Teumbleur">
<meta property="og:image" content="../../logo.png">
<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'>
2022-09-17 17:31:19 +00:00
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script type="text/javascript" src="../../script-top.js"></script>
2022-09-16 17:14:51 +00:00
</head>
<body>
<div align="center"><a href="../../index.html"><img src="../../logo.png" /></a></div>
2022-09-16 17:14:51 +00:00
</br>
<center><p>Si vous souhaitez lire le petit article que j'ai écris à propos de mes waifus, c'est <a href="https://esenjin.xyz/mes-waifus/" target="_blank">par ici</a> !</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-17 08:46:29 +00:00
echo "<div align=\"center\"><a href=\"$dir_nom/$lien\" target=\"_blank\"><img src=\"$dir_nom/$lien\" loading=\"lazy\"></img></a></div>\r
<div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/waifus/Elaina/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
?>
<div id="scrollUp">
<a href="#top"><img src="../../top.png"/></a>
</div>
</br>
2022-09-16 17:14:51 +00:00
</body>