34 lines
704 B
PHP
34 lines
704 B
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>
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
</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';?>
|