-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
88 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?php | ||
session_start(); | ||
?> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<title>myLife - Login</title> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.css"/> | ||
<link href="https://fonts.googleapis.com/css?family=Manjari&display=swap" rel="stylesheet"> | ||
|
||
|
||
</head> | ||
<body style="background-image: "> | ||
<div class ="container"> | ||
<div class = "row"> | ||
<div class = "col-lg-6 m-auto"> | ||
<div class = "card bg-light mt-5"> | ||
<div class="card-title text-white mt-5" style="background-color:#3c6948;"> | ||
<h3 class="text-center py-3" style="font-family: 'Manjari', sans-serif;">Login to myLife</h3> | ||
</div> | ||
|
||
<?php | ||
if(@$_GET['Invalid'] == true) | ||
{ | ||
?> | ||
<div class="alert-light text-danger text-center py-3"><?php echo $_GET['Invalid']?></div> | ||
<?php | ||
} | ||
|
||
if(@$_GET['Success'] == true){ | ||
?> | ||
<div class="alert-light text-success text-center py-3"><?php echo $_GET['Success']?></div> | ||
<?php | ||
} | ||
?> | ||
|
||
|
||
<div class="card-body"> | ||
<form action="../php/login.php" method="post"> | ||
<input type="text" name="UName" placeholder="Username" class="form-control mb-4"> | ||
<input type="password" name="Password" placeholder="Password" class="form-control mb-4"> | ||
<button class="btn btn-success" name="Login">Login</button> | ||
<br/> | ||
<a href="registration.php">Don't have an account? Sign up here</a> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Optional JavaScript --> | ||
<!-- jQuery first, then Popper.js, then Bootstrap JS --> | ||
<script src="js/jquery-3.3.1.slim.min.js"></script> | ||
<script src="js/popper.min.js"></script> | ||
<script src="bootstrap-4.1.0/js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters