Skip to content

Instantly share code, notes, and snippets.

@Crazy-Newbie
Created December 24, 2021 16:26
<!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.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<title>index</title>
</head>
<body class="min-vh-100 d-flex flex-column">
<div class="container-fluid content flex-grow-1 d-flex flex-column justify-content-center">
<div class="jumbotron m-auto">
<h1 class="display-3">Dibuka Pendaftaran Siswa SMA 1!</h1>
<p class="lead">Silahkan klik button dibawah untuk mendaftar</p>
<section class="mb-4 d-flex flex-column align-items-center justify-content-center">
<div class="justify-content-center">
<a class="btn btn-primary mx-5" href="daftar.php">New Student</a>
<a class="btn btn-primary mx-5" href="listregister.php">Registered Students</a>
</div>
</section>
</div>
</div>
<?php if (isset($_GET['status'])) : ?>
<p>
<?php
if ($_GET['status'] == 'sukses') {
echo "Pendaftaran siswa baru berhasil!";
} else {
echo "Pendaftaran gagal!";
}
?>
</p>
<?php endif; ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment