-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregistrasi.php
199 lines (182 loc) · 6.71 KB
/
registrasi.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
191
192
193
194
195
196
197
198
199
<?php
require 'functions.php';
if(isset($_POST["register"])){
if(registrasi($_POST) > 0){
echo "<script>
alert ('You have successfully signed up!');
</script>";
header("Location: index.php");
} else{
echo mysqli_error($conn);
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Material design sign up form</title>
<link rel="stylesheet" href="css/styleform.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Glow — 100% Free Fully Responsive HTML5 Template by FREEHTML5.co</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" />
<!--
//////////////////////////////////////////////////////
FREE HTML5 TEMPLATE
DESIGNED & DEVELOPED by FREEHTML5.CO
Website: http://freehtml5.co/
Email: [email protected]
Twitter: http://twitter.com/fh5co
Facebook: https://www.facebook.com/fh5co
//////////////////////////////////////////////////////
-->
<!-- 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">
<!-- Magnific Popup -->
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- Superfish -->
<link rel="stylesheet" href="css/superfish.css">
<link rel="stylesheet" href="css/style.css">
<!-- 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-header">
<header id="fh5co-header-section">
<div class="container">
<div class="nav-header">
<a href="#" class="js-fh5co-nav-toggle fh5co-nav-toggle"><i></i></a>
<h1 id="fh5co-logo"><a href="index.php">NOOWIDIE MUSIC SCHOOL</a></h1>
<!-- START #fh5co-menu-wrap -->
<nav id="fh5co-menu-wrap" role="navigation">
<ul class="sf-menu" id="fh5co-primary-menu">
<li class="active">
<a href="index.php">Home</a>
</li>
<li>
<a class="fh5co-sub-ddown">Lesson</a>
<ul class="fh5co-sub-menu">
<li><a href="kids.php">For Kids</a></li>
<li><a href="teens.php">For Teens</a></li>
</ul>
</li>
<li>
<a class="fh5co-sub-ddown">Achievment</a>
<ul class="fh5co-sub-menu">
<li>
<a href="international.php" class="fh5co-sub-ddown">International</a>
</li>
<li>
<a href="national.php">National</a></li>
</ul>
</li>
<li><a href="lecturer.php">Lecturer</a></li>
<li><a href="about.php">About</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</nav>
</div>
</div>
</header>
</div>
<form action="" method="post">
<div class="body"></div>
<div class="grad"></div>
<div class="header">
<div>NOOWIDIE<br><span>MUSIC SCHOOL</span></br></div>
</div>
<br>
<div class="login">
<div class="h2"><div>Sign up</div></div>
<input type="text" name="fullname" placeholder="Full Name" required />
<input type="text" name="username" placeholder="Username" required />
<input type="text" name="email" id="email" placeholder="Email (ex:[email protected])" required />
<input type="password" name="password" placeholder="Password" required />
<input type="password" name="password2" placeholder="Retype password" required />
<input type="submit" name="register" value="Sign up" />
</div>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</form>
<div id="fh5co-wrapper">
<div id="fh5co-page">
<div id="fh5co-blog-section">
<div class="container">
<div class="row row-bottom-padded-md">
<div class="col-lg-4 col-md-4">
<div class="fh5co-blog animate-box">
<a href="#"><img class="img-responsive" src="images/blog-1.jpg" alt=""></a>
<div class="blog-text">
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div id="footer">
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-12 col-sm-push-0 col-xs-12 col-xs-push-0">
<h3>About Us</h3>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. </p>
</div>
<div class="col-md-6 col-md-push-1 col-sm-12 col-sm-push-0 col-xs-12 col-xs-push-0">
<h3>Our Services</h3>
<ul class="float">
<li><a href="#">Web Design</a></li>
<li><a href="#">Branding & Identity</a></li>
<li><a href="#">Free HTML5</a></li>
<li><a href="#">HandCrafted Templates</a></li>
</ul>
<ul class="float">
<li><a href="#">Free Bootstrap Template</a></li>
<li><a href="#">Free HTML5 Template</a></li>
<li><a href="#">Free HTML5 & CSS3 Template</a></li>
<li><a href="#">HandCrafted Templates</a></li>
</ul>
</div>
<div class="col-md-2 col-md-push-1 col-sm-12 col-sm-push-0 col-xs-12 col-xs-push-0">
<h3>Follow Us</h3>
<ul class="fh5co-social">
<li><a href="#"><i class="icon-twitter2"></i> Twitter</a></li>
<li><a href="#"><i class="icon-facebook2"></i> Facebook</a></li>
<li><a href="#"><i class="icon-google-plus2"></i> Google Plus</a></li>
<li><a href="#"><i class="icon-instagram2"></i> Instagram</a></li>
</ul>
</div>
</div>
</div>
<div class="fh5co-copyright text-center">
<p>© 2016 Free HTML5 template. All Rights Reserved. <span>Designed with <i class="icon-heart"></i> by <a href="http://freehtml5.co/" target="_blank">FreeHTML5.co</a> Demo Images by <a href="http://unsplash.com/" target="_blank">Unsplash</a></span></p>
</div>
</div>
</footer>
</div>
</div>
</body>
</html>