/
signup.php
75 lines (68 loc) · 3.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sign Up</title>
<!-- Font Icon -->
<link rel="stylesheet" href="fonts/material-icon/css/material-design-iconic-font.min.css">
<!-- Main css -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="main">
<!-- Sign up form -->
<section class="signup">
<div class="container">
<div class="signup-content">
<div class="signup-form">
<h2 class="form-title">Sign up</h2>
<?php
if(count($_GET)>0){
echo "<span style='color:green;text-align:center;'>Mobile Number or Email Id already exsit</span>";
}
?>
<form method="POST" class="register-form" id="register-form" action="process.php">
<div class="form-group">
<label for="name"><i class="zmdi zmdi-account material-icons-name"></i></label>
<input type="text" name="name" id="name" placeholder="Name" required />
<span id="error_name" style="color:red;"></span>
</div>
<div class="form-group">
<label for="email_id"><i class="zmdi zmdi-email"></i></label>
<input type="email" name="email_id" id="email_id" placeholder="Email Id" required / >
</div>
<div class="form-group">
<label for="phone"><i class="zmdi zmdi-phone"></i></label>
<input name="phone" type="tel" minlength="10" maxlength="10" id="phone" placeholder="Phone" required />
<span id="error_phone" style="color:red;"></span>
</div>
<div class="form-group">
<label for="pass"><i class="zmdi zmdi-lock"></i></label>
<input type="password" name="pass" id="pass" placeholder="Password" required />
</div>
<div class="form-group">
<label for="re-pass"><i class="zmdi zmdi-lock-outline"></i></label>
<input type="password" name="password" id="re_pass" placeholder="Repeat your password" required />
<span id="CheckPasswordMatch" style="color:red;"></span>
</div>
<span><i class="zmdi zmdi-eye" id="show_password"></i>Show Password</span>
<div class="form-group form-button">
<input type="submit" name="save" id="signup" class="form-submit" value="Register"/>
</div>
</form>
</div>
<div class="signup-image">
<figure><img src="images/signup-image.jpg" alt="sing up image"></figure>
<a href="index.php" class="signup-image-link">I am already member</a>
</div>
</div>
</div>
</section>
</div>
<!-- JS -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="js/main.js"></script>
</body><!-- This templates was made by Colorlib (https://colorlib.com) -->
</html>