-
Notifications
You must be signed in to change notification settings - Fork 1
/
sign_up.php
54 lines (35 loc) · 1.65 KB
/
sign_up.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
<?php require_once("config.php"); ?>
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<?php include("navbar.php") ?>
<h6 style="text-align: center;" class="text-center bg-warning"><?php display_message();?></h6>
<div class="accout-page">
<div class="container">
<div class="row">
<div class="col-2" style="padding-left: 500px;">
<div class="form-container">
<div class="form-btn">
<span>Sign Up</span>
</div>
<form class="" action="" method="post" enctype="multipart/form-data">
<?php add_user(); ?>
<input type="text" name="username" placeholder="username"></label>
<input type="text" name="email" placeholder="e-mail"></label>
<input type="password" name="password" placeholder="password"></label>
<input type="submit" name="add_user" class="btn btn-primary" >
</form>
</div>
</div>
</div>
<br>
<h5 style="text-align: center;">If you already have an account <a href="login_page.php"> Login</a></h5>
</div>
</div>
<?php include("footer.php") ?>