-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
191 lines (146 loc) · 5.12 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Signup</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Free HTML5 Template by FREEHTML5.CO" />
<meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive" />
<meta name="author" content="FREEHTML5.CO" />
<!-- Facebook and Twitter integration -->
<meta property="og:title" content=""/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
<meta property="og:site_name" content=""/>
<meta property="og:description" content=""/>
<meta name="twitter:title" content="" />
<meta name="twitter:image" content="" />
<meta name="twitter:url" content="" />
<meta name="twitter:card" content="" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="shortcut icon" href="favicon.ico">
<!-- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'> -->
<!-- Animate.css -->
<link rel="stylesheet" href="css/animate.css">
<!-- Icomoon Icon Fonts-->
<link rel="stylesheet" href="css/icomoon.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Superfish -->
<link rel="stylesheet" href="css/superfish.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<style>
.error-mess{
text-align: center;
}
.error-mess p{
color: red;
}
</style>
<!-- Modernizr JS -->
<script src="js/modernizr-2.6.2.min.js"></script>
<!-- FOR IE9 below -->
<!--[if lt IE 9]>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="fh5co-wrapper">
<div id="fh5co-page">
<header id="fh5co-header-section" class="sticky-banner">
<!-- <div class="container">
<div class="nav-header">
<a href="#" class="js-fh5co-nav-toggle fh5co-nav-toggle dark"><i></i></a>
<h1 id="fh5co-logo"><a href="IndexPage_Tlase.php">WithU</a></h1> -->
<!-- START #fh5co-menu-wrap -->
<!-- <nav id="fh5co-menu-wrap" role="navigation">
<ul class="sf-menu" id="fh5co-primary-menu">
<li>
<a href="IndexPage_Tlase.php">Home</a>
</li>
<li><a href="about.php">About</a></li>
<li class="active"><a href="contact.php">Contact</a></li>
</ul>
</nav>
</div>
</div> -->
<?php
include_once 'includes/header.php';
?>
</header>
<!-- ========================================== -->
<p></p>
<br>
<p></p>
<p></p>
<br>
<!-- I am just adding space between the nav bar and signup -->
<p></p>
<p></p>
<br>
<p></p>
<!-- ===========================-->
<div class="error-mess">
<?php
if(isset($_GET["error"])){
if ($_GET["error"]=="emptyinput"){
echo "<p >All fields are reqiured</p>";
}
if ($_GET["error"]=="invalidemail"){
echo "<p >Invalid Email address</p>";
}
if ($_GET["error"]=="passdontmatch"){
echo "<p >Passwords do not match</p>";
}
if ($_GET["error"]=="alreadyExist"){
echo "<p >Email already exist</p>";
}
}
?>
</div>
<div class="container">
<form action="includes/reg.inc.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<input type="text" class="form-control" name="fullname" placeholder="Full Name:">
</div>
<div class="form-group">
<input type="text" class="form-control" name="email" placeholder="Email:">
</div>
<div class="form-group">
<input type="password" class="form-control" name="password" placeholder="Password:">
</div>
<div class="form-group">
<input type="password" class="form-control" name="repeat_password" placeholder="Repeat Password:">
</div>
<div class="form-btn">
<input type="submit" class="btn btn-primary" value="Register" name="submit">
</div>
</form>
<div>
<div><p>Already Registered <a href="login.php">Login Here</a></p></div>
</div>
</div>
</div>
<!-- END fh5co-page -->
</div>
<!-- END fh5co-wrapper -->
<!-- jQuery -->
<script src="js/jquery.min.js"></script>
<!-- jQuery Easing -->
<script src="js/jquery.easing.1.3.js"></script>
<!-- Bootstrap -->
<script src="js/bootstrap.min.js"></script>
<!-- Waypoints -->
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/sticky.js"></script>
<!-- Stellar -->
<script src="js/jquery.stellar.min.js"></script>
<!-- Superfish -->
<script src="js/hoverIntent.js"></script>
<script src="js/superfish.js"></script>
<!-- Main JS -->
<script src="js/main.js"></script>
</body>
</html>