-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·39 lines (32 loc) · 1014 Bytes
/
index.php
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
35
36
37
38
39
<?php
session_start();
if(isset($_SESSION["error"])){
echo $_SESSION["error"];
}
?>
<html>
<head>
<title>Login</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<div class="login-page">
<div class="form">
<!--
<form class="register-form">
<input type="text" placeholder="name"/>
<input type="password" placeholder="password"/>
<input type="text" placeholder="email address"/>
<button>create</button>
<p class="message">Already registered? <a href="#">Sign In</a></p>
</form>-->
<form method="POST" action="login.php" class="login-form">
<input type="text" name="username" placeholder="username"/>
<input type="password" name="password" placeholder="password"/>
<button type="submit">login</button>
<!--<p class="message">Not registered? <a href="#">Create an account</a></p>-->
</form>
</div>
</div>
</body>
</html>