-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
41 lines (41 loc) · 1.38 KB
/
index.php
File metadata and controls
41 lines (41 loc) · 1.38 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
35
36
37
38
39
40
41
<?php include 'header.php';
if(isset($_SESSION['id'])){
header('location:app.php');
}
?>
<main class="main-content">
<div class="right-main">
<h1>Online Notes App</h1>
<h3>Create your notes!</h3>
<a href="#" class="regLog1">Register/Login</a>
</div>
</main>
<div class="modal-overlay">
<span>close</span>
<div class="modal">
<div class="form-options">
<button class="register-btn active">Register</button>
<button class="login-btn">Login</button>
</div>
<div class="form-container">
<form class="login" style="display: none;">
<input type="email" name="emailLogin" id="emailLog" placeholder="Email">
<input type="password" name="pwdLogin" id="pwdLog" placeholder="Password">
<input type="submit" id="logSubmit" value="Login">
<a href="#">Forgot Password?</a>
</form>
<form class="register">
<div class="name-input">
<input type="text" name="fname" id="fname" placeholder="First Name">
<input type="text" name="lname" id="lname" placeholder="Last Name">
</div>
<input type="email" name="email" id="email" placeholder="Email">
<input type="password" name="pwd" id="pwd" placeholder="Password">
<input type="submit" id="regSubmit" value="Register">
</form>
<div class="error">
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>