ALR BRUH FINAL COMMIT (maybe)
This commit is contained in:
parent
6e6b25049d
commit
d194908642
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue