-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.php
executable file
·103 lines (94 loc) · 3.66 KB
/
login.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
include_once('includes/session.php');
checkUserSession();
include_once('templates/header.php');
headerLogin();
include_once('includes/init.php');
?>
<body>
<script type="module" src="scripts/ajax_register.js" async></script>
<?php
include_once('templates/nav-bar.php');
anonymousNavBar();
?>
<section class="main rnd-corners shadow-boxes" />
<div class="sign-user">
<div class="switch-btn btn">
<input type="button" id="sign-in-btn" value="Sign-in">
<input type="button" id="sign-up-btn" value="Sign-up">
</div>
<form action="action_login.php" method="post" id="sign-in">
<fieldset>
<legend>LOG IN</legend>
USERNAME
<input
type="text"
placeholder="Username"
name="username"
pattern="[a-zA-Z0-9]{4,}"
title="Username should contain 4 or more letters/numbers."
required>
PASSWORD
<input
type="password"
placeholder="Password"
name="password"
pattern=".{4,}"
title="Password should contain 4 or more characters."
required>
<input type="submit" value="SIGN-IN">
</fieldset>
</form>
<form id="sign-up">
<fieldset>
<legend>CREATE AN ACCOUNT</legend>
USERNAME
<input
type="text"
placeholder="What should we call you?"
name="username"
pattern="[a-zA-Z0-9]{4,}"
title="Username should contain 4 or more letters/numbers."
required>
E-MAIL
<input
type="email"
placeholder="Your e-mail goes here"
name="email"
title="Please use a valid email address."
required>
PASSWORD
<input
type="password"
placeholder="Secret password here!"
name="password"
pattern=".{4,}"
title="Password should contain 4 or more characters."
required>
REPEAT YOUR PASSWORD
<input
type="password"
placeholder="Do it again!"
name="password_check"
pattern=".{4,}"
title="Password should contain 4 or more characters and match the previous password."
required>
<input type="submit" value="SIGN-UP">
</fieldset>
</form>
</div>
<div class="site-description">
<p>
<h3>
Ezee Plan.<br>
Ezee Do.<br>
Ezee Accomplish.
</h3><h4>
EzeeDo is a management platform with the objective of
making it easier for you to excel. From planning your shopping list
to managing your big next project, EzeeDo helps you in all.
</h4>
</p>
</div>
</section>
<?php include_once('templates/footer.php') ?>