diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/error.php | 14 | ||||
-rw-r--r-- | web/fire.php | 22 | ||||
-rw-r--r-- | web/gallery.php | 57 | ||||
-rw-r--r-- | web/home.php | 86 | ||||
-rw-r--r-- | web/parts/footer.php | 22 | ||||
-rw-r--r-- | web/parts/head.php | 14 | ||||
-rw-r--r-- | web/parts/header.php | 35 |
7 files changed, 250 insertions, 0 deletions
diff --git a/web/error.php b/web/error.php new file mode 100644 index 0000000..f7a2f4e --- /dev/null +++ b/web/error.php @@ -0,0 +1,14 @@ +<?php + // home page of rit.wtf + $title = "rit.wtf - $code"; + include('parts/head.php'); + include('parts/header.php'); +?> + +<div id="error"> + <p class="code"><?=$code?></p> +</div> + +<?php + include('parts/footer.php'); +?> diff --git a/web/fire.php b/web/fire.php new file mode 100644 index 0000000..b40262b --- /dev/null +++ b/web/fire.php @@ -0,0 +1,22 @@ +<?php + // home page of rit.wtf + $title = "rit.wtf - 🔥🔥🔥"; + include('parts/head.php'); + include('parts/header.php'); +?> + +<? /* fires */ ?> +<div id="fires"> + <?php + $rev = FALSE; + foreach (ASSETS->fires as $_key => $link) { + $dir = ($rev) ? "left" : "right"; + echo "<marquee truespeed scrolldelay=\"10\" direction=\"{$dir}\"><img src=\"{$link}\" loading=\"lazy\"></marquee>"; + $rev = !$rev; + } + ?> +</div> + +<?php + include('parts/footer.php'); +?> diff --git a/web/gallery.php b/web/gallery.php new file mode 100644 index 0000000..f35634c --- /dev/null +++ b/web/gallery.php @@ -0,0 +1,57 @@ +<?php + // home page of rit.wtf + $title = "rit.wtf - RIP Munson"; + include('parts/head.php'); + include('parts/header.php'); +?> + +<? /* munson */ ?> +<div id="munson"?> + <div class="title"?> + <span>The munson art gallery</span> + </div> + <div class="gallery"> + <?php + foreach (ASSETS->munson as $_key => $link) { + echo "<img src=\"{$link}\" loading=\"lazy\"/>"; + } + ?> + </div> +</div> + +<? /* films */ ?> +<div id="films"?> + <div class="title"?> + <span>Munson's sick films!</span> + </div> + <div class="films"> + <video autoplay muted loop> + <source src="<?=ASSETS->videos->wizard?>" type="video/mp4"> + </video> + <video autoplay muted loop> + <source src="<?=ASSETS->videos->raiders?>" type="video/mp4"> + </video> + <video autoplay muted loop> + <source src="<?=ASSETS->videos->brick?>" type="video/mp4"> + </video> + </div> +</div> + +<? /* raps */ ?> +<div id="raps"?> + <div class="title"?> + <span>Munson's sick raps!</span> + </div> + <div class="raps"> + <video autoplay muted loop> + <source src="<?=ASSETS->videos->review?>" type="video/mp4"> + </video> + <video autoplay muted loop> + <source src="<?=ASSETS->videos->jedi?>" type="video/mp4"> + </video> + </div> +</div> + +<?php + include('parts/footer.php'); +?> diff --git a/web/home.php b/web/home.php new file mode 100644 index 0000000..3f1083e --- /dev/null +++ b/web/home.php @@ -0,0 +1,86 @@ +<?php + // home page of rit.wtf + $title = 'rit.wtf - home'; + include('parts/head.php'); + include('parts/header.php'); +?> + +<? /* memes */ ?> +<marquee id="memes" behavior="alternate"> + <?php + $memes = (array) ASSETS->memes; + shuffle($memes); + foreach ($memes as $_key => $link) { + echo "<img src=\"{$link}\" loading=\"lazy\"/>"; + } + ?> +</marquee> + +<? /* motd */ ?> +<div id="motd"> + <p><?php + $messages = [ + "Call 1-800-1ST-YEAR to get a sprinkler to go off in a dorm near you!", + "#1 in Lithium-ion battery fires!", + "Welcome daddy Sanders", + "Make sure to not be seen by the counter", + "Disfunctionally operating since 1829", + ]; + echo $messages[array_rand($messages)]; + ?></p> +</div> + +<? /* links */ ?> +<div id="links"> + <div class="title"> + <span>important stuff</span> + </div> + <div class="btn"> + <a href="http://rochesterapex.com/" target="_blank"> + <img src="<?=ASSETS->text->housing?>"/> + </a> + </div> + <div class="btn"> + <a href="https://www.democratandchronicle.com/story/news/2021/08/31/peter-kiwitt-former-rit-professor-sex-trafficking/5589597001/" target="_blank"> + <img src="<?=ASSETS->text->education?>"/> + </a> + </div> + <div class="btn"> + <a href="https://www.rit.edu/fa/diningservices/gracies#1" target="_blank"> + <img src="<?=ASSETS->text->food?>"/> + </a> + </div> +</div> + +<? /* battery */ ?> +<div id="battery"> + <div class="title"> + <p style="--rot: 0deg;">Lithium Ion Battery's</p> + <p style="--rot: 270deg;">Lithium Ion Battery's</p> + </div> + <div class="battery"> + <img style="--rot: 0deg;" src="<?=ASSETS->fires->battery?>" loading="lazy"/> + <img style="--rot: 270deg;" src="<?=ASSETS->fires->battery?>" loading="lazy"/> + </div> +</div> +<div class="btn"> + <a href="fire">See more 🔥</a> +</div> + +<? /*sanders */ ?> +<div id="sanders"> + <div class="title"?> + <span>Welcome our new president!</span> + </div> + <div class="gallery"> + <?php + foreach (ASSETS->sanders as $_key => $link) { + echo "<img src=\"{$link}\" loading=\"lazy\"/>"; + } + ?> + </div> +</div> + +<?php + include('parts/footer.php'); +?> diff --git a/web/parts/footer.php b/web/parts/footer.php new file mode 100644 index 0000000..88ab860 --- /dev/null +++ b/web/parts/footer.php @@ -0,0 +1,22 @@ +<footer id="footer"> + <div id="buttons"> + <img src="<?=ASSETS->buttons->apocalypse?>" loading="lazy" onclick="document.documentElement.classList.toggle('flip')"/> + <img src="<?=ASSETS->buttons->amd?>" loading="lazy"/> + <img src="<?=ASSETS->buttons->dither?>" loading="lazy" onclick="document.documentElement.classList.toggle('dither')"/> + <a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Frit.wtf" target="_blank"> + <img src="<?=ASSETS->buttons->html?>" loading="lazy"/> + </a> + <img src="<?=ASSETS->buttons->ie?>" loading="lazy" onclick="document.documentElement.classList.toggle('strobe')"/> + <img src="<?=ASSETS->buttons->netscape?>" loading="lazy"/> + <a href="https://g.freya.cat/freya/rit.wtf" target="_blank"> + <img src="<?=ASSETS->buttons->download?>" loading="lazy"/> + </a> + </div> + <iframe + height="94" + id="john" + <? /* hack to disable firefox cookie warning*/?> + sandbox="allow-scripts" + src="https://john.citrons.xyz/embed?ref=rit.wtf" + ></iframe> +</footer> diff --git a/web/parts/head.php b/web/parts/head.php new file mode 100644 index 0000000..c5d6f78 --- /dev/null +++ b/web/parts/head.php @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <base target="_blank" /> + <link rel="stylesheet" href="<?=ASSETS->css->main?>"> + <link rel="stylesheet" href="<?=ASSETS->css->anim?>"> + <?php if(isset($css)): ?> + <link rel="stylesheet" href="<?=$css?>"> + <?php endif; ?> + <title><?=$title?></title> + </head> + <body> diff --git a/web/parts/header.php b/web/parts/header.php new file mode 100644 index 0000000..801ecfc --- /dev/null +++ b/web/parts/header.php @@ -0,0 +1,35 @@ + +<? /* needed for screen dither */ ?> +<div id="ditherMask"> +<div id="ditherFilter"> + +<? /* needed for screen strobe */ ?> +<menu id="strobe"></menu> + +<header id="header"> + + <? /* rit.wtf title */?> + <div id="title"> + <span style="animation-delay:-1.42s">r</span> + <span style="animation-delay:-1.22s">i</span> + <span style="animation-delay:-1.01s">t</span> + <span style="animation-delay:-0.81s">.</span> + <span style="animation-delay:-0.61s">w</span> + <span style="animation-delay:-0.41s">t</span> + <span style="animation-delay:-0.21s">f</span> + </div> + + <? /* nav bar */ ?> + <nav id="nav"> + <a href="/" class="btn"> + rit.wtf Home 🐯 + </a> + <a href="/gallery" class="btn"> + Munson Memorial 💀 + </a> + <a href="http://munsonmakesamillion.com/" target="_blank" class="btn"> + Munson Money 💸 + </a> + </nav> + +</header> |