-
Notifications
You must be signed in to change notification settings - Fork 1
/
signup.php
37 lines (31 loc) · 1.31 KB
/
signup.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
<?php
$page_title = "User Authentication System - Register Page";
include_once 'partials/headers.php';
include_once 'partials/parseSignup.php';
?>
<div class="container">
<section class="col col-lg-7">
<h2>Registration Form</h2><hr>
<?php if(isset($result)) echo $result; ?>
<?php if(!empty($form_errors)) echo show_errors($form_errors); ?>
<form method="post" action="">
<div class="form-group">
<label for="emailField">Email</label>
<input type="email" class="form-control" name="email" id="emailField" placeholder="Enter email">
</div>
<div class="form-group">
<label for="usernameField">Username</label>
<input type="text" class="form-control" name="username" id="usernameField" placeholder="Username">
</div>
<div class="form-group">
<label for="passwordField">Password</label>
<input type="password" class="form-control" name="password" id="passwordField" placeholder="Password">
</div>
<button type="submit" class="btn btn-primary pull-right" name="signupBtn">注册</button>
</form>
</section>
<p><a href="index.php">Back</a> </p>
</div>
<?php include_once 'partials/footers.php'; ?>
</body>
</html>