-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·34 lines (34 loc) · 1.19 KB
/
index.php
File metadata and controls
executable file
·34 lines (34 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php session_start();
if($_SESSION['user']){
header('Location: homepage.php');
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/auth.css">
<title>AUTHORIZATION</title>
</head>
<body>
<!--AUTHORIZATION FORM-->
<div class="form-container">
<form class="auth-form">
<label for="">Login</label>
<input type="text" placeholder="Write your login" name="login" class="login shdw">
<label for="">Password</label>
<input type="password" placeholder="Write your password" name="pass" class="pass shdw" required >
<input type="submit" value="sign in" class="sign-in">
<div>
Not have an accoutn? - <a href="registration.php" style="color: blue">Sign up</a>
</div>
<div class="message hide"></div>
</form>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>