summaryrefslogtreecommitdiff
path: root/web/home.php
blob: 3f1083e8c5c5bc09e5a439bd790dd134687de7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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');
?>