= "12" && $time < "17") { $time_welc = "Good afternoon"; } else if ($time >= "17" && $time < "19") { $time_welc = "Good evening"; } else if ($time >= "19") { $time_welc = "Good night"; } // Welcome depending on if user is logged in or not if (isset($_SESSION["username"])) { echo "

".$time_welc." ".$_SESSION['username']."!

"; } else { echo "

Welcome!

"; } // Random welcome message $welcome_message = array("*internal screaming*", "Sussy Wussy", "What is this world?", "Don't forget to drink water!", "Bruh", "This is so poorly programmed", "Sorry", "Fluffy made this!", "maybe", "I'm gay", "I wish we were better strangers.", "Just like Minecraft!", "If I were you, I'd run now"); echo "

".$welcome_message[array_rand($welcome_message, 1)]."

"; ?>
"; } ?>