first commit

This commit is contained in:
2018-09-02 09:39:01 +02:00
commit 90ff97c51a
172 changed files with 5686 additions and 0 deletions

29
images/logo.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
$alea=rand(0,100);
$logo='topisto_vert.png';
if ($alea > 30)
{
$files = glob('logo/medium/*/topisto_vert.png');
usort($files, function($a, $b) {
return filemtime($a) > filemtime($b);
});
shuffle($files);
$logo = $files[0];
}
$block_image = @imagecreatefrompng($logo);
// ---
// --- envoyer l'image au navigateur
// ---
header("Content-Type: image/png");
imagepng($block_image);
imagedestroy($block_image);
?>