-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
175 lines (167 loc) · 5.03 KB
/
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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<title>Fetch Me!</title>
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/forms.css" />
<link rel="stylesheet" href="css/preloader.css" />
<link type="image/icon" rel="icon" href="../img/favicon.png" height="32px" width="32px" />
</head>
<style>
input[type=submit] {
background: #428BCA;
font-family: Sans-serif;
text-align: center;
transition: all 0.3s ease 0s;
}
input[type=submit]:hover {
background: #3071A9;
}
</style>
<body>
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<div class="row">
<header id="index" style="background: none;">
<div class="col-5"></div>
<div class="col-4">
<img src="img/main_logo.png" alt="Logo" />
</div>
<div class="col-3"></div>
</header>
</div>
<div class="row">
<div class="col-12">
<img src="img/hero5.jpg" id="bgvid" />
<!--<ul class="cb-slideshow">
<li>
<span>Image 01</span>
<div>
<h3>re·lax·a·tion</h3>
</div>
</li>
<li>
<span>Image 01</span>
<div>
<h3>Di·vi·ni·ty</h3>
</div>
</li>
<li>
<span>Image 01</span>
<div>
<h3>Tem·pe·rance</h3>
</div>
</li>
<li>
<span>Image 01</span>
<div>
<h3>re·lax·a·tion</h3>
</div>
</li>
<li>
<span>Image 01</span>
<div>
<h3>Di·vi·ni·ty</h3>
</div>
</li>
<li>
<span>Image 01</span>
<div>
<h3>Tem·pe·rance</h3>
</div>
</li>
</ul>-->
</div>
</div>
<div class="row">
<div class="col-6 box-login">
<form action="forms/login.php" method="post">
<fieldset>
<legend>Login</legend>
<table>
<tr>
<th><label for="username"><i class="material-icons">verified_user</i></label></th>
<td>
<input type="text" name="username" required placeholder="Username" value="<?php echo $username;?>" />
</td>
</tr>
<tr>
<th><label for="Password"><i class="material-icons">lock</i></label></th>
<td><input type="password" name="password" placeholder="Password" required /></td>
</tr>
<tr>
<td>
<input type="submit" name="submit" value="Login" style="background: rgba(255, 0, 0, .7);"/>
</td>
</tr>
<tr>
<?php echo $error; ?>
</tr>
</table>
</fieldset>
</form>
</div>
<div class="col-6 box-signup">
<form action="forms/signup.php" method="post">
<fieldset>
<legend>Register</legend>
<table>
<tr>
<th><label for="firstname"><i class="material-icons">face</i></label></th>
<td>
<input type="text" name="firstname" required placeholder="First name" value="<?php echo $firstname;?>"/>
<input type="text" name="lastname" placeholder="Last name" value="<?php echo $lastname; ?>" />
</td>
</tr>
<tr>
<th><label for="gender"><i class="material-icons">compare_arrows</i></label></th>
<td>
<input type="radio" name="gender" value="male" required checked />
<label>Male</label>
<input type="radio" name="gender" value="female" />
<label>Female</label>
</td>
</tr>
<tr>
<th><label for="email"><i class="material-icons">email</i></label></th>
<td>
<input type="email" name="email" required placeholder="Email address" value="<?php echo $email; ?>" />
</td>
</tr>
<tr>
<th><label for="username"><i class="material-icons">perm_identity</i></label></th>
<td>
<input type="text" name="username" placeholder="Enter username" required value="<?php echo $username;?>" />
</td>
</tr>
<tr>
<th><label for="password"><i class="material-icons">lock</i></label></th>
<td><input type="password" name="password" placeholder="Password" required /></td>
</tr>
<tr>
<th><label for="confirmPass"><i class="material-icons">security</i></label></th>
<td><input type="password" name="confirmPass" placeholder="Confirm Password" required /></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="Sign Up" /></td>
</tr>
</table>
</fieldset>
</form>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="js/main.js"></script>
</body>
</html>
<?php
?>