Rowblox-V1/index.php

39 lines
1.0 KiB
PHP

<?php
// Initialize the session
session_start();
// Check if the user is already logged in, if yes then redirect him to welcome page
if(isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true){
header("location: /dashboard.php");
exit;
}
include 'global.php';
?>
<div class="container mx-auto">
<div class="jumbotron">
<h1 class="text-light"><b>Rowblox</b></h1>
<p class="text-light">a 2015M private server</p></div>
<div class="row">
<div class="col-sm-4">
<h3>A private roadblocks server for friends</h3>
<p>Referrals coming soon</p>
<p>In order for everyone to enjoy the game just do not do dumb shit</p></div>
<iframe src="<?php echo YOUTUBETRAILERLINK;?>" width="560" height="315" frameborder="0"></iframe>
</div>
<style>
.jumbotron {
background-color: #350973;
margin-bottom: 0;
min-height: 5%;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
background-size: cover;
}
</style>
</div>
<?php include 'footer.php';?>
dooodoo fard fard