1
0
Fork 0

ENERGIZE!

This commit is contained in:
smpl 2023-06-14 19:55:21 +02:00
commit 9a2de25bb1
24 changed files with 34 additions and 0 deletions

BIN
data/001.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
data/002.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
data/003.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
data/004.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
data/005.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

BIN
data/006.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
data/007.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
data/008.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
data/009.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
data/010.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
data/011.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
data/012.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
data/013.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
data/014.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
data/015.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
data/016.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
data/017.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
data/018.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
data/019.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
data/020.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
data/021.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
data/022.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
data/023.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

34
randomograf.php Normal file
View file

@ -0,0 +1,34 @@
<?php
/* Randomograf */
if(fnmatch("http.rb/* (Mastodon*", $_SERVER['HTTP_USER_AGENT'])) {
$a = array("Laks", "Faxmaskiner", "Syltekrukke", "Ladestander", "Nøgenbilist", "Bøfsandwich", "Fiskefingre", "Topnøgle");
$b = array("spiser", "jonglerer", "dikterer", "forbløffer", "serverer");
$c = array("af", "for", "på grund af", "efter", "med");
$title = $a[rand(0,7)] . " " . $b[rand(0,4)] . " " . $a[rand(0,7)] . " " . $c[rand(0,4)] . " " . $a[rand(0,7)];
?>
<html>
<head>
<title><?=$title?></title>
<meta property="og:image" content="data/<?=sprintf("%03d.jpg", rand(1,23))?>" />
<meta property="og:title" content="<?=$title?>" />
<meta property="og:description" content="Din fake Mastodon preview generator. Nu til halv pris." />
</head>
<body>
<h1>Hej Mastodon!</h1>
</body>
</html>
<?php
} else {
?>
<html>
<head>
<title>Randomograf</title>
</head>
<body>
<h1>Tillykke du er ikke Mastodon!</h1>
<p> er der ik' meget mere, hej hej! o/</p>
</body>
</html>
<?php
}
?>