86 lines
2.3 KiB
PHP
86 lines
2.3 KiB
PHP
<?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');
|
|
?>
|