Commit
This commit is contained in:
parent
e6959e7ff0
commit
bfd555f4f1
@ -1,8 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
session_start();
|
||||||
|
|
||||||
// Login logic
|
// Login logic
|
||||||
if ((isset($_POST['username'])) && (isset($_POST['password']))) {
|
if ((isset($_POST['username'])) && (isset($_POST['password']))) {
|
||||||
if (($_POST['username'] === 'VG3') && ($_POST['password'] === '3ELDEA')) {
|
if (($_POST['username'] === 'VG3') && ($_POST['password'] === '3ELDEA')) {
|
||||||
session_start();
|
|
||||||
$_SESSION['logged_in'] = TRUE;
|
$_SESSION['logged_in'] = TRUE;
|
||||||
$_SESSION['username'] = $_POST['username'];
|
$_SESSION['username'] = $_POST['username'];
|
||||||
header("Location: index.php");
|
header("Location: index.php");
|
||||||
|
@ -33,8 +33,8 @@ h1, h2, h3, h4 {
|
|||||||
|
|
||||||
.login-statusbar {
|
.login-statusbar {
|
||||||
border-top: 2px solid #fff;
|
border-top: 2px solid #fff;
|
||||||
background: rgb(40,150,13);
|
background: rgb(54,148,37);
|
||||||
background: linear-gradient(0deg, rgba(40,150,13,1) 0%, rgba(51,171,19,1) 50%, rgba(63,166,15,1) 100%);
|
background: linear-gradient(0deg, rgba(54,148,37,1) 0%, rgba(62,162,34,1) 50%, rgba(63,177,43,1) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-statusbar-inner {
|
.login-statusbar-inner {
|
||||||
|
Reference in New Issue
Block a user