-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
74 lines (59 loc) · 2.62 KB
/
signup.html
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
<!DOCTYPE html>
<html>
<head>
<title> Sign Up Form </title>
<meta name="viewport" content="width= device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/signup.css">
<script>
function PopWindowOne(){
floatingWindow = window.open("calendar.html","","height=600,width=800,scrollbars=no");
}
</script>
</head>
<body>
<div class="main">
<ul>
<ul class="list">
<li class="logo"><a href="index.html"><img src="earth-globe.png" alt="Logo" style="width:36px;height:36px"></a></li>
<div class="search">
<form method="POST" action="info.php">
<input type="text" name="search_p" placeholder="Search.." size="50">
<input type="image" name="submit_p" src="search_icon.png" alt="Search image" style="width:22;height:22; margin-left: 35px;">
</form>
</div>
</ul>
<ul class="list2">
<li><a href="index.php">Home</a></li>
<li><a id="long" href="destination.html">Destination</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li class="active-menu"><a href="signup.html">Sign Up</a></li>
<li><a href="feedback.html">Feedback</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="#" onclick="PopWindowOne()">Calendar</a></li>
</ul>
</ul>
</div>
<form from="myForm" action ="save.php" method="POST">
<div class="login-box">
<h1> Sign Up </h1>
<div class="textbox">
<input type="text" placeholder="Username" id="fname" name="fname" value="" required>
</div>
<div class="textbox">
<input type="password" placeholder="Password" id="password" name="password" value="" maxlength="8" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="password must cantain at least one number and one uppper case and one lowercase letter and 8 characters" required>
</div>
<div class="textbox">
<input type="text" placeholder="Email" id="email" name="email" value="" required pattern="[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9-]+.[a-z]{2,4}" title="Invalid Email">
</div>
<div class="textbox">
<input type="text" placeholder="City" id="city" name="city" value="" required>
</div>
<div class="textbox">
<input type="text" placeholder="Phone" id="phone" name="phone" value="" required onkeypress="return /[0-9]/i.test(event.key)" maxlength="10" pattern="([0-9]){10,}">
</div>
<input class="btn" type="submit" name="" value="Sign Up"> <br> <br>
<center> <a href="signin.html"> Already have an account ? </a> <center>
</div>
</form>
</body>
</html>