-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
130 lines (106 loc) · 3.6 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<html>
<head><title>Sign-up</title>
<script>
function CheckPassword(inputtxt)
{
var passw= /^[A-Za-z]\w{7,14}$/;
if(inputtxt.value.match(passw))
{
alert('Pursue to LOGIN') ;
return true;
}
else
{
alert('Please reenter the Password should contain (one caps,one num)!') ;
return false;
}
}
</script>
<link rel="stylesheet" type="text/css" href="test.css"/>
</head>
<!marquee direction=right scrollamount=10 The Greek Factory :)></marquee>
<body class="padding" background="bg/03.jpg" style="font-family: @Dotum, @DotumChe, @FangSong, sans-serif; font-weight: normal; font-style: normal; text-decoration: none; font-size: 10pt;" >
<form action="sign.php" method="POST "name="res">
<!center><div class="darkshadow"><fieldset class="padding">
<!center><legend>Sign-Up</legend></center>
<pre>
First Name :<input type="text" name="fname" placeholder="Ex:Bala" required autofocus size="20">
Last Name :<input type="text" name="lname" required placeholder="Ex:Sekar">
Age :<input type="text" name="age" required placeholder="Age" size="4">
Gender :<input type="radio" name="gen" value="male">MALE<input type="radio" name="gen" value="female">Female<input type="radio" name="gen" value="other">Others
Email Id :<input type="email" name="mailid" required placeholder="E-mail id!!!">
User Name :<input type="text" name="uname" required >
Password :<input type="password" name="pwd" required >
Mobile No :<input type="text" name="mnum" required placeholder="Ex:987654321">
State :<input type="text" name="state" required placeholder="Ex:Tamil Nadu">
City :<input type="text" name="city" required placeholder="Ex:Madurai">
Favorite Foods :<select name="fav_food" val=" ">
<option val="food"></option>
<option val="nindian">North Indian</option>
<option val="sindian">South Indian</option>
<option val="Chinese">Chinese</option>
<option val="french">French</option>
<!option val="c">"C"</option>
<!option val="CN">Computer Networks</option></select>
<input type="checkbox" name="terms">I agree the terms of service and
privacy policy of this site
<center><input type="submit" name="sub1" value="Sign-up" onclick="CheckPassword(document.res.pwd)"> <input type="reset" name=re value="Reset"></center><div>
Already have an Account the click <a href="login.html">here</a>
</pre>
</fieldset></center></div>
</form>
<!marquee direction="left" scrollamount=10 Have a Nice day :)></marquee>
</body>
</html>
<style type="text/css">
p.one
{
border-style:solid;
border-width:5px;
}
fieldset.two
{
border-style:outset;
border-width:7 px ;
}
p.three
{
border-style:solid;
border-width:1px;
}
fieldset.padding
{
padding-top:2%;
padding-bottom:0%;
padding-right:5%;
padding-left:15px;
height:550px;
width:10%;
border-style:outset;
border-width:5px ;
}
body.padding
{
padding-top:2%;
padding-bottom:0%;
padding-right:100%;
padding-left:25%;
}
a { text-decoration:none }
html {
font-family: "Lucida Sans", sans-serif;
}
button.rounded-corners
{
background-color:lightgrey;
width:250px;
height:125px;
padding:10px;
border-radius: 10px 10px 10px 10px;
-ms-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-khtml-border-radius: 10px 10px 10px 10px;
}
;;;
</style>