-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
94 lines (85 loc) · 2.24 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
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
<!DOCTYPE html>
<html>
<head>
<title>XYZ</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
if(window.history.forward(1) != null)
window.history.forward(1);
</script>
<style>
body {font-family: Arial, Helvetica, sans-serif; background-image:linear-gradient(to right, #303030 , #484848,#303030);}
* {box-sizing: border-box;}
.input-container {
display: -ms-flexbox; /* IE10 */
display: flex;
width: 100%;
margin-bottom: 15px;
}
.icon {
margin-left: 11%;
border-radius: 25px 0px 0px 25px;
padding: 10px;
background: #888888;
color: white;
min-width: 50px;
text-align: center;
}
.input-field {
border-radius: 0px 25px 25px 0px;
width: 60%;
padding: 10px;
outline: none;
}
.input-field:focus {
border: 2px solid dodgerblue;
}
/* Set a style for the submit button */
.btn {
background-color: #989898;
color: black;
border-radius: 25px;
padding: 15px 20px;
border: none;
cursor: pointer;
width: 25%;
opacity: 0.9;
}
.btn:hover {
opacity: 1;
}
</style>
</head>
<body>
<?php include("alert.php"); ?>
<div align="center">
<br><br><br><br><br><br><br><br>
<form action="./signupconnect.php" style="max-width:400px;margin:auto" method="post">
<h1>Signup Form</h1>
<div class="input-container">
<i class="fa fa-user icon"></i>
<input class="input-field" type="text" placeholder="Username" name="name">
</div>
<div class="input-container">
<i class="fa fa-envelope icon"></i>
<input class="input-field" type="text" placeholder="Email" name="email">
</div>
<div class="input-container">
<i class="fa fa-key icon"></i>
<input class="input-field" type="password" placeholder="Password" name="pwd">
</div>
<div class="input-container">
<i class="fa fa-key icon"></i>
<input class="input-field" type="password" placeholder="Confirm Password" name="cpwd">
</div>
<button class="btn" id="login" type="submit" name="submit">Register</button>
</form>
<br>
<form action="./index.php" style="max-width:400px;margin:auto" method="post">
<button type="submit" class="btn">Login</button>
</form>
</div>
</body>
</html>