daniramadhan7

Pendaftaran-Siswa index.php

Dec 6th, 2021
694
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.  
  4. <head>
  5.     <!-- Required meta tags -->
  6.     <meta charset="utf-8">
  7.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8.  
  9.     <!-- Bootstrap CSS -->
  10.     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
  11.        integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  12.  
  13.     <title>Pendaftaran Siswa Baru | Coding High School</title>
  14. </head>
  15.  
  16. <body>
  17.     <div class="mx-auto" style="width: 50%; margin-top: 5%;">
  18.         <!-- Centered element -->
  19.         <header>
  20.             <h3>Pendaftaran Siswa Baru</h3>
  21.             <h1>Coding High School</h1>
  22.         </header>
  23.  
  24.         <br>
  25.         <h4>Menu</h4>
  26.         <nav>
  27.             <ul>
  28.                 <li><a href="form-daftar.php">Daftar Baru</a></li>
  29.                 <li><a href="list-siswa.php">Pendaftar</a></li>
  30.             </ul>
  31.         </nav>
  32.         <br>
  33.  
  34.         <?php if(isset($_GET['status'])): ?>
  35.         <p>
  36.             <?php
  37.            if($_GET['status'] == 'sukses'){
  38.                echo "Pendaftaran siswa baru berhasil!";
  39.            } else {
  40.                echo "Pendaftaran gagal!";
  41.            }
  42.        ?>
  43.         </p>
  44.         <?php endif; ?>
  45.         <!-- End of Centered element -->
  46.     </div>
  47.  
  48.     <!-- Optional JavaScript -->
  49.     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  50.     <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
  51.        integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">
  52.     </script>
  53.     <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
  54.        integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">
  55.     </script>
  56.     <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
  57.        integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous">
  58.     </script>
  59. </body>
  60.  
  61. </html>
RAW Paste Data