Skip to content

Instantly share code, notes, and snippets.

@wichaksono
Created October 19, 2016 10:49
Show Gist options
  • Save wichaksono/9ddf708c317edc3044a80e4d277c4381 to your computer and use it in GitHub Desktop.
Save wichaksono/9ddf708c317edc3044a80e4d277c4381 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Halaman Registrasi</title>
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<div class="col-md-4 col-md-offset-4 form-login">
<?php
/* handle error */
if (isset($_GET['error'])) : ?>
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<strong>Warning!</strong> <?=base64_decode($_GET['error']);?>
</div>
<?php endif;?>
<div class="outter-form-login">
<div class="logo-login">
<em class="glyphicon glyphicon-user"></em>
</div>
<form action="send_register.php" class="inner-login" method="post">
<h3 class="text-center title-login">Registrasi</h3>
<div class="form-group">
<input type="text" class="form-control" name="nickname" placeholder="Nama">
</div>
<div class="form-group">
<input type="text" class="form-control" name="username" placeholder="Username">
</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="repassword" placeholder="Re-Password">
</div>
<input type="submit" class="btn btn-block btn-custom-green" value="REGISTER" />
<div class="text-center forget">
<p>Back To <a href="./login.php">Login</a></p>
</div>
</form>
</div>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment