-
Notifications
You must be signed in to change notification settings - Fork 2
/
signup.php
124 lines (117 loc) · 5.64 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
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
<!DOCTYPE html>
<?php
session_start();
?>
<?php
if(isset($_GET['err'])){
if ($_GET['err']=="em") {
echo '<script>
alert("email already exists! try with different email or LOGIN");
</script>';
}
}
?>
<html>
<head>
<title>SIGNUP|HPVC2016</title>
<meta charset="utf-8" />
<meta name="language" content="en-us"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="description" content="Human Powered Vehicle Challenge(HPVC)-India 2016-The American Society of Mechanical Engineers(ASME)-VIT,vellore WEBSITE. DEVELOPED BY MUKUL DEV(DEVMUKUL44@GMAIL.COM),HIANSHU GUPTA(HIMANSHU199565@GMAIL.COM). " />
<meta name="keywords" content="HPVC 2016,ASME 2016,HPVC,ASME,Human Powered Vehicle Challenge,HPVC VIT,VIT VELLORE,MUKUL DEV,HIMANSHU GUPTA,DEVMUKUL44@GMAIL.COM,MUKUL.DEV@OUTLOOK.COM,HIMANSHU199565@GMAIL.COM,MUKUL DEV VIT,MUKUL DEV VIT VELLORE,DEVMUKUL44,HIMANSHU GUPTA VIT, Web Designing" />
<meta name="distribution" content="Global" />
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="1 days"/>
<meta name="publisher" content="ASME INDIA, VIT VELLORE, MUKUL DEV , HIMANSHU GUPTA" />
<meta name="copyright" content="ASME INDIA 2016"/>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css" />
<link href="logincss/stylish-portfolio.css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<script src='https://www.google.com/recaptcha/api.js'></script>
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script>
function validate()
{
if(document.form1.pass.value == document.form1.cpass.value)
{
return true;
}
else
{
alert("password dosenot match!");
return false;
}
}
</script>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Erise Login Form Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="logincss/style.css" rel="stylesheet" type="text/css" media="all" />
<link href='//fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
</head>
<body>
<nav class="navbar navbar-inverse" role="banner" style="height:75px;">
<div class="container" style="width:90%">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html" style="padding-top:10px;"><img src="img/asme_logo.png" width="90" height="50" style="margin-top:0px;" alt="logo"></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div id="transparent" style="padding-top: 15px;">
<div class="collapse navbar-collapse" id="main-navbar-collapse" style="margin-right: 0px;">
<ul class="nav navbar-nav navbar-left" style="margin-left: 250px;font-size:large;">
<li ><a href="http://hpvcindia.in#top">Home</a></li>
<li><a href="http://hpvcindia.in#about">About</a></li>
<!--<li><a href="#services">Sponsors</a></li>-->
<li><a href="http://hpvcindia.in#rules">Rules</a></li>
<li><a href="http://hpvcindia.in#update">Updates</a></li>
<li><a href="http://hpvcindia.in#schedule">Schedule</a></li>
<li><a href="http://hpvcindia.in#host"> Host</a></li>
<li><a href="http://hpvcindia.in/FAQ.html">FAQ</a></li>
<li><a href="http://hpvcindia.in#contact">Contact Us</a></li>
</ul>
</div>
</div><!-- /.navbar-collapse-->
</div>
</nav>
<!-- main -->
<div class="main">
<div class="main-info">
<div class="main-pos">
<span></span>
</div>
<div class="main-info1">
<h3>SIGNUP</h3>
<form action="signup_php.php" method="POST" name="form1" onsubmit="return validate();">
<input type="text" name="uname" placeholder="Name" required> <p id="username"></p>
<input type="email" name="email" placeholder="Email" required><p id="email"></p>
<input type="password" name="pass" placeholder="Password" required>
<input type="password" name="cpass" placeholder="Confirm Password" required ><span id="cpassword"></span>
<input type="submit" value="Signup">
</form>
<br><br>
<center>
<a href="login.php">LOGIN</a>
</center>
</div>
</div>
<div class="copy-right">
</div>
</div>
<!-- //main -->
</body>
</html>