ALR BRUH FINAL COMMIT (maybe)

This commit is contained in:
Mario 2023-01-25 22:07:49 +02:00 committed by GitHub
parent 6e6b25049d
commit d194908642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,13 +1,14 @@
<?php
if(isset($_SESSION['user'])) {
header("Location: /home");
}
require_once 'core/classes.php';
$getitstarted = new PartyStarter;
$getitstarted->bootstrap();
$arraybackground = array('win7.png', 'win8.png', 'epic.png', 'yosemite.png', 'aurora.png', 'tiger.png', 'fish.png');
$countofarray = rand(0, count($arraybackground)-1);
$background = "$arraybackground[$countofarray]";
$youtubefunnies = array('bitqf13QU7Q', 'Z_V6yKKIk5U', '2tHl6O5Sp8w', '-5WcDfKndxU', 'cwyTleTL06Y');
$getthecount = rand(0, count($youtubefunnies)-1);
$youtubevideo = "$youtubefunnies[$getthecount]";
?>
@ -31,4 +32,4 @@ body {
<a type="button" class="btn btn-dark" href="/login">Login</a></div>
<div class="youtube-embed"><iframe width="470" height="295"
src="https://www.youtube.com/embed/<?php echo $youtubevideo; ?>">
</iframe></div>
</iframe></div>