1
0
Fork 0

the guestbook and /etc/quotes/ were broken and nobody told me >:^(

main
will 1 year ago
parent 7660d36f87
commit 3cc5303f80

@ -42,30 +42,24 @@
<h1>#quotes</h1> <h1>#quotes</h1>
<h2 id="caption">highlights from the #quotes channel in the discord chat</h2> <h2 id="caption">highlights from the #quotes channel in the discord chat</h2>
<?php <?php
$will->pfp = "w_pfp"; class User {
$will->name = "president of the universe (2%) ඞ"; public string $pfp;
$will->color = "00ffb7"; public string $name;
$vivi->pfp = "v_pfp"; public string $color;
$vivi->name = "madame muh fuckin SANDBOX"; public function __construct(string $p, string $n, string $c) {
$vivi->color = "ff009e"; $this->pfp = $p;
$sad->pfp = "s_pfp"; $this->name = $n;
$sad->name = "first man of the universe ඞ"; $this->color = $c;
$sad->color = "f1c40f"; }
$mage->pfp = "m_pfp"; }
$mage->name = "nudibranch ඞ"; $will = new User("w_pfp", "president of the universe (2%) ඞ", "00ffb7");
$mage->color = "faaaaa"; $vivi = new User("v_pfp", "madame muh fuckin SANDBOX", "ff009e");
$celian->pfp = "c_pfp"; $sad = new User("s_pfp", "first man of the universe ඞ", "f1c40f");
$celian->name = "ಡඞ𐐘𐑀"; $mage = new User("m_pfp", "nudibranch ඞ", "faaaaa");
$celian->color = "73fbff"; $celian = new User("c_pfp", "ಡඞ𐐘𐑀", "73fbff");
$thom->pfp = "t_pfp"; $thom = new User("t_pfp", "Tomato ඞ", "567c2d");
$thom->name = "Tomato ඞ"; $goon = new User("g_pfp", "hatchgoon ඞ", "2c9c91");
$thom->color = "567c2d"; $portals = new User("p_pfp", "portalsandart ඞ", "5a397d");
$goon->pfp = "g_pfp";
$goon->name = "hatchgoon ඞ";
$goon->color = "2c9c91";
$portals->pfp = "p_pfp";
$portals->name = "portalsandart ඞ";
$portals->color = "5a397d";
function echo_message($person, $message, $first_in_exchange = false) { function echo_message($person, $message, $first_in_exchange = false) {
if($first_in_exchange) { if($first_in_exchange) {
echo "<hr>"; echo "<hr>";
@ -77,7 +71,12 @@
} }
?> ?>
<?php <?php
echo_message($celian, "why does my salmon look like a vagina"); echo_message($will, "I wish someone would put me down<br>Wait a minute");
echo_message($celian, "why are you rotated you whore", true);
echo_message($will, "brb", true);
echo_message($celian, "yooo");
echo_message($celian, "Do you want to watch the movie? The pussy?", true);
echo_message($celian, "why does my salmon look like a vagina", true);
echo_message($will, "you could say I handle a lot of cocks", true); echo_message($will, "you could say I handle a lot of cocks", true);
echo_message($will, "obviously im not gonna handle a bunch of raw chickens and then touch my cock"); echo_message($will, "obviously im not gonna handle a bunch of raw chickens and then touch my cock");
echo_message($will, "I don't think cocks get killed for their meat"); echo_message($will, "I don't think cocks get killed for their meat");

@ -15,13 +15,15 @@
} else { } else {
date_default_timezone_set("America/Edmonton"); date_default_timezone_set("America/Edmonton");
$currentPost->date = time(); $currentPost = array(
$currentPost->name = htmlentities($_POST["name"]); "date" => time(),
$currentPost->message = htmlentities($_POST["message"]); "name" => htmlentities($_POST["name"]),
$currentPost->found = htmlentities($_POST["found"]); "message" => htmlentities($_POST["message"]),
if($_POST["website"]) $currentPost->website = $_POST["website"]; "found" => htmlentities($_POST["found"]),
if($_POST["cool"]) $currentPost->cool = $_POST["cool"]; "website" => $_POST["website"],
$currentPost->reply = ""; "cool" => $_POST["cool"],
"reply" => ""
);
$filename = "posts.json"; $filename = "posts.json";

Loading…
Cancel
Save