diff --git a/etc/quotes/index.php b/etc/quotes/index.php index 3f1af60..75afdc6 100644 --- a/etc/quotes/index.php +++ b/etc/quotes/index.php @@ -42,30 +42,24 @@

#quotes

highlights from the #quotes channel in the discord chat

pfp = "w_pfp"; - $will->name = "president of the universe (2%) ඞ"; - $will->color = "00ffb7"; - $vivi->pfp = "v_pfp"; - $vivi->name = "madame muh fuckin SANDBOX"; - $vivi->color = "ff009e"; - $sad->pfp = "s_pfp"; - $sad->name = "first man of the universe ඞ"; - $sad->color = "f1c40f"; - $mage->pfp = "m_pfp"; - $mage->name = "nudibranch ඞ"; - $mage->color = "faaaaa"; - $celian->pfp = "c_pfp"; - $celian->name = "ಡඞ𐐘𐑀"; - $celian->color = "73fbff"; - $thom->pfp = "t_pfp"; - $thom->name = "Tomato ඞ"; - $thom->color = "567c2d"; - $goon->pfp = "g_pfp"; - $goon->name = "hatchgoon ඞ"; - $goon->color = "2c9c91"; - $portals->pfp = "p_pfp"; - $portals->name = "portalsandart ඞ"; - $portals->color = "5a397d"; + class User { + public string $pfp; + public string $name; + public string $color; + public function __construct(string $p, string $n, string $c) { + $this->pfp = $p; + $this->name = $n; + $this->color = $c; + } + } + $will = new User("w_pfp", "president of the universe (2%) ඞ", "00ffb7"); + $vivi = new User("v_pfp", "madame muh fuckin SANDBOX", "ff009e"); + $sad = new User("s_pfp", "first man of the universe ඞ", "f1c40f"); + $mage = new User("m_pfp", "nudibranch ඞ", "faaaaa"); + $celian = new User("c_pfp", "ಡඞ𐐘𐑀", "73fbff"); + $thom = new User("t_pfp", "Tomato ඞ", "567c2d"); + $goon = new User("g_pfp", "hatchgoon ඞ", "2c9c91"); + $portals = new User("p_pfp", "portalsandart ඞ", "5a397d"); function echo_message($person, $message, $first_in_exchange = false) { if($first_in_exchange) { echo "
"; @@ -77,7 +71,12 @@ } ?> 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, "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"); diff --git a/guestbook/submit.php b/guestbook/submit.php index 48e656a..09d0404 100644 --- a/guestbook/submit.php +++ b/guestbook/submit.php @@ -15,13 +15,15 @@ } else { date_default_timezone_set("America/Edmonton"); - $currentPost->date = time(); - $currentPost->name = htmlentities($_POST["name"]); - $currentPost->message = htmlentities($_POST["message"]); - $currentPost->found = htmlentities($_POST["found"]); - if($_POST["website"]) $currentPost->website = $_POST["website"]; - if($_POST["cool"]) $currentPost->cool = $_POST["cool"]; - $currentPost->reply = ""; + $currentPost = array( + "date" => time(), + "name" => htmlentities($_POST["name"]), + "message" => htmlentities($_POST["message"]), + "found" => htmlentities($_POST["found"]), + "website" => $_POST["website"], + "cool" => $_POST["cool"], + "reply" => "" + ); $filename = "posts.json";